Ask Your Question
0

Apex: virtual deployment failed to configure undercloud

asked 2017-11-13 16:33:50 -0700

jfranzoy gravatar image

I am trying to install opnfv just to look at it.

We (in my work) develop NFs. And I am researching virtualization platforms for our NFs.

I am having problems installing a VM deployment of opnfv-euphrates. Can anybody help me? Thanks in advance.

DETAILS:

Jump Host installed is

opnfv-5.0.iso

deploy command:

#opnfv-deploy --virtual --virtual-computes 1 --deploy-settings /etc/opnfv-apex/os-nosdn-kvm-noha.yaml --network-settings /etc/opnfv-apex/network_settings.yaml --debug

apex_deploy.log:

... 10/31/2017 04:42:43 PM INFO: TASK [undercloud install] **************


task path: /usr/share/opnfv-apex/ansible/playbooks/configureundercloud.yml:51 fatal: [192.168.122.149]: FAILED! => {"changed": true, "cmd": "openstack undercloud install &> apex -undercloud-install.log", "delta": "0:03:17.479968", "end": "2017-10-31 19:42:43.507359", "failed": true, "rc": 1, "start": "2017-10-31 19:39:26.027391", "stderr": "", "stderrlines": [], "stdout": "", "stdout_lines": []}

10/31/2017 04:44:16 PM INFO: TASK [undercloud install retry] **************** task path: /usr/share/opnfv-apex/ansible/playbooks/configureundercloud.yml:56 fatal: [192.168.122.149]: FAILED! => {"changed": true, "cmd": "openstack undercloud install >> apex-undercloud-install.log 2>&1", "delta": "0:01:31.975311", "end": "2017-10-31 19:44:15.970683", "failed": true, "rc": 1, "start": "2017-10-31 19:42:43.995372", "stderr": "", "stderrlines": [], "stdout": "", "stdout_lines": []}

10/31/2017 04:44:16 PM INFO: TASK [fetch undercloud log] **************** task path: /usr/share/opnfv-apex/ansible/playbooks/configureundercloud.yml:61 changed: [192.168.122.149] => {"changed": true, "checksum": "4fb5073b23190feb0803992248e5ca371cc342de", "dest": "/tmp/apextmpscavi267/apex-undercloud-install.log", "md5sum": "4d9c9cd7f716a927c49aaa7bcbcdf9b9", "remotechecksum": "4fb5073b23190feb0803992248e5ca371cc342de", "remotemd5sum": null} to retry, use: --limit @/usr/share/opnfv-apex/ansible/playbooks/configure_undercloud.retry

/tmp/apex_tmpscavi267/apex-undercloud-install.log:

... 2017-10-31 19:44:06,169 INFO: ESC[1;31mError: Failed to apply catalog: Execution of '/bin/nova-mana ge cellv2 listcells --verbose' returned 1: An error has occurred: 2017-10-31 19:44:06,170 INFO: Traceback (most recent call last): ... 2017-10-31 19:44:06,173 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 425, in _setupforconnection 2017-10-31 19:44:06,173 INFO: "No sqlconnection parameter is established") 2017-10-31 19:44:06,173 INFO: CantStartEngineError: No sql_connection parameter is establishedESC[0m

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2018-03-23 08:03:58 -0700

cp1408 gravatar image

Hi, am also facing the same issue.

edit flag offensive delete link more
0

answered 2018-03-27 08:38:06 -0700

The logs are not obvious for me. however, i remember that the Jump Host should have enough resources to run the Undercloud VM, ie, you must have at least 16GB of available RAM.

edit flag offensive delete link more
0

answered 2018-04-30 03:42:48 -0700

AhmedMourad gravatar image

Same problem here , and I have a Jump Host with 64 GB of Ram.

Here is the logs from the task : /tmp/apex_tmpcjn7f8zg/apex-undercloud-install.log

2018-04-29 20:09:21,743 INFO: Warning: /Stage[main]/Nova::Deps/Anchor[nova::service::begin]: Skipping because of failed dependencies 2018-04-29 20:09:28,820 INFO: Error: Failed to apply catalog: Execution of '/bin/nova-manage cellv2 listcells --verbose' returned 1: An error has occurred: 2018-04-29 20:09:28,820 INFO: Traceback (most recent call last): 2018-04-29 20:09:28,820 INFO: File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 1617, in main 2018-04-29 20:09:28,820 INFO: ret = fn(fn_args, *fnkwargs) 2018-04-29 20:09:28,820 INFO: File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 1469, in listcells 2018-04-29 20:09:28,821 INFO: context.getadmincontext()) 2018-04-29 20:09:28,821 INFO: File "/usr/lib/python2.7/site-packages/osloversionedobjects/base.py", line 184, in wrapper 2018-04-29 20:09:28,821 INFO: result = fn(cls, context, *args, **kwargs) 2018-04-29 20:09:28,821 INFO: File "/usr/lib/python2.7/site-packages/nova/objects/cellmapping.py", line 127, in getall 2018-04-29 20:09:28,821 INFO: dbmappings = cls.getallfromdb(context) 2018-04-29 20:09:28,822 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 893, in wrapper 2018-04-29 20:09:28,822 INFO: with self.transactionscope(context): 2018-04-29 20:09:28,822 INFO: File "/usr/lib64/python2.7/contextlib.py", line 17, in enter 2018-04-29 20:09:28,822 INFO: return self.gen.next() 2018-04-29 20:09:28,822 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 944, in transactionscope 2018-04-29 20:09:28,822 INFO: allowasync=self.allowasync) as resource: 2018-04-29 20:09:28,823 INFO: File "/usr/lib64/python2.7/contextlib.py", line 17, in enter 2018-04-29 20:09:28,823 INFO: return self.gen.next() 2018-04-29 20:09:28,823 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 558, in session 2018-04-29 20:09:28,823 INFO: bind=self.connection, mode=self.mode) 2018-04-29 20:09:28,823 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 317, in createsession 2018-04-29 20:09:28,824 INFO: self.start() 2018-04-29 20:09:28,824 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 403, in start 2018-04-29 20:09:28,824 INFO: engineargs, makerargs) 2018-04-29 20:09:28,824 INFO: File "/usr/lib/python2.7/site-packages/oslodb/sqlalchemy/enginefacade.py", line 425, in setupforconnection 2018-04-29 20:09:28,824 INFO: "No sqlconnection parameter is established") 2018-04-29 20:09:28,825 INFO: CantStartEngineError: No sql_connection parameter is established 2018-04-29 20:09:41,561 INFO: + rc=1 2018-04-29 20:09:41,561 INFO: + set -e 2018-04-29 20:09:41,561 INFO: + echo 'puppet apply exited ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

Asked: 2017-11-13 16:33:50 -0700

Seen: 148 times

Last updated: Apr 30