nova-compute charm overwrites authorized_keys on add/remove unit
Bug #1733625 reported by
Gaurang Tapase
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
nova-compute charm currently overwrites authorized_keys files when we add/remove any nova-compute unit from the environment. It could be the case that other charms are deployed on the same machine which might be using the authorized_keys file and in such cases the operation breaks when we scale up or down nova-compute units. The nova-compute charm should not overwrite the system specific authorized_keys file which is used for all of the ssh communications.
To post a comment you must log in.
It might be possible to mutate the file, rather than completely replacing it; it would be nice to understand the specific use case where this is required.
The key is used for live migrations via SSH between compute peers.