[PATCH v2 storage 0/1] iscsi: multiple target portals support

ykonotopov at gnome.org ykonotopov at gnome.org
Sun Oct 15 20:32:15 CEST 2023


From: Yuri Konotopov <ykonotopov at gnome.org>

Hello!

Here is v2 patch that allows to specify multiple comma-separated ISCSI portals
using Proxmox UI, adds support for storing discovered portals and adds ability
to login to all discovered portals in case some of them are not logged yet.
With that patch my Proxmox instances don't loses iscsi multipath storage in UI
and successfully restores iscsi storage on reboot.

Relevant bug: https://bugzilla.proxmox.com/show_bug.cgi?id=254
---

 changes since v1:
 * added configuration file that stores discovered portals
 * implemented iscsi login in case there missing sessions for any of portals
 * style fixes
 * use existent `-list` property format instead of custom one
 * use PVE::Tools::split_list() instead of custom split function

Yuri Konotopov (1):
  fix #254: iscsi: allow to configure multiple portals

 PVE/API2/Storage/Scan.pm   |   2 +-
 PVE/Storage.pm             |  10 +-
 PVE/Storage/ISCSIPlugin.pm | 207 ++++++++++++++++++++++++++++++++-----
 3 files changed, 187 insertions(+), 32 deletions(-)

-- 
2.41.0





More information about the pve-devel mailing list