Contrail Platform Developers
Contrail Platform Developers

Contrail Installation Failing Error Minimum disk space(256GB)

‎06-21-2019 12:17 PM

Hi Contrail Experts ,

    I am installing Contrail Mitaka on ubuntu 14.04.6 release and having some issues while installing fabric , its keep giving me error ( ERROR: Minimum disk space(256GB) for analytics db is not met in nodes: ) although i have increased the ubuntu disk size to 300 GB and i also tried changing diskGB=100 using nano/vim in /opt/contrail/utils/fabfile/testbeds/testbed.py but unable to fix this issue any help can be highly appreciated.

 

 

Unpacking /opt/contrail/python_packages/Fabric-1.7.5.tar.gz
Running setup.py (path:/tmp/pip-Ou3jK6-build/setup.py) egg_info for package from file:///opt/contrail/python_packages/Fabric-1.7.5.tar.gz

warning: no previously-included files matching '*' found under directory 'sites/docs/_build'
warning: no previously-included files matching '*' found under directory 'sites/www/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
Installing collected packages: Fabric
Running setup.py install for Fabric

warning: no previously-included files matching '*' found under directory 'sites/docs/_build'
warning: no previously-included files matching '*' found under directory 'sites/www/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
Installing fab script to /usr/local/bin
Could not find .egg-info directory in install record for Fabric==1.7.5 from file:///opt/contrail/python_packages/Fabric-1.7.5.tar.gz
Successfully installed Fabric

 

root@ubuntu-contrail:~# uname -a
Linux ubuntu-contrail 3.13.0-142-generic #191-Ubuntu SMP Fri Feb 2 12:13:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu-contrail:~# cd /opt/contrail/utils/
root@ubuntu-contrail:/opt/contrail/utils# fab install_contrail
[root@192.168.130.136] Executing task 'install_contrail'
2019-06-21 11:13:33:376678: [root@192.168.130.136] Executing task 'pre_check'
2019-06-21 11:13:33:377043: [root@192.168.130.136] Executing task 'check_disk_space'
2019-06-21 11:13:33:377241: [root@192.168.130.136] sudo: df -Pk /var/lib | grep % | awk '{print $2}'
2019-06-21 11:13:34:416878: [root@192.168.130.136] out: 247312464
2019-06-21 11:13:34:489553: [root@192.168.130.136] out:
2019-06-21 11:13:34:491285:
2019-06-21 11:13:34:505763:
2019-06-21 11:13:34:505922: ERROR: Minimum disk space(256GB) for analytics db is not met in nodes: ['root@192.168.130.136']
2019-06-21 11:13:34:505965: Please set 'minimum_diskGB' in testbed.py and continue.
2019-06-21 11:13:34:506018: Specifiy the avalilable disk space of database node in GB
2019-06-21 11:13:34:506066: However minimum disk space for database node is 256GB.
2019-06-21 11:13:34:506115: Disconnecting from 192.168.130.136... done.
2019-06-21 11:13:34:638602: root@ubuntu-contrail:/opt/contrail/utils#

 

root@ubuntu-contrail:/opt/contrail/utils# fab setup_all
[root@192.168.130.136] Executing task 'setup_all'
2019-06-21 11:26:18:669563: [root@192.168.130.136] Executing task 'setup_common'
2019-06-21 11:26:18:670024: [root@192.168.130.136] sudo: hostname -s
2019-06-21 11:26:18:670793: [root@192.168.130.136] out: ubuntu-contrail
2019-06-21 11:26:19:592310: [root@192.168.130.136] out:
2019-06-21 11:26:19:594320:
2019-06-21 11:26:19:611375: [root@192.168.130.136] sudo: grep ubuntu-contrail /etc/hosts
2019-06-21 11:26:19:611735: [root@192.168.130.136] out: 192.168.130.136 ubuntu-contrail
2019-06-21 11:26:19:693451: [root@192.168.130.136] out:
2019-06-21 11:26:19:693663:
2019-06-21 11:26:19:693971: [root@192.168.130.136] Executing task 'setup_ha'
2019-06-21 11:26:19:694368: [root@192.168.130.136] Executing task 'pre_check'
2019-06-21 11:26:19:694720: [root@192.168.130.136] Executing task 'check_disk_space'
2019-06-21 11:26:19:695062: [root@192.168.130.136] sudo: df -Pk /var/lib | grep % | awk '{print $2}'
2019-06-21 11:26:19:892874: [root@192.168.130.136] out: 247312464
2019-06-21 11:26:19:978998: [root@192.168.130.136] out:
2019-06-21 11:26:19:979243:
2019-06-21 11:26:19:979732:
2019-06-21 11:26:19:979951: ERROR: Minimum disk space(256GB) for analytics db is not met in nodes: ['root@192.168.130.136']
2019-06-21 11:26:19:980084: Please set 'minimum_diskGB' in testbed.py and continue.
2019-06-21 11:26:19:980256: Specifiy the avalilable disk space of database node in GB
2019-06-21 11:26:19:980380: However minimum disk space for database node is 256GB.
2019-06-21 11:26:19:980488: Disconnecting from 192.168.130.136... done.
2019-06-21 11:26:20:111339: root@ubuntu-contrail:/opt/contrail/utils# contrail-status


root@ubuntu-contrail:/opt/contrail/utils# contrail-status
contrail-status: command not found
root@ubuntu-contrail:/opt/contrail/utils#

 

Regards

Faiz

11 REPLIES 11
Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-22-2019 12:50 AM

Even i have tried this option of lowering the size but still its complaining .

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB30499&cat=CONTRAIL&actp=LIST

Attaching output diskGB size = 100 GB

 

root@ubuntu-contrail:~# cd /opt/contrail/utils/fabfile/testbeds
root@ubuntu-contrail:/opt/contrail/utils/fabfile/testbeds# nano testbed.py

 

Regards

Faiz.

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-23-2019 11:38 PM

Hi fsyed,

 

please send the output for below:

 

grep minimum_diskGB /opt/contrail/utils/fabfile/testbeds/testbed.py

 

-PL

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-26-2019 07:30 AM

Sure i will send the output tonight .

 

Regards

Faiz.

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-27-2019 05:56 AM


Your Hardware Enablement Stack (HWE) is supported until April 2019.
Last login: Sat Jun 22 01:04:07 2019 from 192.168.130.136
root@ubuntu-contrail:~#
root@ubuntu-contrail:~#
root@ubuntu-contrail:~#
root@ubuntu-contrail:~#
root@ubuntu-contrail:~# grep minimum_diskGB /opt/contrail/utils/fabfile/testbeds/testbed.py
#minimum_diskGB = 235
root@ubuntu-contrail:~#

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-27-2019 06:19 AM

As per KB, you should change it to 100 and remove the # (uncomment that line).

 

It should look like this:

 

minimum_diskGB = 150

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-27-2019 11:37 AM

PML i have already tried reducing this 100 as well as 150 GB but unable to located the screenshot i attached earlier. But let me try again as i have not remove this # .

 

Regards

Faiz.

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎06-27-2019 01:22 PM

Thanks PML i forgot to remove the # that resolve the disksize issue after proceeding and running following fabric commands i am having this following issue ,attaching the output for reference .

 

#cd /opt/contrail/utils/

#fab -c fabrc install_contrail

 

 

2019-06-27 06:15:06:579199: Fatal error: sudo() received nonzero return code 100 while executing!
2019-06-27 06:15:06:579199:
2019-06-27 06:15:06:579199: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless
2019-06-27 06:15:06:579199: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless"
2019-06-27 06:15:06:579199:
2019-06-27 06:15:06:579326: Aborting.
2019-06-27 06:15:06:579326: 2019-06-27 06:15:06:578953: Disconnecting from 192.168.130.136... done.
2019-06-27 06:15:06:700027: root@ubuntu-contrail:/opt/contrail/utils#

 

 

#fab setup_all

 

2019-06-27 06:16:50:764870: [root@192.168.130.136] put: /tmp/rabbitmq-env-root@192.168.130.136.conf -> /etc/rabbitmq/rabbitmq-env.conf

2019-06-27 06:16:50:855180: Fatal error: sudo() received nonzero return code 1 while executing!
2019-06-27 06:16:50:855180:
2019-06-27 06:16:50:855180: Requested: mv "450d9d1ea852ede225b4bf950b0aa183fd53cd3f" "/etc/rabbitmq/rabbitmq-env.conf"
2019-06-27 06:16:50:855180: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "mv \"450d9d1ea852ede225b4bf950b0aa183fd53cd3f\" \"/etc/rabbitmq/rabbitmq-env.conf\""
2019-06-27 06:16:50:855180:
2019-06-27 06:16:50:855180: =============================== Standard output ===============================
2019-06-27 06:16:50:855180:
2019-06-27 06:16:50:855180: mv: cannot move ‘450d9d1ea852ede225b4bf950b0aa183fd53cd3f’ to ‘/etc/rabbitmq/rabbitmq-env.conf’: No such file or directory
2019-06-27 06:16:50:855180:
2019-06-27 06:16:50:855180: ================================================================================
2019-06-27 06:16:50:855180:
2019-06-27 06:16:50:855393: Aborting.
2019-06-27 06:16:50:855393: 2019-06-27 06:16:50:813486: Disconnec

Attachments

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎07-01-2019 02:34 AM

You seem to be using an older version of Contrail ?? Fab based Install is for Contrail 3.X and prioir!!! You should be using the latest 5.X version.

From the install logs I could see that the package installation is failing.

Can you ensure that the Linux kernel version and distribution is supported on the Contrail Release that you are using?

 

Ashish Paul
Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎07-01-2019 07:39 AM

Thanks Ashish for looking into it yes i m running contrail 3.2.11.0-79 which is 3.x release( mitaka ) on ubuntu  14.04-6 .As per my understanding it should work not sure why fab is failing basically i need to setup all in one setup for testing .

 

Regards

Faiz

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎07-01-2019 09:07 AM

One quick question Ashish do u have any version to linux version and distribution mapping as per my understanding although its old but Mitaka 3.x should be working fine on Ubuntu 14.04 or if u could confiirm i can try Ocata on ubuntu 16 .

 

Regards

Faiz

1-316-573-8704

 

 

Contrail Platform Developers

Re: Contrail Installation Failing Error Minimum disk space(256GB)

‎07-02-2019 06:39 AM