From ce9d791291d2c3ac4f03592178f3b54ae1c8f8ff Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Fri, 1 Dec 2017 10:15:25 -0500 Subject: [PATCH] cinder is_metal is undefined Check if is_metal is defined, also renaming the tasks name to reduce stress. Change-Id: Ifcd5b4d1a99ca61cbe508d4980d063a6a9adff1a --- .../upgrade-utilities/cinder-volume-container-lvm-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leap-upgrades/upgrade-utilities/cinder-volume-container-lvm-check.yml b/leap-upgrades/upgrade-utilities/cinder-volume-container-lvm-check.yml index f4d37ad8..e7eb08c5 100644 --- a/leap-upgrades/upgrade-utilities/cinder-volume-container-lvm-check.yml +++ b/leap-upgrades/upgrade-utilities/cinder-volume-container-lvm-check.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -- name: Destroy lxc containers except galera +- name: Cinder volume config check hosts: "cinder_volume" gather_facts: false user: root @@ -22,7 +22,7 @@ set_fact: in_container: true when: > - is_metal != true or + (is_metal is defined and is_metal != true) or container_name != physical_host - name: Check if cinder backends are LVM