1392 Commits

Author SHA1 Message Date
Ilya Etingof
59b5b66c8e Add configurable Redfish client authentication
Adds 'driver_info/redfish_auth_type' option for Redfish
HTTP client to chose one of the following authentication
methods - 'basic', 'session' and 'auto'. The latter first
tries 'session' and falls back to 'basic' if session
authentication is not supported by the Redfish BMC.
Default is set in ironic config (defaulted to 'auto').

Also bumped sushy requirement to 1.3.0+

Change-Id: I11bf8413bdb3f2d7f632495bb20a71a165554b27
Story: 2003813
Task: 26565
2018-12-04 09:07:06 +01:00
Zuul
c5414620c5 Merge "Fix Chinese quotes" 2018-11-28 13:43:56 +00:00
Zuul
631af5f9bb Merge "Support for protecting nodes from undeploying and rebuilding" 2018-11-28 13:43:53 +00:00
zhangdebo
2344bb5ea5 Fix Chinese quotes
Change-Id: I678a7aff4685b8d807570a6bc69bebfaa2960c4e
2018-11-28 19:19:23 +08:00
Dmitry Tantsur
68d62f2bee Support for protecting nodes from undeploying and rebuilding
When handling the "pet" case, some nodes may be critical for the deployment.
For example, in an OpenStack installer like TripleO you may want to make
sure your controllers are not removed by an incorrect operation.

This changes introduces a new field "protected" on nodes. When it is
set to True, the "deleted" and "rebuild" provisioning actions fail with
HTTP 403.  Deleting such nodes is also not possible.

Also adds "protected_reason" for the operators to specify the reason
a node is protected.

Story: #2003869
Task: #26706
Change-Id: I1950bf6dd65b6596cae69d431ef288e578a89d6e
2018-11-27 10:07:30 +01:00
Zuul
180dc85fa9 Merge "Add download link apache configuration with mod_wsgi" 2018-11-27 08:52:44 +00:00
Tuan Do Anh
09095092b4 Add download link apache configuration with mod_wsgi
Add download link apache configuration sample from the Ironic project tree

Change-Id: I2009407debc5ab5e67bdd7d44a5b4f4c83badd9a
Story: #1628434
Task: #10138
2018-11-27 11:34:58 +07:00
Zuul
f4fee34801 Merge "Add Redfish inspect interface" 2018-11-27 03:38:09 +00:00
chenjiao
b7540256ec spelling error
Change-Id: I148f6bd1c9115f4265d67473be53bfa125d458d5
2018-11-24 10:53:36 +08:00
Zuul
8bf0d866ae Merge "Add ironic-status upgrade check command framework" 2018-11-19 09:26:50 +00:00
Nisha Agarwal
41d3356571 Add Redfish inspect interface
Add the InspectInterface to the `redfish` hardware type. This enables
OOB inspection in ironic.

Story: 1668487
Task: 10571

Co-Authored-By: Ilya Etingof <etingof@gmail.com>
Depends-On: I3a79f2afe6c838636df554ee468f8f2e0cf0859e
Depends-On: Ieb374f8cabb0418bb2680fdab690446346fc354f
Change-Id: Ie3167569db060620fe0b9784bc7d7a854f2ef754
2018-11-03 09:09:56 +01:00
whoami-rajat
1f1a2c3bd8 Add ironic-status upgrade check command framework
This adds basic framework for ironic-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I7d5f018656322b92c663a2adaaf6330a55c00fb8
Story: 2003657
Task: 26133
2018-11-01 19:58:13 +00:00
Sam Betts
55ac08ab85 [devstack] Allow setting TFTP max blocksize
Configuring the block size correctly for TFTPd prevents fragmentation of
the TFTP UDP packets, which can significantly slow down or even prevent
servers from booting correctly with PXE.

Change-Id: Ic00bbcfb3137edb58479c019edb3fcdc4ef55d69
2018-10-30 10:36:26 +00:00
Zuul
1ca9d154dd Merge "Document how to implement a new deploy step" 2018-10-24 10:29:35 +00:00
Zuul
325b0a6bd4 Merge "Add note to pxe configuration doc" 2018-10-22 19:07:16 +00:00
Zuul
a950ea43bb Merge "Fix ironic developer quickstart document" 2018-10-22 19:07:12 +00:00
Zuul
01d46be1fa Merge "Remove oneview drivers" 2018-10-22 18:58:10 +00:00
jiapei
016b7dd6c5 Fix ironic developer quickstart document
The running tempest section has a deprecated option "all-plugin",
if developer follows the steps, he will get an InvocationError.
This patch is going to fix it and a broken URL.

