Skip to content

Get rid of misleading error messages when redoing a configuration #13

@terrillmoore

Description

@terrillmoore

If you re-run against a gateway, you may see this:

INFO: jumphost: jumphost.ttni.tech: ~ttn-nyc-00-08-00-4b-04-64/.ssh exists with correct permissions
ERROR: conduit_ssh: sudo test -f /var/config/home/root/.ssh/authorized_keys failed
ERROR: conduit: 00-08-00-4b-04-64: failed: test -f /var/config/home/root/.ssh/authorized_keys
ERROR: conduit_ssh: sudo test -f /home/root/.ssh/authorized_keys failed
ERROR: conduit: 00-08-00-4b-04-64: failed: test -f /home/root/.ssh/authorized_keys
ERROR: conduit_ssh: sudo test -d /home/root/.ssh failed
ERROR: conduit: 00-08-00-4b-04-64: failed: test -d /home/root/.ssh
INFO: app: all done
INFO: __main__: success, exit with status 0

The success, exit with status 0 indicates that we succeeded. But the ERROR: lines are alarming and misleading. The last app: all done should indicate success, and the ERROR: message should be updated to be less alarming.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions