The keypair of a server is updated when rebuilding the server with a
keypair. This function has been added since API microversion 2.54.
However the 'keypairs' of the instance object is not saved when saving
the instance object currently.
Make the instance object update the 'keypairs' field when saving the
instance object.
Change-Id: I8a2726b39d0444de8c35480024078a97430f5d0c
Closes-Bug: #1843708
Co-authored-by: Stephen Finucane <email address hidden>
Reviewed: https:/ /review. opendev. org/683043 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=086796021b1 89c3ac64805ed8f 6bde833906d284
Committed: https:/
Submitter: Zuul
Branch: master
commit 086796021b189c3 ac64805ed8f6bde 833906d284
Author: Takashi NATSUME <email address hidden>
Date: Thu Sep 19 15:57:44 2019 +0900
objects: Update keypairs when saving an instance
The keypair of a server is updated when rebuilding the server with a
keypair. This function has been added since API microversion 2.54.
However the 'keypairs' of the instance object is not saved when saving
the instance object currently.
Make the instance object update the 'keypairs' field when saving the
instance object.
Change-Id: I8a2726b39d0444 de8c35480024078 a97430f5d0c
Closes-Bug: #1843708
Co-authored-by: Stephen Finucane <email address hidden>