commit afa458f1bdb3bfa36ce3512abae0b20db8547411
Author: Dan Smith <email address hidden>
Date: Mon Dec 12 11:05:28 2016 -0800
Make simple_cell_setup fully idempotent
Previously this command would treat the presence of a cell0 mapping
as indication that cellsv2 is fully setup. This could be a false
indication for a variety of situations, including having set up a
cell0 mapping manually, as well as failing to sync the database and
thus not continuing on to host/instance mapping.
This patch makes us continue on, even if the mapping is present,
and also even if the sync of the cell0 database fails.
Change-Id: Ic05e1a998d7807d58fc35637742059d61f7669e9
Closes-Bug: #1649341
(cherry picked from commit 34761e678f286cce2479d320356c9196d67cc4fb)
Reviewed: https:/ /review. openstack. org/420051 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=afa458f1bdb 3bfa36ce3512aba e0b20db8547411
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit afa458f1bdb3bfa 36ce3512abae0b2 0db8547411
Author: Dan Smith <email address hidden>
Date: Mon Dec 12 11:05:28 2016 -0800
Make simple_cell_setup fully idempotent
Previously this command would treat the presence of a cell0 mapping
as indication that cellsv2 is fully setup. This could be a false
indication for a variety of situations, including having set up a
cell0 mapping manually, as well as failing to sync the database and
thus not continuing on to host/instance mapping.
This patch makes us continue on, even if the mapping is present,
and also even if the sync of the cell0 database fails.
Change-Id: Ic05e1a998d7807 d58fc3563774205 9d61f7669e9 e2479d320356c91 96d67cc4fb)
Closes-Bug: #1649341
(cherry picked from commit 34761e678f286cc