12753 Commits

Author SHA1 Message Date
Jay Faulkner
b0b7ee4254 Do not log lack of metrics support at WARNING lvl
We have some drivers, such as SNMP, which do not support metrics.
Environments with these nodes should not get "N" messages for "N" nodes
that can't generate sensor data.

Closes-bug: 2047709
Change-Id: Ibc1f3feb055521214512c8b350d67933491c2550
2023-12-29 10:59:42 -08:00
Zuul
cf7b182ac3 Merge "Test redfish with reduced sushy-tools feature set" 2023-12-20 18:12:59 +00:00
Zuul
1d0cc6467d Merge "Documentation: tuning worker threads" 2023-12-19 13:52:21 +00:00
Zuul
776e9444f0 Merge "Fixes Raid creation in iLO6 and other BMC with latest schema" 2023-12-19 10:33:55 +00:00
Dmitry Tantsur
4cc167cc6e
Test redfish with reduced sushy-tools feature set
Two jobs are changed to test a reduced Redfish implementation:
one PXE job uses the minimum version (only boot/power management)
one vmedia job uses the reduced version (+ NICs, virtual media)

Change-Id: Ib3afdb26b9cd36c0e4f3d736b9c69a5bf508fc0e
2023-12-15 11:38:00 +01:00
Dmitry Tantsur
607b8734e4
Cache firwmare components on the transition to "manageable"
Automated cleaning is not guaranteed to be enabled, and in any case it's
too late to cache the components at that point: firwmare upgrades may
happen before the transition to "available".

Change-Id: I6b74970fffcc150c167830bef195f284a8c6f197
2023-12-14 09:51:47 +01:00
Julia Kreger
9806258ede Revise ramdisk boot interface for clarity
Change-Id: I55351989793b858aab1dadb55f35f96a758ea5bb
2023-12-13 12:51:54 -08:00
Zuul
bb0fa3db80 Merge "First pass at the new in-band inspection docs" 2023-12-13 20:11:39 +00:00
Zuul
ba837103a4 Merge "Fix GET for conductors with a port or IPv6 address" 2023-12-13 20:11:36 +00:00
Zuul
1bc08f600b Merge "Revert "Move BFV job to non-voting"" 2023-12-13 04:46:04 +00:00
Zuul
e2f9b9d541 Merge "Fix two severe errors in the firmware caching code" 2023-12-13 00:55:35 +00:00
Iury Gregory Melo Ferreira
2cdb09ba93 Revert "Move BFV job to non-voting"
This reverts commit 6ffef5b165d78508f8ebd2fc5e94d95d3ac27e51.

Reason for revert: We have the fix in nova, when it merges we can revert the BFV job to voting
Depends-On: https://review.opendev.org/c/openstack/nova/+/903324

Change-Id: Iadee0d696b13ecfe6f93c241b3f9e59be66f6f43
2023-12-12 16:02:54 +00:00
Paresh Sao
6956b0619e Fixes Raid creation in iLO6 and other BMC with latest schema
This commit removes 'VolumeType' which param has long been
deprecated in DMTF Redfish schema, also removes 'Encrypted'
param as per discussion, and places 'Drives' inside 'Links'
as per the new DMTF schema.

Closes-Bug: 2045645

Change-Id: I91d2decab19e352ca3560227d17acfaa1a1dca94
2023-12-12 08:40:44 +00:00
Iury Gregory Melo Ferreira
6ffef5b165 Move BFV job to non-voting
The BFV started failling after Thursday (2023-12-07)

https://zuul.opendev.org/t/openstack/build/f624cbf5d0164a9e8c2a90f9508940b3

This can be a problem in changes that landed in nova for the ironic
driver, since the job has Nova running.

Change-Id: I68ff71b56c582ed7975f7db53c2f2cf5d44891e2
2023-12-10 21:58:24 -03:00
Dmitry Tantsur
23745d97fe
Fix two severe errors in the firmware caching code
First, it tries to create components even if the current version is not
known and fails with a database constraint error (because the initial
version cannot be NULL). Can be reproduced with sushy-tools before
37f118237a

