Commit Graph

47886 Commits

Author SHA1 Message Date
Jenkins dbfde14978 Merge "Add recreate test for forced host evacuate not setting dest allocations" 2017-09-05 23:51:56 +00:00
Jenkins 0fde14a493 Merge "Add uuid to migration table" 2017-09-05 20:21:10 +00:00
Jenkins b6e422509b Merge "Add video type virtio for AArch64" 2017-09-05 20:20:35 +00:00
Jenkins f2b78c3a20 Merge "Updated from global requirements" 2017-09-05 18:57:40 +00:00
Jenkins 019f7ecb88 Merge "Replace dd with shred for zeroing lvm volumes." 2017-09-05 18:44:53 +00:00
OpenStack Proposal Bot 8da4bbf524 Updated from global requirements
Change-Id: I9de10bb5188ad778f06bb59e7f08f2b49089c1da
2017-09-05 12:19:55 +00:00
Jenkins 5bcfaf3e8a Merge "Fix scope of errors_out_migration in finish_resize" 2017-09-05 06:46:42 +00:00
Jenkins dce9e93bfc Merge "Remove plug_ovs_hybrid, unplug_ovs_hybrid" 2017-09-04 19:08:38 +00:00
Jenkins e795c8a09b Merge "Fix scope of errors_out_migration in resize_instance" 2017-09-04 17:19:38 +00:00
Jenkins 46ffabdacc Merge "Add functional recreate test for live migration pre-check fails" 2017-09-04 17:19:11 +00:00
Jenkins be223198f6 Merge "Move hash ring initialization to init_host() for ironic" 2017-09-04 17:18:38 +00:00
Jenkins ef3b6a62ad Merge "[Trivial] docstrings, typos, minor refactoring" 2017-09-04 16:57:03 +00:00
Jenkins 1b500cbc5d Merge "Correct examples in "Manage Compute services" documentation" 2017-09-04 15:26:24 +00:00
Jenkins 4c87e85956 Merge "Stop handling differences in registerCloseCallback" 2017-09-04 15:25:50 +00:00
Jenkins 50c6dd8015 Merge "Replaces uuid.uuid4 with uuidutils.generate_uuid()" 2017-09-04 15:14:21 +00:00
Dmitry Tantsur be221ecb0f Correct examples in "Manage Compute services" documentation
* "compute service set" command requires a host, not a zone
* the --disable-reason flag's argument has to be quoted

Change-Id: Iaf58d702b1619a66f97553cf2e47eb8c85166bf6
2017-09-04 15:49:33 +02:00
Jenkins 6578792891 Merge "doc: fix online_data_migrations option in upgrades doc" 2017-09-04 10:37:38 +00:00
Michael Still 4b596bd6da Replace dd with shred for zeroing lvm volumes.
Per the previous code comment, we can now use shred to zero
volumes efficiently on modern distros. Let's do that.

A thread on openstack-dev (http://lists.openstack.org/pipermail/openstack-dev/2017-August/121301.html)
confirms that all our supported distros now use a new enough
version of shred.

Change-Id: I1f0ba72ddeb26eb51bf5e7c3db017b108e0494e9
2017-09-02 17:49:51 +10:00
Matt Riedemann beac1529fd doc: link to versioned notification samples from main index
Notifications are essentially another API for end users, but
it can be hard to find the list of existing notifications or
their samples which are buried deep down via contributors >
technical reference deep dive > notitfications. If I'm an
end user, I'd like to just see them in the same set of links
on the main page as the API, under the "For End Users" section.

Change-Id: If3ca21b080d06a291ed27c9bcd84a566164c3b70
2017-09-01 14:10:14 -04:00
Matt Riedemann 33a1799b1d doc: link to placement api-ref and history docs from main index
Now that we have a placement api-ref getting published, we
should link to it like we do for the compute api-ref. This
also links in the placement microversion history for consistency.

Change-Id: Id0c70486c5a72a4d6794d80d350a45a5f356ca37
2017-09-01 14:10:14 -04:00
Jenkins a85ec5e53f Merge "add online_data_migrations to nova docs" 2017-09-01 16:45:47 +00:00
Jenkins 7c0e83db33 Merge "Functional test for regression bug #1713783" 2017-09-01 16:45:04 +00:00
Matt Riedemann 62a80f48a6 doc: fix online_data_migrations option in upgrades doc
There is no --limit option on the online_data_migrations
command, it's called --max-count.

This fixes that typo in the upgrades doc and also fixes
another grammar nit that was bugging me.

Change-Id: Ib76ced58314e025f617c1b4d964cd0c62d908a37
Related-Bug: #1670738
2017-09-01 12:17:18 -04:00
Matt Riedemann f34b487db4 Add recreate test for forced host evacuate not setting dest allocations
This adds a functional recreate test for bug 1713786 where
allocations are not created against the forced destination host
during an evacuation.

This asserts the faulty behavior so that a later patch which fixes
the bug can uncomment the assertions for correct behavior.

Change-Id: I55bf64a95f6b1b781656920380dc38bda864bd14
Related-Bug: #1713786
2017-09-01 11:47:36 -04:00
Hesam Chobanlou 9e1e1a52de add online_data_migrations to nova docs
adding cli documentation for online_data_migrations to clarify
when the command is complete.

Closes-Bug: #1670738

Change-Id: If50bd044091250611a7d3d67438d732279510d5b
2017-09-01 15:43:00 +00:00
Előd Illés 5687c170ea Functional test for regression bug #1713783
Add functional test for evacuation, when no valid host available.
Migration should end up in 'error' state.

Change-Id: I1adc20f2a5261e6906a18b9aee5cd2c8ecf0cf4d
Related-bug: #1713783
2017-09-01 16:16:20 +02:00
Balazs Gibizer 0499b28051 doc: fix show-hide sample in notification devref
The new doc template includes jquery too late and therefore showing
and hindig notification samples and auto hiding them by default doesn't
work.

This patch loads the jquery lib earlier for the notification devref.

Closes-Bug: #1713974
Closes-Bug: #1714363
Change-Id: I07db4755c69d493e591761578d1077bb44acda41
2017-09-01 12:39:01 +02:00
Jenkins 1fb132f2f3 Merge "De-duplicate two delete_allocation_for_* methods" 2017-09-01 05:55:41 +00:00
Jenkins aad4373e07 Merge "Clean variable names and docs around neutron allocate_for_instance" 2017-09-01 00:21:28 +00:00
Matt Riedemann a4609a834b api-ref: add warnings about forcing the host for live migrate/evacuate
Bypassing the scheduler during a live migration or evacuation
is not something we want people to be doing as it can easily fail
if the specified host is already full or doesn't provide something
required by the instance, plus it's a nightmare for tracking allocations
in the Placement service when we're bypassing the scheduler.

Because of this, we should have some warnings in the API reference
about doing this, which this patch adds.

Change-Id: I85e7c2677f4d5eccc1e7f349de06960b53ef148d
2017-08-31 16:07:22 -04:00
Jenkins 2a4ca8bd6a Merge "Fix _delete_inventory log message in report client" 2017-08-31 18:58:55 +00:00
Eric Fried 4784909352 [placement] Update user doc with api-ref link
The Placement API user guide [1] mentions a not-yet-available REST API
reference which has since become available [2]; update with the link.

[1] https://docs.openstack.org/nova/pike/user/placement.html#api-reference
[2] https://developer.openstack.org/api-ref/placement/

Closes-Bug: #1714284
Change-Id: Ic368327aa4a81f4217aecb4af3d9358502676234
2017-08-31 10:30:03 -05:00
Jenkins e9daa28bae Merge "[placement] Require at least one resource class in allocation" 2017-08-31 07:00:41 +00:00
Kevin Zhao f0f09530ee Add video type virtio for AArch64
Currently only "virtio" type is supported on AArch64, and the
other "virrus", "qxl" and "vga" don't work on AArch64 according to
libvirt upstream:
https://www.redhat.com/archives/libvir-list/2016-September/msg00546.html
Then this patch adds the virtio for AArch64 and tweaks the related test cases.

Closes-bug: #1710766

Change-Id: Iba8a1e671f2b5759b3d9178aa1871d0cf888b26b
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-08-31 14:55:30 +08:00
Jenkins c1de4c73b9 Merge "[placement] Add test for empty resources in allocation" 2017-08-31 06:01:46 +00:00
Chris Dent 10f8a9aa12 [placement] Require at least one resource class in allocation
If an allocation was made with an empty resources object, a 500 response
code would result. This change adjusts the schema to use minProperties
of 1 to say there must be at least one resource class and value pair in
the allocation. If there is not a 400 response is returned.

As this is fixing 500 response to a useful error, no microversion is
required. A previous gabbi file which demonstrated the problem has been
updated to demonstrate that the problem has been fixed.

Change-Id: I7d9c64c77586564fb3bdbe92c693bd2a1bc06f24
Closes-Bug: #1714072
2017-08-31 00:38:42 +00:00
OpenStack Proposal Bot a23663e799 Updated from global requirements
Change-Id: I197925602a5b76cad961cc3cb2eebb67c0ea82bf
2017-08-30 23:26:21 +00:00
Chris Dent ad2d3fc0f8 [placement] Add test for empty resources in allocation
If the resources object in an allocation request is an empty dict then
there will be a 500 deep in the belly of the AllocationList object
handling when it tries get a information. The patch demonstrates the bug
with a new gabbi test that verfies the 500. The next patch will fix it.

Change-Id: I5ab417e39044af63fb9acb57c48c087ecf1e6f04
Related-Bug: #1714072
2017-08-30 20:19:31 +01:00
Jenkins da4083d7bc Merge "Reduce (notification) test duplication" 2017-08-30 16:47:33 +00:00
Jenkins be3a66781f Merge "Clarify the field usage guidelines" 2017-08-30 10:04:17 +00:00
rajat29 e9c30d62e6 Typo fix in admin doc ssh-configuration.html
Change-Id: Ibbf24ebb8fc0afa2fed1cda250fd04daf7fbffc2
Closes-bug: #1713750
2017-08-30 11:40:11 +05:30
Jenkins 2634693d45 Merge "Fix nova assisted volume snapshots" 2017-08-30 05:15:53 +00:00
Lucian Petrut 074614f077 Fix nova assisted volume snapshots
When performing nova assisted volume snapshots, the nova api does
not receive an instance id, so there is not the usual instance
lookup from the cell which automatically targets the context for the
cell that the instance was pulled from, which is also where we'd get
the BDM.

Since we do not know which cell to target when fetching the BDM, we
have to iterate through *all* of them.

Closes-Bug: #1713735

Change-Id: Id2e3d3f177739a31d63790e4a1ae6ac41f438ddd
2017-08-29 16:31:14 -04:00
Jenkins a21cac214c Merge "Enhance support matrix document" 2017-08-29 17:10:44 +00:00
Vladyslav Drok 27fd55bb8a Fix _delete_inventory log message in report client
The message was referring to a compute node while in fact was logging
resource provider UUID.

Change-Id: I08702610f2ba11a0b3f4cf407a4afa4aa46cc429
2017-08-29 17:56:13 +03:00
Matt Riedemann 0b05655ef8 Add functional recreate test for live migration pre-check fails
This adds a functional test to recreate bug 1712411 where
the allocations created against the destination node are not
cleaned up by conductor when a MigrationPreCheckError happens
and a rechedule to another host happens (or max retries are
exceeded which is the case here with only two computes).

Change-Id: Ieee45521c7e362b7dd053b20d3c39dea330ca080
Relatd-Bug: #1712411
2017-08-29 10:34:22 -04:00
Jenkins bd4a364e68 Merge "Updates to scheduling workflow doc" 2017-08-29 11:36:23 +00:00
Jenkins 5842c33bec Merge "tests: De-duplicate some graphics tests" 2017-08-29 11:34:40 +00:00
Jenkins b74115c2f5 Merge "Improve assertJsonEqual error reporting" 2017-08-29 06:10:25 +00:00
Jenkins 3c7a8185e6 Merge "Change default for [notifications]/default_publisher_id to $host" 2017-08-29 06:07:53 +00:00