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
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
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
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
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
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
The metrics.update notification has been transformed to
the versioned notification framework.
Change-Id: I2f6aba0c032baf181b103d2a16b8e768815170c9
Implements: bp versioned-notification-transformation-rocky
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
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
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
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
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
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
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