Second, unexpected exceptions are not handled in the caching code, so
any of them will cause the node to get stuck in cleaning forever.

On top of that, the caching code is missing a metrics decorator.

This change does not update any unit tests because none currently exist.

Change-Id: Iaa242ca6aa6138fcdaaf63b763708e2f1e559cb0
2023-12-08 18:11:03 +01:00
Dmitry Tantsur
e67f716063
Fix GET for conductors with a port or IPv6 address
Our validation does not expect a host-port pair, not having colons in
the hostname. We don't need to verify all possible cases: we will return
404 for a conductor that does not exist.

Change-Id: Iea65575f540a89a0de280fb730e430647c5733dc
2023-12-06 17:12:16 +01:00
Dmitry Tantsur
2373127c7d
Documentation: tuning worker threads
Change-Id: I22a9c8d6d3fe5a025de869e7bc0f96ab4fce8791
2023-12-06 16:33:24 +01:00
Zuul
dcea5f5a1d Merge "Fix log message var reference" 2023-12-06 13:00:24 +00:00
Zuul
32f110d7ef Merge "[trivial] remove note on non-voting snmp job" 2023-12-06 00:09:16 +00:00
Zuul
209714010b Merge "Fix volume_name issue in Redfish RAID" 2023-12-05 22:11:15 +00:00
Zuul
5ca5df8217 Merge "Handle internal server errors while configuring secure boot" 2023-12-05 20:39:43 +00:00
Mahnoor Asghar
a98681f1d3 Fix volume_name issue in Redfish RAID
Use the 'volume_name' field from the logical_disk in the
target_raid_config field of a node, instead of just 'name' (which is
incorrect as per the Ironic API expectation), to create the RAID volume

Change-Id: Ib8b2589d91be67a848411ab6be852bcb4de58bc7
2023-12-05 16:41:53 +01:00
Dmitry Tantsur
9c0996d1a3
First pass at the new in-band inspection docs
Reorganize the existing docs to give space to more information.
Cover the most critical topics, except for installation.

Change-Id: If0f185e0303d6f8071306edbc64b9c5704f58d16
2023-12-04 18:40:34 +01:00
Zuul
0853a08d1e Merge "Add volume name to Redfish RAID volumes" 2023-12-04 16:31:06 +00:00
Mahnoor Asghar
bfaf64b46f Add volume name to Redfish RAID volumes
Change-Id: I12fccda8fee73430fee03a91134fd559ebf40cc9
2023-12-04 11:10:59 +01:00
James Denton
578c02813d Fix log message var reference
Fixes an issue with debug logging referencing node vs node_uuid.

Change-Id: Ic7de9826fbec32038947be89b14f6dfdc2248de4
2023-12-03 06:11:43 -06:00
Zuul
58956b8e6b Merge "Improve logging in the dnsmasq DHCP provider" 2023-12-01 23:20:33 +00:00
Zuul
68863aa452 Merge "fix nits related to image server bauth" 2023-12-01 21:13:12 +00:00
Dmitry Tantsur
a6e3a7f50c
Handle internal server errors while configuring secure boot
At least on some Dell machines, the Redfish SecureBoot resource is
unavailable during configuration, GET requests return HTTP 503.
Sushy does retry these, but not for long enough (the error message
suggests at least 30 seconds, which would be too much to just integrate
in Sushy). This change treats internal errors the same way as
mismatching "enabled" value, i.e. just waits.

Change-Id: I676f48de6b6195a69ea76b4e8b45a034220db2fa
2023-12-01 17:36:31 +01:00
Adam Rozman
31f0e17a13 fix nits related to image server bauth
This commit:
  - fixes a few nits that were pointed out after the feature
    was merged
  - doesn't affect the functionality of the feature

Closes-Bug: #2021947
Change-Id: I1dd024b9994df2b367f61cea75eb71fabe57abfd
2023-12-01 11:09:15 +02:00
Riccardo Pittau
d6491b0c82 [trivial] remove note on non-voting snmp job
Also fix a couple of yaml lint errors

