1877 Commits

Author SHA1 Message Date
Zuul
313af0b32b Merge "Followup patch for security dashboard clean steps" 2021-04-22 09:22:45 +00:00
Zuul
eaaefbe394 Merge "Aliases for a few unfortunately named state transitions" 2021-04-21 03:35:05 +00:00
kafilat-adeleke
5c303a5e0a Aliases for a few unfortunately named state transitions
This RFE proposes a new microversion that will provide
aliases to two poorly named provisioning verbs
to match the existing CLI commands

Story: #2007551
Task: #39402
Change-Id: Ifd14aebbfb4b17c5108f44092dac0b89d1c2c50a
2021-04-15 08:25:13 +01:00
ankit
5a27ea6fe6 Followup patch for security dashboard clean steps
This patch addresses all the remaining comments on the
security dashboard clean steps for ilo driver.

Change-Id: Id454642439d09fa8edd7bab9259dfc4ba9b55a01
2021-04-13 10:16:31 +00:00
Zuul
4d79021513 Merge "Fix typo in security docs around is_admin rule" 2021-04-08 07:52:16 +00:00
Zuul
d2e7f36949 Merge "Add security dashboard clean steps to ilo drivers" 2021-04-07 13:57:59 +00:00
ankit
f5413a9bd5 Add security dashboard clean steps to ilo drivers
This commit adds new clean steps security_parameters_update,
update_minimum_password_length and update_auth_failure_logging_threshold
to allow users to edit following security parameters which fetched
during node inspection -
``Password_Complexity``, ``RequiredLoginForiLORBSU``,
``RequireHostAuthentication``, ``MinPasswordLength``,
``IPMI/DCMI_Over_LAN``, ``Authentication_failure_Logging``,
and ``Secure_Boot``.

Story: 2008024
Task: 40736
Change-Id: I0dd9a83ee23c6b846eda3ff171ab7b3138b22fa7
2021-04-05 17:53:28 +00:00
Zuul
3b2d15394e Merge "Follow-up Automaticaly set cipher suite" 2021-04-01 10:08:40 +00:00
Zuul
5249646f64 Merge "Add agent_status and agent_status_message params to heartbeat" 2021-04-01 07:09:33 +00:00
Arun S A G
288b8fd883 Add agent_status and agent_status_message params to heartbeat
agent_status is used by anaconda ramdisk to inform the
conductor about state of the deployment. Valid agent
states are 'start', 'end' and 'error'. The agent_status_message
is used to describe the why the agent_status is set to a
particular state. Use of these parameters require API
version 1.72 or greater.

When anaconda finishes deployment the agent_status is
set to 'end'. When anaconda ramdisk is unable to deploy
the OS for some reason the agent_status is set to 'error'.

PXEAnacondaDeploy is implemented to handle the 'anaconda'
deploy interface. PXEAnacondaDeploy ties to together pieces
needed to deploy a node using anaconda ramdisk.

Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Change-Id: Ieb452149730510b001c4712bbb2e0f28acfc3c2e
2021-03-31 14:20:39 -07:00
Iury Gregory Melo Ferreira
a036728fb4 Follow-up Automaticaly set cipher suite
This commit is a follow-up to  I6788585a83268e20ff6447e570995871bc9c25d5

Change-Id: I658b6b4eca7978473b08244c349ea5ac8bf37f76
2021-03-31 18:35:45 +02:00
Zuul
c9f9c2ca9b Merge "Generic way to configure clean step priorites" 2021-03-31 16:30:19 +00:00
Jacob Anders
1523ae1ce4 Generic way to configure clean step priorites
This change adds a generic method of configuring clean step
priorities instead of making changes in Ironic code every time a new
clean step is introduced.

Change-Id: I56b9a878724d27af2ac05232a1680017de4d8df5
Story: 1618014
2021-03-31 14:11:49 +10:00
Jason Anderson
7813fe8888
Fix typo in security docs around is_admin rule
The security docs give an example of how to enable admins to show
passwords via the API, but the policy guidance is wrong. There is no
"is_admin" _role_, it is instead a _rule_.

Change-Id: Ic14ebc04f01bece1460f6244ec2dd88c8dd00b0e
2021-03-30 14:56:52 -05:00
Zuul
34b2183862 Merge "[doc] Warning about out-of-sync ESPs for UEFI software RAID" 2021-03-29 23:38:19 +00:00
Zuul
356734aaca Merge "Automaticaly set cipher suite" 2021-03-29 10:51:18 +00:00
Arne Wiebalck
fc457a49d7 [doc] Warning about out-of-sync ESPs for UEFI software RAID
Add a note that the ESPs created by the IPA may get out of sync.

