Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1982841

Summary: storage: relabel doesn't support
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: ChanghuiZhong <czhong>
Severity: unspecified Docs Contact:
Priority: high    
Version: 9.0CC: czhong, djez, dlehman, japokorn, lilin, nhosoi, pokorny_jan, rmeggins, spetrosi, yizhan
Target Milestone: betaKeywords: Triaged
Target Release: 9.0 BetaFlags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:storage
Fixed In Version: rhel-system-roles-1.7.2-1.el9 Doc Type: Enhancement
Doc Text:
Feature: It is supported to relabel the file system label by setting a new label string to fs_label in storage_volumes.
Story Points: ---
Clone Of: 1876315 Environment:
Last Closed: 2021-12-07 22:04:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1876315    
Bug Blocks:    

Comment 2 ChanghuiZhong 2021-07-16 09:26:26 UTC
The test case "tests_volume_relabel.yml" executed successfully without error,

[root@storageqe-07 ~]# blkid /dev/sdd
/dev/sdd: LABEL="label" UUID="415c5275-4245-41e9-94f7-c600c2fd5ed2" BLOCK_SIZE="4096" TYPE="ext4"

[root@storageqe-07 ~]# blkid /dev/sdd
/dev/sdd: LABEL="relabel" UUID="415c5275-4245-41e9-94f7-c600c2fd5ed2" BLOCK_SIZE="4096" TYPE="ext4"



[root@storageqe-70 ~]# rpm -qa | grep rhel-system-roles
rhel-system-roles-1.4.2-1.el9.noarch


Setting to verified:tested

Comment 4 ChanghuiZhong 2021-08-06 08:37:04 UTC
The test case "tests_volume_relabel.yml" executed successfully without error,
/dev/sdd: LABEL="label" UUID="99c91662-ef3c-4622-bd9c-453092560066" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdd: LABEL="relabel" UUID="99c91662-ef3c-4622-bd9c-453092560066" BLOCK_SIZE="4096" TYPE="ext4"

[root@storageqe-26 ~]# rpm -qa | grep rhel-system-roles
rhel-system-roles-1.7.2-1.el9.noarch

Comment 8 ChanghuiZhong 2021-08-09 07:16:32 UTC
The test case "tests_volume_relabel.yml" executed successfully without error,
/dev/sdd: LABEL="label" UUID="cbafa2d7-16b4-474d-bb9b-796325c63869" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdd: LABEL="relabel" UUID="cbafa2d7-16b4-474d-bb9b-796325c63869" BLOCK_SIZE="4096" TYPE="ext4"

# rpm -qa |grep rhel-system-roles
rhel-system-roles-1.7.5-1.el9.noarch