[Cinder/Nova, NVME-TCP] Issue with multipath and devstack
Hi everyone, I'm having an issue with multipath on devstack. I'm currently on the master branch (synced as of ~2mo ago). I am working on implementing NVME-TCP, and whenever initialize_connection is called multipath=False is always set. Despite what I return it results in a single path (I actually get the same result with iSCSI as well, and did not try FC at this time). I believe the issue to be environmental and I was hoping someone could help me figure out what I'm missing. I want to focus on NVME-TCP here as I know the iSCSI configuration works with a correct setup. According to cinder-volume.log, this is the connection information returned by my driver (note multiple portals): Connection info returned from driver {'target_nqn': 'nqn.1994-04.jp.co.hitachi:nvme:storage-subsystem-sn.8-10045-nvmssid.00095', 'vol_uuid': '5080273d-0000-0000-0060-e828273d6c03', 'ns_id': 1, 'portals': [['172.25.59.70', '4420', 'tcp'], ['172.25.59.71', '4420', 'tcp']], 'target_discovered': False, 'discard': False, 'qos_specs': None, 'access_mode': 'rw', 'encrypted': False, 'cacheable': False, 'driver_volume_type': 'nvmeof', 'attachment_id': 'cd3938ed-7e4e-4232-9648-e898d99eb32b', 'enforce_multipath': True} [00;33m{{(pid=11654) _connection_create /opt/stack/cinder/cinder/volume/manager.py:4925}}[00m I'm able to ping both portals: stack@devstack-93-52:~/devstack$ ping 172.25.59.70 PING 172.25.59.70 (172.25.59.70) 56(84) bytes of data. 64 bytes from 172.25.59.70: icmp_seq=1 ttl=63 time=0.463 ms 64 bytes from 172.25.59.70: icmp_seq=2 ttl=63 time=0.514 ms 64 bytes from 172.25.59.70: icmp_seq=3 ttl=63 time=0.486 ms ^C --- 172.25.59.70 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2013ms rtt min/avg/max/mdev = 0.463/0.487/0.514/0.020 ms stack@devstack-93-52:~/devstack$ ping 172.25.59.71 PING 172.25.59.71 (172.25.59.71) 56(84) bytes of data. 64 bytes from 172.25.59.71: icmp_seq=1 ttl=63 time=0.430 ms 64 bytes from 172.25.59.71: icmp_seq=2 ttl=63 time=0.422 ms 64 bytes from 172.25.59.71: icmp_seq=3 ttl=63 time=0.494 ms 64 bytes from 172.25.59.71: icmp_seq=4 ttl=63 time=0.502 ms ^C --- 172.25.59.71 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3087ms rtt min/avg/max/mdev = 0.422/0.462/0.502/0.036 ms I have configured multipath.conf like this (this configuration works with a different product as well): defaults { user_friendly_names yes } devices { device { vendor "HITACHI" product "OPEN-.*" # Group paths by priority to leverage ALUA path_grouping_policy "group_by_prio" prio "alua" path_checker "tur" failback "immediate" # Queue I/O when all paths are down to prevent filesystem read-only errors on VMs no_path_retry "queue" # Round-robin I/O policy settings rr_weight "uniform" rr_min_io_rq 1 } } In Nova, I updated the config to add the highlighted (last two) items: [libvirt] live_migration_uri = qemu+ssh://stack@%s/system cpu_models = Nehalem cpu_mode = custom virt_type = qemu volume_use_multipath = True volume_enforce_multipath = True I also validated the NVMe multipath parameters: stack@devstack-93-52:~/devstack$ cat /sys/module/nvme_core/parameters/multipath Y After all changes I made, I also restarted all devstack services. I also validated the configuration on the actual storage, of course. Still no dice. Anyone have any ideas as to what I might be missing? Thanks, Anthony
We were internally testing NVME/TCP over with NetApp for cinder. And we have hit a similar issue with multipath not being established, but then it was fixed with Driver update from NetApp. Essentially the driver only took the first path returned. Similar to your case, iscsi worked perfectly with same config. But yours seem to include both the portal targets. Worth while to get it checked with Hitachi if you have support contract with them.
Hi, The NVMe-oF connector in os-brick currently doesn't support multipathing via multipathd. The supported mechanism is ANA, and we can see the list of connected subsystems with ``nvme list-subsys``. I'm not sure what exact errors are being encountered, but iSCSI and FC should work fine with multipathd whereas NVMe only supports ANA as of now. Thanks Rajat Dhasmana On Fri, Jul 31, 2026 at 10:09 AM <aravindhstanley@gmail.com> wrote:
We were internally testing NVME/TCP over with NetApp for cinder. And we have hit a similar issue with multipath not being established, but then it was fixed with Driver update from NetApp. Essentially the driver only took the first path returned. Similar to your case, iscsi worked perfectly with same config.
But yours seem to include both the portal targets. Worth while to get it checked with Hitachi if you have support contract with them.
Hi Rajat, I think our immediate problem is that multipath=False keeps showing up in initialize_connection. From what I can tell via google, it will always ignore more than a single path if that’s the case. Or does this not apply to ANA? Thanks, Anthony From: Rajat Dhasmana <rdhasman@redhat.com> Sent: Friday, July 31, 2026 12:15 AM To: aravindhstanley@gmail.com Cc: openstack-discuss@lists.openstack.org Subject: Re: [Cinder/Nova, NVME-TCP] Issue with multipath and devstack ***** EXTERNAL EMAIL ***** Hi, The NVMe-oF connector in os-brick currently doesn't support multipathing via multipathd. The supported mechanism is ANA, and we can see the list of connected subsystems with ``nvme list-subsys``. I'm not sure what exact errors are being encountered, but iSCSI and FC should work fine with multipathd whereas NVMe only supports ANA as of now. Thanks Rajat Dhasmana On Fri, Jul 31, 2026 at 10:09 AM <aravindhstanley@gmail.com<mailto:aravindhstanley@gmail.com>> wrote: We were internally testing NVME/TCP over with NetApp for cinder. And we have hit a similar issue with multipath not being established, but then it was fixed with Driver update from NetApp. Essentially the driver only took the first path returned. Similar to your case, iscsi worked perfectly with same config. But yours seem to include both the portal targets. Worth while to get it checked with Hitachi if you have support contract with them.
I'm wondering in which file you configured [libvirt] volume_use_multipath ? Nova should be able to set multipath=True/False according to the option and it sounds like that it does not read the option correctly. Note that in devstack nova uses separate config files for some of its services and you need to modify nova-cpu.conf, instead of the base nova.conf, to customize behavior of n-cpu. On 7/31/26 7:51 PM, Anthony Galica wrote:
Hi Rajat,
I think our immediate problem is that multipath=False keeps showing up in initialize_connection. From what I can tell via google, it will always ignore more than a single path if that’s the case.
Or does this not apply to ANA?
Thanks,
Anthony
*From:*Rajat Dhasmana <rdhasman@redhat.com> *Sent:* Friday, July 31, 2026 12:15 AM *To:* aravindhstanley@gmail.com *Cc:* openstack-discuss@lists.openstack.org *Subject:* Re: [Cinder/Nova, NVME-TCP] Issue with multipath and devstack
***** EXTERNAL EMAIL *****
Hi,
The NVMe-oF connector in os-brick currently doesn't support multipathing via multipathd.
The supported mechanism is ANA, and we can see the list of connected subsystems
with ``nvme list-subsys``.
I'm not sure what exact errors are being encountered, but iSCSI and FC should work fine
with multipathd whereas NVMe only supports ANA as of now.
Thanks Rajat Dhasmana
On Fri, Jul 31, 2026 at 10:09 AM <aravindhstanley@gmail.com <mailto:aravindhstanley@gmail.com>> wrote:
We were internally testing NVME/TCP over with NetApp for cinder. And we have hit a similar issue with multipath not being established, but then it was fixed with Driver update from NetApp. Essentially the driver only took the first path returned. Similar to your case, iscsi worked perfectly with same config.
But yours seem to include both the portal targets. Worth while to get it checked with Hitachi if you have support contract with them.
I used /etc/nova/nova.conf. Perhaps I do need to use nova-cpu.conf? -----Original Message----- From: Takashi Kajinami <kajinamit@oss.nttdata.com> Sent: Sunday, August 2, 2026 10:49 PM To: Anthony Galica <anthony.galica@hitachivantara.com>; Rajat Dhasmana <rdhasman@redhat.com>; aravindhstanley@gmail.com Cc: openstack-discuss@lists.openstack.org Subject: Re: [Cinder/Nova, NVME-TCP] Issue with multipath and devstack ***** EXTERNAL EMAIL ***** I'm wondering in which file you configured [libvirt] volume_use_multipath ? Nova should be able to set multipath=True/False according to the option and it sounds like that it does not read the option correctly. Note that in devstack nova uses separate config files for some of its services and you need to modify nova-cpu.conf, instead of the base nova.conf, to customize behavior of n-cpu. On 7/31/26 7:51 PM, Anthony Galica wrote:
Hi Rajat,
I think our immediate problem is that multipath=False keeps showing up in initialize_connection. From what I can tell via google, it will always ignore more than a single path if that’s the case.
Or does this not apply to ANA?
Thanks,
Anthony
*From:*Rajat Dhasmana <rdhasman@redhat.com> *Sent:* Friday, July 31, 2026 12:15 AM *To:* aravindhstanley@gmail.com *Cc:* openstack-discuss@lists.openstack.org *Subject:* Re: [Cinder/Nova, NVME-TCP] Issue with multipath and devstack
***** EXTERNAL EMAIL *****
Hi,
The NVMe-oF connector in os-brick currently doesn't support multipathing via multipathd.
The supported mechanism is ANA, and we can see the list of connected subsystems
with ``nvme list-subsys``.
I'm not sure what exact errors are being encountered, but iSCSI and FC should work fine
with multipathd whereas NVMe only supports ANA as of now.
Thanks Rajat Dhasmana
On Fri, Jul 31, 2026 at 10:09 AM <aravindhstanley@gmail.com <mailto:aravindhstanley@gmail.com>> wrote:
We were internally testing NVME/TCP over with NetApp for cinder. And we have hit a similar issue with multipath not being established, but then it was fixed with Driver update from NetApp. Essentially the driver only took the first path returned. Similar to your case, iscsi worked perfectly with same config.
But yours seem to include both the portal targets. Worth while to get it checked with Hitachi if you have support contract with them.
Hi Takashi and Rajat, Thank you for the clarification. I had added the following options to /etc/nova/nova.conf: [libvirt] volume_use_multipath = True volume_enforce_multipath = True It appears that the DevStack nova-compute service is using /etc/nova/nova-cpu.conf instead of the base nova.conf. I will move the options to nova-cpu.conf, restart devstack@n-cpu, and confirm the configuration file being passed to the nova-compute process. For NVMe-TCP, I also understand that the paths will be handled through native NVMe multipathing and ANA rather than device-mapper multipath. I will therefore verify the result using: nvme list-subsys The expected result is for both TCP controllers—172.25.59.70:4420 and 172.25.59.71:4420—to appear under the same subsystem NQN. I will also check the Nova and os-brick logs to confirm whether multipath=True is being sent after the configuration change. Regards, Anthony Galica Website: https://manokmodapk.com/
participants (5)
-
Anthony Galica
-
aravindhstanley@gmail.com
-
Rajat Dhasmana
-
Takashi Kajinami
-
tayybaiskills@gmail.com