Hi all
I am testing the cinder/nova within IPv6 environment but not luck.
I am testing the attatchment of volumes which are exposed by IPv6 iSCSI
portals. We have modified the driver's interface *initialize_connection* to
return correct connection information(wrap the IPv6 address with []) for use of
nova's os-brick, below is the dict returned by driver:
{'driver_volume_type': u'iscsi', 'data': {'target_luns': [2, 2, 2, 2],
'target_iqns': [u'iqn.1992-04.com.emc:cx.apm00150602415.b0',
u'iqn.1992-04.com.emc:cx.apm00150602415.a0',
u'iqn.1992-04.com.emc:cx.apm00150602415.a0',
u'iqn.1992-04.com.emc:cx.apm00150602415.a0'], 'target_discovered': True,
'target_iqn': u'iqn.1992-04.com.emc:cx.apm00150602415.a0', 'target_portals':
[u'192.168.1.60:3260', u'192.168.1.59:3260', u'[fd00:0:0:0:0:0:0:4]:3260',
u'[fd27:2e95:e174:0:0:0:0:100]:3260'], 'volume_id':
u'87458755-78a8-4c4b-8e8c-c906b3267b6c', 'target_lun': 2, 'target_portal':
u'[fd00:0:0:0:0:0:0:4]:3260'}}
After driver returns above data to nova/os-brick, the nova-compute failed into
an infinite loop keeping updating the iscsi node, and consumed 30% of the cpu,
log entry like below:
Dec 12 02:18:14 ubuntu16 nova-compute[1371]: DEBUG
oslo_concurrency.processutils [None req-342eaed8-ca05-4387-b485-b4334e18e366
admin admin] CMD "iscsiadm -m node -T iqn.1992-04.com.emc:cx.apm00150602415.a0
-p [fd27:2e95:e174:0:0:0:0:100]:3260 --op update -n node.startup -v automatic"
returned: 0 in 0.009s {{(pid=17633) execute
/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:404}}
And around 18360 node update executed for a single volume attachment:
$ grep "\-\-op update \-n node.startup" n-cpu.log | wc -l
18360
This should not a network issue since I have manually logged in ipv6 portal
with iscsiadm successfully.
I am wondering whether this a known bug or a driver issue?
Thanks
Peter
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev