Closed lebauce closed 10 years ago
The SSH private key for the 'nova' user is altered : on the compute nodes, the newlines are replaced by spaces. Therefore SSH thinks the key is protected with a passphrase.
Exemple : In the environment YAML file :
nova_ssh_private_key: | -----BEGIN RSA PRIVATE KEY----- MIIEpAIJIKCAQEAta5re5kc92Rq27ss1wn7KvhGoxGQ7rj2C2kNS1uFpbua8dM2 .... -----END RSA PRIVATE KEY-----
On the compute node (/var/lib/nova/.ssh/id_rsa) : -----BEGIN RSA PRIVATE KEY----- MIIEpAIJIKCAQEAta5re5kc92Rq27ss1wn7KvhGoxGQ7rj2C2kNS1uFpbua8dM2 ... -----END RSA PRIVATE KEY-----
The SSH private key for the 'nova' user is altered : on the compute nodes, the newlines are replaced by spaces. Therefore SSH thinks the key is protected with a passphrase.
Exemple : In the environment YAML file :
nova_ssh_private_key: | -----BEGIN RSA PRIVATE KEY----- MIIEpAIJIKCAQEAta5re5kc92Rq27ss1wn7KvhGoxGQ7rj2C2kNS1uFpbua8dM2 .... -----END RSA PRIVATE KEY-----
On the compute node (/var/lib/nova/.ssh/id_rsa) : -----BEGIN RSA PRIVATE KEY----- MIIEpAIJIKCAQEAta5re5kc92Rq27ss1wn7KvhGoxGQ7rj2C2kNS1uFpbua8dM2 ... -----END RSA PRIVATE KEY-----