The output from `nova-manage cell_v2 list_cells --verbose` contains
an extra column, stating whether the cell is enabled or not. This means
that the regex never matches, so existing_cells is always empty.
This fix updates the regex by adding a match group for this field which
may be used in a later change.
Unfortuately the CLI doesn't output in JSON format, which would make
this a lot less messy.
Closes-Bug: #1842460
Change-Id: Ib6400b33785f3ef674bffc9329feb3e33bd3f9a3
(cherry picked from commit 7b636033ee5e40ba90bce1fa95fe5432e344acfc)
Reviewed: https:/ /review. opendev. org/681010 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=ba332d42d47 c09d033decab339 53b9d4ca9b3ed8
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit ba332d42d47c09d 033decab33953b9 d4ca9b3ed8
Author: Doug Szumski <email address hidden>
Date: Tue Sep 3 17:42:19 2019 +0100
Fix Nova cell search
The output from `nova-manage cell_v2 list_cells --verbose` contains
an extra column, stating whether the cell is enabled or not. This means
that the regex never matches, so existing_cells is always empty.
This fix updates the regex by adding a match group for this field which
may be used in a later change.
Unfortuately the CLI doesn't output in JSON format, which would make
this a lot less messy.
Closes-Bug: #1842460 f674bffc9329feb 3e33bd3f9a3 a90bce1fa95fe54 32e344acfc)
Change-Id: Ib6400b33785f3e
(cherry picked from commit 7b636033ee5e40b