Comment 14 for bug 1843708

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.opendev.org/743271
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6a7a78a44ea19497ea3e331ddd672f95cd49c50e
Submitter: Zuul
Branch: stable/queens

commit 6a7a78a44ea19497ea3e331ddd672f95cd49c50e
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: I8a2726b39d0444de8c35480024078a97430f5d0c
    Closes-Bug: #1843708
    Co-authored-by: Stephen Finucane <email address hidden>
    (cherry picked from commit 086796021b189c3ac64805ed8f6bde833906d284)
    (cherry picked from commit aed86ee5d6289edf1baf9fe0b2a9e509031fdd25)
    (cherry picked from commit b971dc82cb524fe86284c95ec671e2bad1c2874f)
    (cherry picked from commit 0bc5a4ecb524a73aacb5d0dd2887799885bdbb14)
    (cherry picked from commit aa7a6939d5177c0dd8c9f5a7bf7975264d2f5a2a)