-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
rhel-system-roles-1.78.1-0.1.el9
-
None
-
None
-
1
-
rhel-system-roles
-
1
-
QE ack, Dev ack
-
False
-
False
-
-
No
-
Red Hat Enterprise Linux
-
System Roles Sprint 1
-
Pass
-
rhel-system-roles-1.76.0-0.1.3.el9
-
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:
How reproducible:
Steps to reproduce
Expected results
Actual results
TASK [rhel-system-roles.storage : Make sure blivet is available] ***************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:2
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rhel-system-roles.storage : Show storage_pools] **************************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:11
ok: [localhost] => {
"storage_pools": [
{
"disks": [
"nvme0n1"
],
"name": "foo",
"volumes": [
{
"fs_type": "ext4",
"mount_point": "/opt/test1",
"name": "test1",
"size": "8001639088128"
}
]
}
]
}
TASK [rhel-system-roles.storage : Show storage_volumes] ************************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:16
ok: [localhost] => {
"storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined. 'storage_volumes' is undefined"
}
TASK [rhel-system-roles.storage : Get required packages] ***********************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:21
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rhel-system-roles.storage : Enable copr repositories if needed] **********
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:34
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rhel-system-roles.storage : Make sure required packages are installed] ***
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:41
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rhel-system-roles.storage : Get service facts] ***************************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:57
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rhel-system-roles.storage : Set storage_cryptsetup_services] *************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:64
ok: [localhost] => {"ansible_facts": {"storage_cryptsetup_services": []}, "changed": false}
TASK [rhel-system-roles.storage : Mask the systemd cryptsetup services] ********
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:78
skipping: [localhost] => {"changed": false, "skipped_reason": "No items in the list"}
TASK [rhel-system-roles.storage : Manage the pools and volumes to match the specified state] ***
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:84
fatal: [localhost]: FAILED! => {"actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "msg": "volume 'test1' cannot be resized to '7.28 TiB'", "packages": [], "pools": [], "volumes": []}
TASK [rhel-system-roles.storage : Failed message] ******************************
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:106
fatal: [localhost]: FAILED! => {"changed": false, "msg": {"actions": [], "changed": false, "crypts": [], "failed": true, "invocation": {"module_args": {"disklabel_type": null, "diskvolume_mkfs_option_map": {}, "packages_only": false, "pool_defaults": {"disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": []}, "pools": [{"disks": ["nvme0n1"], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "shared": false, "state": "present", "type": "lvm", "volumes": [{"cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": ["nvme0n1"], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_group": null, "mount_mode": null, "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "mount_user": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": "8001639088128", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null}]}], "safe_mode": false, "use_partitions": null, "volume_defaults": {"cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "raid_stripe_size": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null}, "volumes": []}}, "leaves": [], "mounts": [], "msg": "volume 'test1' cannot be resized to '7.28 TiB'", "packages": [], "pools": [], "volumes": []}}
TASK [rhel-system-roles.storage : Unmask the systemd cryptsetup services] ******
task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:110
skipping: [localhost] => {"changed": false, "skipped_reason": "No items in the list"}
PLAY RECAP *********************************************************************
localhost : ok=347 changed=5 unreachable=0 failed=1 skipped=338 rescued=3 ignored=0
STDERR:
RETURN:2
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 447.1G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 445.5G 0 part
├─rhel_smicro--s110p--01-root 253:0 0 70G 0 lvm /
├─rhel_smicro--s110p--01-swap 253:1 0 31.3G 0 lvm [SWAP]
└─rhel_smicro--s110p--01-home 253:2 0 344.3G 0 lvm /home
nvme0n1 259:0 0 931.5G 0 disk
└─foo-test1 253:3 0 5G 0 lvm /opt/test1
nvme1n1 259:1 0 931.5G 0 disk
nvme2n1 259:2 0 931.5G 0 disk
nvme4n1 259:3 0 931.5G 0 disk
nvme3n1 259:4 0 931.5G 0 disk
nvme5n1 259:5 0 931.5G 0 disk
https://beaker.engineering.redhat.com/recipes/15835860#task175634715
- links to
-
RHEA-2024:130467
rhel-system-roles bug fix and enhancement update