Hello,

 

Does anybody has faced the same behavior?

I am wondering if it is possible to delete a snapshot, or not, when an instance is up and running.

In my site, I could, but need to know if this is correct or not.

 

Regards.

Juan Carlos Alonso

 

From: Alonso, Juan Carlos
Sent: Tuesday, October 16, 2018 3:14 PM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Delete snapshot and volume

 

Hi,

 

The test 211[1] indicates that an Image should be created, then a Volume should be created from the image, then a Snapshot should be created from the Volume and finally an Instance should be launch from the Snapshot.

The test indicates that we try to delete the Snapshot and Volume while the Instance is running, Snapshot nor Volume cannot be deleted.

But when tried found that the Snapshot can be deleted, but the Volume cannot.

 

Is this behavior correct?

 

Those are the commands I used:

 

openstack image create --disk-format qcow2 --file /home/wrsroot/cirros-0.4.0-x86_64-disk.img --public cirros

openstack volume create --image cirros --availability-zone nova --size 1 cirros-vol

openstack volume snapshot create --name cirros-snap cirros-vol

openstack server create --volume cirros-vol --flavor m1.small --availibility-zone nova vm-cirros

 

 

1 https://wiki.openstack.org/wiki/StarlingX/stx.2018.10_Testplan_Instructions

 

Regards.

Juan Carlos Alonso