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.
Reviewed: https:/ /review. opendev. org/679823 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=7b636033ee5 e40ba90bce1fa95 fe5432e344acfc
Committed: https:/
Submitter: Zuul
Branch: master
commit 7b636033ee5e40b a90bce1fa95fe54 32e344acfc
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
Change-Id: Ib6400b33785f3e