Public bug reported:

OpenStack version: Antelope

In /etc/cinder/cinder.conf added below line:
use_multipath_for_image_xfer = True

In /etc/nova.conf and nova-cpu.conf added below line:
volume_use_multipath = True

Used cinder as backend for glance.
In /etc/glance/glance-api.conf added below lines:
[glance_store]
stores = cinder, file, http, swift
default_store = cinder

[cinder]
cinder_store_auth_address = http://10.x.y.z/identity
cinder_store_user_name = cinder
cinder_store_password = passwd
cinder_store_project_name = service
cinder_store_use_multipath = True

multipath is running:
stack@bay02:~$ sudo multipathd show status
path checker states:
up                  1

paths: 0
busy: False
stack@bay02:~$

Executed below command:
openstack image create --disk-format qcow2 --file cirros-0.6.2-x86_64-disk.img 
cirros_x

In logs, we observe that multipath is False in connector object

May 14 12:10:53 bay02 devstack@c-api.service[661842]: #033[00;32mDEBUG
cinder.api.openstack.wsgi [#033[01;36mreq-
ff298040-3e5f-449c-9467-63376829c685
req-8fc4eb1d-057b-467f-8476-54cee37a1a45 #033[00;36madmin
admin#033[00;32m] #033[01;35m#033[00;32mAction: 'update', calling
method: version_select, body: {"attachment": {"connector": {"platform":
"x86_64", "os_type": "linux", "ip": "127.0.1.1", "host": "bay02",
"multipath": false, "initiator": "iqn.2005-03.org.open-
iscsi:3daab193cb", "do_local_attach": false, "uuid":
"36167ad4-25ce-4c02-a3eb-4afd01fe5237", "system uuid":
"30313436-3631-4753-4833-3334324b3332", "nvme_native_multipath": true,
"mountpoint": "glance_store"}}}#033[00m #033[00;33m{{(pid=661842)
_process_stack
/opt/stack/cinder/cinder/api/openstack/wsgi.py:866}}#033[00m#033[00m

** Affects: nova
     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/2110902

Title:
  multipath not working even though entries added in cinder and nova
  conf files

Status in OpenStack Compute (nova):
  New

Bug description:
  OpenStack version: Antelope

  In /etc/cinder/cinder.conf added below line:
  use_multipath_for_image_xfer = True

  In /etc/nova.conf and nova-cpu.conf added below line:
  volume_use_multipath = True

  Used cinder as backend for glance.
  In /etc/glance/glance-api.conf added below lines:
  [glance_store]
  stores = cinder, file, http, swift
  default_store = cinder

  [cinder]
  cinder_store_auth_address = http://10.x.y.z/identity
  cinder_store_user_name = cinder
  cinder_store_password = passwd
  cinder_store_project_name = service
  cinder_store_use_multipath = True

  multipath is running:
  stack@bay02:~$ sudo multipathd show status
  path checker states:
  up                  1

  paths: 0
  busy: False
  stack@bay02:~$

  Executed below command:
  openstack image create --disk-format qcow2 --file 
cirros-0.6.2-x86_64-disk.img cirros_x

  In logs, we observe that multipath is False in connector object

  May 14 12:10:53 bay02 devstack@c-api.service[661842]: #033[00;32mDEBUG
  cinder.api.openstack.wsgi [#033[01;36mreq-
  ff298040-3e5f-449c-9467-63376829c685
  req-8fc4eb1d-057b-467f-8476-54cee37a1a45 #033[00;36madmin
  admin#033[00;32m] #033[01;35m#033[00;32mAction: 'update', calling
  method: version_select, body: {"attachment": {"connector":
  {"platform": "x86_64", "os_type": "linux", "ip": "127.0.1.1", "host":
  "bay02", "multipath": false, "initiator": "iqn.2005-03.org.open-
  iscsi:3daab193cb", "do_local_attach": false, "uuid":
  "36167ad4-25ce-4c02-a3eb-4afd01fe5237", "system uuid":
  "30313436-3631-4753-4833-3334324b3332", "nvme_native_multipath": true,
  "mountpoint": "glance_store"}}}#033[00m #033[00;33m{{(pid=661842)
  _process_stack
  /opt/stack/cinder/cinder/api/openstack/wsgi.py:866}}#033[00m#033[00m

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2110902/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to