fix #254: iscsi: add support for multipath targets
With this patch Proxmox now tries to login to all discovered portals in case some of them are not logged yet. In case of multipath configuration when initially configured portal is missing for some reason Proxmox don't lose iSCSI storage now and can successfully restore iSCSI connection between reboots. Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org> Reviewed-By: Dominik Csapak <d.csapak@proxmox.com> Tested-By: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
9bd1c95a71
commit
90c1b10cc5
@ -1445,7 +1445,7 @@ sub scan_iscsi {
|
||||
die "unable to parse/resolve portal address '${portal_in}'\n";
|
||||
}
|
||||
|
||||
return PVE::Storage::ISCSIPlugin::iscsi_discovery($portal);
|
||||
return PVE::Storage::ISCSIPlugin::iscsi_discovery([ $portal ]);
|
||||
}
|
||||
|
||||
sub storage_default_format {
|
||||
|
||||
Reference in New Issue
Block a user