Commit graph

14228 commits

Author SHA1 Message Date
Doug Goldstein
8dcb9e23cb
fix: sphinx-lint unbalanced backticks
Change-Id: I7374e7bcd1471a700008efbe84b3817d9bf68746
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-11-23 14:06:11 -06:00
Zuul
fefbf9a32e Merge "Add UT for metrics modules" 2025-11-23 18:43:01 +00:00
Zuul
0027266ffe Merge "pre-commit: Run ruff before hacking" 2025-11-23 16:01:54 +00:00
Zuul
7107a0f183 Merge "Use specific util methods in vfat image creation" 2025-11-23 16:01:49 +00:00
Zuul
3a614de7f1 Merge "trivial: fix benchmark data generation script" 2025-11-22 20:56:29 +00:00
Zuul
ec455d6832 Merge "Fix cleaning example in docs that sets the BMC clock to use correct arg" 2025-11-22 17:22:39 +00:00
Takashi Kajinami
4e5ff9bf02 Drop reference to TripleO
... because the project was retired some time ago.

Change-Id: I41d7656f6c87a340afedcdbf67c582d68a08744d
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-11-22 18:49:35 +09:00
Zuul
82ee55e280 Merge "Update devstack guides to raise RAM requirement" 2025-11-22 09:35:38 +00:00
Zuul
88c6e21afc Merge "Drop remaining inspector job" 2025-11-22 09:06:24 +00:00
Zuul
50a2fee61e Merge "Fix spelling errors in unit test files" 2025-11-22 07:07:48 +00:00
Zuul
3a6d9e2b73 Merge "Skip BMC detection in IPA for out-of-band management" 2025-11-22 07:07:43 +00:00
Zuul
936d6f698e Merge "trivial: follow-up on ftp enable/disable flag" 2025-11-22 05:01:45 +00:00
Zuul
b521b42f69 Merge "trivial: revise text from mutlinode job changes" 2025-11-22 04:36:17 +00:00
Zuul
43cdd476a1 Merge "Allow detach vif in available state" 2025-11-22 02:34:53 +00:00
Zuul
8ddb504db7 Merge "Make sure [cors] allowed_origin accepts a list value" 2025-11-22 01:56:29 +00:00
Zuul
18c2cb81e8 Merge "pass along physical_network to neutron from the baremetal port" 2025-11-21 23:28:05 +00:00
Zuul
74573ee58b Merge "Include inspector conf groups in sample conf/docs" 2025-11-21 23:09:50 +00:00
Zuul
27c805b97f Merge "Support segmented port ranges" 2025-11-21 21:50:22 +00:00
Zuul
23a63c5424 Merge "Add a script to copy inspection data between Swift buckets" 2025-11-21 18:11:27 +00:00
Riccardo Pittau
09383bc657 Fix singleprocess launcher compatibility with oslo.service 4.4+
The combined Ironic service was passing the no_fork parameter
to ServiceLauncher, which was wrongly mapped to ProcessLauncher [1]

Switch to ProcessLauncher which properly supports no_fork since
oslo.service 4.2.0. This ensures VNC signal handling works correctly
and matches the pattern used by other Ironic services.

[1] 0dfdf810ac

Change-Id: Iea150a5c3f147b7e4f8a778510bfc061a14f289a
Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
2025-11-20 17:14:38 +01:00
Afonne-CID
b3c43ba62d Support segmented port ranges
Adds support for comma-separated, non-consecutive port ranges
in ``[console]port_range``.

E.g., ``'1000:1100'`` and ``'1000:1100,2000:2500,3000:3100'`` are now
both valid.

Some of the unit tests were generated with AI.

Closes-Bug: #2131055
Assisted-by: Claude Sonnet 4.5
Change-Id: Ie35cfb6f431a58857f50b9ceda0daf601c8a6737
Signed-off-by: Afonne-CID <afonnepaulc@gmail.com>
2025-11-19 19:06:34 +01:00
Zuul
e75c8a4483 Merge "Nit: Fix typo in Migrating from ironic-inspector" 2025-11-19 09:38:03 +00:00
Zuul
77343549fe Merge "Follow-up: Document noop deploy interface" 2025-11-19 09:37:58 +00:00
Zuul
a905752e39 Merge "Improve pre-commit configuration" 2025-11-19 09:37:53 +00:00
Zuul
1a031b03a7 Merge "Add node.instance_name" 2025-11-18 23:27:20 +00:00
Afonne-CID
451392c602 Follow-up: Document noop deploy interface
Change-Id: I0a8bf842bfabf3740fb858462b946cbe8d4e278a
Signed-off-by: Afonne-CID <afonnepaulc@gmail.com>
2025-11-18 18:21:53 +01:00
Zuul
bcfd5e6358 Merge "docs: Fix typos and a wrong URL" 2025-11-18 17:21:25 +00:00
Zuul
1861760caa Merge "Add a noop deploy interface" 2025-11-18 17:21:20 +00:00
Riccardo Pittau
4f815d84c8 Skip BMC detection in IPA for out-of-band management
When nodes use out-of-band management interfaces (Redfish, iDRAC
Redfish, iLO, iRMC), the BMC address is already known and configured
in Ironic. This change adds an 'agent_skip_bmc_detect' flag to the
lookup API response config that tells the agent to skip BMC address
detection via ipmitool.

This reduces deployment time and avoids unnecessary ipmitool calls
during hardware inventory collection.

The flag is automatically set based on the node's management_interface
and is included in the config section of the lookup response.

Assisted-By: Claude Sonnet 4.5
Change-Id: I6a432db3eb238894e0ed2676243ce69ec300a9eb
Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
2025-11-18 16:28:54 +01:00
Pierre Riteau
aaa7cea4ca docs: Fix typos and a wrong URL
Change-Id: I497577fc4371eb66db023ff1c4fab39564398855
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
2025-11-18 15:02:03 +01:00
Takashi Kajinami
03cb948c40 Drop remaining inspector job
... because ironic-inspector has been retired.

Change-Id: Id5568cbac8f559821dffd004ab9b6db3e4f4bca6
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-11-18 21:58:28 +09:00
Zuul
d1ad78f827 Merge "Add Release Schedule to release how to" 2025-11-17 19:27:38 +00:00
Zuul
12d6dd2c6f Merge "Deprecate iRMC hardware type and interfaces" 2025-11-17 11:48:44 +00:00
David Nwosu
374aba1c36 Fix spelling errors in unit test files
Change-Id: Ie4a3df034093352776d7e2717a8ae6301b40563c
Signed-off-by: David Nwosu <nwosudavid13@gmail.com>
2025-11-15 11:52:09 +01:00
David Nwosu
1421a2d1a9 Improve pre-commit configuration
Enhanced the pre-commit hook configuration by adding
directory exclusions (.tox/, build/, dist/)

Change-Id: Ib12990cc85bdba5445eb8553c751025923b29645
Signed-off-by: David Nwosu <nwosudavid13@gmail.com>
2025-11-15 11:41:31 +01:00
Zuul
9b3ce45be5 Merge "Fix inspection IB port client-id" 2025-11-15 04:08:14 +00:00
Jay Faulkner
e4b1e394d4 Update devstack guides to raise RAM requirement
Our most basic images require 2500mb of ram, minimum, for fake nodes.

Signed-off-by: Jay Faulkner <jay@jvf.cc>
Change-Id: I0939f6fbb8dfd91c4e3f20b3a785e6acc9feb9bb
2025-11-13 10:03:27 -08:00
Jakub Jelinek
81209ba399 Add a script to copy inspection data between Swift buckets
There is no way to migrate inspection data automatically.
This script documents one of the ways how to copy data
between two Swift buckets.

Change-Id: I4a86faab5e7abef17064e3c716dc17b6a2f21f39
Signed-off-by: Jakub Jelinek <jakub.jelinek@cern.ch>
Assisted-by: Claude 4.5 Sonnet (Anthropic AI)
2025-11-12 17:12:39 +00:00
Jakub Jelinek
3eca781ec3 Nit: Fix typo in Migrating from ironic-inspector
Change-Id: I49351a35971d3970faaea62b36d49e4ee883db1f
Signed-off-by: Jakub Jelinek <jakub.jelinek@cern.ch>
2025-11-12 16:49:25 +00:00
Jacob Anders
7d050f6ae2 Deprecate iRMC hardware type and interfaces
The iRMC hardware type for Fujitsu PRIMERGY servers has been
unmaintained for an extended period.

This change marks the iRMC hardware type and all associated
interfaces (bios, boot, inspect, management, power, raid, and
vendor) as unsupported. All configuration options in the [irmc]
section have been marked as deprecated for removal. The
documentation has been updated with a prominent warning about
the deprecation.

Users of the iRMC hardware type should begin planning migration to
alternative hardware types. The driver and all associated code will
be removed in a future Ironic release.

Change-Id: I78b822e5fe3bd1ce4d7ea410c4569d6b830dc214
Signed-off-by: Jacob Anders <janders@redhat.com>
Assisted-by: Claude 4.5 Sonnet (Anthropic AI)
2025-11-13 02:12:29 +10:00
Jay Faulkner
bc463ebcbb Add node.instance_name
This adds node.instance_name as a top level field

Additionally, to provide forwards-compatability for nova clients,
we will automatically set node.instance_name if
node.instance_info.display_name is being set.

Tested the following in devstack, using manual CURL api calls:

 - Viewing an instance_name via GET /v1/nodes/node-name
 - Adding an instance_name
 - Clearing instance name on undeploy
 - Setting an instance_name via PATCH /v1/nodes/node-name
 - Setting a instance_info/display_name and validating it sets instance_name
 - Setting a instance_info/display_name when instance_name already exists and
   validating it DOES NOT OVERRIDE existing instance_name
 - node.instance_name not returned for API version < our micro version
 - querying /v1/nodes with ?instance_name=somename
 - (cid) Sort of fully tested integrated with nova by observing CI logs
 - (jayf) Added missing comments around API versions, and added a reminder
   comment

Generated-By: Claude code
Change-Id: Ic24b2e8dbe88c59f0df52a0f5581d48492ba8cd7
Signed-off-by: Afonne-CID <afonnepaulc@gmail.com>
Signed-off-by: Jay Faulkner <jay@jvf.cc>
2025-11-12 13:34:51 +01:00
Zuul
41a0ae8565 Merge "Filter null NIC firmware versions from cache" 2025-11-12 07:23:58 +00:00
Doug Goldstein
e721c56e68
pass along physical_network to neutron from the baremetal port
When plugging a baremetal port in using the 'neutron' interface, send
the 'physical_network' value of the baremetal port to Neutron as part of the
binding_profile for the port. This can be useful for VXLAN underlay
connected machines where the networks in Neutron are VXLAN networks
which then have segments on them that are VLAN based segments which bind
the VNI to a VLAN for attachment for the node to connect to the VNI.

Ref: https://bugs.launchpad.net/ovn-bgp-agent/+bug/2017890
Ref: https://bugs.launchpad.net/neutron/+bug/2114451
Ref: https://review.opendev.org/c/openstack/neutron-specs/+/952166

Partial-Bug: #2105855
Assisted-by: Claude Code 2.0
Change-Id: I6e0185e203489676d530e6955929997f4871b8fa
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-11-12 00:36:19 -06:00
Afonne-CID
bcae66f199 Add a noop deploy interface
This change adds a NoDeploy class to allow for a truly minimal
deployment interface with no-op implementations for all required
methods.

Closes-Bug: #2106550
Change-Id: Ic6faf34860efef9165ad868d57972cd5007eacd4
Signed-off-by: Afonne-CID <afonnepaulc@gmail.com>
2025-11-11 21:07:28 +01:00
Afonne-CID
5563e5275f Filter null NIC firmware versions from cache
Treat absent firmware package version as non-cacheable to avoid NOT NULL
database constraint violation.

Closes-Bug: #2130990
Change-Id: Ic2efaa0d53b6923908112c937957a60aa4f1ad9d
Signed-off-by: Afonne-CID <afonnepaulc@gmail.com>
2025-11-11 20:48:56 +01:00
Zuul
a4a2a25094 Merge "fix: local_link_connection inspection hook does not fail on missing port" 2025-11-10 22:47:15 +00:00
Zuul
cd06a3f205 Merge "fix: ensure that portgroup physical_network is updated for tests" 2025-11-10 22:02:39 +00:00
Zuul
7e7ab375c0 Merge "Fix storing inventory and plugin data in Swift" 2025-11-10 19:37:27 +00:00
Doug Goldstein
bb97a64225
fix: ensure that portgroup physical_network is updated for tests
The tests create the portgroup and then create ports in the DB while
setting the portgroup_id on the created port. The result is that the
physical_network field is not kept in sync on the portgroup with the
port's value as is expected since I5a9d9c19182b232bc1b8446644cab0bf6d68d139
resulting in inconsistent data for the tests. Since the tests only
confirm that the portgroup physical_network is of the expected value,
which is empty so they pass.

Change-Id: Ied1f5c884652ff4e7ddeb748199dbf20ebc879bd
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-11-08 23:28:32 -06:00
Doug Goldstein
90b5853346
fix: local_link_connection inspection hook does not fail on missing port
The code intended to not fail when a Port object was missing but to
instead skip the handling of that node but instead there is an unhandled
exception because the get_by_address() method throws PortNotFound
instead of returning None when a port couldn't be found.

Change-Id: I04dfa09ada7e6a9d22ba16051cb5737daf3bc668
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-11-06 21:17:47 -06:00