1750 Commits

Author SHA1 Message Date
Harald Jensås
ff00047b4a Switch Ironic to openstacksdk for Neutron
This patch removes the dependency from ironicclient to
communicate with neutron in favor of openstacksdk.

Also:
 * Use import keystoneauth1.loading as ks_loading accross
   the project.
 * Refactor to have one 'get_client' function, removing the
   '_get_config_client' method. Setting config_client=True
   when calling 'get_client' returns a client using auth
   options values from conf parameters.

Depends-On: https://review.opendev.org/735601
Change-Id: Ib6c0fa2acfc33deb9c5b36ae724d5d8304d1dd29
2020-08-19 10:48:17 +02:00
Shivanand Tendulker
3e9360fc3e Documentation update for ilo hardware type
Change-Id: I503c44ef9006b5f85b1dec70fc5117fda1dca792
2020-08-17 06:09:56 -04:00
melissaml
45644c64a2 [Trivial]Fix some typos in docs
Delete the duplicate words.

Change-Id: Ia6e0ebf19fbac7a035baf7b93c62cffa3e1e6ccd
2020-08-12 11:22:21 +08:00
douyali
abed175fc8 Fix error word presistent in docs
Change-Id: I4ffe8dd71b6735b5ae714557e78578c0b6816e14
2020-08-03 22:41:27 -04:00
Zuul
60ef79544e Merge "Add cirros-specific FAQ item for troubleshooting" 2020-07-30 11:21:57 +00:00
Julia Kreger
01772c31e2 Add cirros-specific FAQ item for troubleshooting
Change-Id: I7f0194356855c25371e4dd91d4e36f1181e6ff83
2020-07-30 09:17:21 +00:00
Dmitry Tantsur
52b567e7d5 Trivial: fix a minor issue in standalone docs and improve formatting
Follow-up to commit 74e9e1d82a09b5255d2dd326387ac624ac1ba447

Change-Id: I60f7ee85ee7ead430dfe216bfea5392355098bd2
2020-07-29 10:23:29 +02:00
Zuul
3670be1283 Merge "Deprecate http_basic_username and http_basic_password in [json_rpc]" 2020-07-28 19:14:00 +00:00
Dmitry Tantsur
946087020a Add subsections to the standalone documentation
Change-Id: I51da88d32e5e42c0c4e0e489c888d38b31517b59
2020-07-24 12:18:13 +02:00
Dmitry Tantsur
74e9e1d82a Deprecate http_basic_username and http_basic_password in [json_rpc]
It's very confusing that we use username/password everywhere, except
for [json_rpc]. Just use the standard options.

Also the version if keystoneauth is bumpted to one that supports
http_basic.

Change-Id: Icc834c3f8febd45c2548314ee00b85a7f9cebd2c
2020-07-24 11:51:41 +02:00
Zuul
3e92fd054b Merge "iPXE ISO Ramdisk booting" 2020-07-23 21:10:53 +00:00
Riccardo Pittau
271d85e998 Update how to release section
Based on latest changes [1] in the releases project that changed the
behavior of list_unreleased_changes.

[1] 4912f7d5d0

Change-Id: If5fd848bf3fddeb1ae66dc9aafa882588b83f41a
2020-07-23 16:18:31 +02:00
Zuul
f556e8fdff Merge "Document fast-track and the agent power interface" 2020-07-23 04:49:02 +00:00
Zuul
1f63525a1f Merge "Iso booting via redfish virtual media" 2020-07-22 04:55:59 +00:00
Zuul
15211fd886 Merge "Add wsme core types, remove WSME" 2020-07-21 09:05:14 +00:00
Dmitry Tantsur
4911477525 Document fast-track and the agent power interface
To prevent the administrator guide from growing too long, split
away advanced topics (i.e. stuff we don't expect most of admins
to read, use or understand).

Story: #2007771
Task: #40382
Change-Id: Ia3e3178692c96aaebdd4479e865a56fbe63c820a
2020-07-20 09:42:14 +02:00
Zuul
c9a0bce01b Merge "Follow-up on blocking port deletions" 2020-07-18 04:22:06 +00:00
Zuul
2876fd1790 Merge "Decompose the core deploy step on iscsi and ansible deploy" 2020-07-17 14:46:55 +00:00
Julia Kreger
0cbb0397b1 iPXE ISO Ramdisk booting
Adds an iPXE interface to boot via a virtual media ISO as if it
was virtual media.

Story: 2007644
Task: 39823
Change-Id: Ie7971692758f3a5421f0826fdaf3d2366f652236
2020-07-16 14:36:45 -07:00
Julia Kreger
ba0dc574bc Follow-up on blocking port deletions
A recent comment on https://review.opendev.org/#/c/665835
pointed out that we should likely make some changes and a fix
a missing check for the introspection_vif_port_id which was
likely introduced after this functionality was originally
written.

