]> git.proxmox.com Git - pve-storage.git/commit
since wheezy, iscsiadm -m session throw an error code if no session exist.
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 13 May 2013 06:00:16 +0000 (08:00 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 13 May 2013 06:00:16 +0000 (08:00 +0200)
commit7acee37a30206f61b72316d749862499d722ed05
tree961783ee0d9cb307c975123860860b59223ab272
parent5a0f42f8800ceb74e308c19942fe45afe8c97608
since wheezy, iscsiadm -m session throw an error code if no session exist.

So we can't bring up the iscsi storage

This patch is based on the patch submitted by Alexandre, but we only
suppress error messages when there are no active sessions. Other errors still
trigges an exceptions.
PVE/Storage/ISCSIPlugin.pm