2105 Commits

Author SHA1 Message Date
Julia Kreger
bc8705c160 Allow project scoped admins to create/delete nodes
Adds capabilites for a project scoped admin to
create and delete nodes in Ironic's API.

These nodes are automatically associated with the
project of the requestor.

Effectively, this does allow anyone with sufficient
privilges, i.e. admin, in an OpenStack deployment
to be able to create new baremetal nodes and delete
those baremetal nodes. In this case, the user has
the "owner" level of rights in the RBAC model.

Change-Id: I3fd9ce5de0bc600275b5c4b7a95b0f9405342688
2022-08-17 09:53:14 -07:00
Iury Gregory Melo Ferreira
2a66fd68a5 Ironic Release 21.0
This commit bumps the release_mappings to 21.0 to be
used in the bugfix branch

Change-Id: I2bde869dfb05eb8d9baf035686833980d79e69ef
2022-08-17 00:39:46 -03:00
Zuul
c861423eb5 Merge "Document driver_info external_http_url" 2022-08-15 21:17:50 +00:00
Ruby Loo
bd8e482392 anaconda: ks liveimg = instance_info/image_info
Fix typo. For anaconda deploy interface, ironic sets the
kickstart 'liveimg' command with the URL from the ironic node's
instance_info's "image_url" value [1], and that "image_url"
value is added by ironic code, using the "image_info" value.
We don't have code that uses any "liveimg_url" value.

[1] https://opendev.org/openstack/ironic/src/commit/
3d3a67daf7d2969d8da691d12351ab5bb32eca80/ironic/common/
pxe_utils.py#L1003

Change-Id: Ic8ce5fa83768c2632eb190cd87dbf81062c7083a
2022-08-11 15:00:04 +00:00
Iury Gregory Melo Ferreira
05c16f10d5 Document driver_info external_http_url
This commit adds documentation about driver_info[external_http_url]
Follow-up If6a117a756b7d2a04251792f88c2ee412a040b28

Change-Id: Ia4787c27ed4c53f4ecb911eb0f9d77ea455c25f3
2022-08-11 10:44:44 -03:00
Zuul
3d3a67daf7 Merge "Fix iRMC driver to use certification file in HTTPS" 2022-08-10 02:11:51 +00:00
Vanou Ishii
64d7a7f307 Fix iRMC driver to use certification file in HTTPS
This patch modifies iRMC driver to use certification file
when it connects to iRMC via HTTPS

Depends-On: https://review.opendev.org/c/openstack/ironic/+/852250
Change-Id: If69ce1cf2789d9d60fb8e544596cf7d29eab514d
Co-authored-by: Kobayashi Daisuke <kobayashi.da-06@fujitsu.com>
Co-authored-by: Song Shukun <song.shukun@jp.fujitsu.com>
Story: 2009801
Task: 44345
2022-08-08 23:39:13 +00:00
Dmitry Tantsur
41484988ef Stop documenting netboot and the boot_option capability
Both will be removed soon. The documentation change is separated
to reduce the size of the final patch.

Change-Id: If4b9b0d095500101ca71a453d71ad95252dd8c0c
2022-08-01 16:36:25 +02:00
Dmitry Tantsur
f8135b22f6 Enable the ramdisk deploy by default
It proved useful (supported by Metal3, used in OpenShift) and does not
require any conductor-level configuration.

Change-Id: I57e59ac21e3327b9ad2f1d1436e184b48999006b
2022-08-01 16:34:20 +02:00
Julia Kreger
56d3c5a031 Clarify disk_label with a warning
Turns out I've had two people try to use disk label
twice in the last week to infer UEFI booting system.

This is not correct, unfortunately.

Clarify that the boot mode needs to be set appropriately.