Also adds some documentation on the subject since we lack
docs even pointing out how to delete a port. :\

Change-Id: I0ba8a3741eefa80eb56e25a1b339f8433b3fc0dc
2020-07-16 12:47:07 -07:00
Steve Baker
44cc6dd792 Add wsme core types, remove WSME
The header for the file types.py denotes its dual-licensed status as
MIT with copyright to the original WSME authors, plus apache licensed
as part of Ironic.

Story: 1651346
Task: 10551

Change-Id: I986cc4a936c8679e932463ff3c91d1876a713196
2020-07-14 10:34:13 +12:00
Mark Goddard
63f6adf68e Decompose the core deploy step on iscsi and ansible deploy
Following the decomposition of the core step on the 'direct' deploy
interface, this change decomposed the iscsi and ansible deploy.

Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com>
Change-Id: I537c6f6cf66c80b67b9045ea0618b02b7b93d36c
Story: #2006963
Task: #40152
2020-07-13 11:36:00 +02:00
Julia Kreger
bd0033611d Iso booting via redfish virtual media
Adds support to signal a pass-through request to the
redfish-virtual-media boot interface so a user can supply
a boot ISO to boot the machine.

Tested on an HPE Edgeline e910 series machine using the
``redfish-virtual-media`` boot interface.

Story: 2007633
Task: 39823

Change-Id: Ie74472969c75994794dc0ca19bbe7cfd395855c9
2020-07-10 08:43:17 -07:00
liuyuanfeng
bf65acf6ba fix error word presistent in docs
Change-Id: I2ed072bf1e6970fe1118256eadb55c7ae0ae250a
2020-07-10 06:57:58 -04:00
Zuul
f6ea886aa6 Merge "Decompose the core deploy step of the direct deploy" 2020-07-09 14:30:45 +00:00
Zuul
c42656ea57 Merge "agent_base: support inserting in-band deploy steps" 2020-07-09 12:42:05 +00:00
liuyuanfeng
39ca67ac24 fix error word confiuration to configuration in docs
Change-Id: Ic531197f06fc0c5f6241dcc6fdd7354befb7ca26
2020-07-09 08:09:41 +00:00
Zuul
a92c536473 Merge "[doc] Describe how to extract an fs UUID from an image" 2020-07-08 21:59:24 +00:00
Zuul
19866e3ddb Merge "Provide a path to set explicit ipxe bootloaders" 2020-07-08 12:08:48 +00:00
Mark Goddard
2a6b5c14d5 Decompose the core deploy step of the direct deploy
This change decomposes the current deploy step of the direct deploy
into multiple deploy steps:

* deploy (priority 100)
* write_image (priority 80)
* prepare_instance_boot (priority 60)

Note that this patch breaks backwards compatibility with 3rd party
drivers that inherit AgentDeploy rather than the base agent class.

Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com>
Change-Id: Ief586473aca0e22b74efe83ef70c354fd5df17bf
Story: 2006963
Task: 37778
2020-07-08 11:09:53 +02:00
Dmitry Tantsur
deec7f4a92 agent_base: support inserting in-band deploy steps
Currently all almost all of the deployment process is contained in a
single deploy step called deploy, on the deploy interface. This
restricts the customisation that can be applied via deploy steps, since
steps may only be added before or after this step.

This change allows deploy interfaces inheriting agent_base.AgentDeployMixin
to be used with in-band deploy steps. It is implemented by decomposing
the reboot_and_finish_deploy call into three deploy steps:
* tear_down_agent (priority 40)
* switch_to_tenant_network (priority 30)
* boot_instance (priority 20)
All steps with priorities between 99 and 41 can run in-band.

Backwards compatibility with drivers that do not support decomposed
steps is maintained via a 'has_decomposed_deploy_steps' method on the
agent heartbeat mixin.

The old reboot_and_finish_deploy call is also left for compatibility
but does nothing since the new steps will be automatically run.

Change-Id: Ie4fdd195efa941165e22bd4ce9484988a1760b2d
Story: #2006963
Task: #40151
2020-07-08 11:08:39 +02:00
Riccardo Pittau
759b722a59 Add documentation on how to propose a release
Change-Id: I8f6abbad1612311887f16a88c0fd3b7de8659e27
2020-07-08 06:57:42 +00:00
Julia Kreger
5f7d84f483 Provide a path to set explicit ipxe bootloaders
I did something stupid when started driving forth the split of ipxe
from the pxe interface: I didn't think about the need to actually
separate bootloaders. In part, because the use case was a mixed
Power8/Power9 and x86 cluster. Mainly because the Power hardware
does not honor or care about the bootfile name provided over DHCP.
The firmware knows how to read the PXELINUX boot file format
and the machines are able to boot from there.

