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 1876315 - storage: relabel doesn't support
Summary: storage: relabel doesn't support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.5
Assignee: Rich Megginson
QA Contact: ChanghuiZhong
Eliane Ramos Pereira
URL:
Whiteboard: role:storage
Depends On:
Blocks: 1982841
TreeView+ depends on / blocked
 
Reported: 2020-09-07 04:33 UTC by Zhang Yi
Modified: 2023-09-15 00:47 UTC (History)
9 users (show)

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`.
Clone Of:
: 1982841 (view as bug list)
Environment:
Last Closed: 2021-11-09 17:44:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles storage pull 185 0 None closed Fixed volume relabeling 2021-07-15 19:44:11 UTC
Red Hat Product Errata RHBA-2021:4159 0 None None None 2021-11-09 17:44:53 UTC

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


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