1715 Commits

Author SHA1 Message Date
Nisha Agarwal
6ee91fc3a6 Adds few of the security dashboard parameters to capabilities
This patch adds few of the security dashboard parameters
to iLO capabilities. It adds :
 - overall_security_status
 - last_firmware_scan_result
 - security_override_switch

Story: 2008024
Task: 40678

Change-Id: I7ef2ce1a20fbc1b258fce0f8ebd53661b24e66ff
2020-09-07 07:44:11 +00:00
Zuul
c2db0bbac3 Merge "OOB one button secure erase for iLO5 based HPE Proliant servers." 2020-09-06 11:21:35 +00:00
Zuul
edb1baa2db Merge "Update deploy steps documentation" 2020-09-04 15:40:02 +00:00
kesper
9fb4074bfe OOB one button secure erase for iLO5 based HPE Proliant servers.
This commit adds functionality to perform out-of-band one button
secure erase for iLO5 based HPE Proliant servers. Using this a
user can securely erase the whole system. It includes deleting
any deployment settings profiles, all licenses, Active Health
System (AHS) and warranty data stored there, reseting BIOS and
erasing supported non-volatile storage data.

Change-Id: I2f46a67580e8a607a91a3f6660feb85ed1827dc8
Story: #2007964
Task: #40458
2020-09-04 07:20:35 +00:00
Zuul
05f47eb3e3 Merge "Add L3 boot section to the docs" 2020-09-03 13:54:53 +00:00
Zuul
eb648c1df0 Merge "documentation: follow-up to file:// support in direct deploy" 2020-09-03 13:50:53 +00:00
Zuul
4e0b2f4c37 Merge "Allow setting image_download_source per node" 2020-09-03 13:50:46 +00:00
Zuul
c15bc2a7a1 Merge "Support caching http:// images locally in the direct deploy" 2020-09-03 13:43:40 +00:00
Dmitry Tantsur
44cf63c237 Update deploy steps documentation
Mostly links to the recently added IPA docs on in-band steps.

Change-Id: Idb8d2ed94eca89bdf8204f5c9c66c4d5c0fa403b
Story: #2006963
Task: #37790
2020-09-03 15:20:20 +02:00
Zuul
d69e46b18b Merge "Update nodes in notifications documentation" 2020-09-03 12:58:27 +00:00
Dmitry Tantsur
958f15a079 documentation: follow-up to file:// support in direct deploy
Change-Id: Id31aaaccbb8ca1e6c4e26365bd37d3f3e866592b
2020-09-03 11:55:06 +02:00
Ilya Etingof
747753f911 Add L3 boot section to the docs
Describes virtual media based L3/DHCP-less ramdisk booting in the
`redfish` hardware type documentation.

Added warning to the deploy-ramdisk docs since the images
we publish will not work.

Co-Authored: Iury Gregory Melo Ferreira <iurygregory@gmail.com>
Change-Id: If9ead46db30ce519f128550f1071a1f01f7a5ccf
Story: 2006691
Task: 37073
2020-09-02 16:57:18 +02:00
Dmitry Tantsur
840ce16668 Allow setting image_download_source per node
Allows certain flexibility when it comes to low RAM vs high RAM nodes,
and large vs small images. Also deploy_interface is settable per node,
so this feature makes it easier to migrate from the iscsi deploy.

Story: #2008075
Task: #40766
Change-Id: Idf3bbc6d24042ce1d9a895095b5cb0979dd3183d
2020-09-02 15:39:53 +02:00
Dmitry Tantsur
9ac5c02770 Support caching http:// images locally in the direct deploy
For low RAM nodes we need a way to convert even http:// images to raw
and serve them locally. Add a new image_download_source value "local"
that works the same as "http" but also affects http:// images.

Change-Id: I8da968ccfad6e7a508e9b763b9e3f96007438b6a
Story: #2008075
Task: #40765
2020-09-02 15:15:54 +02:00
Dmitry Tantsur
c31cb7d99a Support file:/// images for the direct deploy
Implemented via the same mechanism as for image_download_source=http.
Forcing raw format (and thus streaming) is supported as well.

Since we always re-calculate checksums for such images, the requirement
on providing them via the API is lifted.

Change-Id: Ife385c3b363c28559c90e5a54e9c6f6807d207ff
Story: #2008075
Task: #40764
2020-09-02 15:15:11 +02:00
Ruby Loo
5c467e7d36 Update nodes in notifications documentation
This updates the notifications documentation so that the
node information in the sample node-related notifications
reflect the latest versions of the notification payloads.
Which includes the driver_internal_info recently added to
version 1.16 of NodeSetProvisionStatePayload.

Change-Id: I87fb443ff393a2a58f9d19a9011df062f85af3af
Story: #2008054
Task: #40771
2020-08-27 12:15:36 +00: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