1750 Commits

Author SHA1 Message Date
Zuul
e49ccfbdc1 Merge "Add instance_info/kernel_append_params to redfish" 2019-11-25 23:39:30 +00:00
Dmitry Tantsur
daa26b85db docs: update the local development quickstart to use JSON RPC
No need to make everyone install rabbitmq just to play with ironic.
Also make it clearer that MySQL is not required.

Change-Id: Ib286f30f16579815ca05c8477f7fd446cad6e453
2019-11-25 12:52:26 +01:00
Iury Gregory Melo Ferreira
b869b46c63 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Ironic is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I3cc36d79ffabf31607d503dada9e7512c639647c
2019-11-22 14:06:45 +01:00
Ilya Etingof
605f744570 Add instance_info/kernel_append_params to redfish
Adds `instance_info/kernel_append_params` property support to
`redfish` hardware type. If given, this property overrides
`[redfish]/kernel_append_params` ironic option.

The rationale for adding this property is to allow passing
node-specific kernel parameters to instance kernel.

One of the use-cases for this is to pass node static network
configuration to the kernel.

Change-Id: Ib1617f5a7ab34968d8bfe06fe49f3ba68e56f99f
Story: 2006691
Task: 36988
2019-11-21 12:39:53 +01:00
Steve Baker
7ebad2e344 Allow vendor_data to be included in a configdrive dict
configdrive can contain a vendor_data2.json file containing key/value
pairs injected by nova's vendordata mechanism[1].

This change lets Ironic accept a vendor_data key when configdrive is
provided as json, allowing parity with nova.

This change requires an openstacksdk release 0.37.0

[1] https://www.madebymikal.com/nova-vendordata-deployment-an-excessively-detailed-guide/

Change-Id: Id990b970619a113c5d5ead47fb550870d91b5e04
Task: 36756
Story: 2006597
Blueprint: nova-less-deploy
2019-10-31 08:55:39 +13:00
Zuul
b462ca420b Merge "Improve iDrac Documentation" 2019-10-30 13:58:50 +00:00
Mark Beierl
d114c75d83 Improve iDrac Documentation
Adds additional details on how to use the iDrac driver with
Ironic.

Change-Id: I598181a8227179b8c587b31905e38aa7595eef87
Co-Authored-By: Pranjali Srivastava <srivastavapranjali@ymail.com>
2019-10-28 13:53:02 -04:00
Zuul
bbb9bbb305 Merge "Using loop instead of with_X" 2019-10-26 05:40:51 +00:00
Zuul
56743e4232 Merge "Update release with information about zuul job" 2019-10-24 14:31:01 +00:00
Riccardo Pittau
89c30cb923 Using loop instead of with_X
The loop keyword is the current recommended way to handle loops,
and supports filters.
It's available since Ansible version 2.5 so changing ansible
requirement in driver-requirements.

Change-Id: Ibff1f07ca00b8f5a5274d73f9e53196f49c33a66
2019-10-24 10:02:20 +02:00
Zuul
0f95848d6f Merge "Add virtual media boot section to the docs" 2019-10-24 02:31:05 +00:00
Iury Gregory Melo Ferreira
3fa0397241 Update release with information about zuul job
After a release we need to update the `templates` for zuul
in master to have the job for the new cycle.

Change-Id: Ic275ea9ec97f74732f4bafa99037c2d8a8229b91
2019-10-23 12:50:12 +02:00
Ilya Etingof
ddcc7cc5e7 Add virtual media boot section to the docs
Describes virtual media boot in the `redfish` hardware type
documentation.

Change-Id: I7913a6693db46947de649e7b3a0dc7784e2b527e
2019-10-22 18:24:13 +02:00
Zuul
f85dc1b350 Merge "docs: use openstackdocstheme extlink extension" 2019-10-21 17:11:43 +00:00
Dmitry Tantsur
5d5cd90ddf Document systemd-nspawn as a nice trick for patching a ramdisk
Change-Id: I1f6d60a1db272293b701b44d705efc92933682a7
2019-10-17 13:05:40 +02:00
Shivanand Tendulker
d0489b55e0 Documentation for iLO hardware type deploy steps
Adds documentation for iLO hardware type deploy steps

Story: 2003817
Task: 36061
Story: 1722275
Task: 29904
Task: 36074
Change-Id: Icee6254a563bed14221da2723e15855bda9f4082
2019-10-09 07:55:23 -04:00
Riccardo Pittau
a25589b20f docs: use openstackdocstheme extlink extension
The extlink extension [1] ensures the urls have version-specific
references to other projects.

[1] https://docs.openstack.org/openstackdocstheme/latest/#external-link-helper

