Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-8470

[Manila] CephFS driver raises incorrect exception when creating share group snapshot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-18.0.0
    • openstack-manila
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • ?
    • ?
    • ?
    • None
    • Moderate

      We shouldn't raise a "ShareBackendException" because if the driver raises a "NotImplemented" error, Manila will correctly create the share group snapshot.

      snapshot e199fefa-a5c3-4097-b646-bb4af0f9ca51: create failed: manila.exception.ShareBackendException: Share backend error: Share group snapshot feature is no longer supported in mainline CephFS (existing group snapshots can still be listed and deleted).[00m 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server [None req-796d139d-bae2-408f-871f-34adb4f59909 692398b5130b4b4d90e8752dc9127373 10682658c7e4480cba44ecdfbc4ff143 - - - -] Exception during message handling: manila.exception.ShareBackendException: Share backend error: Share group snapshot feature is no longer supported in mainline CephFS (existing group snapshots can still be listed and deleted). 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/server.py", line 165, in process_incoming 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/manila/utils.py", line 481, in wrapper 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server return func(self, *args, **kwargs) 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/manila/share/manager.py", line 4893, in create_share_group_snapshot 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server LOG.error("Share group snapshot %s: create failed", 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit_ 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server self.force_reraise() 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server raise self.value 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/manila/share/manager.py", line 4834, in create_share_group_snapshot 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server self.driver.create_share_group_snapshot( 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server File "/usr/lib/python3.9/site-packages/manila/share/drivers/cephfs/driver.py", line 715, in create_share_group_snapshot 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server raise exception.ShareBackendException(msg=msg) 2024-07-09 12:40:14.665 16 ERROR oslo_messaging.rpc.server manila.exception.ShareBackendException: Share backend error: Share group snapshot feature is no longer supported in mainline CephFS (existing group snapshots can still be listed and deleted).

              ashrodri@redhat.com Ashley Rodriguez
              lkuchlan liron kuchlani
              rhos-dfg-storage-squad-manila
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: