LINBIT / linstor-client

Python client for LINSTOR
https://docs.linbit.com/docs/linstor-guide/
GNU General Public License v3.0
22 stars 10 forks source link

--diskless deprecated, but --nvme-initiator or --drbd-diskless are not working #25

Closed kvaps closed 4 years ago

kvaps commented 4 years ago
# linstor r c m15c18 test -s diskless --drbd-diskless
ERROR:
Description:
    An unknown error occurred.
Details:
    No enum constant com.linbit.linstor.core.objects.Resource.Flags.DRBD_DISKLESS
Show reports:
    linstor error-reports show 5DE97984-00000-000091
# linstor r c m15c18 test -s diskless --nvme-initiator
ERROR:
Description:
    An unknown error occurred.
Details:
    No enum constant com.linbit.linstor.core.objects.Resource.Flags.NVME_INITIATOR
Show reports:
    linstor error-reports show 5DE97984-00000-000092

5DE97984-00000-000091.log 5DE97984-00000-000092.log

ghernadi commented 4 years ago

--drbd-diskless and --nvme-initiator flags will be included in the next linstor-server version. The patch for the client seems to be slipped through already in the current release.

Until linstor-server 1.4.0 is released, please use the old --diskless when creating a resource.