Mostly for reference since I wasn't able to find any information about this anywhere: LinSTOR was behaving correctly but the docker plugin lade/linstor:latest
was giving me a 404 on mount, just like mentioned here.
Not knowing any go, I simply tcpdump
ed the communication between the host and the linstor-controller and saw that after successfully calling /v1/resource-definitions/linstor_demo/resources/
the plugin was calling /v1/resource-definitions/linstor_demo/resources/nodename
, that returned 404.
In my case the nodes were called linstore-satellite.nodename.domain.net
, including in DNS and in their LinSTOR definitions.
I deleted everything, made all nodenames resolvable from each of them then redefined nodes, storage-pools, resource-groups, volume-groups and it (mostly) worked: it couldn't mount the volume as xfs (from the docs I thought it would be automatically formatted, apparently it's not)
I fomatted the DRBD device (luckily mentioned in the error) with mkfs -t xfs /dev/drbd000x
and after that it worked