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/681012 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=c87d443680d a368d9af8087c6e a6f735ad87339c
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit c87d443680da368 d9af8087c6ea6f7 35ad87339c
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