Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I tried following directly from mysql and worked for me

Connect to your compute node instance with SSH client(I use putty)

> cinder list

> cinder snapshot-list

note down the snapshot id and volume id that you want to remove

now connect to mysql server cinder database and delete entry

> mysql -u root cinder

mysql> delete from snapshots where id='xxxxxxx-xxx-xxx-xxx-xxxxxxxxxx'

mysql> delete from volumes where id='xxxxxxx-xxx-xxx-xxx-xxxxxxxxxx'

done.

Now snapshot and volume both removed from Volumes & Snapshots listing.

Make sure you delete snapshot first before remove volume.

Volume can should NOT be delete before connected snapshots are deleted.

I tried following directly from mysql and worked for me

Connect to your compute node instance with SSH client(I use putty)

> cinder list

> cinder snapshot-list

note More cinder command can be found here http://docs.openstack.org/cli-reference/content/cinderclient_commands.html

Note down the snapshot id and volume id that you want to remove

now connect to mysql server cinder database and delete entry

> mysql -u root cinder

mysql> delete from snapshots where id='xxxxxxx-xxx-xxx-xxx-xxxxxxxxxx'

mysql> delete from volumes where id='xxxxxxx-xxx-xxx-xxx-xxxxxxxxxx'

done.

Now snapshot and volume both removed from Volumes & Snapshots listing.

Make sure you delete snapshot first before remove volume.

Volume can should NOT be delete before connected snapshots are deleted.

I tried following directly from mysql and worked for me

Connect to your compute node instance with SSH client(I use putty)

> cinder list

> cinder snapshot-list

More cinder command can be found here http://docs.openstack.org/cli-reference/content/cinderclient_commands.html

Note down the snapshot id and volume id that you want to remove

now connect to mysql server cinder database and delete entry

> mysql -u root cinder

mysql> delete from snapshots where id='xxxxxxx-xxx-xxx-xxx-xxxxxxxxxx'

mysql> delete from volumes where id='xxxxxxx-xxx-xxx-xxx-xxxxxxxxxx'

done.

Now snapshot and volume both removed from Volumes & Snapshots listing.

Make sure you delete snapshot first before remove volume.

Volume can should NOT be delete deleted before connected snapshots are deleted.