Attaching volume to instance failed on Hyper-V using IPv6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Alessandro Pilotti |
Bug Description
I want to attach iSCSI-based volume to a instance on Hyper-V . But the operation failed due to two issues .
1) Test environment
control node : KVM running all nova services except nova-compute service , cinder-scheduler ,cinder-api services .
compute node: Hyper-V (windows server 2012 ), running nova-compute service ,cinder-volume service
2) Test steps
create a volume with 'cinder create 1' , boot a instance on Hyper-V ,then run the following command on control node
'nova volume-attach 505d1eeb-
3) Nova Issues
1. Parse IPv6 address and port wrong on Hper-V compute driver
https:/
separator = target_
this line can't handle IPv6 address/port like '2002:96f:
Need replace with separator = target_
description: | updated |
Changed in nova: | |
status: | Incomplete → New |
assignee: | nobody → Alessandro Pilotti (alexpilotti) |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
This is the log : openstack. common. rpc.amqp [-] Exception during message handling openstack. common. rpc.amqp Traceback (most recent call last): openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ cinder- 2013.1- py2.7.egg\ cinder\ openstack\ common\ rpc\amqp. py", line 275, in _process_data openstack. common. rpc.amqp rval = self.proxy. dispatch( ctxt, version, method, **args) openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ cinder- 2013.1- py2.7.egg\ cinder\ openstack\ common\ rpc\dispatcher. py", line 145, in dispatch openstack. common. rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs) openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ cinder- 2013.1- py2.7.egg\ cinder\ volume\ manager. py", line 623, in initialize_ connection openstack. common. rpc.amqp return self.driver. initialize_ connection( volume_ ref, connector) openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ cinder- 2013.1- py2.7.egg\ cinder\ volume\ drivers\ windows. py", line 88, in initialize_ connection openstack. common. rpc.amqp wt_idmethod.Value = initiator_name openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ wmi.py" , line 572, in __setattr__ openstack. common. rpc.amqp self._cached_ properties (attribute).set (value) openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ wmi.py" , line 446, in set openstack. common. rpc.amqp self.property.Value = value openstack. common. rpc.amqp File "C:\Program Files (x86)\Cloudbase Solutions\ OpenStack\ Python27\ lib\site- packages\ win32com\ client\ dynamic. py", line 544, in __setattr__ openstack. common. rpc.amqp self._oleobj_ .Invoke( entry.dispid, 0, invoke_type, 0, value) openstack. common. rpc.amqp TypeError: Objects of type 'dict' can not be converted to a COM VARIANT openstack. common. rpc.amqp openstack. common. rpc.common [-] Returning exception Objects of type 'dict' can not be converted to a COM VARIANT to caller
1.
2013-03-04 17:43:40.371 15412 ERROR cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.371 15412 TRACE cinder.
2013-03-04 17:43:40.388 15412 ERROR cinder.
2. manager [instance: 505d1eeb- 4436-46dd- acb1-1ba50d2554 e8] Traceback (most recent call last):
2013-03-05 13:44:33.470 12332 TRACE nova.compute.
2013-03-05 13:44:33...