setting amp-ssh-pub-key after initial deployment requires configure-resources action to take effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
For debugging purpose, I tried to use the following option to enable SSH access to Amphora instances.
> amp-ssh-key-name
> (string) Name of nova key to use to provide ssh access to Amphora
> VMs. Note that this key must be visible to the project used by Octavia.
>
> amp-ssh-pub-key
> (string) Base64 encoded public ssh key. This will be used when
> creating the key named by amp-ssh-key-name. Note that once the key is
> created it cannot be modified and the only way to do so is to delete it
> and have the charm create a new one.
However, the key wasn't uploaded unless configure-resources action was invoked explicitly. It would be nice the config description is more clear on this requirement.
As far as I see, create_nova_keypair is only called by src/actions/ actions. py not from config-chaned.