Change-Id: Ie2553eac42ed2e36a9be0b9720a79269a08e3252
2021-03-29 09:45:41 +02:00
Arne Wiebalck
86c34114d8 [doc] Update available software RAID levels.
The initial RAID levels have been extended by levels 5 and 6.
Update the documentation to reflect this.

Change-Id: Ifd7eb9d836b6fbf0a08648654ef2080b9717be83
2021-03-29 09:35:29 +02:00
Iury Gregory Melo Ferreira
b029fb3770 Automaticaly set cipher suite
In some cases the operator can't specify `ipmi_cipher_suite`
for each node and the problem with session can still occour:
`Error in open session response message : no matching cipher suite`

This patch adds a new configuration option that will take a list
of possible cipher suite versions that can be used when the error
occurs and the node doesn't have the `ipmi_cipher_suite` set.

Story: 2008739
Task: 42093
Change-Id: I6788585a83268e20ff6447e570995871bc9c25d5
2021-03-29 05:50:25 +02:00
Zuul
3f219703f1 Merge "redfish boot_interfaces, ipmitool -> pxe" 2021-03-26 13:10:42 +00:00
Bernd Mueller
918f3c33c3 redfish boot_interfaces, ipmitool -> pxe
Change-Id: I10fd83b081e56dff686be9698e63585dec8676a8
2021-03-25 16:52:02 +01:00
Dmitry Tantsur
133dac255f Allow overriding an external URL for virtual media
Virtual media deployments can be conducted outside of the provisioning
network as long as the node gets an IP address somehow and can reach
ironic and its HTTP server. This changes adds new configuration that
allows to use public IP addresses for virtual media while keeping PXE
boots working and constrained to the provisioning network.

Change-Id: I8b859b2812160ff3911eb7d648eab835ef61d934
Story: #2008566
Task: #41706
2021-03-24 16:53:56 +00:00
Zuul
2e68c318b3 Merge "Support pre-built deploy/rescue ISO in Redfish" 2021-03-24 10:51:14 +00:00
Zuul
709562731c Merge "Version 17.0 mapping/doc updates" 2021-03-23 23:35:55 +00:00
Dmitry Tantsur
d55929fc7d Support pre-built deploy/rescue ISO in Redfish
This change adds support to pre-built ISO images via the new driver_info
parameters redfish_deploy_iso and redfish_rescue_iso, similarly to the
iLO hardware type.

Also removes overly eager mocking in image unit tests.

Change-Id: I1366791a6c6eb34f3a43337c4199592783765912
2021-03-23 16:14:38 +01:00
Julia Kreger
80d4a0c515 Version 17.0 mapping/doc updates
Change-Id: I3a144aaaca60ce195ba22fa5af2d9c1e7b4d4bf4
2021-03-23 14:16:02 +00:00
Aija Jauntēva
752568eece Add known iDRAC virtual media boot issue
Change-Id: I81ce6d2583e8a9d4031566888d0adffa6d0a965e
2021-03-23 07:34:56 -04:00
Zuul
961a85ada7 Merge "Add Redfish RAID interface to idrac HW type" 2021-03-23 01:47:56 +00:00
Zuul
52bcb3e328 Merge "Follow-up to RBAC allocation changes" 2021-03-21 10:20:03 +00:00
Aija Jauntēva
952695be33 Add Redfish RAID interface to idrac HW type
Adds MVP support for idrac-redfish to RAID interface. Based on
generic redfish implementation, but requires OEM extension
to check when `Immediate` time becomes available shortly
after IPA starts executing steps.

Does not support foreign disks, convert from non-RAID mode.

Story: 2008602
Task: 41778
Depends-On: https://review.opendev.org/c/x/sushy-oem-idrac/+/776224
Change-Id: Iefb7f882c97e33a176962e4e907163d9e4809445
2021-03-19 12:11:50 -04:00
Zuul
a06e403b11 Merge "Add runtime gpu capabilities to ilo inspection" 2021-03-19 08:32:15 +00:00
Julia Kreger
e6863c6b71 Follow-up to RBAC allocation changes
Change-Id: I4f703258be47cf0de0a31f7e706a1aba1ea302f0
2021-03-18 12:55:29 -07:00
Julia Kreger
e5b391c32d Increment API version for Secure RBAC
This patch increments the API version for the Secure RBAC
as was covered in the specification in order to signify to
API consumers that may need to be aware if the API surface
can support Secure RBAC policy configuration.