Change-Id: I7874817d06309287cba27d2a3d3ec7fe7c8122a2
Story: 2004139
Task: 27605
Co-Authored-By: Iury Gregory Melo Ferreira <iurygregory@gmail.com>
2018-10-22 14:49:59 +00:00
Julia Kreger
93670fef56 Add note to pxe configuration doc
Adding a note into the PXE setup instructions
indicating the existence of the ipxe boot interface
and that the ipxe_enabled option has been deprecated.

Change-Id: I4c553b7d5da080103f1d1ccf2573586d61e7cfc4
Story: #1628069
2018-10-22 14:22:44 +00:00
Zuul
e5302c71e7 Merge "Add documentation for soft power for ilo hardware type" 2018-10-20 10:10:40 +00:00
Madhuri Kumari
e411297999 Document how to implement a new deploy step
Change-Id: I1ea0f78ef3b8d1c2248352f88e5421ae0bdd5b7f
2018-10-18 23:15:06 -07:00
Iury Gregory Melo Ferreira
7a551c4f4a Remove Vagrant
The files for Vagrants are too outdated, this patch removes the
information about Vagrant in the documentation and the old files
used to set up a Vagrant environment.

Change-Id: Ieee7b76172874e67bb31055c0c40beb41785f7bb
2018-10-16 10:49:19 -04:00
Julia Kreger
abb0865771 Remove oneview drivers
In accordance with the deprecation of oneview,
It is time to remove the oneview drivers.

This patch oneview interfaces and documentation.

Change-Id: Ided79fa788411f839614813ff033c42a13b88c75
Story: #2001924
Task: #24943
2018-10-15 16:32:15 -07:00
Zuul
bce7822a73 Merge "Documentation for 'ramdisk' deploy with 'ilo-virtual-media' boot" 2018-10-12 15:24:32 +00:00
Zuul
d7bb8c3996 Merge "Add documentation for 'inject nmi' for ilo hardware type" 2018-10-12 15:24:30 +00:00
Zuul
1cdc13c61e Merge "Add automated_clean field to the API" 2018-10-09 17:41:07 +00:00
Dao Cong Tien
ca80af2234 Doc: Adds cinder as a service requires creds
Change-Id: I596118afea81fe956021feac82dfb856fd53dd9c
2018-10-09 14:18:15 +07:00
Yolanda Robla
f11c949a11 Add automated_clean field to the API
Creates the automated_clean entry in the API.

Change-Id: Ia086b2aae6665c57d2b4264c11de7b0601038a41
Story: #2002161
Task: #23368
2018-10-05 10:09:48 +02:00
Shivanand Tendulker
e25dfdcc44 Documentation for 'ramdisk' deploy with 'ilo-virtual-media' boot
This patch updates documentation of 'ilo' hardware type for
'ramdisk' deploy with 'ilo-virtual-media' boot interface.

Change-Id: I1568f6f9a33c13a0d43898065095fe59c4f43305
2018-10-04 05:28:53 -04:00
Shivanand Tendulker
36adaa4989 Add documentation for soft power for ilo hardware type
This patch updates documentation of 'ilo' hardware type for
soft power functionality.

Change-Id: I644ddf627effcb136bfa83929769da690f11470b
2018-10-04 04:01:27 -04:00
Shivanand Tendulker
b38c46f9a4 Add documentation for 'inject nmi' for ilo hardware type
This patch updates documentation of 'ilo' hardware type for
'inject nmi' functionality.

Change-Id: I09a7f3e1ce034526a7259c9cc6e7400d353391a8
2018-10-04 03:48:56 -04:00
Zuul
5ea80f0f3a Merge "Add admin documentation for rescue mode in iLO driver" 2018-10-01 15:58:21 +00:00
mallikarjuna.kolagatla
3387c9c2bf Add admin documentation for rescue mode in iLO driver
Adding rescue mode documentation for admin user in iLO driver

Depends-on: I02776ba4028de3b93ba1bccec59601d28648fd0a
Change-Id: I43f6ea7a2a76e23fcfc9c0964abc29ae5d38a12b
2018-09-28 06:39:56 +00:00
Zuul
9329018b7b Merge "Minor fixes for docs on changing hardware types" 2018-09-28 05:21:08 +00:00
Zuul
92114bb9ff Merge "Update docs to portgroup with creating windows images" 2018-09-27 22:12:56 +00:00
Zuul
4a455f161c Merge "Add admin documentation for rescue interface" 2018-09-27 16:17:24 +00:00
Dmitry Tantsur
8a75ebf42d Minor fixes for docs on changing hardware types
Addresses comments on https://review.openstack.org/#/c/585463/
Follow-up for story #2002868.

