Bug 995766 - ThinLVM: Clone from snapshot fails, incorrect args passed to _create_volume()
Summary: ThinLVM: Clone from snapshot fails, incorrect args passed to _create_volume()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Upstream M3
: 4.0
Assignee: Eric Harney
QA Contact: Giulio Fidente
URL:
Whiteboard:
Depends On:
Blocks: 975606 975916
TreeView+ depends on / blocked
 
Reported: 2013-08-10 22:59 UTC by Eric Harney
Modified: 2016-04-26 15:04 UTC (History)
5 users (show)

Fixed In Version: openstack-cinder-2013.2-0.9.b3.el6ost
Doc Type: Bug Fix
Doc Text:
Cause: Bug in Cinder (Thin) LVM volume driver Consequence: Clone from snapshot operation fails Fix: Patch Cinder (Thin) LVM volume driver to call method with correct arguments Result: Clone from snapshot now works for ThinLVM volumes
Clone Of:
Environment:
Last Closed: 2013-12-20 00:18:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1210853 0 None None None Never
OpenStack gerrit 41262 0 None None None Never
OpenStack gerrit 41274 0 None None None Never
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Eric Harney 2013-08-10 22:59:34 UTC
$ cinder create --snapshot-id 0679dfdf-f95c-4af7-931e-b1ac1eb2c66d 1

results in

TRACE cinder.volume.flows.create_volume Traceback (most recent call last):
TRACE cinder.volume.flows.create_volume File "/opt/stack/cinder/cinder/taskflow/patterns/linear_flow.py", line 172, in run_it
TRACE cinder.volume.flows.create_volume result = runner(context, *args, **kwargs)
TRACE cinder.volume.flows.create_volume File "/opt/stack/cinder/cinder/taskflow/utils.py", line 260, in __call__
TRACE cinder.volume.flows.create_volume self.result = self.task(*args, **kwargs)
TRACE cinder.volume.flows.create_volume File "/opt/stack/cinder/cinder/volume/flows/create_volume.py", line 1383, in __call__
TRACE cinder.volume.flows.create_volume **volume_spec)
TRACE cinder.volume.flows.create_volume File "/opt/stack/cinder/cinder/volume/flows/create_volume.py", line 1159, in _create_from_snapshot
TRACE cinder.volume.flows.create_volume snapshot_ref)
TRACE cinder.volume.flows.create_volume File "/opt/stack/cinder/cinder/volume/drivers/lvm.py", line 140, in create_volume_from_snapshot
TRACE cinder.volume.flows.create_volume self._create_volume(volume['name'], self._sizestr(volume['size']))
TRACE cinder.volume.flows.create_volume TypeError: _create_volume() takes exactly 2 arguments (3 given)
TRACE cinder.volume.flows.create_volume

Comment 6 Giulio Fidente 2013-12-03 16:18:33 UTC
the incorrect args issue was verified using:
openstack-cinder-2013.2-3.el6ost.noarch

Comment 9 errata-xmlrpc 2013-12-20 00:18:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


Note You need to log in before you can comment on or make changes to this bug.