This patch deprecates os-hosts APIs including:
GET /os-hosts - list hosts
GET /os-hosts/{host_name} - show host details
PUT /os-hosts/{host_name} - update host status
GET /os-hosts/{host_name}/reboot - reboot host
GET /os-hosts/{host_name}/shutdown - shutdown host
GET /os-hosts/{host_name}/startup - start host
Much of the ``os-hosts`` API is duplicated with the ``os-services`` and
``os-hypervisors`` APIs. It's not a good idea to make nova have the
compute related API, so this patch deprecated them.
Implements blueprint deprecate-os-hosts
Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>
Change-Id: Ieb85653b85a1eff38a9fb0c9ff05e4cd39150ecc
11 lines
503 B
YAML
11 lines
503 B
YAML
---
|
|
deprecations:
|
|
- |
|
|
The ``os-hosts`` API is deprecated as of the 2.43 microversion. Requests
|
|
made with microversion >= 2.43 will result in a 404 error. To list and show
|
|
host details, use the ``os-hypervisors`` API. To enable or disable a
|
|
service, use the ``os-services`` API. There is no replacement for the
|
|
`shutdown`, `startup`, `reboot`, or `maintenance_mode` actions as those are
|
|
system-level operations which should be outside of the control of the
|
|
compute service.
|