Commit Graph

13048 Commits

Author SHA1 Message Date
Zuul 339e149c50 Merge "Add servicing states to states doc, fix state diagram" 2024-05-15 04:22:53 +00:00
Zuul c31fea571b Merge "docs: Cleanup/revise Secure Boot docs" 2024-05-14 23:12:19 +00:00
Zuul b8bcfc33cb Merge "Remove SQLAlchemy tips jobs" 2024-05-14 17:22:53 +00:00
Zuul 4b35da4ece Merge "[devstack] Upload images with --file instead of stdin" 2024-05-14 15:48:13 +00:00
Zuul dcace881bc Merge "docs: revise notes around iso booting for clarity" 2024-05-13 16:37:25 +00:00
Jay Faulkner 74ecde7ea0 Add servicing states to states doc, fix state diagram
Good news, pydot (original) is maintained again and pydot2 apparently is
not. By switching to pydot instead of the fork, svg generation works
now.

This adds states for servicing, and swaps us back to svg for the
regenerated diagram.

Change-Id: I410182ee04293434d889747ddec229870c908d91
2024-05-10 14:31:55 -07:00
Zuul a2f4b2f410 Merge "Fix spurious CI job failures around partition images" 2024-05-08 23:05:37 +00:00
Dan Smith a0f48b6425 [devstack] Upload images with --file instead of stdin
This makes all the image upload commands in the devstack plugin use
--file instead of stdin redirection, and also uses an absolute path.
One of the commands was already doing it this way. By doing the upload
like this, it makes the devstack plugin usable with the OCaaS devstack
mode (for faster openstack client ops) since we can't pass the image
stream via stdin. Most people will be using --file for uploading
anyway, so this is probably more realistic anyway.

Change-Id: I8d97ed731133d02aed46a078c50769692ad7ba04
2024-05-08 11:00:44 -07:00
Julia Kreger 5a75e9afbb docs: detail limitation of use of config drive + rebuild
Change-Id: I2054d6a87d7dcf74004d3404c73e39a100f1fe9b
2024-05-07 10:31:34 -07:00
Julia Kreger 8d0b556e3d Fix spurious CI job failures around partition images
Cirros partition images have some underlying limitations,
meaning it is not ideal for any step which requires the image
to hae commands executed in it to perform operations, such as
mounting additional filesystems in UEFI mode, or installing
grub in BIOS mode.

This is because cirros images are an unpacked ramdisk, in other
words, the posted disk image *has no* contents on the root
filesystem of the image. While we attempt to unpack[0] this as well,
this can also fail creating false failures resulting in check
jobs failing and then working on recheck.

As the constraint is the same as the BIOS mode check, and there
is no realistic fix, this change removes the boot mode check and
thus always disables partition image testing with tempest *when*
cirros is in use.

note 0: We presently unpack using a virtual machine launch so it
takes place with the same process as when cirros starts, however
linux doesn't always boot, and the tools don't really determine
if that is the case or not, and if we retool it, we should just
move to a direct extraction and image re-pack.

Change-Id: I7687ff1eddb14d22b981860d4c4c9b172bae45b7
2024-05-07 09:40:32 -07:00
Zuul 5717c7e599 Merge "docs: document stance on partition image use" 2024-05-06 10:49:17 +00:00
Zuul 38aa6433cb Merge "reno: Update master for unmaintained/zed" 2024-05-06 09:53:32 +00:00
Zuul 3134f13acf Merge "doc: Fix wrong example of [ipmi] cipher_suite_versions" 2024-05-06 08:34:34 +00:00
OpenStack Release Bot 13ab26188c reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I473ad6309784bc3e672eedb556d1694a2e5f99f5
2024-05-06 06:23:45 +00:00
Takashi Kajinami 198e2ceb3b doc: Fix wrong example of [ipmi] cipher_suite_versions
The example suggests python-style representation but this is not
actually parsed as expected.

Change-Id: I21ce1db655f81cd3fb3a0a0b92f8b81ff1e77c45
2024-05-04 18:38:58 +09:00
Zuul f39594fcec Merge "Remove eventlet workarounds" 2024-05-03 17:53:15 +00:00
Jay Faulkner e4c2f884cb Remove eventlet workarounds
The bugs these work around have been fixed for a long time, and we
require modern eventlet for Ironic. Let's remove the workaround.

Change-Id: Idecb3c5a774aecc6b65d0abd0262fe4b8625c6b7
2024-05-03 07:57:27 -07:00
Zuul 820ec7ddc7 Merge "Replace cinderclient usage with openstacksdk" 2024-05-01 17:22:26 +00:00
Julia Kreger 021117e354 docs: revise notes around iso booting for clarity
Had someone try to boot the tinycore ISO on a UEFI machine, and they
got a nice error. Just turns out we needed to update our docs a little
bit to provide appropriate clarity.

Change-Id: I1adfb62ea22d0b58740ceadc8c338fc04d9b78de
2024-05-01 10:14:20 -07:00
Zuul dec5780fca Merge "Inject a randomized publisher id" 2024-05-01 04:58:12 +00:00
Zuul 06c492aad5 Merge "Remove special treatment of .json for API objects" 2024-05-01 04:55:26 +00:00
Zuul 0e4adceda3 Merge "Run neutron for the functional test job" 2024-05-01 04:55:23 +00:00
Steve Baker 91d4bacbec Replace cinderclient usage with openstacksdk
Change-Id: Ib4a533584da85281d425fdbffa12a52d4838e185
Closes-Bug: #2042494
2024-05-01 07:58:41 +12:00
Takashi Kajinami 1e4ef9395a Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Also remove the note about old pip's behavior because the resolver
in recent pip no longer requires specific order.

Change-Id: I742ea0192398b9e9b78b969fa81f65621d9490de
2024-04-30 22:43:13 +09:00
Zuul 384c692f59 Merge "Fix iscsi url generate method for ipxe" 2024-04-29 22:57:31 +00:00
Zuul d49a1b907c Merge "ci: re-enable grenade test job" 2024-04-29 22:52:48 +00:00
Zuul b6b8ee07ce Merge "Replace glanceclient usage with openstacksdk" 2024-04-29 15:26:56 +00:00
Zuul 3a95a38b65 Merge "Redfish: fix error formatting when mounting vmedia" 2024-04-29 14:41:34 +00:00
Dmitry Tantsur f43587effd
Redfish: fix error formatting when mounting vmedia
Also add missing error into the message.

Change-Id: I9610add40afbb7beb30d375a3a455434f5446cc7
2024-04-29 14:11:06 +02:00
frankming dcf059af9e Fix iscsi url generate method for ipxe
Boot from volume feature has a ipxe template render step, and it need
to generate iscsi urls for booting the volume. However, it not works. In
the function, lun field should be hexadecimal instead of decimal,
according to SAN URIs description at https://ipxe.org/sanuri. So we
need to fix it.

Closes-Bug: #2055355
Change-Id: I080ca42c9ba05f2a4e0752312b79a32bef825752
Signed-off-by: frankming <chen27508959@outlook.com>
2024-04-29 17:06:34 +08:00
Zuul 08209c48ab Merge "docs: update ilo docs regarding status -> use redfish" 2024-04-29 08:30:06 +00:00
Steve Baker 978afbd5a1 Replace glanceclient usage with openstacksdk
Closes-Bug: #2042495
Change-Id: Ic8421bd937a3a1ab6c3b86c259cd929810c0532e
2024-04-29 12:30:33 +12:00
Julia Kreger fb850e7f00 Inject a randomized publisher id
To serve as a mechanism to allow an interlocking device identification
this patch injects a publisher id value into ISO images *and* the kernel
command line for any software running from the ISO image to match
the ISO in use to the location of data housed locally from within the
image.

