From 18a35faea121096b0f779929e689fa79ef4328b1 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 16 Jan 2020 14:06:44 +0200 Subject: [PATCH] Allow ceph metal CI deployments eth1 interface is not a valid interface for metal deployments. br-mgmt interface should be used instead as a `monitor_interface`. Change-Id: I8310c2485f2bfb9b283068d43c8acd35f29197c3 --- tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 index 90d73da60c..527a87e15d 100644 --- a/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 @@ -15,7 +15,7 @@ ## ceph-ansible AIO settings common_single_host_mode: true -monitor_interface: eth1 # Management network in the AIO +monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-mgmt', 'eth1') }}" # Management network in the AIO public_network: "{{ (mgmt_range ~ '.0/' ~ netmask) | ipaddr('net') }}" journal_size: 100 osd_scenario: collocated