Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the TASK [nova : Waiting for nova-compute service up] Error #36

Open
ghost opened this issue Nov 29, 2018 · 4 comments
Open

Run the TASK [nova : Waiting for nova-compute service up] Error #36

ghost opened this issue Nov 29, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 29, 2018

I'm trying to use the r5.0 branch of this repo to deploy All_In_One mode.
Here is the log output:

TASK [nova : Waiting for nova-compute service up] ***************************************************************************************************
FAILED - RETRYING: Waiting for nova-compute service up (20 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (19 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (18 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (17 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (16 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (15 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (14 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (13 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (12 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (11 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (10 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (9 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (8 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (7 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (6 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (5 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (4 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (3 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (2 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (1 retries left).
fatal: [172.20.1.160 -> 172.20.1.160]: FAILED! => {"attempts": 20, "changed": false, "cmd": ["docker", "exec", "kolla_toolbox", "openstack", "--os-interface", "internal", "--os-auth-url", "http://172.20.1.160:35357/v3", "--os-identity-api-version", "3", "--os-project-domain-name", "default", "--os-tenant-name", "admin", "--os-username", "admin", "--os-password", "contrail123", "--os-user-domain-name", "default", "compute", "service", "list", "-f", "json", "--service", "nova-compute"], "delta": "0:00:00.881186", "end": "2018-11-29 03:52:56.652387", "msg": "non-zero return code", "rc": 1, "start": "2018-11-29 03:52:55.771201", "stderr": "Traceback (most recent call last):\n  File \"/opt/ansible/bin/openstack\", line 7, in <module>\n    from openstackclient.shell import main\n  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/shell.py\", line 29, in <module>\n    from openstackclient.common import clientmanager\n  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/common/clientmanager.py\", line 153, in <module>\n    'openstack.cli.base',\n  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/common/clientmanager.py\", line 124, in get_plugin_modules\n    __import__(ep.module_name)\n  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/network/client.py\", line 17, in <module>\n    from openstack import profile\nImportError: cannot import name profile", "stderr_lines": ["Traceback (most recent call last):", "  File \"/opt/ansible/bin/openstack\", line 7, in <module>", "    from openstackclient.shell import main", "  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/shell.py\", line 29, in <module>", "    from openstackclient.common import clientmanager", "  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/common/clientmanager.py\", line 153, in <module>", "    'openstack.cli.base',", "  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/common/clientmanager.py\", line 124, in get_plugin_modules", "    __import__(ep.module_name)", "  File \"/opt/ansible/lib/python2.7/site-packages/openstackclient/network/client.py\", line 17, in <module>", "    from openstack import profile", "ImportError: cannot import name profile"], "stdout": "", "stdout_lines": []}

NO MORE HOSTS LEFT **********************************************************************************************************************************
	to retry, use: --limit @/root/contrail-ansible-deployer/playbooks/install_openstack.retry

PLAY RECAP ******************************************************************************************************************************************
172.20.1.160               : ok=186  changed=26   unreachable=0    failed=1   
localhost                  : ok=32   changed=2    unreachable=0    failed=0   

@Andrey-mp
Copy link
Member

it was a bug in openstack images - https://bugs.launchpad.net/kolla-ansible/+bug/1805622

I see that an hour ago ocata image was updated

@magfuentes
Copy link

Not working for me

TASK [nova : Create cell0 mappings] ********************************************
ok: [10.236.98.129 -> 10.236.98.129]

TASK [nova : include] **********************************************************
skipping: [10.236.98.129]

TASK [nova : Create base cell for legacy instances] ****************************
ok: [10.236.98.129 -> 10.236.98.129]

TASK [nova : Waiting for nova-compute service up] ******************************
FAILED - RETRYING: Waiting for nova-compute service up (20 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (19 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (18 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (17 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (16 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (15 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (14 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (13 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (12 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (11 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (10 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (9 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (8 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (7 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (6 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (5 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (4 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (3 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (2 retries left).
FAILED - RETRYING: Waiting for nova-compute service up (1 retries left).
fatal: [10.236.98.129 -> 10.236.98.129]: FAILED! => {"attempts": 20, "changed": false, "cmd": ["docker", "exec", "kolla_toolbox", "openstack", "--os-interface", "internal", "--os-auth-url", "http://10.236.98.129:35357", "--os-identity-api-version", "3", "--os-project-domain-name", "default", "--os-tenant-name", "admin", "--os-username", "admin", "--os-password", "kolla", "--os-user-domain-name", "default", "compute", "service", "list", "-f", "json", "--service", "nova-compute"], "delta": "0:00:01.801443", "end": "2019-01-31 19:20:15.905102", "rc": 0, "start": "2019-01-31 19:20:14.103659", "stderr": "", "stderr_lines": [], "stdout": "[]", "stdout_lines": ["[]"]}

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/root/contrail-ansible-deployer/playbooks/install_openstack.retry

PLAY RECAP *********************************************************************
10.236.98.129 : ok=147 changed=8 unreachable=0 failed=1
localhost : ok=31 changed=2 unreachable=0 failed=0

[root@kvm-r04-29 contrail-ansible-deployer]#

Linux 3.10.0-862.11.6.el7.x86_64 x86_64
centos-release-7-5.1804.el7.centos.x86_64

ansible 2.4.2.0
config file = /root/contrail-ansible-deployer/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

@zeroxer
Copy link

zeroxer commented Mar 16, 2019

I have met the same fatal error too. Have you solved it?

@cally725
Copy link

Hi Just got this error with queens kola-ansible 6.0.0 and ansible 2.5.2.

Anybody have a solution for this ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants