Commit Graph

42927 Commits

Author SHA1 Message Date
Jenkins a2ada0cabc Merge "HyperV: ensure config drives are copied as well during resizes" 2016-09-16 15:07:34 +00:00
Jenkins d4b35152c0 Merge "Fix object assumption in remove_deleted_instances()" 2016-09-16 03:51:56 +00:00
Jenkins ca9860ebbe Merge "Override MTU for os_vif attachments" 2016-09-16 03:23:33 +00:00
John Garbutt 77f546623b Override MTU for os_vif attachments
os-vif does not current respect the neutron provided mtu, it just uses
the configuration inside os-vif. This is a big regression from mitaka
and liberty.

Long term, this is something os-vif will be able to do by correctly
parsing and acting on the network info. For now we just set the mtu for
a second time once os-vif has done what it wants to do.

Closes-Bug: #1623876

Change-Id: Id4ca38fa1bb84f8cdb5edcd9ccb7acd8c8e9b60c
2016-09-15 20:04:43 -04:00
Dan Smith 30a85c8bcf Fix object assumption in remove_deleted_instances()
The RT tracks instance dicts for some reason. Fix that and make the
test poke the previous issue.

Change-Id: Iae3b2aa8e655f51f6fffd98dd02fa8e1cd9366c3
Closes-Bug: #1624119
2016-09-15 15:07:32 -07:00
Jenkins d1795c5267 Merge "Update minimum requirement for netaddr" 2016-09-15 20:13:23 +00:00
Jenkins b97662b228 Merge "Clean up allocation when update available resources" 2016-09-15 19:09:22 +00:00
Jenkins b63f65f3f3 Merge "Guard against failed cache refresh during inventory" 2016-09-15 19:08:40 +00:00
Jenkins 0c6f1c85a9 Merge "Set a bigger TIMEOUT_SCALING_FACTOR value for migration tests" 2016-09-15 18:12:58 +00:00
Jenkins a59492eed1 Merge "fix broken link in api-ref" 2016-09-15 14:45:22 +00:00
Roman Podoliaka 71d6333f85 Set a bigger TIMEOUT_SCALING_FACTOR value for migration tests
This should help avoid timeouts on CI.

Related-Bug: #1216851

Change-Id: Ic5b2b75e1d8bc73e49b8e7944ae802a64041cb7c
2016-09-15 14:06:15 +00:00
Sean Dague bad2497b70 Update minimum requirement for netaddr
Depends-On: Iffede36c4d9fb3b27d94c9497980504a70a435ba

Change-Id: I75770f3ed4fbf9f48fde210ece90662091bc0c23
Closes-Bug: #1623838
2016-09-15 09:49:55 -04:00
Jenkins a4ca5f0ea0 Merge "[placement] Mark HTTP error responses for translation" 2016-09-15 11:36:02 +00:00
Jenkins 6228068b1b Merge "[placement] Add some tests ensuring unicode resource provider info" 2016-09-15 07:05:31 +00:00
Jenkins ba0cb7bcf4 Merge "[placement] prevent a KeyError in webob.dec.wsgify" 2016-09-15 07:04:46 +00:00
Jenkins 5a02e6ce8c Merge "libvirt: Rewrite test_rescue and test_rescue_config_drive" 2016-09-15 05:40:15 +00:00
Jenkins a730660f0d Merge "Fix an error in archiving 'migrations' table" 2016-09-15 05:21:12 +00:00
Jenkins 870b5eac41 Merge "More conservative allocation updates" 2016-09-15 01:10:13 +00:00
Takashi NATSUME 1dfd79495e Fix an error in archiving 'migrations' table
Add soft deleting 'migrations' table when the VM instance is deleted.
And add soft deleting 'migrations' table when archiving deleted rows
for the case to upgrade.

Change-Id: Ica35ce2628dfcf412eb097c2c61fdde8828e9d90
Closes-Bug: #1584702
2016-09-15 09:54:16 +09:00
Jenkins 581262101a Merge "Fix race condition bug during live_snapshot" 2016-09-14 23:01:36 +00:00
He Jie Xu 9374566d19 Clean up allocation when update available resources
Currently the 'update_available_resource' only update the allocations
records for the instances which are tracked by RT. Which leads to leak
allocations record in the DB. The cases for leaking:

* When execute resize, the instance is moved to another host and the
instance.host is changed to the new host. But RT only update the
instance which instance.host is on the same host. It leads to the
allocation record on the source host leave in the DB.
* The instance was deleted locally when the compute node is down. After
the compute node back, the related allocations record can't be cleanup.

This patch add new method for the scheduler client. It will remove all
the allocations records for the instance which isn't on the host.

Change-Id: I28884c4edac8825a4753449f1b6e1eddded0d52b
Partial-Bug: #1621709
2016-09-14 15:21:58 -07:00
Jenkins 6bfdfa40d6 Merge "libvirt: add ps2mouse in choice for pointer_model" 2016-09-14 22:06:47 +00:00
Jenkins 762c1b76a9 Merge "Doc: Update PCI configuration options" 2016-09-14 22:06:00 +00:00
Jenkins 27711e04d1 Merge "[placement] Correct serialization of inventory collections" 2016-09-14 21:49:15 +00:00
Chris Dent a4b5b0c859 [placement] Mark HTTP error responses for translation
The HTTP responses that are errors and provided messages to the
client should be marked for translation. This change does that.