Where this all goes sideways is when:
* Enabled boot interfaces are set to ipxe,pxe
* No default boot interface is set
* Node is created without a default for x86 hardware.
* Node uses ipxe boot_interface, and creates files under /httpboot
* bootfile transmitted via DHCP is pxelinux.0.

Fun right?

The simple workaround for the power user is to just define the iPXE
loader, or maybe use UEFI. But that is neither here nor there, this
is still a bug and a possible use case is GRUB2 via PXE and iPXE.
Not that would really work via ipxe, but hopefully people get the
idea.

The solution kind of seems clear, duplicate configuration and
fallback if not defined.

Story: #2007003
Task: #40282
Change-Id: I4419254c23095929e52a0fda11789f2f5167dc6b
2020-07-07 12:38:33 -07:00
Arne Wiebalck
25dbdb7dc7 [doc] Describe how to extract an fs UUID from an image
For software RAID, the image needs to have the root filesystem UUID
as metadata. This patch describe how to extract this UUID from an
existing image.

Change-Id: Ifdb63a80d4138a41fd0bac9880d14c90a4378fe5
2020-07-06 12:45:30 +02:00
Zuul
5026854e31 Merge "Add a bug reporting and triaging guide" 2020-07-02 21:45:30 +00:00
Riccardo Pittau
15079e3c9c Prepare release notes and docs for release 15.1
Change-Id: I14ac07661b8741684dcf77ced9e782b57c947d79
2020-07-02 11:03:23 +02:00
Zuul
8078a1405e Merge "Enable HTTP Basic authentication for JSON-RPC" 2020-06-24 12:41:57 +00:00
Dmitry Tantsur
2f5456759e Add a bug reporting and triaging guide
Change-Id: If692795221661414b2990f8131433678402dd45b
2020-06-23 14:48:46 +02:00
Zuul
f266971b13 Merge "Fix: review from dtantsur of 728123" 2020-06-18 19:06:04 +00:00
Steve Baker
350d84ed41 Enable HTTP Basic authentication for JSON-RPC
Change-Id: I90c4d5ef925c1dbb120948e3c0fe5982c9d997a0
Story: 2007656
Task: 39827
2020-06-18 09:35:47 +12:00
Zuul
1c0a9c8c28 Merge "[doc] Fix indentation in admin/troubleshooting" 2020-06-17 10:24:54 +00:00
Qianbiao.NG
0961b17502 Fix: review from dtantsur of 728123
This patch aims to fix issues proposed by dtantsur for 728123[1].

[1] https://review.opendev.org/#/c/728123/

Change-Id: I32c3e15aaa2ab0215d50921bdc9ee5c27c1c490c
2020-06-17 17:41:55 +08:00
Steve Baker
62408b32ae Document http_basic auth strategy
Change-Id: Iafb3e22e7fae84b733e2996c2512d1c9b4577359
Story: 2007656
Task: 39753
2020-06-15 13:05:37 +12:00
Zuul
15f0dc93df Merge "doc: fix endpoint_override for inspector" 2020-06-11 16:35:09 +00:00
Zuul
50e06f4582 Merge "Feature: Add raid configuration support for ibmc driver" 2020-06-11 16:35:03 +00:00
Mohammed Naser
864a0a568b doc: fix endpoint_override for inspector
The documentation claims that the option to override the endpoint for
inspector is endpoint-override, but it's endpoint_override.

Change-Id: I9b1a15fde0654c3164f81a3d547340cbe8e607bf
2020-06-11 10:52:08 -04:00
Arne Wiebalck
d602543dcb [doc] Fix indentation in admin/troubleshooting
Change-Id: I337a2441c5788f133a26734e7f0702ccd0508498
Also: remove a TODO since this should be covered now.
2020-06-10 14:55:40 +02:00
Qianbiao.NG
cd6e5ec497 Feature: Add raid configuration support for ibmc driver
This patch proposes to adding raid configuration support for HUAWEI iBMC driver.

Story: 2007554
Task: 39406
Signed-off-by: Qianbiao.NG <iampurse@vip.qq.com>
Change-Id: Iace17b2d233323f4648d2857ec1b9fb83d42c045
2020-06-10 16:17:50 +08:00
Zuul
65c8e06fdb Merge "[doc] Extend trouble shooting docs for node stuck in wait states" 2020-06-09 10:41:19 +00:00
Zuul
41692a7c11 Merge "[doc] Check placement in case of "No valid host found"" 2020-06-09 09:15:25 +00:00