StorageGRID combined upgrade fails with unable to connect to node on port 22
Applies to
NetApp StorageGRID
Issue
Combined upgrade fails with error:
Unable to connect to nodename on port 22: the given identity is known, but the private key could not be loaded
Example:
root@nodename:~ # stage-upgrade-hotfix
Hotfix version is 11.6.0.4, upgrade version is 11.6.0
Preparing
to copy hotfix-install-11.6.0.4 to all nodes...
SSH keys are not loaded.
Enter provisioning passphrase:
Performing connectivity
check...
All identities removed.
Copying to some nodes failed: ["nodename", "nodename", "nodename", "nodename",
"nodename", "nodename", "nodename", "nodename", "nodename"].
First error: key: "offline_error", options:
{:hostname=>"nodename", :reason=>"Unable to connect to nodename on port 22: the given identity is known, but the private key
could not be loaded: OpenSSL::PKey::PKeyError (Could not parse PKey: no start line)"}
See gdu-server.log for more information