]> git.proxmox.com Git - pve-storage.git/commit
fix #2474: always show iscsi content
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 7 Apr 2020 07:25:24 +0000 (09:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 Apr 2020 16:09:50 +0000 (18:09 +0200)
commit3587acc80a1b5107ce2f79c5164347762836748b
tree1aa9217f95567a845347367516861dbf75503546
parent95015dbbf24b710011965805e689c03923fb830c
fix #2474: always show iscsi content

Instead of relying on list_volumes of Plugin.pm (which filters by
the content types set in the config), use our own to always
show the luns of an iscsi.

This makes sense here, since we need it to show the luns when using
it as base storage for LVM (where we have content type 'none' set).

It does not interfere with the rest of the GUI, since on e.g. disk
creation, we already filter the storages in the dropdown by content
type, iow. an iscsi storage used this way still does not show up
when trying to create a disk.

This also shows the luns now in the 'Content' tab, but this is also
OK, since the user cannot actually do anything there with the luns.
(Besides looking at them)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Storage/ISCSIPlugin.pm