1252 Commits

Author SHA1 Message Date
Sam Betts
233d7d5727 Add detail=[True, False] query string to API list endpoints
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
2018-06-18 19:40:07 +00:00
Zuul
bfbe14b873 Merge "change 'a optional path' to 'an optional path'" 2018-06-12 11:30:50 +00:00
wangdequn
0b0e257455 change 'a optional path' to 'an optional path'
Change-Id: I54668ee39af61f19af0206deb6b9a479e338f767
2018-06-12 17:33:32 +08:00
XiaojueGuan
4f0412444f Update links in README
Change the outdated links to the latest links in README

Change-Id: I866068aabce6a5be2e6fee4d9f286b776cf008c7
2018-06-12 16:45:01 +08:00
Zuul
30a9872cf6 Merge "Remove the "fake" and "fake_soft_power" classic drivers" 2018-06-09 00:53:27 +00:00
Zuul
fdd4340b82 Merge "[Doc] Scheduling needs validated 'management' interface" 2018-06-07 05:10:33 +00:00
Dmitry Tantsur
d95197628c Remove the "fake" and "fake_soft_power" classic drivers
The grenade configuration is updated to disable the fake driver.

Change-Id: Ica2b466a1a22ca2e5d1362377692cc39ef53ce2c
2018-06-06 16:15:49 +02:00
Kaifeng Wang
8ee2f4b58f Power fault recovery follow up
This patch addresses comments relate to API and notification.

[1] https://review.openstack.org/#/c/558152
[2] https://review.openstack.org/#/c/556015/

Story: #1596107
Task: #10469

Change-Id: Ic2f7e6847790ae7af43570ca7af572539e7d5f2c
2018-06-06 13:20:55 +00:00
Kaifeng Wang
b4c4eb99fc Power fault recovery: API implementation
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
2018-06-01 20:10:25 +08:00
Zuul
12faf83968 Merge "Implements baremetal inspect abort" 2018-05-31 23:37:46 +00:00
Julia Kreger
146bbb48cc Add mock to doc requirements to fix doc build
Change-Id: Id614d383c2e1b8736399d03df8cea3d05b7e6975
Story: #2002135
Task: #19823
2018-05-31 13:36:30 -07:00
Vladyslav Drok
1b5de915bf Fix task_manager process_event docstring
It became a warning treated as error recently.
Also skips tests directory while building docs.

Change-Id: Ie95814ae42c35be5f5dee956a71bea9b60d90ba9
2018-05-31 08:35:12 +03:00
Kaifeng Wang
bce7f11785 Implements baremetal inspect abort
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
2018-05-30 21:04:37 +08:00
Arne Wiebalck
fd805e212a [Doc] Scheduling needs validated 'management' interface
Change-Id: I1e139a66b1152d79519e36b4101382a07a99e2a3
2018-05-30 12:58:32 +02:00
zshi
254d370331 Add Node BIOS support - REST API
Change-Id: Ie7570736498b4750eff2d9262f63ab0960b3b594
Partial-Bug: #1712032
Co-Authored-By: Yolanda Robla <yroblamo@redhat.com>
2018-05-28 12:17:39 +02:00
Jim Rollenhagen
7a8b26db6b Tear down console during unprovisioning
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
2018-05-11 13:14:18 +00:00
Julia Kreger
d2f2afa249 Install OSC during quickstart
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
2018-05-08 14:33:36 -07:00
Zuul
94b10d7ab3 Merge "Clarify image_source with BFV" 2018-05-04 16:03:02 +00:00
Julia Kreger
863aa34145 Clarify image_source with BFV
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
2018-05-03 15:50:07 -07:00
Jim Rollenhagen
f2502ccc79 Update install guide to require resource classes
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
2018-05-03 08:08:43 -04:00
Julia Kreger
0f404fa76c Add note to oneview docs re: derprecation
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
2018-04-30 11:22:14 -07:00
wu.chunyang
3ae836d608 Remove the Keystone API V2.0 endpoint registration
With OpenStack Liberty, Keystone API v2.0 is depreciated, so
remove the API V2.0 endpoint registration is safe.

Change-Id: I6272741a2467e2d1e2ec1d3e425247effc034670
2018-04-28 17:05:36 +08:00
Zuul
64b42f1c31 Merge "Trivial: Update pypi url to new url" 2018-04-24 18:59:36 +00:00
Zuul
d917f32060 Merge "Implementation of inspect wait state" 2018-04-24 14:44:41 +00:00
melissaml
909c2678be Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I43637859b8c183c8ca17200b337845385e546973
2018-04-21 04:02:09 +08:00
caoyuan
655038bd8b Update auth_uri option to www_authenticate_uri
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
2018-04-11 22:47:12 +08:00
Zuul
9cc6ffd3e0 Merge "Update Launchpad references to Storyboard" 2018-04-11 14:03:56 +00:00
Kaifeng Wang
6df82ee2bc Implementation of inspect wait state
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
2018-04-10 11:21:46 +08:00
Julia Kreger
006950e3ca Update Launchpad references to Storyboard
While old launchpad links will still work,
we have process and contributor documentation
that needed to be updated.

