Bug 1876315

Summary: storage: relabel doesn't support
Product: Red Hat Enterprise Linux 8 Reporter: Zhang Yi <yizhan>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: ChanghuiZhong <czhong>
Severity: unspecified Docs Contact: Eliane Ramos Pereira <elpereir>
Priority: high    
Version: 8.3CC: czhong, djez, dlehman, elpereir, japokorn, lilin, nhosoi, pokorny_jan, rmeggins
Target Milestone: rcKeywords: Triaged
Target Release: 8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:storage
Fixed In Version: rhel-system-roles-1.4.2-1.el8 Doc Type: Enhancement
Doc Text:
.The `storage` RHEL System Role now supports `filesystem` relabel Previously, the `storage` role did not support relabelling. This update fixes the issue, providing support to relabel the `filesystem` label. To do this, set a new label string to the `fs_label` parameter in `storage_volumes`.
Story Points: ---
Clone Of:
: 1982841 (view as bug list) Environment:
Last Closed: 2021-11-09 17:44:38 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:    
Bug Blocks: 1982841    

Description Zhang Yi 2020-09-07 04:33:18 UTC
Description of problem:
storage: relabel relabel doesn't support

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
From https://projects.engineering.redhat.com/browse/RHELPLAN-30831, relabel should be supported on RHEL-8.3.0, file this issue to track the relabel support issue on RHEL8.3.0

Comment 4 Rich Megginson 2021-06-10 15:54:45 UTC
@japokorn is there a PR for this?

Comment 9 Rich Megginson 2021-07-14 15:48:09 UTC
@japokorn Is this fixed by https://github.com/linux-system-roles/storage/pull/185 ?

Comment 10 Jan 2021-07-15 11:21:09 UTC
@rmeggins Yes.

Comment 12 ChanghuiZhong 2021-07-16 08:48:24 UTC
The test case "tests_volume_relabel.yml" executed successfully without error,

/dev/sdd: LABEL="label" UUID="36a1d483-a9a5-4f88-bd17-71e34f7c09eb" BLOCK_SIZE="4096" TYPE="ext4"

/dev/sdd: LABEL="relabel" UUID="36a1d483-a9a5-4f88-bd17-71e34f7c09eb" BLOCK_SIZE="4096" TYPE="ext4"

# rpm -qa | grep rhel-system-roles
rhel-system-roles-1.4.2-1.el8.noarch

Setting to verified:tested

Comment 15 ChanghuiZhong 2021-07-27 08:36:51 UTC
test pass with rhel-system-roles-1.4.2-1.el8

/dev/sdd: LABEL="label" UUID="e65fd093-1a21-4807-b64a-82c8476f883e" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdd: LABEL="relabel" UUID="e65fd093-1a21-4807-b64a-82c8476f883e" BLOCK_SIZE="4096" TYPE="ext4

# rpm -qa | grep rhel-system-roles
rhel-system-roles-1.4.2-1.el8.noarch

Comment 19 errata-xmlrpc 2021-11-09 17:44:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4159

Comment 20 Red Hat Bugzilla 2023-09-15 00:47:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days