Wipe disks role doesn't support newer lsblk
Bug #2051859 reported by
Dawud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
kayobe | Status tracked in Caracal | |||||
Antelope |
Fix Released
|
Undecided
|
Unassigned | |||
Bobcat |
Fix Released
|
Undecided
|
Unassigned | |||
Caracal |
Fix Released
|
High
|
Dawud | |||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On Rocky Linux 9 and Ubuntu Jammy (probably due to a newer version of lsblk), the ``wipe_disks`` role is not properly configured due to the fact that ``lsblk -J`` returns a slightly different output than what was previously returned.
When running ``kayobe overcloud host configure --wipe-disks`` the role skips all the disks that are supposed to be wiped.
Changed in kayobe: | |
assignee: | nobody → Dawud (dawudm) |
Changed in kayobe: | |
status: | New → In Progress |
Changed in kayobe: | |
importance: | Undecided → High |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /kayobe/ +/907105 /opendev. org/openstack/ kayobe/ commit/ 3942d29448d16b4 ef8e9682b4d08fd 03d1dbe2cd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 3942d29448d16b4 ef8e9682b4d08fd 03d1dbe2cd
Author: Dawud <email address hidden>
Date: Mon Jan 29 17:32:31 2024 +0000
Fix wipe-disks role to work on util-linux >= 2.37
On newer versions of util-linux, the ``wipe_disks`` role was not
properly configured due to the fact that ``lsblk -J`` returns a slightly
different output than what was previously returned. Previously the
output would contain a key called ``mountpoint``, however this has been
changed to ``mountpoints``. This has now been fixed by looking at the
new key as well as the old key.
Closes-bug: #2051859 37fda38e0592431 5887cb04c41
Change-Id: I2a59f4eb3ae27f