Change-Id: I515358d40b03ea0d38dad2104a2d3d2c66e0ae8c
2022-07-25 13:20:23 -07:00
Zuul
b7c71bdbb8 Merge "[iRMC] Add SNMPv3 authentication functionality" 2022-07-22 00:54:38 +00:00
Zuul
7673cb827b Merge "Deprecate syslinux" 2022-07-22 00:53:46 +00:00
Zuul
36bbd363e8 Merge "project scoped manager support" 2022-07-22 00:53:43 +00:00
Zuul
bee0a4e31a Merge "Do not require stage2 for anaconda with standalone" 2022-07-21 18:46:10 +00:00
Julia Kreger
0311ea7c92 project scoped manager support
Adds support for project manager role support which is a state between
project scoped admin and project scoped member.

Finally enabling to be merged since the higher end goal/work finally
merged on March 1st.

Related: https://review.opendev.org/c/openstack/governance/+/815158
Change-Id: Ia35f4a4c3c2af68dc64bfe32f206e57056876dc7
2022-07-20 07:17:52 -07:00
Julia Kreger
33bb2c248a Do not require stage2 for anaconda with standalone
The use of the anaconda deployment interface can be
confusing when using a standalone deployment model.

Specifically this is because the anaconda deployment
interface was primarily modeled for usage with glance
and the inherent configuration of a fully integrated
OpenStack deployment. The additional prameters are
confusing, so this also (hopefully) provides clarity
into use and options.

Change-Id: I748fd86901bc05d3d003626b5e14e655b7905215
2022-07-20 06:50:03 -07:00
Zuul
d005ed826c Merge "Remove support for trusted boot" 2022-07-20 09:01:12 +00:00
Zuul
db0e1cc0ec Merge "Docs: specify what to do with the created images" 2022-07-18 17:42:44 +00:00
Dmitry Tantsur
dbcce25d38 Remove support for trusted boot
It requires network booting and legacy boot. While the latter will be
supported for a long time, the former is being removed.

Change-Id: Ie48e51fa95ba2059bd3cca6b8968f475934a75e5
2022-07-18 17:44:35 +02:00
Shukun Song
79f82c0262 [iRMC] Add SNMPv3 authentication functionality
Currently when using SNMPv3, iRMC driver does not use SNMPv3
authentication parameters so the SNMPv3 authentication will
always fail. And iRMC cannot recognize FIPS mode, so when FIPS mode
is enabled, iRMC driver could still use non-FIPS-compliant algorithms.

This commit changes iRMC driver to require and use SNMPv3
authentication parameters when 'irmc_snmp_version' is set to v3 and
also makes iRMC driver to force 'irmc_snmp_version' to v3,
'irmc_snmp_auth_proto' to SHA and 'irmc_snmp_priv_proto' to AES
when FIPS mode is enabled, because currently among the algorithms
supported by iRMC, only SHA and AES are FIPS compliant.

Change-Id: Id6f8996e4d103f849325f54fe0619b4acb43453a
Story: 2010085
Task: 45590
2022-07-15 16:59:05 +09:00
Zuul
5d2283137c Merge "Make anaconda non-image deploys sane" 2022-07-14 01:28:00 +00:00
Julia Kreger
c8be82c525 Deprecate syslinux
Syslinux is a functionally abandoned Legacy BIOS boot mode bootloader
which has not seen updates since 2019, and is starting to see
discussion amongst linux distributions to remove explicit support
and packaging for Syslinux. Syslinux's relevance is also disappearing
as UEFI booting is becoming the standard. While syslinux did go ahead
and ensure their bootloader *could* be built and support UEFI,
distributions also didn't uniformly adopt packaging and support for
this bootloader.

This change proposes to deprecate it and notates the areas in which
functionality is deprecated.

Change-Id: Ic52007fa4f207561d282eb5ae54273885c0ab0c0
2022-07-13 06:50:55 -07:00
Zuul
442aeca652 Merge "Fix markup typo in Redfish driver docs" 2022-07-13 13:33:43 +00:00
Aija Jauntēva
737ff34e76 Fix markup typo in Redfish driver docs
Missing whitespace renders formatting incorrectly.

