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 Beta   
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