12940 Commits

Author SHA1 Message Date
Dmitry Tantsur
7b6e58a5ac Fix servicing clean-up
Serious issues:
- Nothing powers on nodes after servicing, so they end up active and
  powered off in the end.
- Restoring power state was done three times.

Minor issues:
- Function _tear_down_node_servicing is called twice causing a traceback.
- Furthermore, process_event('done') is also called in another place
  in deploy utils.
- Make sure nodes are never considered for fast-track when servicing, it
  prevents clean-up of virtual media devices.

Change-Id: I92fd7a0009a816e93e316e4674c7509b61a474d4
(cherry picked from commit 6c8673c1b495095a0c92e0323976f3bc3834ac08)
2024-04-16 07:48:15 +00:00
Zuul
4081a71633 Merge "Handle servicing failures in the Redfish BIOS interface" into stable/2024.1 2024-04-15 10:31:32 +00:00
Dmitry Tantsur
5733379b62 Handle servicing failures in the Redfish BIOS interface
Change-Id: I58a27ec9e3646b143fc0874f033849056848c411
(cherry picked from commit c61c7fabe34be86c17710db4dea9d111acba477c)
2024-04-12 14:42:31 +00:00
Dmitry Tantsur
5f9ceb492d Fix get_async_step_return_state to account for servicing
Change-Id: I502be5613ffef7c2f51eafd0a10d5e9c5d5ec2a4
(cherry picked from commit c1ce255f010983b5f525bc38d2f3a0a7a34176b0)
2024-04-12 11:50:37 +00:00
Zuul
df29eef628 Merge "Add states.SERVICING and SERVICEWAIT to need_prepare_ramdisk" into stable/2024.1 2024-04-12 08:50:32 +00:00
Dmitry Tantsur
9bfe422f78 Stop assuming service steps have priorities
Unlike clean, deploy and verify steps, service steps cannot run
automatically and thus do not have a usable notion of priority. It's not
possible to provide a priority through the API but our validation code
still requires it. This change gets rid of most priority handling for
service steps, leaving only some foundation for future enhancements.

Change-Id: I82aefc03a5c062b67e0f457612fe568399226dc8
(cherry picked from commit 22aa29b864eecd00bfb7c67cc2075030da1eb1d0)
2024-04-11 12:40:13 +00:00
Jacob Anders
fab3772cbd Add states.SERVICING and SERVICEWAIT to need_prepare_ramdisk
Currently, service steps do not work with virtual media deployments
because states.SERVICING and states.SERVICEWAIT are missing from the whitelist
of valid provision_states. This change resolves this issue.

Change-Id: I5e3ec08d128b35385f2d90c9c852140b757b8dbf
(cherry picked from commit 70ccb6af111186431b898c4dc6c1c3e6564ab1d7)
2024-04-10 09:22:46 +00:00
Dmitry Tantsur
ac2c86861f Fix generating local paths when connecting virtual media
The generate path does not contain the node UUID, causing conflicts.

Also make sure to always clean up any existing files first.

Change-Id: I30f948d64e7b87f33841dc22828db60338a62dd8
(cherry picked from commit a9a4fff71c15e6192e06652d64a1048bd5c2633d)
2024-04-09 09:05:06 +00:00
Riccardo Pittau
31c6de0982 Update min required version of scciclient
For compatibility with pysnmp-lextudio and pyasn1 we increase the
minimum required version of python-scciclient to latest available.
Also capping proliantutils to avoid breaking changes.

