Unable to delete cinder snapshot

Solution Verified - Updated -

Issue

  • Deleting cinder snapshot throw below error in cinder log file
var/log/cinder/./volume.log:36825:2017-02-24 20:06:29.024 35204 ERROR cinder.volume.manager [req-966972c0-8b09-4533-8ddd-b89eb88dd5b1 admin 0e66124e1f8e448a8fdc4ca336bed17a - - -] Cannot delete snapshot 498c601f-5c09-4ead-815c-59109e1c1577: snapshot is busy

var/log/cinder/./api.log:35320:2017-02-28 10:57:01.766 34911 ERROR cinder.volume.api [req-bd258594-39d5-4c23-931a-2acb4adbc87f admin 0e66124e1f8e448a8fdc4ca336bed17a - - -] Unable to delete snapshot: 498c601f-5c09-4ead-815c-59109e1c1577, due to invalid status. Status must be available or error, not deleting.

var/log/cinder/./volume.log:44776:2017-02-28 12:09:54.448 35204 ERROR oslo_messaging.rpc.dispatcher [req-269725f2-174f-4ee5-a525-835ada87bd61 admin 0e66124e1f8e448a8fdc4ca336bed17a - - -] Exception during message handling: error unprotecting snapshot volume-4c257232-b466-41e0-97ea-7c3e8f6346be@snapshot-498c601f-5c09-4ead-815c-59109e1c1577
var/log/cinder/./volume.log:44800:2017-02-28 12:09:54.448 35204 TRACE oslo_messaging.rpc.dispatcher ImageNotFound: error unprotecting snapshot volume-4c257232-b466-41e0-97ea-7c3e8f6346be@snapshot-498c601f-5c09-4ead-815c-59109e1c1577
  • The actual snapshot gets deleted from Ceph storage backend, however only the snapshot present in cinder database.

Environment

  • Red Hat OpenStack Platform 7.0
  • Ceph as a cinder backend

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content