Commit Graph

51744 Commits

Author SHA1 Message Date
ghanshyam 449da03245 Remove "DEPRECATED" tag from Obsolete APIs
APIs which are being Obsoleted and return 410 like nova-net
only APIs, have been moved to "Obsolete API" section in api-ref.

In favour of moving them in "Obsolete API" section, "DEPRECATED"
tag on those API ref can be removed to avoid confusion whether
these APIs are deprecated or gone.

Part of blueprint remove-nova-network

ref- https://review.openstack.org/#/c/567682/1/api-ref/source/os-fping.inc@4

Change-Id: I47eaf08a9c06e33d707fdfe88f6771e165f377b5
2018-07-18 22:23:45 -04:00
Stephen Finucane db294b1e33 Remove support for /os-floating-ip-dns REST API
Drop support for the os-floating-ip-dns API which has been deprecated
since Newton:

  Idca478c566f9a7b5b30a3172453ce7c66d9fd8f0

This API now returns a 410 response for all routes.

Unit tests are removed and the functional API sample tests are just
asserting the 410 response now.

The API sample docs are left intact since the API reference still builds
from those and can be considered more or less branchless, so people
looking at the API reference can apply it to older deployments of nova
before os-floating-ip-dns was removed.

The release note added for previous nova-network API removals is
amended to note this additional change.

Part of blueprint remove-nova-network

Change-Id: I0c4b586292814b8483226aee315f41cbefc86a1e
2018-07-18 22:23:45 -04:00
Stephen Finucane 823c4e840d Remove support for /os-floating-ips-bulk REST API
Drop support for the os-floating-ips-bulk API which has been deprecated
since Newton:

  Idca478c566f9a7b5b30a3172453ce7c66d9fd8f0

This API now returns a 410 response for all routes.

Unit tests are removed and the functional API sample tests are just
asserting the 410 response now.

The API sample docs are left intact since the API reference still builds
from those and can be considered more or less branchless, so people
looking at the API reference can apply it to older deployments of nova
before os-floating-ips-bulk was removed.

The release note added for previous nova-network API removals is
amended to note this additional change.

Part of blueprint remove-nova-network

Change-Id: I89d081108b398d8efba9636279088c61349b21e6
Depends-On: https://review.openstack.org/582945
2018-07-18 22:23:45 -04:00
Zuul 50f40854b0 Merge "[placement] cover bad content-length header" 2018-07-18 23:33:56 +00:00
Zuul 571f3748ce Merge "[placement] Add gabbi coverage for inv of missing rp" 2018-07-18 23:33:48 +00:00
Zuul 12f8c77fcc Merge "[placement] Add gabbi coverage for an inventory change" 2018-07-18 23:33:37 +00:00
Zuul c54428cfe1 Merge "Address nit in 79dac41fee178dabb547f4d7bc10609630767131" 2018-07-18 18:05:09 +00:00
Zuul 5e045984bb Merge "API: add support to abort queued live migration in microversion 2.65" 2018-07-18 17:45:24 +00:00
Chris Dent 6006ccd83b [placement] cover bad content-length header
The main dispatch handler in placement checks to see if the
content-length header is a valid int and returns a 400 status
code if not. There had been no gabbi coverage for this behavior.
This patch adds that coverage.

Change-Id: If12fc7e374c7933bd2f10beb4be3e0a8d8e622e9
2018-07-18 16:00:13 +01:00
Chris Dent 7b0168b736 [placement] Add gabbi coverage for inv of missing rp
There was no gabbi coverage for the case where a GET request was being
made for single class of inventory on a non-existent resource provider.
This adds it.

Note that it would have been possible to add an error code/comment for
the raised exception, but this was not done in this change because there
is another change in progress which is adding the appropriate code.

