API Read Only Errors

Can’t seem to get this resolved. I’m attempting to setup the api feature covered in the video for 6.16.

While I’m able to get connected to the target and create the required folder structure I’m receiving constant failures when trying to create new instances both in the cli and webui. @stgraber can you provide additional details regarding the iscsi setup from the release video?

Attaching the error below:

$ incus launch images:ubuntu/24.04 u224 -p tnas -c limits.cpu=1 -c limits.memory=512MB
Launching u224
Error: Failed instance creation: Failed creating instance from image: Failed to run: truenas_incus_ctl --allow-insecure --api-key <api-key>  --host <host-ip> snapshot create -r lab/10t/images/4246b995b2a4cc3214999415c0a0b169c898cc4c47513d7d2a34087b4d505264_ext4@readonly: exit status 1 (Error:
Error: Request timed out (exceeded 10s))

For the demo, I was running Incus inside of a Debian 13 VM connecting to per-release TrueNAS (Goldeye).

The error you’re reporting looks a lot like some kind of network issue.
Maybe look at the logs on the TrueNAS side too and confirm that there is no MTU or similar weirdness between your system and the TrueNAS box.