Commit Graph

47877 Commits

Author SHA1 Message Date
Matt Riedemann 16e874180e Skip more racy rebuild failing tests with cells v1
These are other rebuild tests that randomly fail the
cells v1 job waiting for state changes due to VIF
races.

Since cells v1 is deprecated, let's just skip this.

Change-Id: Ia00015a8cbb930efd274830b69f296a257578700
Related-Bug: #1709985
2017-09-05 12:08:01 -04: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
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
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
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
Jenkins e22fd15739 Merge "Add placeholder migrations for Pike backports" 2017-08-29 05:50:56 +00:00
Jenkins 6c859e0d8c Merge "Prevent blank line at start of migration placeholders" 2017-08-29 05:40:21 +00:00
Jenkins 0e52b3fe68 Merge "Remove "dhcp_options_for_instance"" 2017-08-29 05:39:56 +00:00
Jenkins 213646c68c Merge "Fix a typo in code comment" 2017-08-29 05:37:05 +00:00
Matt Riedemann 30fad527b2 Updates to scheduling workflow doc
There are a few updates here:

1. Fix the size of one of the existing boxes to fit the text.
2. Add a note at the top that anything about alternatives is
   future work since that didn't merge in Pike.
3. Add a box to note the call from scheduler to placement to
   make the "claim".

Change-Id: I8b6468766f4924d009b2567fe71c2f5d2733a6e3
2017-08-28 18:34:16 -04:00
Jenkins ab352afeb2 Merge "Cleanup unnecessary logic in os-volume_attachments controller code" 2017-08-28 21:27:19 +00:00
Jenkins a6c429bd79 Merge "Use enum value instead of string service name" 2017-08-28 21:23:41 +00:00
Jenkins 31cb3e1bc9 Merge "rename binary to source in versioned notifications" 2017-08-28 21:19:52 +00:00