Change-Id: I1858f4eb617cc81b41610195bb9a33a9059850f7
2018-07-18 15:53:55 +01:00
Chris Dent 32034a93d3 [placement] Add gabbi coverage for an inventory change
There's a special case of changing inventories that we didn't have
gabbit coverage for: For an existing resource provider, we allow its
inventory to be changed to have a lower total than existing allocations
(See commit 09627f2a0b). There was no gabbi coverage for that case.
This adds it.

Change-Id: I34e104a766d4578f83a455b4b900ea50c9a6ec0f
2018-07-18 15:46:03 +01:00
Zuul eb4f65a795 Merge "objects: Add RequestSpec.network_metadata" 2018-07-18 12:24:19 +00:00
Zuul 98d09d519f Merge "hardware: Start accounting for networks in NUMA fitting" 2018-07-18 12:24:10 +00:00
Zuul 6742d0ad4f Merge "Transform metrics.update notification" 2018-07-18 09:25:23 +00:00
Zuul 3e72190b65 Merge "Handle HostMappingNotFound when deleting a compute service" 2018-07-18 08:52:10 +00:00
Zuul fd6ba0f5c5 Merge "Use hard coded values in schema than reference" 2018-07-18 04:47:10 +00:00
Zuul 89cd39e08d Merge "Delete port bindings in setup_networks_on_host if teardown=True" 2018-07-18 03:44:09 +00:00
Zuul 0524c732d0 Merge "Add "activate_port_binding" neutron API method" 2018-07-18 03:43:58 +00:00
Zuul 278bac5107 Merge "Add "delete_port_binding" network API method" 2018-07-18 03:43:44 +00:00
Zuul 2cb6168271 Merge "Add "bind_ports_to_host" neutron API method" 2018-07-18 03:43:33 +00:00
Zuul 13fc58d1b2 Merge "objects: Add NUMATopologyLimits.network_metadata" 2018-07-18 03:43:24 +00:00
Zuul 5095dd412b Merge "Fix ServerMigrationSampleJsonTestsV2_24 to use its own sample file" 2018-07-18 03:34:47 +00:00
Zuul 14774c647d Merge "Compute: add support to abort queued live migration" 2018-07-18 03:34:37 +00:00
Zuul 922350822f Merge "Use ThreadPoolExecutor for max_concurrent_live_migrations" 2018-07-18 03:34:29 +00:00
Takashi NATSUME c2439bac7c Transform metrics.update notification
The metrics.update notification has been transformed to
the versioned notification framework.

Change-Id: I2f6aba0c032baf181b103d2a16b8e768815170c9
Implements: bp versioned-notification-transformation-rocky
2018-07-18 09:13:27 +09:00
Zuul b46e9896f4 Merge "Call generate_image_url only for legacy notification" 2018-07-17 21:29:42 +00:00
Zuul bcbc1f9aed Merge "Add unshelve instance error info to fault table" 2018-07-17 19:59:16 +00:00
Zuul 054016902d Merge "Fix "XLibvirt KVM (ppc64)" typo in feature support matrix docs" 2018-07-17 19:35:26 +00:00
Zuul 4d6c48d962 Merge "Merge server create for scheduler hint extension" 2018-07-17 19:35:06 +00:00
Zuul 116b09010e Merge "Escalate UUID validation warning to error in test" 2018-07-17 17:38:10 +00:00
Zuul 9cf7a14ccd Merge "Fix a newly introduced UUID warning in the unit test" 2018-07-17 17:14:03 +00:00
Matt Riedemann 8d095e03cb Fix "XLibvirt KVM (ppc64)" typo in feature support matrix docs
The "X" was an extra special typo introduced in
If5c0bf2b0dcd7dbb7d316139ecb62a936fd15439

Change-Id: I109b106f161371fbebbc09b34471b7945c91edb0
2018-07-17 15:08:40 +00:00
Zuul af2a54ec0e Merge "Replace support matrix ext with common library" 2018-07-17 14:25:34 +00:00
Balazs Gibizer 93b897348b Call generate_image_url only for legacy notification
The legacy instance.exists notification includes the full url of the glance
image of the given instance. But the versioned notification only includes
the image uuid. Generating the full url can be a costly operation as it
needs to talk to Keystone.

