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/585156 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_nova/ commit/ ?id=d0cc02fc82a f1d6230ddcf8eb3 5f90671f40528a
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit d0cc02fc82af1d6 230ddcf8eb35f90 671f40528a
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