nova-manage cellv2 create_cell might create a duplicate cell1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
Rajesh Tailor | ||
OpenStack-Ansible |
Fix Released
|
High
|
Marcin Bukowski |
Bug Description
The "Perform cell_v2 initial cell setup" task runs "nova-manage cell_v2 create_cell" with endpoints for the DB and RabbitMQ. This is idempotent on the Nova side as long as you give exactly the same endpoints. If you don't, then Nova creates a new, almost identical, cell.
Experienced this issue when adding a RabbitMQ node to the cluster, I ended up with two "cell1". This confuses Nova a little bit... "openstack compute service list" returns every service twice, resource usage reports are incorrect by a factor of two, etc.
Because (as far as I know) OSA can handle only one cell anyway currently, it should *update* the existing cell if there is one, instead of creating it.
Similar bug in TripleO: https:/
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in openstack-ansible: | |
assignee: | nobody → Jean-Philippe Evrard (jean-philippe-evrard) |
Changed in openstack-ansible: | |
assignee: | Jean-Philippe Evrard (jean-philippe-evrard) → Marcin Bukowski (inectsec) |
Changed in nova: | |
assignee: | nobody → Rajesh Tailor (ratailor) |
It looks reasonable to me to update if they have the same name by default, but I'd like others to step in too.