Change-Id: I0890e09ba75a6ac8644ce2bea9292aab5b55cfb5
2018-04-09 12:37:14 -07:00
Zuul
c03dfbf2eb Merge "Follow the new PTI for document build" 2018-04-09 16:28:41 +00:00
Zuul
8db79f0f2c Merge "Update and replace http with https for doc links" 2018-04-09 14:26:57 +00:00
Zuul
362eef1407 Merge "Reference architecture: small cloud with trusted tenants" 2018-04-09 12:55:49 +00:00
Nguyen Hai
7ba42e091d Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

[doc/requirements.txt] & [test-requirements.txt]
To support documentation generation in new PTI, project should have
list python dependencies needed for documentation in
doc/requirements.txt which are move from test-requirements.txt

[doc/source/contributor/index.rst] & [setup.cfg]
- Remove [pbr] section in setup.cfg [3], and unrelated lines in
contributor/index.rst
[3] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
- Add sphinxcontrib.apidoc to replace pbr autodoc

[tox.ini]
--ignore D000: pep8 require sphinx (which move to doc/requirements.txt)
to test doc/source files, however, docs already test the doc/source.
Therefore we can ignore the D000 error code.

Depends-On: https://review.openstack.org/#/c/559327/
Change-Id: Iee90f19a5e46978a97035eab7e4b1e0ec68b8684
2018-04-06 14:33:47 +00:00
Dmitry Tantsur
1ffa7571d3 Reference architecture: small cloud with trusted tenants
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
2018-04-06 13:33:27 +02:00
melissaml
9ea09fca8a Update and replace http with https for doc links
1) Use https instead of http for docs links
2) Update doc links according to OpenStack document migration

Change-Id: Ib9b2fa3b699de361d47aa80d07cdf76b7a1eb143
2018-04-04 22:14:26 +08:00
Kaifeng Wang
739fa6c2ef Describe unmasking fields in security document
This adds some words about how to unmask passwords or secrets applied
by default policy.

Change-Id: I0295cfa3bce09b336a3f460e3fd7741549e8483b
Story: #1669331
Task: #9725
2018-04-03 17:15:14 +08:00
Zuul
8b42df6f44 Merge "Do not use async parameter" 2018-03-29 19:20:05 +00:00
Oleksiy Petrenko
0267c271d0 Do not use async parameter
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
2018-03-28 12:00:55 +03:00
Zuul
cf0b64c4c5 Merge "Remove the link to the old drivers wiki page" 2018-03-27 12:39:34 +00:00
Dmitry Tantsur
5bbeb8b4d0 Remove the link to the old drivers wiki page
Change-Id: I3581936b8be870e8d24eac1670bda5f79b44f112
2018-03-26 19:11:29 +02:00
melissaml
6843be24f6 fix typos in documentation
Change-Id: I77d39932ea92113a37b9a14d67a411d1ae991be4
2018-03-23 08:30:57 +08:00
Zuul
6f0aac919b Merge "Infiniband Port Configuration update[1]" 2018-03-20 18:17:04 +00:00
Lenny Verkhovsky
7c3058a8e6 Infiniband Port Configuration update[1]
[1] https://review.openstack.org/#/c/548396/

Change-Id: Idff8a09f917f9fc2891aecd395bb13f2cc097284
2018-03-20 14:56:31 +00:00
Dmitry Tantsur
c9e079da68 Rework Bare Metal service overview in the install guide
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
2018-03-19 17:30:18 +01:00
Zuul
c938adc15b Merge "Add 'Other considerations' to security doc" 2018-03-16 20:46:41 +00:00
Zuul
13f8cff505 Merge "Update config option for collecting sensor data" 2018-03-13 14:20:20 +00:00
Hironori Shiina
013992bf66 Update config option for collecting sensor data
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
2018-03-13 11:41:54 +09:00
Zuul
0c32e46c27 Merge "Update release instructions wrt grenade" 2018-03-12 12:01:18 +00:00
Zuul
2be6365f10 Merge "Update iLO documentation for deprecating classical drivers" 2018-03-10 09:58:43 +00:00
Nisha Agarwal
253c37792f Update iLO documentation for deprecating classical drivers
Change-Id: I3e66787839fda3d785ced0a9512793f77f7a23a4
2018-02-21 08:38:56 +00:00