If nova-manage cell_v2 create_cell returns 2, it's because the cell already
exists and all instances are correctly mapped to the cell. The cell_v2
map_instances doesn't need to run.
Change-Id: I38002a18dff4dbd44bd3df9e1969c9d50ab12705
Related-Bug: 1729661
(cherry picked from commit 0f24bb8bd45e6c3c4f1dc0fed1418c6be79525ee)
Reviewed: https:/ /review. openstack. org/585157 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_nova/ commit/ ?id=7e0d6b5477d 6218467dc2692c7 4e4df8ea07fca6
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 7e0d6b5477d6218 467dc2692c74e4d f8ea07fca6
Author: Marc Gariepy <email address hidden>
Date: Wed Jul 18 09:56:47 2018 -0400
Map instances to cell_v2 only once.
If nova-manage cell_v2 create_cell returns 2, it's because the cell already
exists and all instances are correctly mapped to the cell. The cell_v2
map_instances doesn't need to run.
Change-Id: I38002a18dff4db d44bd3df9e1969c 9d50ab12705 c4f1dc0fed1418c 6be79525ee)
Related-Bug: 1729661
(cherry picked from commit 0f24bb8bd45e6c3