So this patch makes sure that generate_image_url only called when the
generated information will be used.

Change-Id: I78c2a34b3d03438457cc968cd0a38b8131e4f6e6
Closes-Bug: #1757407
2018-07-17 14:01:12 +00:00
zhangbailin b26df4fa6c Add unshelve instance error info to fault table
When the image of the SHELVED_OFFLOADED instance is deleted, the unshelve
instance will report an error, but the fault info not added into instance
fault table.

Closes-bug: #1779826

Change-Id: I365fcc148b27959acad1d3c4f8bb45c1ed790318
2018-07-17 09:50:51 -04:00
Zuul 559ab33493 Merge "objects: Add NUMACell.network_metadata" 2018-07-17 13:30:15 +00:00
Kevin_Zheng 8965b1c65b Address nit in 79dac41fee
Address a nit in comment in 79dac41fee,
as it is the first patch of the series, fix it here together with other
possible nits in the future reviews to avoid rebases.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I2aa39fa38f2d6720b41289f7f710645f2cdb82be
2018-07-17 19:38:20 +08:00
Balazs Gibizer 6088f06cd3 Escalate UUID validation warning to error in test
The UUIDFields ovo field emits a warning if the field's value is not a
valid UUID. As previous patches removed all the violation from our test
code this patch now escalates the warning to exception raising to
prevent adding new violations in test in the future.

Change-Id: I0bf6d82b7c1a83419b8c54b085142af127b7a011
2018-07-17 13:26:38 +02:00
Balazs Gibizer 86aac994bb Fix a newly introduced UUID warning in the unit test
We again have places in our test where an UUID field is initialized to
a non UUID value. This patch fixes the remaning places. A subsequent
patch will force the UUID warning in our tests to error to ensure
no new violations are introduced.

Change-Id: I7f66e85453d72b35822ceb84d5dbd25324755476
2018-07-17 13:26:38 +02:00
ghanshyam 71f1fbc8a7 Merge server create for scheduler hint extension
As nova extensions has been deprecated already and goal is to
merge all scattered code into main controller side.
Currently schema and request/response extended code are there
among all extensions.

This commit merge the server_create for scheduler hint extensions.

Partially implements: blueprint api-extensions-merge-rocky

Change-Id: I0c5ceb4ed69c356aedc85cff74ef0a5d93c8f93e
2018-07-17 09:48:02 +00:00
Zuul a86604dc60 Merge "Address nits in server group policy series" 2018-07-17 06:23:25 +00:00
Zuul 094370cfef Merge "fix cellv2 delete_host" 2018-07-17 00:46:46 +00:00
Zuul 3071dc37b9 Merge "Adjust log style and remove ocata support" 2018-07-17 00:46:29 +00:00
Zuul 9856464663 Merge "z/VM Driver: add get console output" 2018-07-17 00:46:17 +00:00
Zuul 111873da1e Merge "z/VM Driver: add power actions" 2018-07-17 00:35:32 +00:00
Zuul 6f2db4bd97 Merge "z/VM Driver: add snapshot function" 2018-07-16 22:32:44 +00:00
Zuul 1f0e2bef29 Merge "Update HostState.instances during _consume_selected_host" 2018-07-16 21:24:04 +00:00
Zuul 66aece8279 Merge "network: Retrieve tunneled status in '_get_physnet_info'" 2018-07-16 20:20:32 +00:00
Zuul fdd4253f14 Merge "Add UUID validation for consumer_uuid" 2018-07-16 20:03:37 +00:00
Kevin_Zheng 4cae503767 API: add support to abort queued live migration in microversion 2.65
This patch bumped API microversion to 2.65 to add support for
abort live migrations in ``queued`` and ``preparing`` status.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I4636a8d270ce01c1831bc951c4497ad472bc9aa8
2018-07-16 13:57:11 -04:00