Travis Glenn Hansen
Travis Glenn Hansen
Well, to be clear, the portal only needs to be created once. You should do that as a pre-requesite on the NAS before installing democratic-csi in your cluster. After that...
Hmm, that seems strange. It looks like indeed targetcli is supposed to handle this for you and I misspoke earlier about creating it beforehand (that's for nvmet vs targetcli). I'm...
Not really no, honestly not an expert in targetcli. Can you add a target manually and apply a lun and see if it automatically adds a portal for you?
I haven't considered it but certainly open to a contribution. Can you send over the command you used to manually create the portal?
What attributes can you set on the portal? If I had to guess the issue it's related to the `pve` target having a portal that isn't `0.0.0.0` but it's just...
If you `cd` into the portal and type `set attribute [tab][tab]` does it auto-complete the various attrs you can set on the portal instance?
Well the error seems to indicate it doesn't like the overlap. Hence, if you update the current portal to `0.0.0.0` I think it will work with the `auto_add_default_portal` setting you...
Can you do `ls /` again? Did you update the portal for `iqn.2003-01.org.linux-iscsi.pve1.x8664:sn.2777fca514ab` to `0.0.0.0`?
Yes, but 0.0.0.0 will listen on all addresses so shouldn’t be disruptive but not sure. Im any case I believe that is your issue.
Fair points. Can you create another target manually and instead of using `tpg1` use `tpg2` for this command? https://github.com/democratic-csi/democratic-csi/blob/master/src/driver/controller-zfs-generic/index.js#L274