CephFS doesn't support subvolume group snapshots

Bug #1925332 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Victoria Martinez de la Cruz

Bug Description

Description
===========
The CephFS driver had the ability to create and delete share group snapshots since Mitaka release. From Ceph Nautilus, there's growing support for a ceph volume interface which can be used via the "ceph fs <subcommand>" command. The manila driver in Wallaby started using this interface and the group snapshot creation is currently done via the "ceph fs subvolumegroup snapshot create" command [1]. This feature is however turned off in CephFS now [2].

Steps to reproduce
==================

A chronological list of steps which will help reproduce the issue you hit:
* Create share group
* Create one or more shares in the group
* Create share group snapshot

Expected result
===============

Actual result
=============
Share group snapshot is set to "error". There's a traceback in the manila-share logs: http://paste.openstack.org/show/804612/

Environment
===========
1. Wallaby release of OpenStack Manila, Native CephFS

[1] https://docs.ceph.com/en/latest/cephfs/fs-volumes/#fs-subvolume-groups
[2] https://github.com/ceph/ceph/blob/9541a976055bdb5ee457da7a4b0a633880faeb2b/src/pybind/mgr/volumes/fs/volume.py#L654-L669

Tags: cephfs
Vida Haririan (vhariria)
tags: added: cephfs
Changed in manila:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Victoria Martinez de la Cruz (vkmc)
milestone: none → xena-1
Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
milestone: xena-1 → xena-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/801336

Changed in manila:
status: Confirmed → In Progress
Changed in manila:
milestone: xena-2 → xena-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/801336
Committed: https://opendev.org/openstack/manila/commit/cf4af616383fe416a11732d4247e48bdb6941f16
Submitter: "Zuul (22348)"
Branch: master

commit cf4af616383fe416a11732d4247e48bdb6941f16
Author: Victoria Martinez de la Cruz <email address hidden>
Date: Mon Jul 19 14:40:57 2021 +0000

    Deprecate create snapshot from share group in CephFS

    Deprecate the create snapshot from share group feature
    in CephFS drivers (both Native and NFS Ganesha).

    This needs to be done since the subvolume group snapshot
    feature is no longer supported in mainline CephFS, meaning that,
    if we leave the call in place, an exception will be raised
    from the backend and lead to an error status for the attempted
    snapshot from share group.

    Existing group snapshots can still be listed and deleted, so these
    operations stay the same.

    Closes-Bug: #1925332
    Change-Id: I49efb7042d38257416875f40c03923e974b2eb8e

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 13.0.0.0rc1

This issue was fixed in the openstack/manila 13.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.