can't create a second snapshot after deleting a first snapshot of a volume booted by instance

Bug #1254050 reported by Dafna Ron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

scenario #1:

1. create a volume from an image
2. boot an instance from the volume
3. create a snapshot from the instance
4. delete the volume snapshot
5. create a new snapshot from the instance

scenario#2:

1. create a volume from an image
2. boot an instance from the volume
3. create a snapshot through the volume using --force=True
4. delete the volume
5. create a second snapshot for the volume using --force=True

2013-11-22 16:11:36.955 14458 WARNING cinder.quota [req-66ebb212-b114-48c4-9f0c-19aafeb38918 24b77982be8049ee9cd5ad7bed913565 7eb59aa89e8944d098554ff6f5a4cf88] Deprecated: Default quota for resource: gigabytes is set by the default quota flag: quota_gigabytes, it is now deprecated. Please use the the default quota class for default quota.
2013-11-22 16:11:36.956 14458 WARNING cinder.quota [req-66ebb212-b114-48c4-9f0c-19aafeb38918 24b77982be8049ee9cd5ad7bed913565 7eb59aa89e8944d098554ff6f5a4cf88] Deprecated: Default quota for resource: snapshots is set by the default quota flag: quota_snapshots, it is now deprecated. Please use the the default quota class for default quota.
2013-11-22 16:11:52.879 14458 ERROR cinder.openstack.common.rpc.amqp [req-b7df5de9-3c2c-4a6f-9ca4-c2d442fafe48 24b77982be8049ee9cd5ad7bed913565 7eb59aa89e8944d098554ff6f5a4cf88] Exception during message handling
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp **args)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 808, in wrapper
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp return func(self, *args, **kwargs)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 371, in create_snapshot
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp {'status': 'error'})
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp self.gen.next()
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 362, in create_snapshot
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp model_update = self.driver.create_snapshot(snapshot_ref)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/glusterfs.py", line 375, in create_snapshot
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp new_snap_path)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/glusterfs.py", line 464, in _create_qcow2_snap_file
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp self._execute(*command, run_as_root=True)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 142, in execute
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp return processutils.execute(*cmd, **kwargs)
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/processutils.py", line 173, in execute
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp cmd=' '.join(cmd))
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp ProcessExecutionError: Unexpected error while running command.
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img create -f qcow2 -o backing_file=/var/lib/cinder/mnt/92ce777f40909398918e29a4128dfce0/volume-7e3df44e-14e1-4a92-b612-b0dd7731a4e2.013312d5-e64b-477b-a3ee-6a0b764a5f46 /var/lib/cinder/mnt/92ce777f40909398918e29a4128dfce0/volume-7e3df44e-14e1-4a92-b612-b0dd7731a4e2.aa750eab-31dc-4446-b0f0-2ed9ebd77ee2
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp Exit code: 1
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp Stdout: ''
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp Stderr: "Could not open '/var/lib/cinder/mnt/92ce777f40909398918e29a4128dfce0/volume-7e3df44e-14e1-4a92-b612-b0dd7731a4e2.013312d5-e64b-477b-a3ee-6a0b764a5f46': No such file or directory\n"
2013-11-22 16:11:52.879 14458 TRACE cinder.openstack.common.rpc.amqp
(END)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.