nova-compute charm overwrites authorized_keys on add/remove unit

Bug #1733625 reported by Gaurang Tapase
8
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.

Revision history for this message
James Page (james-page) wrote :

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.

Changed in charm-nova-compute:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.