2a13f189be
Resolves: RHEL-58465 - package rhel-system-roles.noarch does not provide docs for ansible-doc [rhel-8.10.z] Resolves: RHEL-58494 ad_integration - fix: Sets domain name lower case in realmd.conf section header [rhel-8.10.z] Resolves: RHEL-58917 bootloader - bootloader role tests do not work on ostree [rhel-8.10.z] Resolves: RHEL-45711 bootloader - fix: Set user.cfg path to /boot/grub2/ on EL 9 UEFI [rhel-8] Resolves: RHEL-58515 cockpit - cockpit install all wildcard match does not work in newer el9 [rhel-8.10.z] Resolves: RHEL-58485 logging - RFE - system-roles - logging: Add truncate options for local file inputs [rhel-8.10.z] Resolves: RHEL-58481 logging - redhat.rhel_system_roles.logging role fails to process logging_outputs: of type: "custom" [rhel-8.10.z] Resolves: RHEL-58477 logging - [RFE] Add the umask settings or enable a variable in linux-system-roles.logging [rhel-8.10.z] Resolves: RHEL-37550 logging - Setup imuxsock using rhel-system-roles.logging causing an error EL8 Resolves: RHEL-58519 nbde_client - feat: Allow initrd configuration to be skipped [rhel-8.10.z] Resolves: RHEL-58525 podman - fix: proper cleanup for networks; ensure cleanup of resources [rhel-8.10.z] Resolves: RHEL-58511 podman - fix: grab name of network to remove from quadlet file [rhel-8.10.z] Resolves: RHEL-58507 podman - Create podman secret when skip_existing=True and it does not exist [rhel-8.10.z] Resolves: RHEL-58503 podman - fix: do not use become for changing hostdir ownership, and expose subuid/subgid info [rhel-8.10.z] Resolves: RHEL-58498 podman - fix: use correct user for cancel linger file name [rhel-8.10.z] Resolves: RHEL-58460 podman - redhat.rhel_system_roles.podman fails to configure and run containers with podman rootless using different username and groupname. [rhel-8.10.z] Resolves: RHEL-58473 sshd - second SSHD service broken [rhel-8.10.z] Resolves: RHEL-58469 storage - rhel-system-role.storage is not idempotent [rhel-8.10.z] Resolves: RHEL-58489 timesync - System Roles: No module documentation [rhel-8.10.z] (cherry picked from commit 350d523452546e35bb0805af9ad9cc74712899d7)
97 lines
3.5 KiB
Diff
97 lines
3.5 KiB
Diff
From da871866f07e2990f37b3fdea404bbaf091d81b6 Mon Sep 17 00:00:00 2001
|
|
From: Vojtech Trefny <vtrefny@redhat.com>
|
|
Date: Thu, 30 May 2024 10:41:26 +0200
|
|
Subject: [PATCH 05/10] tests: Require same sector size disks for LVM tests
|
|
|
|
LVM VGs cannot be created on top of disks with different sector
|
|
sizes so for tests that need multiple disks we need to make sure
|
|
we get unused disks with the same sector size.
|
|
|
|
Resolves: RHEL-25994
|
|
(cherry picked from commit d8c5938c28417cc905a647ec30246a0fc4d19297)
|
|
---
|
|
tests/tests_change_fs_use_partitions.yml | 2 +-
|
|
tests/tests_create_lvm_cache_then_remove.yml | 1 +
|
|
tests/tests_create_thinp_then_remove.yml | 1 +
|
|
tests/tests_fatals_cache_volume.yml | 1 +
|
|
tests/tests_lvm_multiple_disks_multiple_volumes.yml | 1 +
|
|
tests/tests_lvm_pool_members.yml | 1 +
|
|
6 files changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/tests_change_fs_use_partitions.yml b/tests/tests_change_fs_use_partitions.yml
|
|
index 52afb7f..87fed69 100644
|
|
--- a/tests/tests_change_fs_use_partitions.yml
|
|
+++ b/tests/tests_change_fs_use_partitions.yml
|
|
@@ -31,7 +31,7 @@
|
|
include_tasks: get_unused_disk.yml
|
|
vars:
|
|
min_size: "{{ volume_size }}"
|
|
- max_return: 2
|
|
+ max_return: 1
|
|
|
|
- name: Create an LVM partition with the default file system type
|
|
include_role:
|
|
diff --git a/tests/tests_create_lvm_cache_then_remove.yml b/tests/tests_create_lvm_cache_then_remove.yml
|
|
index 1769a78..6b5d0a5 100644
|
|
--- a/tests/tests_create_lvm_cache_then_remove.yml
|
|
+++ b/tests/tests_create_lvm_cache_then_remove.yml
|
|
@@ -57,6 +57,7 @@
|
|
min_size: "{{ volume_group_size }}"
|
|
max_return: 2
|
|
disks_needed: 2
|
|
+ match_sector_size: true
|
|
|
|
- name: Create a cached LVM logical volume under volume group 'foo'
|
|
include_role:
|
|
diff --git a/tests/tests_create_thinp_then_remove.yml b/tests/tests_create_thinp_then_remove.yml
|
|
index bf6c4b1..2e7f046 100644
|
|
--- a/tests/tests_create_thinp_then_remove.yml
|
|
+++ b/tests/tests_create_thinp_then_remove.yml
|
|
@@ -23,6 +23,7 @@
|
|
include_tasks: get_unused_disk.yml
|
|
vars:
|
|
max_return: 3
|
|
+ match_sector_size: true
|
|
|
|
- name: Create a thinpool device
|
|
include_role:
|
|
diff --git a/tests/tests_fatals_cache_volume.yml b/tests/tests_fatals_cache_volume.yml
|
|
index c14cf3f..fcfdbb8 100644
|
|
--- a/tests/tests_fatals_cache_volume.yml
|
|
+++ b/tests/tests_fatals_cache_volume.yml
|
|
@@ -29,6 +29,7 @@
|
|
vars:
|
|
max_return: 2
|
|
disks_needed: 2
|
|
+ match_sector_size: true
|
|
|
|
- name: Verify that creating a cached partition volume fails
|
|
include_tasks: verify-role-failed.yml
|
|
diff --git a/tests/tests_lvm_multiple_disks_multiple_volumes.yml b/tests/tests_lvm_multiple_disks_multiple_volumes.yml
|
|
index 9a01ec5..68f2e76 100644
|
|
--- a/tests/tests_lvm_multiple_disks_multiple_volumes.yml
|
|
+++ b/tests/tests_lvm_multiple_disks_multiple_volumes.yml
|
|
@@ -29,6 +29,7 @@
|
|
min_size: "{{ volume_group_size }}"
|
|
max_return: 2
|
|
disks_needed: 2
|
|
+ match_sector_size: true
|
|
|
|
- name: >-
|
|
Create a logical volume spanning two physical volumes that changes its
|
|
diff --git a/tests/tests_lvm_pool_members.yml b/tests/tests_lvm_pool_members.yml
|
|
index d1b941d..63c10c7 100644
|
|
--- a/tests/tests_lvm_pool_members.yml
|
|
+++ b/tests/tests_lvm_pool_members.yml
|
|
@@ -59,6 +59,7 @@
|
|
vars:
|
|
min_size: "{{ volume_group_size }}"
|
|
disks_needed: 3
|
|
+ match_sector_size: true
|
|
|
|
- name: Create volume group 'foo' with 3 PVs
|
|
include_role:
|
|
--
|
|
2.46.0
|
|
|