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 - storage: relabel doesn't support
Summary: storage: relabel doesn't support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: beta
: 9.0 Beta
Assignee: Rich Megginson
QA Contact: ChanghuiZhong
URL:
Whiteboard: role:storage
Depends On: 1876315
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-15 20:33 UTC by Rich Megginson
Modified: 2021-12-07 22:06 UTC (History)
10 users (show)

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.
Clone Of: 1876315
Environment:
Last Closed: 2021-12-07 22:04:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.