diff options
author | 2017-09-22 12:06:43 +0100 | |
---|---|---|
committer | 2017-11-10 09:25:59 +0000 | |
commit | 3205096b741f5ebcfba4dc90476526cc1df14823 (patch) | |
tree | c2aae78c0566181807b575e986a27497c48ef27d /puppet | |
parent | 4217767d8782abae02b11f553fc14daf7cd72916 (diff) |
Update default cell_v2 cell when it already exists
nova-manage cell_v2 create_cell just uses a dumb string comparison to detect
when a cell already exists. If there is a slight difference (e.g ordering of
params in the db uri query string) it can result in duplicate cells.
With this patch we should detect that the default cell already exists and
update it to use the current transport_url/database_connection instead of
attempting to create a new cell.
Change-Id: If6a32e87b19cb0edf683144367701a115657ad0a
Closes-bug: 1718912
(cherry picked from commit ebcaabcc5c5d2840128b3609c82c4a70a81ea0a0)
Diffstat (limited to 'puppet')
0 files changed, 0 insertions, 0 deletions