Comment 1 for bug 1833420

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

https://review.opendev.org/#/c/666374/ -- in nova-compute charm

Refactor import_authorized_keys() function for performance

The main change is to fetch all of the relation_data() at once, and then
iterate through the python dictionary. This speeds up processing of
potentially hundreds of hosts and authorized_keys.

Change-Id: I095104f535c1eae1554f842502ae93ebb92e44fe
Related-Bug: #1833420