If you are attempting to run an upload command with the Konvoy Image Builder, the Ansible output may return a failure such as the following:
Failed to connect to the host via ssh: no such identity: /path/to/keyfile
First, ensure that the permissions for the key are set correctly. Here is one document that can outline how to do that:
You can check this by running "whoami" and comparing it to what you have listed in the "ansible_user" field.
Another common cause of this problem is running the "konvoy-image" command with sudo. Using sudo will cause the command to use the working environment of "root" rather than your intended user.
Set the proper permissions on your konvoy-image binary to ensure that it can be run without sudo and try again. You may also need to ensure that this user is also able to run Docker without sudo. The docs for configuring that are located here: