Cell needs to be setup before compute service list

Bug #1683527 reported by Dale Dude
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Expired
Undecided
Unassigned

Bug Description

During deployI keep failing on:

TASK [nova : Waiting for nova-compute service up] *****************************************************
FAILED - RETRYING: Waiting for nova-compute service up (20 retries left).
...
fatal: [v1n5 -> v1n1]: FAILED! => {"attempts": 20, "changed": false, "cmd": ["docker", "exec", "kolla_toolbox", "openstack", "--os-interface", "internal", "--os-auth-url", "http://10.0.28.10:35357/v3", "--os-identity-api-version", "3", "--os-project-domain-name", "default", "--os-tenant-name", "admin", "--os-username", "admin", "--os-password", "TKC5ZCr6pAi2gdJyaAT5EzId4gwZNDVJ6B3acmLa", "--os-user-domain-name", "default", "compute", "service", "list", "-f", "json", "--service", "nova-compute"], "delta": "0:00:02.974663", "end": "2017-04-17 22:10:12.731415", "failed": true, "rc": 0, "start": "2017-04-17 22:10:09.756752", "stderr": "", "stderr_lines": [], "stdout": "[]", "stdout_lines": ["[]"]}

nova-api would produce this error:
2017-04-17 22:07:42.976 23 ERROR nova.compute.api [req-2518cb40-bc72-43ac-81bd-8905cd1fed29 62152e79709741c9bdc6d524511a4e15 e1ae1262e7b94cf38dd120d7bbd27805 - default default] No cells are configured, unable to continue
2017-04-17 22:07:42.978 23 INFO nova.osapi_compute.wsgi.server [req-2518cb40-bc72-43ac-81bd-8905cd1fed29 62152e79709741c9bdc6d524511a4e15 e1ae1262e7b94cf38dd120d7bbd27805 - default default] 10.0.28.11,10.0.28.12 "GET /v2.1/e1ae1262e7b94cf38dd120d7bbd27805/os-services?binary=nova-compute HTTP/1.1" status: 200 len: 324 time: 1.2974260

If I run the task "Running nova simple cell setup" first in kolla-ansible/ansible/roles/nova/tasks/simple_cell_setup.yml the "Waiting for nova-compute service up" finishes.

Revision history for this message
Dale Dude (daledude) wrote :

Using ocata branch.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Dale, Ocata executes simple_cell_setup, first we wait until compute nodes are registered in nova, then run simple_cell_setup. Otherwise cell_setup raises error because no host are available.

In master there was an issue with cells but have a workaround merged. Can you please ensure rabbitmq containers are running, compute nodes too. Also, please ensure the code used is stable/ocata and not master(just in case are facing the master issue).

Regards

Revision history for this message
Tuna (hardrush) wrote :

I am encountering this problem too.

kolla/ubuntu-binary* images does not seem to have stable versions. They have just masters and 3.0.0 or 4.*.* vs.

Eduardo would you please explain which code are you talking about?

Rg.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Hi Tuna, I'm talking about nova code itself.
Correct nova code without the bug is only installed on 3.0.3 images for source. In binary probably distributions backported the fix (not sure about this)

So, to migrate from newton to ocata, first need to upgrade newton to 3.0.3 and then to ocata 4.0.0.

Regards

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Was the issue resolved? cell creation is working fine in both ocata and master branch ATM. Gates also work.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Due lack of information marking this bug as incomplete, feel free to re-open if still suffering the issue

Changed in kolla-ansible:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kolla-ansible because there has been no activity for 60 days.]

Changed in kolla-ansible:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.