I need some assumptions I’m making validated, based upon reading https://concourse-ci.org/concourse-worker.html
- Every worker needs it’s own unique tsa_worker key
- The public key needs to be put in the authorized_workers file, readable by all the web instances
- The web nodes will read any updates to the authorized_workers WITHOUT needing to be restarted after the file changes.
- I don’t need to run any extra commands to register the worker
If all of the above is correct, then why does the worker emit the following until the web is restarted?
failed to establish SSH connection with gateway: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
It certainly seems like assumption 3 is incorrect, because restarting the web nodes makes the error go away.
For assumption 4, I’ve tried looking for any commands on either
concourse, but while fly has land/retire worker, there’s no “register worker”. The
concourse worker command’s help indicates that it does the registration, but it doesn’t seem to attempt to connect to the web interface to do the registration.