Related-Bug: 2032377
Change-Id: I9b74ec977fabc0a7f8ed6f113595a3f1624f6ee6
2024-04-28 00:21:06 +00:00
Zuul 6437a2e794 Merge "Validate url options at config input layer" 2024-04-27 06:52:59 +00:00
Julia Kreger 508b1ccab3 ci: re-enable grenade test job
Change-Id: I1d2af3918dcc7cf3248edb460898044e35812b52
2024-04-26 16:53:04 -07:00
Julia Kreger bccea706c8 docs: update ilo docs regarding status -> use redfish
Change-Id: I67f275556186887ae6f555379c9f4c24cde48638
2024-04-26 16:41:38 -07:00
Julia Kreger 91ee72800f docs: document stance on partition image use
Change-Id: Ice381b2d22af48a99081080f5985f609a13dc939
2024-04-26 16:38:07 -07:00
Zuul 770a758b7d Merge "Trivial: use canonical name of microversion-parse" 2024-04-26 23:19:45 +00:00
Zuul cd489983de Merge "Ensure [molds] password is not logged" 2024-04-26 15:19:20 +00:00
cid ee5315bcf3 Remove special treatment of .json for API objects
- /v1/nodes/test.json will now only mean node with the name
"test.json"
- /v1/nodes/test.json.json will mean a node with the name
"test.json.json" and,
- /v1/nodes/test will mean a node with the name "test".

So /v1/nodes/test.json will no longer default to "test" and
will HTTP 404 unless a node with the name "test" actually exists.

This also removes the backward compatibility with the
guess_content_type_from_ext feature

Closes-Bug: #1748224

Change-Id: If4b3a23e2a09065f5e063e66cff66b96af4d3393
2024-04-25 17:58:00 +01:00
Julia Kreger 6c1e002c0d doc: Add extra context around release mapping
Adds some inline text to help contributors who
have not had to deal with release mappings before.

Change-Id: I064e5c80a11005df97e38523a7d703e803fa4a41
2024-04-25 06:49:29 -07:00
Dmitry Tantsur f7fd7961c0
Trivial: use canonical name of microversion-parse
Change-Id: I8b457b531cc181bbb43e8e21bcd29929ce5725f7
2024-04-24 09:13:47 +02:00
Riccardo Pittau c1f3daf7b0 Fix attach/detach vmedia redfish implementation
We need to map with virtual media devices and not boot
devices only.

Change-Id: I88b56ae26d9f1d8642ed6ffc5c055f8d56f6939a
2024-04-23 08:55:18 +02:00
Takashi Kajinami 623949bfae Ensure [molds] password is not logged
The [molds] password option accepts a secret value apparently. So its
value should not appear in debug logs.

Change-Id: If8a54c1d4f74516f1c24f7286e76955b2e424f5c
2024-04-22 06:47:44 +00:00
Takashi Kajinami 9cead9457c Validate url options at config input layer
oslo.config provides the URIOpt class which enforces valid URI(URL)
format. Use this built-in feature to detect any malformed values for
better feedback.

Change-Id: I0d846f78f8132a2d63266b7b3331ec7118cea1b4
2024-04-22 15:27:21 +09:00
Zuul b4773ad8d0 Merge "docs: update redfish docs to detail swift url issues" 2024-04-21 12:16:13 +00:00
Zuul 1cefbbcc75 Merge "redfish: change default virtual media storage to local storage" 2024-04-21 12:16:10 +00:00
Zuul 1904d3c1bf Merge "Docs: Remove outdated RBAC content" 2024-04-19 22:10:14 +00:00
Julia Kreger 62506393f1 docs: Cleanup/revise Secure Boot docs
Change-Id: I40346e09f94eaf227e273734efce659ff23b29fb
2024-04-19 14:50:25 -07:00
Julia Kreger ae2b5f5f1f redfish: change default virtual media storage to local storage
This may be the most overridden default of Ironic, which means
we need to change the default value.

The default for ``[redfish]use_swift`` was historically ``true``,
however we've generally found that BMCs are particularlly sensitive
to extra characters in the URL as the characters may signify a
dynamically generated file, which would be problematic as virtual
media webservers also generally require range retrieval support.

This change makes the default ``false`` which should lead to one
less override for operators being necessary in practical operation.

Change-Id: Iad57b3c6423bced0e3cb6fb4e31aad6d805f26fa
2024-04-19 21:43:24 +00:00