Bug 1854500 - [tracker-rhcs bug 1838931] mgr/volumes: add command to return metadata of a subvolume snapshot
Summary: [tracker-rhcs bug 1838931] mgr/volumes: add command to return metadata of a s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: csi-driver
Version: 4.6
Hardware: All
OS: All
high
medium
Target Milestone: ---
: OCS 4.6.0
Assignee: Humble Chirammal
QA Contact: Jilju Joy
URL:
Whiteboard:
Depends On: 1838931
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-07 15:18 UTC by Humble Chirammal
Modified: 2020-12-17 06:23 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1838931
Environment:
Last Closed: 2020-12-17 06:22:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:5605 0 None None None 2020-12-17 06:23:46 UTC

Comment 2 Yaniv Kaul 2020-07-12 10:15:45 UTC
BZ is going to 4.1z1, why is this one still on assigned?

Comment 6 Jilju Joy 2020-09-24 18:28:27 UTC
Hi Humble,

Please suggest a test scenario to verify this bug. I couldn't find it in the RHCS bug #1838931

I just tried these commands. 

# ceph fs subvolume snapshot ls ocs-storagecluster-cephfilesystem csi-vol-52e33199-fe84-11ea-8199-0a580a81020e --group_name csi
[
    {
        "name": "csi-snap-b9a577ab-fe84-11ea-8199-0a580a81020e"
    }
]

# ceph fs subvolume snapshot info ocs-storagecluster-cephfilesystem csi-vol-52e33199-fe84-11ea-8199-0a580a81020e csi-snap-b9a577ab-fe84-11ea-8199-0a580a81020e --group_name csi
{
    "created_at": "2020-09-24 16:40:59.587143",
    "data_pool": "ocs-storagecluster-cephfilesystem-data0",
    "has_pending_clones": "no",
    "protected": "yes",
    "size": 1073741824
}

Comment 8 Humble Chirammal 2020-10-05 10:28:07 UTC
(In reply to Jilju Joy from comment #6)
> Hi Humble,
> 
> Please suggest a test scenario to verify this bug. I couldn't find it in the
> RHCS bug #1838931
> 
> I just tried these commands. 
> 
> # ceph fs subvolume snapshot ls ocs-storagecluster-cephfilesystem
> csi-vol-52e33199-fe84-11ea-8199-0a580a81020e --group_name csi
> [
>     {
>         "name": "csi-snap-b9a577ab-fe84-11ea-8199-0a580a81020e"
>     }
> ]
> 
> # ceph fs subvolume snapshot info ocs-storagecluster-cephfilesystem
> csi-vol-52e33199-fe84-11ea-8199-0a580a81020e
> csi-snap-b9a577ab-fe84-11ea-8199-0a580a81020e --group_name csi
> {
>     "created_at": "2020-09-24 16:40:59.587143",
>     "data_pool": "ocs-storagecluster-cephfilesystem-data0",
>     "has_pending_clones": "no",
>     "protected": "yes",
>     "size": 1073741824
> }


This is good enough. More or less, the verifiation could have been done on CephFS bug.

Also is above output coming from a RHCS 4.1.z2 cluster? if not, can you capture that as well?

Comment 9 Jilju Joy 2020-10-05 11:10:03 UTC
(In reply to Humble Chirammal from comment #8)
> (In reply to Jilju Joy from comment #6)
> > Hi Humble,
> > 
> > Please suggest a test scenario to verify this bug. I couldn't find it in the
> > RHCS bug #1838931
> > 
> > I just tried these commands. 
> > 
> > # ceph fs subvolume snapshot ls ocs-storagecluster-cephfilesystem
> > csi-vol-52e33199-fe84-11ea-8199-0a580a81020e --group_name csi
> > [
> >     {
> >         "name": "csi-snap-b9a577ab-fe84-11ea-8199-0a580a81020e"
> >     }
> > ]
> > 
> > # ceph fs subvolume snapshot info ocs-storagecluster-cephfilesystem
> > csi-vol-52e33199-fe84-11ea-8199-0a580a81020e
> > csi-snap-b9a577ab-fe84-11ea-8199-0a580a81020e --group_name csi
> > {
> >     "created_at": "2020-09-24 16:40:59.587143",
> >     "data_pool": "ocs-storagecluster-cephfilesystem-data0",
> >     "has_pending_clones": "no",
> >     "protected": "yes",
> >     "size": 1073741824
> > }
> 
> 
> This is good enough. More or less, the verifiation could have been done on
> CephFS bug.
> 
> Also is above output coming from a RHCS 4.1.z2 cluster? if not, can you
> capture that as well?

The above output was taken from :
# ceph version
ceph version 14.2.8-91.el8cp (75b4845da7d469665bd48d1a49badcc3677bf5cd) nautilus (stable)

ocs-operator.v4.6.0-98.ci
Cluster version is 4.6.0-0.nightly-2020-09-24-074159

Comment 11 errata-xmlrpc 2020-12-17 06:22:31 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 OpenShift Container Storage 4.6.0 security, bug fix, 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-2020:5605


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