11362 Commits

Author SHA1 Message Date
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
121bc5a4c2 Merge "Switch to JSON RPC from ironic-lib" 2021-03-19 14:03:22 +00: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
Zuul
91afc494f2 Merge "Add iRMC Driver Support to DevStack Code" 2021-03-17 16:27:02 +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
043de26884 Merge "Allow ansible deploys to be fast-tracked" 2021-03-17 11:15:10 +00:00
Vanou Ishii
d6dd05ab12 Enable Reuse of Zuul Job in 3rd Party CI Environment
At current Zuul job in zuul.d/ironic-jobs.yaml, items of
required-project are like this (without leading hostname)

    required-projects:
      - openstack/ironic
      - openstack/ABCD

but not like this (with leading hostname)

    required-projects:
      - opendev.org/openstack/ironic
      - opendev.org/openstack/ABCD

With first format, if we have two openstack/ironic entries in
Zuul's tenant configuration file (Zuul tenant config file in 3rd
party CI environment usually has 2 entries: one to fetch upstream
code, another for Gerrit event stream to trigger Zuul job), we'll
have warning in zuul-scheduler's log

    Project name 'openstack/ironic' is ambiguous,
    please fully qualify the project with a hostname

With second format, that warning doesn't appear. And Zuul running at
3rd party CI environment can reuse Zuul jobs in zuul.d/ironic-jobs.yaml
in their Zuul jobs.

This commit modifies all Zuul jobs in zuul.d/ironic-jobs.yaml
to use second format.

Story: 2008724
Task: 42068
Change-Id: I85adf3c8b3deaf0d1b2d58dcd82724c7e412e2db
2021-03-17 19:01:07 +09:00
Vanou Ishii
7552c489e3 Add iRMC Driver Support to DevStack Code
This commit adds logic
  * to determine whether irmc hardware type is enabled
  * (if enabled) to install python package python-scciclient & snmp
into DevStack code to support construction of Ironic environment
with iRMC supported Fujitsu server through DevStack.

Story: 2008722
Task: 42066
Change-Id: Ie50d8e4b43cdbfd8cd46333a75de20015e67829e
2021-03-17 18:48:09 +09: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
b16fae4740 Merge "Enforce autospec in test_console_utils" 2021-03-17 06:06:34 +00:00
Zuul
c6ec9d0b79 Merge "Enforce autospec in test_portgroup" 2021-03-17 05:53:48 +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
Vladyslav Drok
642bc983b3 Allow ansible deploys to be fast-tracked
Change-Id: I117f51de1a95ca1cb5dc8b5f357819967a050d11
2021-03-16 14:58:42 +00:00
Zuul
5584cc4cbb Merge "Update dev quickstart docs" 2021-03-16 09:08:44 +00:00
Zuul
18f3ca96d4 Merge "Trivial: add a missing argument to an exception" 2021-03-15 20:50:13 +00:00
Zuul
dcfbd329c9 Merge "Allocation support for project scoped RBAC" 2021-03-15 19:15:34 +00:00
Zuul
1d3425820f Merge "Update Redfish RAID release note" 2021-03-15 15:40:39 +00:00
Zuul
fc7f34b2fe Merge "Prepare to use tinycore 12 for tinyipa" 2021-03-15 13:15:45 +00:00
Zuul
f152ad370d Merge "Allow users to configure priority for {create,delete}_configuration" 2021-03-12 20:16:36 +00:00
Dmitry Tantsur
7ae3919dc3 Trivial: add a missing argument to an exception
Change-Id: Iedaeee85187c9a5287650df8b726ac74f64e2626
2021-03-12 17:50:12 +01: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
ebaa359937 Mark multinode non-voting due to high failure rate
Change-Id: Iea8212ee69a8fe8c5f181c87271f46779e3a46b4
2021-03-11 17:05:50 -08:00
Dmitry Tantsur
d8a0b0c270 Don't try to use attempts=None with tenacity
Change-Id: Ifb139f71e9cb57409f95512e0dc087d0198b4b86
2021-03-11 11:28:23 +01: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
Zuul
a756b04ac0 Merge "Review feedback follow-up on Node System Scoped RBAC" 2021-03-10 18:51:09 +00:00
Zuul
8a7607d39f Merge "Enforce autospec in test_port" 2021-03-10 17:22:05 +00:00
Zuul
d85af6378d Merge "Enforce autospec in test_volume_connector" 2021-03-10 17:21:18 +00:00
Zuul
23157bc1dc Merge "Enforce autospec in test_volume_target" 2021-03-10 17:20:37 +00:00
Zuul
9b23255d18 Merge "RBAC Follow-up: Review follow-up." 2021-03-10 17:20:15 +00:00
Zuul
a655e55687 Merge "Allow support for multipath volumes" 2021-03-10 17:08:06 +00:00
Dmitry Tantsur
f2e8c031cc Switch to JSON RPC from ironic-lib
Change-Id: I8b438861780c85faae7ff18646960723a1fd9876
2021-03-10 16:48:07 +01:00
Riccardo Pittau
5c36615a9c Update dev quickstart docs
Change-Id: I2d7f4e617afacf3559ddc8614e7a794fb52b2c2c
2021-03-10 16:34:10 +01:00
Bill Dodd
5f85a89664 Update Redfish RAID release note
The Redfish RAID release note did not reference the related
story. This patch updates the release note to include a link to
the story.

The formatting of the release note is also updated to respect the
maximum 80 characters per line convention.

Change-Id: Iac0c6fdb116c14a402c0ea86f98f6a72064adbbc
Story: 2003514
Task: 42024
2021-03-10 08:39:18 -06:00
Zuul
2e7fc1fd61 Merge "More GPU support in idrac-wsman inspect interface" 2021-03-10 13:12:20 +00:00
Zuul
441ed4fe9a Merge "Rework the standalone guide" 2021-03-10 11:46:11 +00:00
Mohammed Naser
6ba1ecad17 Allow users to configure priority for {create,delete}_configuration
At the moment, users do not have a way to easily prioritize those
cleaning steps into automatic cleaning.  This patch allows the user
to enable those options and prioritize them as needed for automatic
cleaning.

Change-Id: I3b647e39982c0a98abac7b0a7c1c60215d6db4f2
2021-03-09 22:28:40 +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
4a3bbf6d28 Merge "Adds config parameter kernel_append_param for iLO" 2021-03-08 20:43:28 +00:00
Zuul
a77d45f949 Merge "Follow-up on project scoped trait tests" 2021-03-08 20:22:36 +00:00
Zuul
7e20c6bd7d Merge "Project scope driver vendor pass-through" 2021-03-08 20:21:49 +00:00
Zuul
a0f940bf5a Merge "Volume targets/connectors Project Scoped RBAC" 2021-03-08 20:20:37 +00:00
Julia Kreger
7e1c08c407 RBAC Follow-up: Review follow-up.
Since the existing change is approved and in the gate now,
it doesn't make sense to edit it for the review feedback.

The included minor feedback is addressed by this change.

Change-Id: I046c194af01fe77c3eac541f245a377e8e8f71eb
2021-03-08 10:58:26 -08:00