Fix assignment is_controller flag for crc

In [1] we changed the way is_controller flag is assigned for nodes
on podified environments. However crc host was not handled.
This patch fixes this.

[1] https://review.opendev.org/c/x/whitebox-neutron-tempest-plugin/+/924946

Change-Id: Id68c9803b7c5fc4e5e142dcfbb5685f25a75a6a6
This commit is contained in:
Roman Safronov 2024-07-30 16:25:15 +03:00
parent 072f8c7e29
commit 2b4fcdfd10

View File

@ -233,7 +233,7 @@ class BaseTempestWhiteboxTestCase(base.BaseTempestTestCase):
node_key = 'id_cifw_key'
node_ip = hosts_data[node]['ansible_host']
# Here we mean a node with running OSP control plane services
is_controller = ('ocp' in node)
is_controller = (('ocp' in node) or ('crc' in node))
node_data = {
'ip': node_ip,
'user': hosts_data[node]['ansible_user'],