nova/nova/tests
Takashi NATSUME 0bc5a4ecb5 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.

Conflicts:
	nova/tests/unit/fake_instance.py
	nova/tests/unit/objects/test_instance.py

NOTE(stephenfin): Conflicts in 'fake_instance.py' are due to change
If7f48933db10fcca3b9a05e1e978dfc51f6dabd0 ("Claim resources in resource
tracker"), which is related to the vPMEM work and shouldn't be
backported, while the conflicts in 'test_instance.py' are due to change
Ic89352a9900515484bffe961475feb1cefc6b2a9 ("Remove
'instance_update_at_top', 'instance_destroy_at_top'") which removed some
cells v1 tests but shouldn't be removed here where cells v1 is
technically still a thing.

Change-Id: I8a2726b39d0444de8c35480024078a97430f5d0c
Closes-Bug: #1843708
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
(cherry picked from commit 086796021b)
(cherry picked from commit aed86ee5d6)
(cherry picked from commit b971dc82cb)
2020-07-27 16:33:40 +01:00
..
functional objects: Update keypairs when saving an instance 2020-07-27 16:33:40 +01:00
live_migration/hooks nova-live-migration: Wait for n-cpu services to come up after configuring Ceph 2020-03-19 11:04:02 +00:00
unit objects: Update keypairs when saving an instance 2020-07-27 16:33:40 +01:00
__init__.py
fixtures.py Use admin neutron client to see if instance has qos ports 2019-11-25 10:14:56 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00