Change-Id: Ia659708bb89ff416b65367505d3e068c6d4a198f
2021-03-18 16:10:14 +00:00
Zuul
1404f3e00b Merge "Deprecate legacy policies, update project scoped docs" 2021-03-18 15:30:28 +00:00
Nisha Agarwal
9220f97ed7 Add runtime gpu capabilities to ilo inspection
Add gpu related dynamic capabilities in ilo inspection.
It would add following dynamic capabilities:

gpu_<vendor>_count : Integer
gpu_<gpu_device_name>_count : Integer
gpu_<gpu_device_name> : boolean

story: 2008702
task: 42023

Change-Id: Ic785fbe8a40d8a999e7e319a6505b46f82ba8344
2021-03-18 07:21:58 +00:00
Zuul
88ec16ba11 Merge "[doc] Add initial system-scoped text to secure-rbac" 2021-03-17 16:27:18 +00:00
Julia Kreger
426353c3f5 Deprecate legacy policies, update project scoped docs
Deprecates legacy policies which will be removed at a later point in
time. Notes these in a release note which covers project scoped access
enablement, and updates the Secure RBAC docs to cover additional details

Special thanks to Rammstein Radio on Pandora, for without this and all
of the amazing artists it brought to my coding jam sessions, this effort
would not have reached any sort of conclusion in the relatively short
time for such a massive amount of work.

Change-Id: I3bf0fa0de07e19d6058f0299e7abbff91b48b360
2021-03-17 15:27:46 +00:00
Zuul
00aea13949 Merge "Update iDRAC doc on Redfish vendor passthru interface" 2021-03-17 08:11:14 +00:00
Zuul
fd110c00bb Merge "Update iDRAC doc with idrac-redfish-virtual-media" 2021-03-17 06:07:14 +00:00
Zuul
ce11458504 Merge "Add CentOS7 for supported ramdisk for dhcpless deploy" 2021-03-17 06:06:54 +00:00
Zuul
e058a5a3a1 Merge "API to force manual cleaning without booting IPA" 2021-03-17 00:47:04 +00:00
Dmitry Tantsur
30a85bd0ce API to force manual cleaning without booting IPA
Adds a new argument disable_ramdisk to the manual cleaning API.
Only steps that are marked with requires_ramdisk=False can be
run in this mode. Cleaning prepare/tear down is not done.

Some steps (like redfish BIOS) currently require IPA to detect
a successful reboot. They are not marked with requires_ramdisk
just yet.

Change-Id: Icacac871603bd48536188813647bc669c574de2a
Story: #2008491
Task: #41540
2021-03-16 16:08:46 +01:00
Zuul
5584cc4cbb Merge "Update dev quickstart docs" 2021-03-16 09:08:44 +00:00
Julia Kreger
88673f1e94 Allocation support for project scoped RBAC
Adds policy scope based RBAC handling for the allocations
endpoing which enables admins to create allocations if
they have baremetal nodes which are available to them.

Change-Id: I60e273afaf344fded9bdb8c4c8e143efc9971fc1
2021-03-12 08:37:51 -08:00
Julia Kreger
dccff98a3e [doc] Add initial system-scoped text to secure-rbac
I never got around to adding in an initial pass on system scoped
interaction and use with secure rbac. This change adds a high level
overview to help explain the context.

Change-Id: I4dca32c882f484e75378aca8bb043ebd078a13cf
2021-03-10 16:20:27 -08:00
Riccardo Pittau
5c36615a9c Update dev quickstart docs
Change-Id: I2d7f4e617afacf3559ddc8614e7a794fb52b2c2c
2021-03-10 16:34:10 +01:00
Zuul
441ed4fe9a Merge "Rework the standalone guide" 2021-03-10 11:46:11 +00:00
Nisha Agarwal
342878ca6b Add CentOS7 for supported ramdisk for dhcpless deploy
Change-Id: I5453dd3d54e4d36e80c5bc569540447ecc7e38e2
2021-03-09 11:08:11 +00:00
Zuul
a0f940bf5a Merge "Volume targets/connectors Project Scoped RBAC" 2021-03-08 20:20:37 +00:00
Dmitry Tantsur
49fcbd4910 Rework the standalone guide
Split the monolithic guide into several pages: configuration, enrollment
and deployment. Merge duplicating docs into the common locations.
Use code-block for nicer highlighting.

Change-Id: Iaeef9e0cf8deba20a125d3cfacd4ca8ca2f52e84
2021-03-08 18:40:26 +01:00