Change-Id: I471fd859a5d8557188e6ad41143552457b5bdb50
2022-07-13 02:56:21 -04:00
Aija Jauntēva
70812aa6ed Update known issue for iDRAC Swift firmware update
The issue is fixed in iDRAC firmware 6.00.00.00.

Change-Id: Ie5b9ce3ed2a9b1cd61d51f64d72403f7dbc5367b
2022-07-12 06:46:11 -04:00
Julia Kreger
e78f123ff8 Make anaconda non-image deploys sane
Ironic has a lot of logic built up around use of images for filesystems,
however several recent additions, such as the ``ramdisk`` and ``anaconda``
deployment interfaces have started to break this mold.

In working with some operators attempting to utilzie the anaconda
deployment interface outside the context of full OpenStack, we discovered
some issues which needed to be make simpler to help remove the need to
route around data validation checks for things that are not required.

Standalong users also have the ability to point to a URL with anaconda,
where as Operators using OpenStack can only do so with customized kickstart
files. While this is okay, the disparity in configuraiton checking
was also creating additional issues.

In this, we discovered we were not really graceful with redirects,
so we're now a little more graceful with them.

Story: 2009939
Story: 2009940
Task: 44834
Task: 44833
Change-Id: I8b0a50751014c6093faa26094d9f99e173dcdd38
2022-07-11 07:41:06 -07:00
Aija Jauntēva
73040c88d9 Fix redfish-virtual-media for newer iDRACs
The issue with standard Redfish virtual media boot has
been fixed now. Update to restrict use of redfish-virtual-media
based on iDRAC firmware version.

Change-Id: I8ead1d24a9bd502b64fe7dd058e77550fcee141c
2022-06-29 09:12:13 -04:00
Zuul
936414a3cc Merge "Remove netboot jobs from the gate" 2022-06-25 00:21:16 +00:00
Dmitry Tantsur
19daab6bae Docs: specify what to do with the created images
Also make the Glance image docs easier to navigate.

Change-Id: Ib7f891c2086c556cffca94eb0e37db87b6a68e7b
2022-06-24 18:58:49 +00:00
Zuul
d807350f6e Merge "Use bifrost on centos9 integration job" 2022-06-24 10:44:22 +00:00
Zuul
6f90d5f6a7 Merge "Swap the metalsmith UEFI job for a legacy one" 2022-06-22 13:45:22 +00:00
Riccardo Pittau
089b0c8e63 Use bifrost on centos9 integration job
We don't support CentOS Stream 8 anymore.

Change-Id: I90f20395afbb5e4299dc807288d4a44863d56768
2022-06-16 14:07:58 +02:00
Steve Baker
39a7f58002 Docs: replace nova cli calls with openstack
Change-Id: I293f1c110227a09909ea2225346c24143f851a71
2022-06-16 11:41:44 +12:00
Zuul
0659485d63 Merge "Update bugfix section" 2022-06-10 11:12:21 +00:00
LiZekun
0406fa7531 Remove unicode literal from code
All strings are considered as unicode literal string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I52ae9180344baf408e6e8a932e9d59dc45ece9de
2022-06-02 06:14:07 +00:00
Dmitry Tantsur
5bbcabbabe Remove netboot jobs from the gate
Netboot option will be removed soon, this change stops covering it.
Some jobs have been renamed to reflect the new reality.

Change-Id: I7e248c3deb4778fcf59bc64821833987653fbbcd
2022-05-31 10:02:56 +02:00
Riccardo Pittau
59d4cc666b Update bugfix section
Remove bifrost mention
Add a note to remind to update the u-c links in tox.ini

Change-Id: I4ae4bfca87c19183d26b9928a3496c63b9f4aab3
2022-05-30 11:06:07 +02:00
Dmitry Tantsur
81f583f69b devstack: use CentOS 9 for DIB IPA builds
Additionally bumps CPU model to host-model as centos9 builds now
require a subset of CPU processors which include advanced features.
Host-model also allows for the VM to still start when running with
pure qemu, as opposed to KVM passthrough.

