fix #957: iscsi: improve iscsi_test_portal logic
Check if there is already a logged session present and fall back to previous TCP check port connection. pvestatd is calling check_connection every 10 seconds. This check produces a lot of noise at the iscsi server logging. Signed-off-by: Victor Seva <linuxmaniac@torreviejawireless.org> Tested-by: Mira Limbeck <m.limbeck@proxmox.com> Reviewed-by: Mira Limbeck <m.limbeck@proxmox.com> Tested-by: Friedrich Weber <f.weber@proxmox.com> Reviewed-by: Friedrich Weber <f.weber@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
9dd136c8df
commit
32e482a617
@ -1479,7 +1479,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(undef, [ $portal ]);
|
||||
}
|
||||
|
||||
sub storage_default_format {
|
||||
|
||||
Reference in New Issue
Block a user