Change-Id: I64587d24383dc05927135d7e7e3a2a6975a58558
(cherry picked from commit 388b9ddcacc6539433fe2d37534414126dd47826)
24.1.1
2024-03-25 07:55:19 +00:00
0d0ed8b0ff Update TOX_CONSTRAINTS_FILE for stable/2024.1
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2024.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I312d0d2a1e049a76e00075d9d40ff113af258bf5
2024-03-19 15:25:13 +00:00
702272742c Update .gitreview for stable/2024.1
Change-Id: I9e659f9d4d1aff6d93d567684d9cd423228277c0
2024-03-19 15:25:10 +00:00
Zuul
99b1f9c479 Merge "Bump proliantutils for pyasn1 compatibility" 24.1.0 2024-03-18 16:46:53 +00:00
Zuul
5c00b7cf0b Merge "Fix data length exceeding limit error" 2024-03-18 14:40:05 +00:00
Riccardo Pittau
d57e113605 Bump proliantutils for pyasn1 compatibility
Latest version moves back to lextduio pysnmp keeping pyasn1
as dependency.

Change-Id: I042a74eccacd6f358daf04d4ccbd53390bcc8df8
2024-03-18 10:14:23 +01:00
Zuul
60e780fe15 Merge "Ignore generated config/policy file" 2024-03-17 23:05:39 +00:00
Zuul
0237392002 Merge "Fix artifical rbac policy constraint that resulted in 500s" 2024-03-17 21:33:45 +00:00
CID
ef8bca007d Fix data length exceeding limit error
This commit increases the length of the 'user' column to
accommodate longer UUIDs, ensuring that the full user UUIDs are stored
without exceeding the column limit.

Closes-Bug: #2054594
Change-Id: I59b435ca2bb5850bb2338228b64868c2003bfea3
2024-03-16 22:26:15 +00:00
Jay Faulkner
10785a0550 Release mappings for 23.1, 24.0, 24.1/2024.1
Release mappings! We made a Caracal!

Change-Id: I0106d43080746e1b159f4a54e6808d477cfbef44
2024-03-15 11:44:13 -07:00
Zuul
8922c79b7c Merge "Support more standard way of passing lists via query strings" 2024-03-15 14:09:31 +00:00
Zuul
2f71e5d512 Merge "Update regex to detect closed branch" 2024-03-15 01:58:15 +00:00
Zuul
f2257d33db Merge "docs: augment admin troubleshooting docs for system scope context" 2024-03-15 01:58:12 +00:00
Zuul
64595e704a Merge "Release notes prelude for 2024.1/24.1" 2024-03-15 01:58:07 +00:00
Zuul
96565b6894 Merge "Tempest test with only wholedisk for some jobs" 2024-03-15 00:46:31 +00:00
Zuul
bf1aadf2bc Merge "Allow usage of virtual media via System" 2024-03-14 22:14:59 +00:00
Zuul
16b0ea709a Merge "Implement generic redfish vmedia attach detach" 2024-03-14 21:39:50 +00:00
Iury Gregory Melo Ferreira
10ebbe74da Tempest test with only wholedisk for some jobs
Changing the ironic-tempest-uefi-redfish-vmedia and
ironic-tempest-ovn-uefi-ipmi-pxe jobs to only run
tempest test_baremetal_server_ops_wholedisk_image.

We saw failures on the partition tests for this jobs.

Related-Bug: #2057972
Change-Id: I2e26d7955ade11046bf89b6f4c9c2c4f16da1574
2024-03-14 18:39:39 -03:00
Jay Faulkner
0c735264d6 Release notes prelude for 2024.1/24.1
Change-Id: If17630cccd4e61d4c966deec6ff473a50752eeb2
2024-03-14 20:12:15 +00:00
Zuul
8fa1de8ab0 Merge "[codespell] Adding CI target for Tox Codespell" 2024-03-14 17:38:09 +00:00
Zuul
4aa096877e Merge "[codespell] Adding Tox Target for Codespell" 2024-03-14 17:13:10 +00:00
Zuul
df9e1ba80e Merge "[codespell] Fixing Spelling Mistakes" 2024-03-14 17:13:05 +00:00
Riccardo Pittau
69635a1597 Move back to plain pyasn1
The latest pyasn1-lextudio patch has been yanked [1] and
all the working versions have been removed from pypi, it
looks like lextudio won't maintain pyasn1 anymore.
We should move back again to plain pyasn1 [2].

Also bump proliantutils min required version as it
has already switched back to working pyasn1 and pysnmp.

