Torizon 7
spin-up-tunnel appears to work (although it always seems to say “is already running” even after performing spin-down-tunnel)
Executing task: /home/tim/.local/bin/xonsh /home/tim/normoplatform_GUI/.conf/spin-up-down-registry.xsh up not_my_password torizon 192.168.1.109 /home/tim/normoplatform_GUI
Container Runtime: docker
Run Arguments: --rm -d --network host -e SSHPASS torizonextras/ide-port-tunnel:0.0.1 sshpass -e ssh -vv -N -R 5002:localhost:5002 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no torizon@192.168.1.109
Container Name: torizon-ide-port-tunnel-f213e628
Container torizon-ide-port-tunnel-f213e628 already created
Checking if container torizon-ide-port-tunnel-f213e628 is running...
Container torizon-ide-port-tunnel-f213e628 is already running.
but then tunnel-check fails
Executing task: xonsh /home/tim/normoplatform_GUI/.conf/service-check.xsh registry 'not_my_password' 22 torizon 192.168.1.109 'curl --silent --max-time 5 http://localhost:5002/v2/_catalog'
Exception occurred: Command '['sshpass', '-p', 'not_my_password', 'ssh', '-p', '22', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'PubkeyAuthentication=no', 'torizon@192.168.1.109', 'curl --silent --max-time 5 http://localhost:5002/v2/_catalog']' returned non-zero exit status 7.
Attempt 1/15: waiting for registry...
and also pull-from-target-release
Executing task: sleep 1 && DOCKER_HOST=192.168.1.109:2375 docker pull localhost:5002/normoplatform:v0.0.0
Error response from daemon: Get "http://localhost:5002/v2/": dial tcp [::1]:5002: connect: connection refused
* The terminal process "/usr/bin/bash '-c', 'sleep 1 && DOCKER_HOST=192.168.1.109:2375 docker pull localhost:5002/normoplatform:v0.0.0'" terminated with exit code: 1.
iiuc both the tunnel-check and the pull and trying to access the docker repository hosted on my development system from the host imx8 device (192.168.1.109). So I am suspicious of the use of localhost…
I suspect a problem with my config files, having updated them from an earlier version of the Torizon IDE template.