Change-Id: I0d5d445fae8a7ec60f6a9caacede7cc77770b36e
Story: 2006621
Task: 36825
2019-10-08 11:12:05 +02:00
Zuul
fd8b9747cb Merge "Remove earliest version from releasing docs, update examples" 2019-09-27 09:04:43 +00:00
Zuul
dddaa13b3f Merge "Update doc for CI" 2019-09-26 17:07:22 +00:00
Mark Goddard
f533f42ca6 Remove earliest version from releasing docs, update examples
The bug in reno is now fixed.

Change-Id: I803ec65157fce93a453b2b994e117a542aaad847
2019-09-26 15:49:35 +01:00
Iury Gregory Melo Ferreira
225ca979cd Update doc for CI
- Ara report was removed and we have the Zuul web page
that shows the information about the job build.

Change-Id: I74f70ee21421746983cb3c8d290cc6a619819e34
2019-09-26 15:32:26 +02:00
Dmitry Tantsur
dae6caca5c Document pre-built ramdisk images (including DIB)
Change-Id: Id4ba0992982788a03f960095e564df4fe7f3f518
2019-09-26 14:31:23 +02:00
Zuul
511477b697 Merge "Improve documentation about releasing deliverables" 2019-09-25 15:24:20 +00:00
Mark Goddard
f2c2437329 Improve documentation about releasing deliverables
Groups together the various types of deliverable, from the perspective
of the release schedule.

Change-Id: Ic6703c17fcd931636c31841637b450e3fb59e19f
2019-09-25 13:36:17 +00:00
Zuul
8912c061c6 Merge "Update env. variables in the documentation" 2019-09-23 22:13:07 +00:00
Dmitry Tantsur
b164e18f08 Document PXE retries
Change-Id: I5937fa190e780269ffa677aa01efaa1048fa20b0
2019-09-23 16:02:42 +02:00
Manuel Buil
cad66b0323 Update env. variables in the documentation
This patch:
6df83e0bc5

changes the variables that must be exported to use ironic in standalone
mode. The old env. variables:

export OS_URL=http://localhost:6385/
export OS_TOKEN='fake-token'

must be replaced by:

export OS_ENDPOINT=http://localhost:6385/
export OS_AUTH_TYPE=none

Change-Id: Ia2ae95af66f701198d5e3174a7cb5564664ae038
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-09-23 15:14:42 +02:00
Zuul
9762fba094 Merge "iLO driver doc update" 2019-09-21 18:24:56 +00:00
Zuul
f7e1739c0c Merge "Build pdf doc" 2019-09-21 10:50:42 +00:00
Zuul
0ea2aa07cb Merge "Remove support for CoreOS images" 2019-09-18 07:59:29 +00:00
Ruby Loo
7c5839064f Remove cisco references and add release note
The cisco hardware types and interfaces were removed in
Ie12eaf7572ce4d66f6a68025b7fe2d294185ce28. This removes the
last few references to them, and adds a release note about
their removal.

Change-Id: I6d11dda0132d999b2dbf6bbd47cac55336e1d079
Story: 2005033
Task: 29522
2019-09-13 19:58:36 +00:00
Zuul
a013860768 Merge "iLO driver doc update" 2019-09-12 20:45:05 +00:00
Dmitry Tantsur
cbeb9cc79f Remove support for CoreOS images
Also remove the remaining elilo test template instead of updating it.

Change-Id: I79a49837f4d0dd6a432895e8997158a51feb99c3
2019-09-09 15:59:34 +02:00
Kaifeng Wang
9aab525d45 Build pdf doc
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.

TeX packages are required to build PDF locally, following is recommended:

* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended

More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems

Change-Id: Icf1e4b58675b23e82ee6f6d79eb8852436ed55bb
2019-09-06 14:50:02 +08:00
kesper
cb87c5745a iLO driver doc update
Doc update for 'Out-of-Band Sanitize Disk Erase'.

Change-Id: Ibefc18a0a607500fd918eca43af31a9d47745846
2019-09-06 06:39:52 +00:00
Zuul
1f68fb9073 Merge "add table of available cleaning steps to documentation" 2019-09-05 13:33:44 +00:00
Madhuri Kumari
9eebf2603e Use openstack cli in image creation guide
Change-Id: Ia3bd0d5f4b50220b7b8a6f574a289e8969af70f8
2019-09-05 16:02:24 +05:30
Shivanand Tendulker
c35f7d9483 iLO driver doc update
Doc update for 'ilo_ipxe' boot interface