[1] https://pypi.org/project/pyasn1-lextudio/
[2] https://pypi.org/project/pyasn1/

Change-Id: Id2e7f75690c42fe0785b4ab0fb0a885261a44aef
2024-03-14 14:40:17 +01:00
Zuul
6c29b2c72c Merge "reno: Update master for unmaintained/xena" 2024-03-14 12:17:52 +00:00
Zuul
728de6ffe8 Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 12:09:49 +00:00
Zuul
99d217718e Merge "reno: Update master for unmaintained/victoria" 2024-03-14 12:09:46 +00:00
18e22b0892 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Iede7e335ad5e2303d7f7e7ec5526cf72fbfb38c2
2024-03-14 11:28:02 +00:00
6c6f034e73 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I1c3d05be89f2101e5f2a72d19b43afa762ff4b7a
2024-03-14 11:23:32 +00:00
Zuul
b19d5bf538 Merge "Temporary move metalsmith legacy CI job to non-voting" 2024-03-14 11:23:02 +00:00
667e7bf23d reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ia14b67a6a0a81e022c4588096078225c546c2c93
2024-03-14 11:18:59 +00:00
Winicius Silva
6d046ad7b4 Allow usage of virtual media via System
DMTF now changes their Virtual Media URI to support Systems. Redfish driver now
support this resource to boot, so it is needed that Ironic have a way to use it.

Closes-Bug: #2039458
Change-Id: I66e8edb847e93f96374072525222f05e7561fb07
2024-03-13 22:02:08 -03:00
Zuul
f5500996f8 Merge "Modify ESP configuring script of redfish document" 2024-03-13 16:29:39 +00:00
Riccardo Pittau
01b868a23e Temporary move metalsmith legacy CI job to non-voting
The job is broken because of an issue with parted.

Change-Id: Id8275e46f4c87f71964bd7afaad772a7bd3080e5
2024-03-13 16:10:28 +01:00
Riccardo Pittau
237510ae2c Implement generic redfish vmedia attach detach
This patch adds implementation of attach/detach generic virtual
media device to the Redfish driver.
Also the redfish vendor eject vmedia action is now deprecated
and it will be removed during the next cycle in favor of the
generic API.

Change-Id: I9daff59128f537a3da2e882adf5c97be9c4ab8d9
2024-03-13 12:09:15 +01:00
Takashi Kajinami
b9be548827 Guide users/developers to launchpad
Ironic team decided to switch back the project to launchpad, so
the reference in README should be updated accordingly.

Change-Id: I4a05e998614aed7ebdd62bf2bc3e28a7fa17a444
2024-03-13 19:34:50 +09:00
Takashi Kajinami
eaf1c4fd3a Ignore generated config/policy file
These files should be generated by tools and should not be added to
the repository.

Change-Id: I5f262d9c0761d1c7a18675b6da36bd388e446c97
2024-03-13 10:32:57 +00:00
Takashi Kajinami
616e6d120a Update regex to detect closed branch
... based on the change made in reno recently[1].

[1] https://review.opendev.org/c/openstack/reno/+/910547

Change-Id: I0eea3de292c5e0f57d2136064e70227c5865c8b8
2024-03-13 19:31:27 +09:00
Zuul
2f3448a421 Merge "Special case lenovo UEFI boot setup" 2024-03-12 22:28:26 +00:00
Julia Kreger
325c2b0a96 docs: augment admin troubleshooting docs for system scope context
Change-Id: I55d94e40e0cc11106b8f0622355db0011e811622
2024-03-12 12:20:31 -07:00
Zuul
5f4b964dd7 Merge "[trivial] add device_type param to attach_vmedia_device" 2024-03-11 22:07:16 +00:00
Zuul
97cf900538 Merge "Switch to qemu-img functions from ironic-lib 6.0.0" 2024-03-11 21:27:15 +00:00
Zuul
bb3b0e9b95 Merge "Add inspection PXE filter service" 2024-03-11 18:31:10 +00:00