This patch adds os-baremetal-nodes related routes
by a plain list, instead of using stevedore. After all the Nova
API endpoints moves to the plain routes list, the usage of stevedore
for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I2df8f897cf2d53d01e5e9156efbcddd7aa988473
This patch adds os-security-group-default-rules related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: Ifd7c8fc508c0afdb3ce14a4514862805a1569a8b
This patch adds os-security-group-rules related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
The API sample tests are missed for os-security-group-rules API,
this patch adds them to ensure the route working correctly.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I2d3ac79fdb0314014f4b8b69a9c5f27a922d9046
This patch adds server-security-groups related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I8bd7676ccb37a041548ef2df729130b8bdf7a28c
This patch adds os-security-groups related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I3dde45b63cb633819d14b5fed55403f209347be4
This patch adds image-metadata related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I466d2e1693f56ee32fa32fd74789f88c1d0a1f7c
This patch adds images related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I884dbfef8032a34d155a7022037f5690d86ef532
Requesting the specific format response should be done by HTTP header
'ACCEPT'. The way of '/resources.:(format)' doesn't support or doc
in the Nova API officially. And all of those kind of URL routes are
removed in the Pike release. This patch removes the related unittest.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I2bda2087ba1f07f6ec0f65713ce75234ff00c0df
This patch adds os-networks related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from
Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I49a424979394d0de7d8eae564468e29ee94b8bfa
This patch adds os-cells related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: Iec6e720b4e225251ce06ddfecb316569f9260913
This patch adds os-remote-consoles related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: Id192220445e296656eedb79e39042cd00bbe65a7
The stevedore will be removed from the nova API code. And the extension info
API already is implemented by a hard-code list. So this multiple create extension
entry is useless anymore.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I57caf68d62393b32f800300d4504dd726c3a37c4
This patch adds os-tenant-networks related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I54c03a5ec3311677fc095425b71c2b590ff5c987
This patch adds os-cloudpipe related routes by a plain list,
instead of using stevedore.
After all the Nova API endpoints moves to the plain routes list,
the usage of stevedore for API loading will be removed from Nova.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: Id02d878867dec642fab72981cd0b492c62c846fb
This patch adds os-quota-classes related routes by a plain list, instead
of using stevedore. After all the Nova API endpoints moves to the plain
routes list, the usage of stevedore for API loading will be removed from
Nova.
Because of os-server-group-quotas is never loaded, we can safely removed
the logic check for server-group data and possibily return it though a
microversion update if needed.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I34c776bedc0bc5fc0ef4d29dd3b8f84e914d83e2
In Nova prior to Ocata, the scheduler computes available resources for
a compute node, attempting to mirror the same calculation that happens
locally. It does this to determine if a new instance should fit on the
node. If overcommit is being used, some of these numbers can be negative.
In change 016b810f67 we changed the
compute side to never report negative resources, which was an ironic-
specific fix for nodes that are offline. That, however, has been
corrected for ironic nodes in 047da6498d.
Since the base change to the resource tracker has caused the scheduler
and compute to do different math, we need to revert it to avoid the
scheduler sending instances to nodes where it believes -NNN is the
lower limit (with overcommit), but the node is reporting zero.
This doesn't actually affect Ocata because of our use of the placement
engine. However, this code is still in master and needs to be backported.
This part of the change actually didn't even have a unit test, so
this patch adds one to validate that the resource tracker will
calculate and report negative resources.
Change-Id: I25ba6f7f4e4fab6db223368427d889d6b06a77e8
Closes-Bug: #1698383
Caching compute nodes in the request was added in change
I73a96db7beb4cc0f017008f81e9f671382ad9105. That was so the
PciHypervisorController could use them, which was an extension
on the hypervisors API.
The os-pci API (and the PciHypervisorController) was removed in
change I9099744264eeec175672d10d04da69648dec1a9d so nothing needs
the compute nodes from the request cache anymore.
Change-Id: I06aacb9d4a8cff8180010c69d3aa32c0492fe2bc
The search and servers routes have very similar code that is calling
compute_node_search_by_hypervisor and passing the hypervisor
hostname pattern. There is going to be an upcoming change where
we deprecate these APIs and move them into the index() method using
query parameters, so we'll need to use similar code. So centralize
this now so the later change is simpler and can just re-use it.
Part of blueprint service-hyper-uuid-in-api
Change-Id: Ic72b47c11b83ce5151bc34b13eb78af4676dc71a
This makes us issue the stats call once per (non-cell0) cell and
summarize the results.
Related to blueprint cells-aware-api
Change-Id: I6a2782ce4a83df8d63bc4ef09b57ae8b5cfb7fbb
Prior to this patch notifications for instance
uses different format for datetime fields
This patch aligns that formating
Co-Authored-By: Timofey Durakov <tdurakov@mirantis.com>
Change-Id: I946a92601e4268bb224fc35b2052bca7436531f4
Closes-Bug: #1657428
The keypair.create.start and keypair.create.end notifications
has been transformed to the versioned notification framework.
Change-Id: I71e9d8dae55653ad3ee70f708a6d92c98ed20c1c
Implements: bp versioned-notification-transformation-pike
The PUT /os-services/disable API does not actually check the
request body for a reason why the service is being disabled.
That's what PUT /os-services/disable-log-reason is for.
This removes that incorrect part of the API description.
Closes-Bug: #1697787
Change-Id: I7a0bbdad842e5d420085777d4fe2f9e6d3e94360
This is a carry over from the old wiki in the initial port
to in-tree docs:
https://wiki.openstack.org/wiki/HypervisorSupportMatrix/Juno
No one knows what "service control" means, and even the doc
says that, so rather than advertise something we can't even
define, let's just remove it to avoid confusion.
Change-Id: I90b6d9bf720f33175fd6e18b2480d381e90d0761
The hyper-v driver added support for fibre channel-backed volumes
with change Ib21947141aadca1fa6cb99afc07a175ce14d192e in Ocata.
Change-Id: Id27f91684dddad9235fd4cad1abae125bb13abf9
The get_available_nodes method of the powervm virt driver was
returning a string based on the machine type, model, and serial
number of the host. This was inconsistent with other drivers. It also
required a working NovaLink connection, which cannot be guaranteed.
This change replaces the MTMS string with CONF.host.
Change-Id: I82142981281f2c26c98e829c728fa96df7555ffd
Partially-Implements: blueprint powervm-nova-compute-driver