Change-Id: I5d66333796c8cdc00d0cca1e1dd4c7828ceb5612
2018-09-27 13:37:27 +02:00
Shivanand Tendulker
545b4fd363 Add admin documentation for rescue interface
This commit adds admin documentation for rescue interface
introduced in API version 1.38

Change-Id: I02776ba4028de3b93ba1bccec59601d28648fd0a
Partial-Bug: #1526449
2018-09-26 14:10:10 +00:00
Nguyen Van Trung
edd0ff7f46 Update docs to portgroup with creating windows images
This change will add how to create windows images article
in portgroup docs. these images will support to create port
bounding through ironic services.

This feature has tested on Fujitsu servers successfully.

Change-Id: I1ce941a16f080fce1699d8629a7e12a2c2d83ade
2018-09-24 04:11:14 +00:00
Kaifeng Wang
bdebd56ad9 Docs for agent http provisioning
Adds documentation for the agent http provisioning feature.

Change-Id: Id8ebf0ba890e0970fe875e6fd584429bd7a6c760
Story: 1598852
Task: 26378
2018-09-13 09:14:41 +08:00
Julia Kreger
17c3de3413 Fix doc builds for ironic
It seems that the wsme sphinx extension was concealing
issues in our doc builds, where formatting was not exactly
correct nor parsed as we would always expect as we have had
a tendency to fully document data structures as if we are
typing code.

Upon disabling the extension, the prior build failures due to
duplicate labels disappeared and other issues preventing the
docs from building successfully were raised.

It also seems that we never actually used the extension as
documented https://wsme.readthedocs.io/en/latest/document.html

$ grep -ir "wsme:root" ./ironic
$ grep -ir "wsme:type" ./ironic
$ grep -ir "wsme:attribute" ./ironic
$ grep -ir "wsme:service" ./ironic
$ grep -ir "autotype" ./ironic
./ironic/objects/fields.py:class FlexibleDictField(object_fields.AutoTypedField):
./ironic/objects/fields.py:class MACAddressField(object_fields.AutoTypedField):
$ grep -ir "autoattribute" ./ironic
$ grep -ir "autoservice" ./ironic
$ grep -ir "autofunction" ./ironic
$

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: Ib5bbd9274a4098022fba69f0e4998485d2ee2396
Story: 2003020
Task:  23043
2018-09-05 19:24:55 +02:00
Julia Kreger
199e490cbc Add vendor step placement suggestion
As discussed on irc[1], we felt the need to document the stance
on placement of vendor specific steps, in terms of what we as a
project would prefer to do and prefer to avoid.

[1]: http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2018-08-30.log.html#t2018-08-30T16:00:57

Change-Id: I795ac06a0c249697ed2f6d066dc46069c7e0f8ae
2018-08-31 10:12:50 +00:00
Zuul
d42343deea Merge "Reformat instructions related with various OS" 2018-08-25 14:23:25 +00:00
Julia Kreger
1dabeb28f8 Minor fixes to contributor vision
Change-Id: I606d447c707d9bbfd0e3f2b53c0b54aef2555709
2018-08-20 11:29:50 -07:00
Zuul
38046added Merge "A vision" 2018-08-20 15:27:09 +00:00
Zuul
19e9bb8b5d Merge "Add conductor_group docs" 2018-08-13 15:24:44 +00:00
Kaifeng Wang
f409a869ef Reformat instructions related with various OS
Follow up to "Ironic behind mod wsgi" documentation [1].

This reformats instructions and clears TODOs in the document,
similar places were found and fixed in this patch as well.

References to Fedora 21 are removed.

[1] https://review.openstack.org/#/c/407327

Change-Id: I3ded2614306df3f6ce4b1d14526b061dcaa7b829
2018-08-13 09:05:50 +08:00
Julia Kreger
951e673767 Add conductor_group docs
Change-Id: I7c4281c6b02392470600acca3d7ca84eb33af0c2
2018-08-10 13:16:37 +00:00
Shivanand Tendulker
fd6406f7ab A minor update to documentation of ilo hardware type
Change-Id: Iaa8e774bf187d9fbbe28f0b810c4a45d9d0268d7
2018-08-10 03:30:50 -04:00
Zuul
89f68e70e0 Merge "Update docs on ironic boot mode management" 2018-08-08 08:17:54 +00:00