https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#architectural_considerations_for_rhel_9

Change-Id: Ic261efd4bf6f5929687df5e7b1b51b541554af18
2022-05-25 08:57:15 -07:00
Dmitry Tantsur
f1257c79ca Swap the metalsmith UEFI job for a legacy one
UEFI is well covered by existing jobs, while the legacy job is covering
calling install_bootloader.

Depends-On: https://review.opendev.org/c/openstack/metalsmith/+/841911
Change-Id: I18c5334a52591f3d8ccced15aee8eb332121dded
2022-05-17 12:46:53 +02:00
Zuul
8e57495d10 Merge "fix typo: container-format is bare" 2022-04-19 06:39:22 +00:00
Dmitry Tantsur
57a21b1577 Add a note about duplicate parameters with %default%
Change-Id: Ifb3a592b1d701f050a21325731048fe8fee05038
2022-04-14 14:10:01 +02:00
Dmitry Tantsur
5feb39844a Allow reusing defaults in per-node kernel_append_params
It may be convenient to use [pxe/redfish/...]kernel_append_params as
the universal defaults, while using {driver,instance}_info to only
append values. This change allows that by replacing %default% with
the value of the applicable configuration option.

An example use case: CoreOS requires an additional artifact (root
filesystem URL) when PXE booting.

While here, fix the PXE/iPXE interface documentation.

Change-Id: I829291ab5cc19ec2ca43bc45815d012697f0b408
2022-04-11 18:54:42 +02:00
Ruby Loo
da4d6fda0f fix typo: container-format is bare
When adding an image to glance for use with anaconda deploy
interface, the tarball being added should be in the 'bare'
container-format, not 'compressed'.

Change-Id: Iaf976a4c9e04b9a19acd7e2701fb422009b02d0e
2022-04-08 21:32:47 +00:00
Arne Wiebalck
4d1bced623 [doc] Document dynamic network burn-in
Add documentation on how to configure and use the dynamic pair
matching for network burn-in.

Change-Id: I09fcdcae5f0ec0c9a2a6ba38028bf2b1d51ab75a
2022-03-24 15:10:30 +01:00
Dmitry Tantsur
f446be697b Link from deploy interface docs to anaconda docs and move it to advanced
This is an advanced feature, so keep it with other advanced features,
but do link from the deploy interface listing.

Change-Id: If8a3cd4c8eca670be89d5cc1ce4a8bb788e546da
2022-03-22 16:57:45 +01:00
Zuul
e5a1997df8 Merge "Create API documentation from docstrings" 2022-03-17 15:35:42 +00:00
Mahnoor Asghar
3e631a5931 Create API documentation from docstrings
Create a new Sphinx extension called 'web_api_docstring' to process
docstrings from the API classes, in order to generate API
documentation.

Story: 2009785
Task: 44291
Change-Id: Ia6b2b3741e2b1cbd29531c21795df4f0f0dc70ca
2022-03-17 01:22:44 +05:00
Jacob Anders
687694c83c Improve efficiency of storage cleaning in mixed media envs -
documentation

Change https://review.opendev.org/c/openstack/ironic-python-agent/+/818712
improved efficiency of storage cleaning in hybrid NVMe + HDD
environments by adding `erase_devices_express` clean step. This is a
follow up change adding the documentation for this feature.

Story: 2009264
Task: 43498
Change-Id: I33ba925460cc31cc69e58f3e3ff31a0731aee1dc
2022-03-16 21:08:36 +10:00
Zuul
1d1cfbc1af Merge "Support img_type Glance property" 2022-03-11 17:31:19 +00:00
Zuul
cdf05bd0d7 Merge "Recommend various installers in the install guide" 2022-03-08 10:57:31 +00:00