Bug 2039741 - [GSS][RFE][CephFS][Add metadata information to CephFS volumes / subvolumes]
Summary: [GSS][RFE][CephFS][Add metadata information to CephFS volumes / subvolumes]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 5.2
Assignee: Nikhilkumar Shelke
QA Contact: Amarnath
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2041374 2041432 2102272
TreeView+ depends on / blocked
 
Reported: 2022-01-12 10:42 UTC by nravinas
Modified: 2024-02-14 10:51 UTC (History)
16 users (show)

Fixed In Version: ceph-16.2.8-7.el8cp
Doc Type: Enhancement
Doc Text:
.New capabilities are available for CephFS subvolumes in ODF configured in external mode If CephFS in ODF is configured in external mode, users like to use volume/subvolume metadata to store some Openshift specific metadata information, such as the PVC/PV/namespace from the volumes/subvolumes. With this release, the following capabilities to set, get, update, list, and remove custom metadata from `CephFS` subvolume are added. Set custom metadata on the subvolume as a key-value pair using: .Syntax [source,subs="verbatim,quotes"] ---- ceph fs subvolume metadata set _VOLUME_NAME_ _SUBVOLUME_NAME_ _KEY_NAME_ _VALUE_ [--group-name _SUBVOLUME_GROUP_NAME_] ---- Get custom metadata set on the subvolume using the metadata key: .Syntax [source,subs="verbatim,quotes"] ---- ceph fs subvolume metadata get _VOLUME_NAME_ _SUBVOLUME_NAME_ _KEY_NAME_ [--group-name _SUBVOLUME_GROUP_NAME_ ] ---- List custom metadata (key-value pairs) set on the subvolume: .Syntax [source,subs="verbatim,quotes"] ---- ceph fs subvolume metadata ls _VOLUME_NAME_ _SUBVOLUME_NAME_ [--group-name _SUBVOLUME_GROUP_NAME_ ] ---- Remove custom metadata set on the subvolume using the metadata key: .Syntax [source,subs="verbatim,quotes"] ---- ceph fs subvolume metadata rm _VOLUME_NAME_ _SUBVOLUME_NAME_ _KEY_NAME_ [--group-name _SUBVOLUME_GROUP_NAME_ ] [--force] ----
Clone Of:
Environment:
Last Closed: 2022-08-09 17:36:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 54472 0 None None None 2022-03-04 09:47:19 UTC
Red Hat Issue Tracker RHCEPH-2953 0 None None None 2022-01-12 10:47:19 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:37:19 UTC

Comment 40 errata-xmlrpc 2022-08-09 17:36:48 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 (Moderate: Red Hat Ceph Storage Security, 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/RHSA-2022:5997


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