We currently support /[nodes, ports, portgroups, chassis]/detail as an
API endpoint for getting a detailed list of each object. This does not
fit the RESTful and resourceful API design principles of <resource
type>/<resource id> and makes it hard to consume the API from frameworks
that expect that structure. We can't remove the old endpoint, so that is
safeguarded by the restricted node names list. This patch adds a
?detail=[True, False] query string to the list API endpoints to allow
those consuming the API to use the expected URL form.
Change-Id: I694919b4a4eaa3419318bbee1cde79de15e19afa
Story: #1662921
Task: #10176
This patch exposes fault field to the API node object,
microversion and compatibility is handled.
Story: #1596107
Task: #10469
Change-Id: I31ed332be12cf98baaf01badcbb09ae4b8c6cae9
Partial-Bug: #1596107
This patch implements the feature of baremetal inspect abort.
For a node in inspect wait state, an abort request initiates the process of
introspection abort.
Adds transision from ``inspect wait`` to ``inspect failed`` with event
``abort`` to the state machine.
Adds an ``abort`` interface to ``InspectInterface``, which raises
UnsupportedDriverExtension by default.
Implements the ``abort`` interface for ironic inspector inspect interface.
API microversion is bumped for backwards compatibility.
Closes-Bug: #10602
Story: #1703089
Task: #10602
Change-Id: I02a39ed08c7c64b36c6ef05678f0af6d8324c5e2
Before this patch, when unprovisioning a node, the console was left
running. This allowed a user to view the console even after the instance
was gone. Stop the console during unprovisioning to block this.
ConductorManager._set_console_mode will now bubble up any exceptions
raised, so that we can explode as needed during unprovisioning. This
does not have any side effects, as elsewhere it is run in it's own
thread and execution was complete after handling the exception.
Also change a few mock.ANY in the relevant unit tests to the actual task
object, as cleanup.
Change-Id: Iec128444d692e0b0fbc1737eb21b0e6f69b7ec1e
Partial-Bug: #1769817
Story: #2002000
Task: #19634
The quickstart doc was missing the step of installing
python-openstackclient which has become necessary to provide
the `openstack` command. This was not required when the doc
was originally written as we then used the `ironic` command.
Change-Id: Ia529a37730b1df6c6574e10d97a25bc2e547647a
Clarify the documentation and the returned error
in order to help users understand the behavior of
BFV and the storage interface.
Change-Id: I7719ae1acf5102cdd7ed39fd2fee427fdc25e78a
Story: #2001927
Task: #14455
This removes some nova config recommendations for property-based
scheduling, as they shouldn't be used any longer. It also updates the
flavor creation document to only focus on resource classes. Last, update
the nova commands in the flavor creation document to be openstackclient
commands.
Change-Id: Ib4512ad707964a2d06b7a8428b89020b05cff0b2
As requested by the community, adding a note to the
oneview documentation to indicate the eventual removal
of oneview driers.
Change-Id: I977e74a2c484b249434bc9a7dabfa3082d2bfe7c
Story: #2001924
Task: #15062
With OpenStack Liberty, Keystone API v2.0 is depreciated, so
remove the API V2.0 endpoint registration is safe.
Change-Id: I6272741a2467e2d1e2ec1d3e425247effc034670
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.
[1]https://review.openstack.org/#/c/508522/
Change-Id: I727591e46de1a38403a8c25f0d08c57565db945b
This patch provides implementations to feature of adding inspect wait state.
Changes covered in this patch:
* Added state and transitions, state diagram regenerated.
* inspector and oneview inspect interface now return INSPECTWAIT instead of
INSPECTING. Move node to inspect wait if inspect interface returns
INSPECTING or INSPECTWAIT.
* Add a timeout option to conductor, and a periodic task to check timeout
in the inspect wait state.
Story: #1725211
Task: #10630
Partial-Bug: #1725211
Change-Id: Ie76bfdad5966014a4dae826919ff5705462c743b
While old launchpad links will still work,
we have process and contributor documentation
that needed to be updated.
Change-Id: I0890e09ba75a6ac8644ce2bea9292aab5b55cfb5
This document describes the design of a small bare metal cloud with
flat networking and conductors as part of (HA) controller nodes.
Also adds missing information about rescuing network to the common
reference architecture guide.
Change-Id: Ifd3bfcc89263cd9810cd5cfb459ffeeaf146caf7
Story: 2001745
Task: 12108
1) Use https instead of http for docs links
2) Update doc links according to OpenStack document migration
Change-Id: Ib9b2fa3b699de361d47aa80d07cdf76b7a1eb143
This adds some words about how to unmask passwords or secrets applied
by default policy.
Change-Id: I0295cfa3bce09b336a3f460e3fd7741549e8483b
Story: #1669331
Task: #9725
We have method passthru that is accepting parameter async,
but since python 3.7 use async as reserved word,
the async parameter is deprecated,
async_call should be used instead.
async parameter will be removed in the next cycle.
Change-Id: I6299aafd30faae9a93df2cb901c1505df47e6b45
Task: 9289
Story: 1751306
Currently we have a detailed explanation of how ironic is architected,
but it resides in the user guide for some reason. This change moves
relevant bits to the install guide to the existing "Bare Metal service
overview" section. The text is cleaned up (e.g. s/ironic/Bare Metal/)
and ordered to simplify reading. A link to ironic-ui is added.
The user guide still contains the bits that are helpful for users
to understand the bare metal deployment process.
Change-Id: I17e38454f7893c00b71ac29328bd80d3978ed1f4
This patch updates the notification driver option for collecting sensor
data because [DEFAULT]/notification_driver is deprecated and
'messaging' driver should only be used in cases where there are existing
consumers deployed which do not support the 2.0 message format.
Change-Id: Ia6c55149e5cb12d1201742f7008047e35570b410