Skip to main content
NetApp Knowledge Base

OpenStack file share deletion fails when it's triggered shortly after deleting a snapshot that has a clone

Views:
51
Visibility:
Public
Votes:
0
Category:
openstack
Specialty:
virt
Last Updated:

Applies to

  • ONTAP 9
  • OpenStack
  • Manila
  • Deleting an OpenStack File Share shortly after deleting a snapshot that has a clone

Example:

  1. Create a share SHARE-A
  2. Create a snapshot SNAPSHOT-A of SHARE-A
  3. Create a share SHARE-B from SNAPSHOT-A
  4. Delete SNAPSHOT-A
  5. Delete SHARE-A

Issue

  • File share deletion fails with error_deleting in the status of the file share
  • Error in Manila service log:

ERROR oslo_messaging.rpc.server [F] [None req-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - - - -] Exception during message handling: manila.share.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 15894:Failed to delete volume "share_XXXXXXXX_XXXX_XXXX_XXXX_XXXXXXXXXXXX" in Vserver "<SVM_NAME>" because it has one or more clones.  Use the "volume clone show -parent-vserver <SVM_NAME> -parent-volume share_XXXXXXXX_XXXX_XXXX_XXXX_XXXXXXXXXXXX" command to list clones, and either delete or split the clones and retry the operation.  Use "volume clone split start -vserver <vserver name> -flexclone <clone name>" to split clones. Use "volume delete -vserver <vserver name> -volume <clone name>" to delete clones.
 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.