bsdpot / nomad-pot-driver

Nomad task driver for launching freebsd jails.
Apache License 2.0
84 stars 14 forks source link

Relay low level errors to pot driver #54

Open grembo opened 8 months ago

grembo commented 8 months ago

Example output on the command line:

===>  importing adminer-nomad_13_2 @ 0.1.3 as adminer-nomad_13_2_0_1_3
=====>  Hash confirmed
===>  Pot adminer-nomad_13_2_0_1_3 depends on freebsd_13_2_1_8 (@1707396231)
===>  freebsd_13_2_1_8 already installed
cannot receive: specified origin fs (zroot/pot/jails/freebsd_13_2_1_8@1707396231) does not exist
cannot open 'zroot/pot/jails/adminer-nomad_13_2_0_1_3/m': dataset does not exist
cannot open 'zroot/pot/jails/adminer-nomad_13_2_0_1_3': dataset does not exist
cannot open 'zroot/pot/jails/adminer-nomad_13_2_0_1_3/m': dataset does not exist
sed: /opt/pot/jails/adminer-nomad_13_2_0_1_3/conf/pot.conf: No such file or directory
/usr/local/bin/pot: cannot create /opt/pot/jails/adminer-nomad_13_2_0_1_3/conf/pot.conf: No such file or directory
grep: /opt/pot/jails/adminer-nomad_13_2_0_1_3/conf/pot.conf: No such file or directory
###>  imported pot is weirdly not found after import - cannot proceed
###>   Pot adminer-nomad_13_2_0_1_3 not found
###>  pot adminer-nomad_13_2_0_1_3 not found or corrupted. Try to use the -F flag

Visibility in nomad ui:

image