Change-Id: I68253f15a0d9527b8733188091abdcbf4714c02e
Story: 2006408
Task: 36292
2019-09-05 02:41:23 -04:00
Doug Hellmann
e21aad3fd2 add table of available cleaning steps to documentation
The documentation currently has no information at all about what steps
are available *generally* for automated or manual cleaning. Users who
want to find this information must review the source code themselves,
except in one or two cases where driver-specific documentation has the
details spelled out.

This patch adds a series of tables to the general cleaning
documentation to provide details about the steps one could possibly
add to the instructions given to ironic, along with details about
required parameters and what the effect of each step will be.

Change-Id: I6b225cce38b815248c457814508531041c437e6d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2019-08-30 15:23:43 -04:00
Zuul
e518bebe03 Merge "Support power state change callbacks to nova using ksa_adapter" 2019-08-24 02:20:13 +00:00
Gaëtan Trellu
678114799d Pass target_raid_config field to ironic variable
In order to create/delete RAID configuration via the Ansible driver
we should be able to retrieve the JSON target_raid_config data from
the node.

Change-Id: Ie1bbefbc438a6c7f4592ea96ff84d2d5eb2d412d
Story: 2006417
Task: 36307
2019-08-22 08:46:02 -04:00
Surya Seetharaman
d693d4c06c Support power state change callbacks to nova using ksa_adapter
Add power state change callbacks of an instance to nova by
performing API requests. Whenever there is a change in the
power state of a physical instance (example a "power on"
or "power off" IPMI command is issued or the periodic
``_sync_power_states`` task detects a change in power state)
ironic will create and send a ``power-update`` external event
to nova using which nova will update the power state of the
instance in its database. By conveying the power state changes
to nova, ironic becomes the source of truth thus preventing
nova from forcing wrong power states on the instance during
the nova-ironic periodic sync. It also adds the possibility of
bringing up/down a physical instance through the ironic API
even if it was put down/up through the nova API.

Note that ironic only sends requests to nova if the target
power state is either "power on" or "power off". Other error
states will be ignored. In cases where the power state change
is originally coming from nova, the event will still be
created and sent to nova and on the nova side it will be a
no-op with a debug log saying the node is already powering on/off.

NOTE: Although an exclusive lock (task_manager.upgrade_lock()
method) is used when calling the nova API to send events,
there can still be a race condition if the nova-ironic power sync
happens to happen a nano-second before the power state change
event is received from ironic in which case the nova state will
be forced on the node.

Credit for introducing ksa adapter: Eric Fried <openstack@fried.cc>
Depends-On: https://review.opendev.org/#/c/645611/
Part of blueprint nova-support-instance-power-update
Story: 2004969
Task: 29424

Change-Id: I6d105524e1645d9a40dfeae2850c33cf2d110826
2019-08-12 19:29:57 +02:00
Andreas Jaeger
9eccadbf19 Docu: Fix broken link
Fix broken RST that generated a link to
https://docs.openstack.org/../tools/link_aggregation_on_windows.ps1
which does not exist. Instead link to the file in git.

Change-Id: I4d941f9f39e49dcd997c1a82c9a2aba42c8a468a
2019-08-09 21:40:40 +02:00
Alexandra Settle
c740ae0a2f Fixing broken links
Change-Id: Ie3b699a0010c88366a0814db28fc7cbac123a8b2
Backport: stein rocky
2019-08-09 11:45:36 +00:00
Dmitry Tantsur
7a3d9a664e Clean up RAID documentation
* Use more copy-paste friendly indentation in the examples
* Use subheadings for properties
* Render JSON examples as JSON
* Remove explicit API version from CLI, we've been defaulting
  to latest for several releases.
* Small fixes

Change-Id: I1cae6e9b4ff124e3404bd55638bc77bdf3465fe0
2019-08-07 18:26:22 +02:00
Zuul
aded2c8b31 Merge "Follow-up to the IntelIPMIHardware patch" 2019-08-02 23:08:24 +00:00
Zuul
7e0441bbb1 Merge "Update software RAID configuration documentation" 2019-08-02 21:18:01 +00:00
Dmitry Tantsur
521c086853 Update software RAID configuration documentation
This provides a bunch of updates based on user testing of the feature.
Also the lines are wrapped and inter-document links are created.

Change-Id: Ia3408aee3ebcd4ad5deedaa48967f46134ad2cfc
2019-08-02 17:50:20 +02:00
Zuul
2637e59a84 Merge "Use openstacksdk for accessing ironic-inspector" 2019-08-02 14:48:39 +00:00
Dmitry Tantsur
d6774c294d Use openstacksdk for accessing ironic-inspector
Change-Id: Ibe4f6bf0b38364b5dd214e6c7e58d45a4d71ffdf
2019-07-31 15:23:39 +02:00