Change-Id: If22270768c2e6cdb810e0e08b3a4ab7a42bf828d
Closes-Bug: #1621888
2016-09-14 16:23:37 -04:00
Chris Dent 281a78e0af [placement] prevent a KeyError in webob.dec.wsgify
If a PUT, POST or PATCH is sent without a content-type header,
webob.dec.wsgify will raise a KeyError. Avoid this by checking for
the content-type header before reaching any wsgify calls. As noted
in the TODO within this is not the most elegant solution, but
prevents an inadvertent 500 and returns a reasonable 400.

Change-Id: I6e7dffb5dc5f0cdc78a57e8df3ae9952c55163ae
Closes-Bug: #1623517
2016-09-14 16:06:16 -04:00
Jenkins a9e16ed2a3 Merge "[placement] functional test for report client" 2016-09-14 19:21:30 +00:00
Jenkins 647d53f5c9 Merge "Revert "tox: Don't create '.pyc' files"" 2016-09-14 18:44:51 +00:00
Jenkins b86b2f4a9a Merge "libvirt: add hugepages support for Power" 2016-09-14 18:44:15 +00:00
Jenkins 18049f84ea Merge "Fix MonitorMetric obj_make_compatible" 2016-09-14 17:48:22 +00:00
Jenkins ce0fbe4eb1 Merge "Remove deprecated configuration option network_device_mtu" 2016-09-14 16:51:54 +00:00
Jenkins 355b94f3c3 Merge "[api-ref]: Correcting server_groups_list parameter's type." 2016-09-14 16:51:15 +00:00
Jenkins 62412ad454 Merge "[api-ref]: Update link reference" 2016-09-14 16:50:30 +00:00
Jenkins ec5f494899 Merge "Add note about display_name in _populate_instance_names" 2016-09-14 16:49:51 +00:00
Jenkins 04e94df911 Merge "Fix api-ref doc for server-rebuild" 2016-09-14 15:31:47 +00:00
Jenkins 8bdeaa30db Merge "Fixed indentation" 2016-09-14 15:31:05 +00:00
Jenkins daf4cc6b24 Merge "[placement] cleanup some incorrect comments" 2016-09-14 12:54:40 +00:00
Jenkins 0f9de41cba Merge "[api-ref] fix availability_zone for server create" 2016-09-14 12:46:57 +00:00
Sahid Orentino Ferdjaoui f04dd04342 libvirt: add ps2mouse in choice for pointer_model
This commit adds option ps2mouse to pointer_model, and set the default
value of pointer_model to usbtablet to do not break upgrade regarding
the default behavior of use_usb_tablet.

WHY: use_usb_tablet is by default set to True and during the
deprecation phase of use_usb_tablet, operators which have set that
option to false can't have the same behavior by using pointer_model
since use_usb_tablet takes precedence. Now operators can use
pointer_model=ps2mouse.

Change-Id: Id18b5503799922e4096bde296a9e7bb4f2a994aa
Closes-Bug: #1621582
2016-09-14 12:31:36 +00:00
Jenkins d3c9c476fc Merge "Complete verification for os-cloudpipe.inc" 2016-09-14 11:46:13 +00:00
Jenkins bd470bfa46 Merge "Correct image.inc for heading" 2016-09-14 11:45:35 +00:00
Stephen Finucane 233160644f Revert "tox: Don't create '.pyc' files"
This reverts commit 0d6d1616b9.

The PYTHONDONTWRITEBYTECODE setting is ignored in post-v1.6.0 versions
of tox due to issues with setuptools [1]. Suffer the performance hit.

[1] https://tox.readthedocs.io/en/latest/changelog.html#id21

Change-Id: I99d165f0cc4f5382aef72f21f31bc985585f4748
2016-09-14 10:45:44 +01:00
Jenkins e3662147dc Merge "Add regression test for immediate server name update" 2016-09-14 08:36:09 +00:00
ghanshyam 485ae14c9c Correct image.inc for heading
This commit updates image.inc to remove create
and update image from title

Partially implements blueprint api-ref-in-rst

Change-Id: Ib9aea5fd26585f6b81addfe4f0cdea00f2b2eaf5
2016-09-14 16:11:12 +09:00
ghanshyam 3309ad7338 Complete verification for os-cloudpipe.inc
This commit verify everything for cloudpipe.inc

Also mark this API deprecated as it works only for
nova-networks.

Partially implements blueprint api-ref-in-rst

Change-Id: I415760ff634dd85974f0c3f79e788e633852efb5
2016-09-14 07:06:06 +00:00
Jenkins 4f91ed3a54 Merge "Fix typo of stevedore" 2016-09-13 23:26:51 +00:00
Jenkins a7004228bf Merge "Config options: Improve help text for console options" 2016-09-13 22:04:43 +00:00
Ken'ichi Ohmichi 8211d3fade Fix typo of stevedore
This patch is following-up of Ief69f0a6635f26a55f64edcb0f1ddffc85b14a36

Change-Id: I35a75d6f80798cc519b62b99ecc4562748223a37
2016-09-13 13:58:34 -07:00
Jenkins 11ff0ded4e Merge "More conservative inventory updates" 2016-09-13 20:46:24 +00:00
Jenkins 4014ebec5e Merge "Correct address, version parameter in ips.inc" 2016-09-13 20:34:02 +00:00