Commit Graph

36503 Commits

Author SHA1 Message Date
Jenkins 2ea2fb033e Merge "libvirt: enable live migration with serial console" 2015-09-04 00:28:27 +00:00
Jenkins 3093013810 Merge "Neutron: Check port binding status" 2015-09-04 00:27:44 +00:00
Jenkins c08c7c387c Merge "hyperv: convert driver to use nova.objects.ImageMeta" 2015-09-03 22:32:52 +00:00
Jenkins e349663cf2 Merge "Expose VIF net-id attribute in os-virtual-interfaces" 2015-09-03 12:54:54 +00:00
Daniel P. Berrange ac66ea3cee hyperv: convert driver to use nova.objects.ImageMeta
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
2015-09-03 10:46:41 +01:00
Jenkins 032b4cda61 Merge "Fix exception message mistake in WSGI service" 2015-09-03 08:14:18 +00:00
Jenkins bbe369c9b1 Merge "Fix RequestSpec.instance_group hydration" 2015-09-03 05:21:47 +00:00
Jenkins 537f8a07f5 Merge "Implement manifest-based backports" 2015-09-03 05:08:45 +00:00
Jenkins 473d4b9e94 Merge "Revert "Remove references to suds"" 2015-09-03 03:58:40 +00:00
Jenkins 2b52a92d14 Merge "Remove/deprecate conductor instance_update()" 2015-09-03 03:58:01 +00:00
Jenkins 5f31da5f6f Merge "Make compute manager instance updates use objects" 2015-09-03 03:57:01 +00:00
Jenkins b32b146a33 Merge "[Ironic]Not count available resources of deployed ironic node" 2015-09-03 03:39:15 +00:00
Jenkins 35af7243ad Merge "api: deprecate the api v2 extension configuration" 2015-09-03 01:57:59 +00:00
Jenkins 3d39256d5a Merge "Scheduler: enhance debug messages for multitenancy aggregates" 2015-09-02 22:39:07 +00:00
Jenkins 45e447f93e Merge "Delete orphaned instance files from compute nodes" 2015-09-02 22:38:05 +00:00
Jenkins c9796b7f7e Merge "VMware: pass network info to config drive." 2015-09-02 19:55:15 +00:00
Jenkins b2d63affbd Merge "Catch invalid id input in service_delete" 2015-09-02 18:22:52 +00:00
Sylvain Bauza c48c1098cb Fix RequestSpec.instance_group hydration
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
2015-09-02 16:47:34 +02:00
Jenkins b3f07e8c1f Merge "objects: Add MigrationContext object" 2015-09-02 12:16:54 +00:00
garyk 080cbb722c Revert "Remove references to suds"
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
2015-09-02 07:17:03 +00:00
Jenkins b7c8a73824 Merge "cleanup NovaObjectDictCompat from external_event" 2015-09-02 06:39:43 +00:00
Jenkins d01498185b Merge "cleanup NovaObjectDictCompat from agent" 2015-09-02 06:39:15 +00:00
Jenkins 4909671e06 Merge "Fix order of arguments in assertEqual" 2015-09-02 06:38:47 +00:00
Jenkins 7e75ba8848 Merge "Fix order of arguments in assertEqual" 2015-09-02 06:38:20 +00:00
Jenkins 47743a123a Merge "Fix order of arguments in assertEqual" 2015-09-02 06:37:51 +00:00
Jenkins 3f5a4823f4 Merge "n-net: add more debug logging to release_fixed_ip" 2015-09-02 06:37:24 +00:00
Jenkins be08666f44 Merge "Don't query database with an empty list of tags for creation" 2015-09-02 06:35:52 +00:00
Jenkins a9090bb5f5 Merge "api: use v2.1 only in api-paste.ini" 2015-09-02 04:18:31 +00:00
Jenkins 9c90215906 Merge "Support Network objects in set_network_host" 2015-09-02 04:04:04 +00:00
Jenkins e041f3ee62 Merge "Fix three typos on nova/pci directory" 2015-09-01 21:53:31 +00:00
Jenkins c310255cb9 Merge "Improve error logs for start/stop of locked instance" 2015-09-01 20:41:37 +00:00
Jenkins 3feb88b246 Merge "compute: improve exceptions related to disk size checks" 2015-09-01 20:00:45 +00:00
Jenkins ee0b15d7fd Merge "Removed unused dependency: discover" 2015-09-01 19:49:49 +00:00
Jenkins aa5dd338f3 Merge "Add warning log when deprecated v2 and v3 code get used" 2015-09-01 19:49:10 +00:00
Jenkins 32594a7ebc Merge "Remove the v3 word from help message of api_rate_limit option" 2015-09-01 19:48:40 +00:00
Jenkins 7e1bab480f Merge "Use the same pci_requests field for all filters and HostManager" 2015-09-01 18:21:40 +00:00
Jenkins 943eb51c02 Merge "VMware: Fixed redeclared CONF = cfg.CONF" 2015-09-01 18:16:00 +00:00
Jenkins cc79ea9eb4 Merge "Removed duplicated keys in dictionary" 2015-09-01 18:08:01 +00:00
Dan Smith d5f59c1a32 Implement manifest-based backports
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
2015-09-01 07:56:15 -07:00
Rajesh Tailor 18d6b5cc79 Delete orphaned instance files from compute nodes
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
2015-09-01 13:57:01 +00:00
John Garbutt 64a9ccbea3 api: deprecate the api v2 extension configuration
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
2015-09-01 12:45:55 +00:00
He Jie Xu e7fd1fb358 Remove the v3 word from help message of api_rate_limit option
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
2015-09-01 16:53:22 +08:00
Sylvain Bauza 875594ad26 Use the same pci_requests field for all filters and HostManager
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
2015-08-31 23:19:28 +02:00
Nikola Dipanov a7a2e95e71 objects: Add MigrationContext object
Part of the object infrastructure needed for

Change-Id: I877483931867ecc64f142f4950655725643aa802
Related-blueprint: migration-fix-resource-tracking
2015-08-31 20:45:19 +01:00
Jenkins bd3b5a62b4 Merge "Cells: Improve block device mapping update/create calls" 2015-08-31 19:07:43 +00:00
Sergey Nikitin 8ffe9e9a8c Don't query database with an empty list of tags for creation
It raises IntegrityError: NOT NULL constraint failed: tags.resource_id

Closes-Bug: #1486041

Change-Id: I9fe43e50ef38bda7b81d0ff201a623742a39b824
2015-08-31 22:02:52 +03:00
Jenkins e7f183569b Merge "Don't trace on InstanceInfoCacheNotFound when refreshing network info_cache" 2015-08-31 18:56:27 +00:00
Jenkins 28747d15b0 Merge "Update ComputeNode values with allocation ratios in the RT" 2015-08-31 18:55:59 +00:00
Jenkins 840136a941 Merge "Update HostManager and filters to use ComputeNode ratios" 2015-08-31 18:55:29 +00:00
Jenkins 10880b9752 Merge "Add cpu_allocation_ratio and ram_allocation_ratio to ComputeNode" 2015-08-31 18:54:59 +00:00