Contrail

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  CSO 4.1.1 fails to provision VMs

    Posted 02-25-2020 06:08

    Dear team,

    I'm trying to install CSO 4.1.1 in a standalone (PoC) server with these details:

     

    • Ubuntu 18.04.4 LTS,  700GB HD, 128MB RAM, 24 CPU

     

    and I,m following the public documentation

    https://www.juniper.net/documentation/en_US/cso4.1/topics/task/installation/nfv-provisioning-VMs.html

     

    but when I run provision_vm.sh script I get this error

     

    root@ubuntu-svr-2:~/Contrail_Service_Orchestration_4.1.1# ./provision_vm.sh

    ......

    pip_packages/iso8601-0.1.11-py2.py3-none-any.whl
    pip_packages/certifi-2018.1.18-py2.py3-none-any.whl
    pip_packages/redis-2.10.5-py2-none-any.whl
    pip_packages/oslo.serialization-2.18.0-py2.py3-none-any.whl
    pip_packages/oslo.utils-3.25.1-py2.py3-none-any.whl
    pip_packages/hurry.filesize-0.9-py2-none-any.whl
    pip_packages/PyYAML-3.12-cp27-none-linux_x86_64.whl
    pip_packages/netifaces-0.10.5-cp27-none-linux_x86_64.whl
    pip_packages/kibana-0.7-py2-none-any.whl
    pip_packages/debtcollector-1.14.0-py2.py3-none-any.whl
    pip_packages/cffi-1.10.0-cp27-none-linux_x86_64.whl
    pip_packages/MarkupSafe-1.0-cp27-none-linux_x86_64.whl
    pip_packages/jmespath-0.9.3-py2.py3-none-any.whl
    pip_packages/monotonic-1.3-py2.py3-none-any.whl
    pip_packages/requestsexceptions-1.2.0-py2.py3-none-any.whl
    Create private repo completed
    Ign:1 http://127.0.0.1:90/repositories installer InRelease
    Get:2 http://127.0.0.1:90/repositories installer Release [1,555 B]
    Ign:3 http://127.0.0.1:90/repositories installer Release.gpg
    Reading package lists... Done
    E: The repository 'http://127.0.0.1:90/repositories installer Release' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    ./provision_vm.sh: line 63: /root/Contrail_Service_Orchestration_4.1.1/.venv/bin/activate: No such file or directory

    Provisioning virtual Machines
    ==================================

    This may take a while...

    Traceback (most recent call last):
    File "/root/Contrail_Service_Orchestration_4.1.1/provision_vm/csp_provision_vm.py", line 6, in <module>
    import psutil
    ImportError: No module named psutil

    ==================================

    VM Provisioning has encountered some errors.
    Please check
    /root/Contrail_Service_Orchestration_4.1.1/logs/provision_vm_error.log
    /root/Contrail_Service_Orchestration_4.1.1/logs/provision_vm.log

    ==================================
    root@ubuntu-svr-2:~/Contrail_Service_Orchestration_4.1.1#

     

    but the logs directory are empty.

    Did you ever see this error? Could you please help me?

    Thanks and regards

    Antonio


    #CSO4.1
    #Contrail


  • 2.  RE: CSO 4.1.1 fails to provision VMs
    Best Answer

    Posted 02-28-2020 05:17

    I was able to overcome with these pkgs installation

     

    apt-get install build-essential libpq-dev libssl-dev openssl libffi-dev zlib1g-dev
     apt-get install python3-pip python3-dev