Convert the hyperv driver and related files to make use of
the nova.objects.ImageMeta object. Where an image_meta
dict is passed in via the virt API, it is converted to
object form before being used.
Change-Id: I673cb728b57419f68c6369c5f0f3351cbe5f65bf
A mistake was done by hydrating the members field for the InstanceGroup object when
creating the RequestSpec object because that field is for getting the instances,
not the hosts. In order to provide that information, we need to provide a new
version of the InstanceGroup and give a lazy-load for getting it in case we want to
have it.
Change-Id: I0d892bbe490c9ee727f54077d7398cc2800ce107
Partially-Implements: blueprint request-spec-object
This reverts commit bcc0028098.
Each call to the VC has a ton of information from suds that is logged.
This makes debugging and troubleshooting terribly difficult.
Closes-bug: #1491256
Change-Id: I43b66aa6be6fc1b2ed43650bd5cfe69963d8a16e
This adds the conductor implementation required to support version-manifest
backport operations. Ideally we will drop all of the relationship mapping
stuff after we released this in Liberty and roll to Mitaka. We need to
support both operations here to bridge that gap.
Related to bp/use-oslo-objects
Change-Id: I3702c02c53876a5b593ba69c6ebd607e9b6b7152
While resizing/revert-resizing instance, if instance gets deleted
in between, then instance files remains either on the source or
destination compute node.
To address this issue, added a new periodic task
'_cleanup_incomplete_migrations' which takes care of deleting
instance files from source/destination compute nodes and then
mark migration record as failed so that it doesn't appear again
in the next periodic task run.
SecurityImpact
Closes-Bug: 1392527
Change-Id: I9866d8e32e99b9f907921f4b226edf7b62bd83a7
While we are removing the v2 API soon, given the v2.1 API will soon
lose the option of configuring extensions, lets also deprecate these
options in the v2 API as well. This should help advertise the move more
widely.
part of blueprint nova-api-deprecate-extensions
Change-Id: I693a6cd25ef09e3974aa8231c8b3131158c9e1bb
This patch removes the v3 word from api_rate_limit option help message.
And use v2.1 instead of it.
Change-Id: I927fcd773d1b89ea8378aa4dfcb0febb112c2128
Partial-Bug: #1462901
Since filter_properties and the instance object were having the same pci_requests
field, remove the key from filter_props and make sure that all filters are using
the instance object.
Partially-Implements: blueprint request-spec-object
Change-Id: I6a9d5ea4204109c0e1eb29b1704ec3a1fb50c96b