Just for experimentation sake, I changed the default value to True in this line
https://github.com/openstack/nova/blob/master/nova/conf/libvirt.py#L779
multipathing functionality was working as expected.
** Also affects: cinder
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1723928
Title:
In case of volume_use_multipath=True, Nova unable to fetch
CONF.libvirt.volume_use_multipath value from nova.conf
Status in Cinder:
New
Status in OpenStack Compute (nova):
New
Status in os-brick:
New
Bug description:
Issue :-
--------------
when we place 'volume_use_multipath=True' in nova.conf. while attaching the
volume to an instance, 'connector' dictionary passed to cinder's
initialize_connection() has multipath=False (i.e connector['multipath']=False)
Expected :-
--------------
This should be connector['multipath']=True since i have place
'volume_use_multipath=True'
connector
{'wwpns': [u'1000d4c9ef76a1d1', u'1000d4c9ef76a1d5'], 'wwnns':
[u'2000d4c9ef76a1d1', u'2000d4c9ef76a1d5'], 'ip': '10.50.0.155', 'initiator':
u'iqn.1993-08.org.debian:01:db6bf10a0db', 'platform': 'x86_64', 'host':
'cld6b11', 'do_local_attach': False, 'os_type': 'linux2', 'multipath': False}
Steps to reproduce :-
----------------------------
1) Place volume_use_multipath=True in nova.conf libvirt section
[libvirt]
live_migration_uri = qemu+ssh://stack@%s/system
cpu_mode = none
virt_type = kvm
volume_use_multipath = True
2) Create a lvm volume
3) Create a instance and try to attach.
Note :-
-----------------
This multipath functionality worked fine in Ocata. but from pike and current
(queens) release this is not working as expected.
connector dictionary in ocata release :-
connector
{u'wwpns': [u'100038eaa73005a1', u'100038eaa73005a5'], u'wwnns':
[u'200038eaa73005a1', u'200038eaa73005a5'], u'ip': u'10.50.128.110',
u'initiator': u'iqn.1993-08.org.debian:01:d7f1c5d25e0', u'platform': u'x86_64',
u'host': u'cld6b10', u'do_local_attach': False, u'os_type': u'linux2',
u'multipath': True}
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1723928/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp