Windows storage service cinder plugins fails when detaching

Bug #1153968 reported by Pedro Navarro Pérez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Pedro Navarro Pérez

Bug Description

An error is occurred when detaching volumes in cinder:

013-03-11 23:28:42.470 INFO cinder.volume.drivers.windows [req-ccaec6ad-5566-4f54-bb56-c5dd978adbee 398cf0aefe304542b927972a469614cf a9ad6e13f7814c84aa9305d06c33ee4f] Terminating connection to "iqn.1993-08.org.debian:01:ff6d3050ada"
2013-03-11 23:28:42.470 INFO cinder.volume.drivers.windows [req-ccaec6ad-5566-4f54-bb56-c5dd978adbee 398cf0aefe304542b927972a469614cf a9ad6e13f7814c84aa9305d06c33ee4f] Terminating connection of volume "iqn.2010-10.org.openstack:volume-4107a292-dcba-461e-8354-0cab3463c1b2"
2013-03-11 23:28:42.516 ERROR cinder.openstack.common.rpc.amqp [req-ccaec6ad-5566-4f54-bb56-c5dd978adbee 398cf0aefe304542b927972a469614cf a9ad6e13f7814c84aa9305d06c33ee4f] Exception during message handling
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp File "C:\dev\openstack\cinder\cinder\openstack\common\rpc\amqp.py", line 430, in _process_data
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp File "C:\dev\openstack\cinder\cinder\openstack\common\rpc\dispatcher.py", line 133, in dispatch
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp File "C:\dev\openstack\cinder\cinder\volume\manager.py", line 641, in terminate_connection
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp self.driver.terminate_connection(volume_ref, connector, force=force)
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp File "C:\dev\openstack\cinder\cinder\volume\drivers\windows.py", line 135, in terminate_connection
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp wt_idmethod.Delete_()
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp AttributeError: 'list' object has no attribute 'Delete_'
2013-03-11 23:28:42.516 1160 TRACE cinder.openstack.common.rpc.amqp

Changed in cinder:
assignee: nobody → Pedro Navarro Pérez (pednape)
Changed in cinder:
status: New → In Progress
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/24165

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/24165
Committed: http://github.com/openstack/cinder/commit/6de6cfebd4398c9912eb1683c91226d5d27cf7e4
Submitter: Jenkins
Branch: master

commit 6de6cfebd4398c9912eb1683c91226d5d27cf7e4
Author: Pedro Navarro Perez <email address hidden>
Date: Tue Mar 12 04:48:02 2013 -0700

    Fixes dettach volumes in Windows cinder plugin

    The patch fixes issues when desassigning target to initiators
    in the terminate_connection method. The method now takes
    the right parameter coming from provider location.

    Change-Id: I2ea1ac7f46e3a24a6493af8eba46a113126e1117
    Fixes: bug #1153968

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → grizzly-rc2
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/25102

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (milestone-proposed)

Reviewed: https://review.openstack.org/25102
Committed: http://github.com/openstack/cinder/commit/2f7228ae6a10c0da49c67b873c22112ac26d0657
Submitter: Jenkins
Branch: milestone-proposed

commit 2f7228ae6a10c0da49c67b873c22112ac26d0657
Author: Pedro Navarro Perez <email address hidden>
Date: Tue Mar 12 04:48:02 2013 -0700

    Fixes dettach volumes in Windows cinder plugin

    The patch fixes issues when desassigning target to initiators
    in the terminate_connection method. The method now takes
    the right parameter coming from provider location.

    Change-Id: I2ea1ac7f46e3a24a6493af8eba46a113126e1117
    Fixes: bug #1153968
    (cherry picked from commit 6de6cfebd4398c9912eb1683c91226d5d27cf7e4)

Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-rc2 → 2013.1
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.