-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.4
-
rhel-system-roles-1.23.0-2.11.el9
-
None
-
None
-
rhel-sst-system-roles
-
22
-
26
-
1
-
QE ack, Dev ack
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
Release Note Not Required
-
None
What were you trying to do that didn't work?
Please provide the package NVR for which bug is seen:
rhel-system-roles-1.23.0-2.8.el8.noarch
4.18.0-536.el8.x86_64
How reproducible:
Steps to reproduce
- ansible-playbook -i host tests/tests_lvm_auto_size_cap_nvme_generated.yml
Expected results
Actual results
[root@storageqe-62 rhel-system-roles.storage]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 279.4G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 277.8G 0 part
├─rhel_storageqe--62-root 253:0 0 70G 0 lvm /
├─rhel_storageqe--62-swap 253:1 0 7.9G 0 lvm [SWAP]
└─rhel_storageqe--62-home 253:2 0 200G 0 lvm /home
sdb 8:16 0 279.4G 0 disk
sdc 8:32 0 186.3G 0 disk
sdd 8:48 0 111.8G 0 disk
sde 8:64 0 111.8G 0 disk
sdf 8:80 0 931.5G 0 disk
sdg 8:96 0 931.5G 0 disk
sdh 8:112 0 931.5G 0 disk
sdi 8:128 0 931.5G 0 disk
sdj 8:144 0 931.5G 0 disk
sdk 8:160 0 279.4G 0 disk
sdl 8:176 0 279.4G 0 disk
nvme0n1 259:0 0 1.5T 0 disk
└─foo-test1 253:3 0 1.5T 0 lvm
nvme1n1 259:1 0 894.3G 0 disk
TASK [rhel-system-roles.storage : Define an empty list of pools to be used in testing] *** ok: [localhost] /nvme TASK [Calculate the expected thin pool volume size based on percentage value] *** skipping: [localhost] TASK [Replace expected volume size with calculated value] ********************** skipping: [localhost] TASK [Show actual size] ******************************************************** ok: [localhost] => { "storage_test_actual_size": { "bytes": 1649267441664, "changed": false, "failed": false, "lvm": "1t", "parted": "1TiB", "size": "1 TiB" } } TASK [Show expected size] ****************************************************** ok: [localhost] => { "storage_test_expected_size": "1600321314816" } TASK [Assert expected size is actual size] ************************************* fatal: [localhost]: FAILED! => { "assertion": "(storage_test_expected_size | int - storage_test_actual_size.bytes) | abs / storage_test_expected_size | int < 0.02", "changed": false, "evaluated_to": false, "msg": "Volume test1 has unexpected size (expected: 1600321314816 / actual: 1649267441664)" } PLAY RECAP ********************************************************************* localhost : ok=132 changed=8 unreachable=0 failed=1 skipped=128 rescued=2 ignored=0
- clones
-
RHEL-23309 [RHEL8]tests_lvm_auto_size_cap_nvme_generated failed at "Assert expected size is actual size"
- Closed
- links to
-
RHBA-2023:124808 rhel-system-roles bug fix and enhancement update
- mentioned on