Change-Id: I47f1734fe9c7af75d8eda61a36b97df0ce360ed0
2023-12-01 09:15:59 +01:00
Zuul
6c9de5324b Merge "Change snmp job to not use a focal node" 2023-12-01 00:49:06 +00:00
Zuul
22f0a206bb Merge "Fix *_by_arch documentation and un-deprecate the options without it" 2023-11-30 20:23:15 +00:00
Zuul
b560273c31 Merge "CI: Remove deprecated devstack method" 2023-11-30 19:25:18 +00:00
Julia Kreger
1ffdabed9d Change snmp job to not use a focal node
tl;dr, devstack no longer supports focal, and now errors which
results in the job failing.

Also changes the snmp job to utilize the test_ramdisk_iso
feature, as *opposed* to a full deployment because iPXE
shipped with Ubuntu no longer likes to chain boot in UEFI
mode to a block device. The easiest path, is just to run
a ramdisk in that case, which also sort of mirrors what
users of the SNMP power interface *tend* to do.

Related-Bug: #2034588

Change-Id: I276885b8f0492ead8cea38fe13826123131984ea
2023-11-30 09:02:57 -08:00
Zuul
be242dc13b Merge "Generic API for attaching/detaching virtual media" 2023-11-30 14:02:38 +00:00
Zuul
81396cea53 Merge "Document wsgi_service fix from 16a806f" 2023-11-29 11:40:29 +00:00
Steve Baker
2db444bce1 Replace swiftclient usage with openstacksdk
Object create/delete operations translate clearly from swiftclient to
the SDK. Switching the temp URL handling is a little more disruptive but
the result is slightly more centralized and enables key rotation.

Change-Id: I8df2f032224bd5e540139a798a7ab76a1aeebb06
Closes-Bug: #2042493
2023-11-29 12:44:30 +13:00
Jay Faulkner
25bb15aeee Document wsgi_service fix from 16a806f
We fixed a bug in wsgi_service around cleaningo up unix sockets; we
should document the fix in a release note.

Change-Id: I6ecb489ea1a9e6490c5ddca5c7467b0c4324dfd1
2023-11-28 14:17:28 -08:00
Zuul
16a806f941 Merge "Trivial: fix a typo in wsgi_service" 2023-11-28 21:53:03 +00:00
Zuul
ce05c68302 Merge "Add missing compatibility between idrac and redfish firmware" 2023-11-28 21:30:49 +00:00
Zuul
8354c28a2d Merge "[trivial] add Python 3.11 mention in setup.cfg" 2023-11-28 19:55:27 +00:00
Zuul
922b904da8 Merge "Deprecate configuration molds" 2023-11-28 19:55:23 +00:00
Dmitry Tantsur
6e10ad9ad7
Add missing compatibility between idrac and redfish firmware
Change-Id: I3026a5c69930825ea2b88587e62b36e8824fa91e
2023-11-28 18:56:56 +01:00
Zuul
28b3f56b2c Merge "implement basic-auth support for user image download process" 2023-11-28 16:05:52 +00:00
Dmitry Tantsur
40edeed615
Improve logging in the dnsmasq DHCP provider
Currently, it logs a lot of entries without context, which won't be
readable when several nodes are deployed at the same time, nor when
someone greps for a node UUID.

Make fewer log entries and add node UUID for context.

While here, modernize the code a bit.

Change-Id: I3a840e47a09e77a9f8d35a7cf400c4bdd4111f91
2023-11-28 16:45:25 +01:00
Zuul
7f4bec112f Merge "Fix Redfish request collecting storage drives" 2023-11-28 15:21:13 +00:00
Mahnoor Asghar
facd862a31 Fix Redfish request collecting storage drives
Fix the Redfish request payload collecting physical storage drives

Change-Id: I3b735709aa2f65b606a0747a2edf98f50af39f87
2023-11-28 13:16:45 +01:00
OpenStack Proposal Bot
b44d16a155 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic8640c58a80c49dbfe16b44b637a1fc28b5419e3
2023-11-28 02:52:10 +00:00
Zuul
6431626de8 Merge "Ensure enable_netboot_fallback writes out pxe config on adopt." 2023-11-28 00:51:43 +00:00