mixed OS job fails tempest - nova 'host is not mapped to any cell'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
At [1] the new mixed OS job is failing various compute related tempest tests with trace like
tempest.
Details: Fault: {'code': 400, 'created': '2022-07-
It looks like there was an issue with nova cell_v2 discovery that should have been done with [2]. In the deployment logs [3] it was skipped and we see the warning:
2022-07-11 17:44:43 | 2022-07-11 17:44:43.955766 | fa163e91-
2022-07-11 17:44:43 | 2022-07-11 17:44:43.956936 | fa163e91-
2022-07-11 17:44:43 | 2022-07-11 17:44:43.968889 | fa163e91-
2022-07-11 17:44:43 | 2022-07-11 17:44:43.990011 | fa163e91-
2022-07-11 17:44:43 | 2022-07-11 17:44:43.990888 | fa163e91-
2022-07-11 17:44:44 | 2022-07-11 17:44:44.004691 | fa163e91-
2022-07-11 17:44:44 | 2022-07-11 17:44:44.040426 | fa163e91-
We are missing 'nova_manager' or 'nova_api' in the generated ansible inventory [4] - needed by [2] to enable running of the cell v2 discovery container. This is because the job uses two deployments first deploying controller with centos9/wallaby containers followed a second deployment for compute with centos8/wallaby containers. The second compute deployment uses the inventory at [4] and so we have no nova_api or nova_manager there it would be in the "controller inventory" (inventory generated per deployment).
[1] https:/
[2] https:/
[3] https:/
[4] https:/
running the discovery manually works
* [zuul@node-woo ~]$ sudo podman exec nova_api nova-manage cell_v2 discover_hosts --by-service --verbose
* Found 2 cell mappings. 1643-47a8- a1cd-woo localdomain 1643-47a8- a1cd-woo
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'default': 0b9d7406-
Creating host mapping for service node-woo.
Found 1 unmapped computes in cell: 0b9d7406-
i am adding this into the deploy play there https:/ /review. opendev. org/c/openstack /tripleo- quickstart- extras/ +/841764/ 28/playbooks/ multinode- overcloud- mixed-os- deploy- compute. yml#62
lets see if tempest gets further (I still have my doubts about neutron/networking and https:/ /bugs.launchpad .net/tripleo/ +bug/1981322)