Manage existing volume fails

Bug #1594421 reported by Andrew Kerr
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Critical
wanghao

Bug Description

When attempting to manage an existing volume a 400 is returned and the following traceback is generated in the c-api.log:

  Flow 'volume_manage_existing_api'
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api Traceback (most recent call last):
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 56, in _execute_task
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api result = task.execute(**arguments)
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api File "/opt/stack/new/cinder/cinder/volume/flows/api/manage_existing.py", line 72, in execute
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api volume = objects.Volume(context, volume_properties)
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api File "/opt/stack/new/cinder/cinder/objects/volume.py", line 179, in __init__
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api super(Volume, self).__init__(*args, **kwargs)
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api TypeError: __init__() takes at most 2 arguments (3 given)
2016-06-20 14:23:32.995 27549 ERROR cinder.volume.api

This appears to be introduced by the following commit: https://review.openstack.org/#/c/258132/

wanghao (wanghao749)
Changed in cinder:
assignee: nobody → wanghao (wanghao749)
wanghao (wanghao749)
Changed in cinder:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/331989

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: High → Critical
Changed in cinder:
assignee: wanghao (wanghao749) → Chuck Fouts (fchuck)
Changed in cinder:
assignee: Chuck Fouts (fchuck) → wanghao (wanghao749)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/331989
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e2a80eaa92928d625f4b8c35229822771e6e8323
Submitter: Jenkins
Branch: master

commit e2a80eaa92928d625f4b8c35229822771e6e8323
Author: wanghao <email address hidden>
Date: Tue Jun 21 15:04:13 2016 +0800

    Fix manage existing volume fails after object merged

    In updating manage_existing to use volume object,
    some issues were introduced. Fix them quickly.

    Co-Authored-By: Chuck Fouts <email address hidden>

    Change-Id: Id0a60c5eaf5e6a133d0f911ab00fc66540ade447
    Closes-Bug: #1594421

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/cinder 9.0.0.0b2

This issue was fixed in the openstack/cinder 9.0.0.0b2 development milestone.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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