From 4a0a721b47745fd8e5a6763013cb37f5f4d687d2 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 9 Jan 2023 16:07:33 +0100 Subject: [PATCH] Sync ZFS pool names Currently in AIO we have 2 possible path depending on presence of second drive in CI VM. For ZFS scenario we have pool name desynced that wasn't catched before as issue highly depends on CI providers. Change-Id: I63af16c3deb8a66a4ba4aad56fa5ed5df988d7f8 --- tests/roles/bootstrap-host/tasks/prepare_data_disk.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/roles/bootstrap-host/tasks/prepare_data_disk.yml b/tests/roles/bootstrap-host/tasks/prepare_data_disk.yml index 11f62041dd..e1e0c23a4f 100644 --- a/tests/roles/bootstrap-host/tasks/prepare_data_disk.yml +++ b/tests/roles/bootstrap-host/tasks/prepare_data_disk.yml @@ -125,14 +125,14 @@ - install-packages - name: Create the ZFS pool - command: zpool create pool "/dev/{{ _bootstrap_host_data_disk_device }}2" + command: zpool create osa-test-pool "/dev/{{ _bootstrap_host_data_disk_device }}2" args: - creates: /pool + creates: /osa-test-pool when: - bootstrap_host_data_disk_device_force | bool - - name: Create the ZFS pool/lxc volume - shell: "(zfs list | grep lxc) || zfs create -o mountpoint=/var/lib/lxc pool/lxc" + - name: Create the ZFS osa-test-pool/lxc volume + shell: "(zfs list | grep lxc) || zfs create -o mountpoint=/var/lib/lxc osa-test-pool/lxc" when: - bootstrap_host_data_disk_device_force | bool tags: