colmena
colmena copied to clipboard
Uploading keys is erroring and I don't know why
$ colmena upload-keys --on kif --impure -v
warning: Git tree '/home/grahamc/Documents/network' is dirty
[INFO ] Using flake: git+file:///home/grahamc/Documents/network
[INFO ] Enumerating nodes...
[INFO ] Selected 1 out of 4 hosts.
kif | Uploading keys
kif | Key upload failed: Child process exited with error code: 255
| Failed: Child process exited with error code: 255
[ERROR] Failed to complete requested operation - Last 1 lines of logs:
[ERROR] failure) Child process exited with error code: 255
[ERROR] Failed to upload keys to kif - Last 3 lines of logs:
[ERROR] created)
[ERROR] state) Running
[ERROR] failure) Child process exited with error code: 255
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 255
I wish I could share more information, I have really no clue what to do though :sweat:.
Note I'm running Colmena 2bd563e847817a3e96b2aa9932109c83bc64e566.
Currently Child process exited with error code
errors do lack quite a bit of context to be more useful. Are the keys fetched from keyFile
s or keyCommand
s? One way without modifying Colmena itself is to run it strace -f
and find which child process is exiting with 255.
5432fe488ebec7ee30aaea5fb18a759e30e59612 added backtraces to the "Child process exited with error code" errors when the RUST_BACKTRACE=1
environment variable is present. The plan is to have more hierarchical error types so it's easier to find exactly where in the deployment flow an error occurred.