Commit graph

244 commits

Author SHA1 Message Date
OpenStack Release Bot
231493fd7f reno: Update master for unmaintained/2024.1
Update the 2024.1 release notes configuration to build from
unmaintained/2024.1.

Change-Id: I757ea58de13a6be09df373940cf7d9b771fa6ad6
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/change_reno_branch_to_unmaintained.sh
2025-10-31 12:05:44 +00:00
Thomas Goirand
7412d346f9 Fix min version of Neutron
Some unit tests appear to fail otherwise.

Signed-off-by: Thomas Goirand <zigo@debian.org>
Change-Id: Iaea938c42de5d9987457c202a0069cbada3b6618
2025-09-20 03:18:22 +02:00
OpenStack Release Bot
5fcce935bf Update master for stable/2025.2
Add file to the reno documentation build to show release notes for
stable/2025.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.2.

Sem-Ver: feature
Change-Id: I45f943697f526c94ad7cb65c204347b29aa89464
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/add_release_note_page.sh
2025-09-18 14:09:43 +00:00
Jay Faulkner
b691bda656 Add releasenote about removed eventlet
We removed eventlet; we should tell an operator or two :).

Change-Id: I06ec1104124b9a41f3f2163548ad6ea597de7c40
Signed-off-by: Jay Faulkner <jay@jvf.cc>
2025-09-15 08:57:25 -07:00
Ivan Anfimov
81d40be9ef tox: Remove ineffective ignore_basepython_conflict
Change-Id: Iafee63044f39de6526641c5f3d57e8e6db4aac89
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-08-17 23:49:20 +00:00
Zuul
eff375eb67 Merge "Remove Python 3.9 support" 2025-08-06 23:39:50 +00:00
Takashi Kajinami
49f3f6ccd7 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

[1] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: I58171831cacca8467e183f2d2899338aabe2800c
2025-06-26 02:15:57 +00:00
aarefiev
909af1e850 Clean up baremetal agents on node delete
Operators may delete ironic node, but related neutron baremetal
agent entry is left unchanged.

Clean up old down agents on start up if no related node and delete
agent when node is deleted.

Co-Authored-By: Harald Jensås <hjensas@redhat.com>
Depends-On: I9db166e9b610f0bafc2be5351f3b79c4c2251664
Related-Bug: 2086640
Change-Id: Id8c5ca3923a8d00f9902308625bdea8484dc3fac
2025-06-11 21:28:21 +02:00
Takashi Kajinami
bb5cd2934a Drop explicit dependency on python-subunit
It is no longer directly used by any test code in this repository, but
is now installed as a dependency of stestr.

It was used globally in OpenStack repos before we migrate the test
runner to stestr.

Change-Id: I3a5f40dc352ca369ae81a9df3dcda9ff5a87edfa
2025-06-10 21:35:23 +09:00
Jay Faulkner
4fab2a6fe9 Remove explicit use of eventlet
Networking-baremetal, as an ML2 plugin, can't really migrate off
eventlet on it's own. This removes all explicit mention and use of
eventlet, which should mean once it's host process is rid of eventlet,
so will we.

Change-Id: I31e3275a7db39b51f585a50ad71d5f7c8696dd4b
2025-05-29 16:45:48 +00:00
Jay Faulkner
4a33028bc4 Use new syntax for neutron enablement
Since the recent neutron devstack plugin changes, networking-baremetal
CI has been broken with an error around attempting to enable neutron-api
when it's been disabled. It appears this is erroneously erroring because
we were using the old name (q-svc) to refer to the neutron-api.

Signed-off-by: Jay Faulkner <jay@jvf.cc>
Signed-off-by: CID <cid@gr-oss.io>
Change-Id: I5e591278887df9b58a6cb4eb810049ad05b2a9dc
2025-05-28 11:48:30 -07:00
Zuul
1c0c66eae4 Merge "Fix failing genconfig target" 2025-04-22 13:33:59 +00:00
Takashi Kajinami
4e46b5aa17 Drop redundant allowlist_externals
The pre-commit command is installed into the target virtualenv as
a test dependency.

Change-Id: I15120d5ac3fa5c7493188d53393dfcec9171a5b4
2025-04-20 00:38:13 +09:00
Takashi Kajinami
9ca350323a Fix failing genconfig target
The target fails in a clean repo because the target directory does not
exist.

Also install the runtime dependencies to avoid keep ncclient in both
requirements and test requirements.

Change-Id: Ie71869a8871da6211bb6b9690b98dc1d5d9f8635
2025-04-20 00:35:48 +09:00
Doug Goldstein
b66252c50a
add pre-commit and adjust tox to utilize it
Added pre-commit configs to match what is used in other Ironic
projects and adjusted tox to utilize it for any checks. Removed the
separate codespell job since that will be included in the default pep8.

Change-Id: Idaad2ab953e23d7780a0a49407889e85650c94cd
2025-04-11 11:39:00 -05:00
Doug Goldstein
b610783177
fix sphinx-lint issues
Change-Id: I492bf34a9a7a43778f050b1ba96f014b0df2d650
2025-04-11 11:34:57 -05:00
Doug Goldstein
a95db9921f
fix awkward logic that the linter didn't like
Change-Id: I755c7e59bbcf026b128c8704a1bedf167803e233
2025-04-11 11:34:57 -05:00
Doug Goldstein
64490b6730
fix spelling mistakes
Change-Id: I37d7d254b3d2f9fda247d305173a586cde51f4ae
2025-04-11 11:33:58 -05:00
OpenStack Release Bot
25928fc86f Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.1.

Sem-Ver: feature
Change-Id: I9492fe821a04cc5c066effb066396e61c90296eb
2025-03-18 17:22:26 +00:00
OpenStack Release Bot
8b92ad81c0 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I43a7f6fbd32f1d1aef14fc9f46127f048e07a5d9
2024-11-29 07:54:56 +00:00
Zuul
d97cb6bad4 Merge "prevent break on communications failure" 2024-11-26 00:04:09 +00:00
Julia Kreger
81b84c813b prevent break on communications failure
Changes the internal logic to intentionally force the agent
to exit hearbeat operation when hard communicaiton failures
occur, allowing the process runner to understand and attempt
a service restart, as opposed to silently breaking the overall
service operation.

Closes-Bug: 2084912
Change-Id: Ic6b0c3b4c7aca5e2a28174177463257f55546e06
2024-11-14 19:23:43 +00:00
Takashi Kajinami
09850a4210 Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: I22dcf3683b6141b794dd9d9c6e95002f18787043
2024-10-24 21:00:42 +09:00
Zuul
a4c7b24186 Merge "Drop unnecessary 'x' bit from doc config file" 2024-10-22 07:58:32 +00:00
Takashi Kajinami
0199595f38 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.

Trivial-Fix

Change-Id: I8afcedd517321a35e6d0707a08604524800299a7
2024-10-21 20:22:49 +09:00
Doug Goldstein
1d62d4e961
add pyproject.toml to support pip 23.1
pip 23.1 removed the "setup.py install" for projects that do not have
their own pyproject.toml by having a hardcoded one within pip.

To address that, this change adds the minimal pyproject.toml
to enable pbr to be properly used to build editable wheels.

See https://pip.pypa.io/en/stable/news/#v23-1
and https://github.com/pypa/pip/issues/8368 for more info.

Change-Id: I73982059cca0411fb1ed6c64f03031b8dcd668d4
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2024-10-18 12:17:22 -05:00
Zuul
185e6c105c Merge "avoid attribute error on bad password or config" 2024-10-09 16:37:46 +00:00
OpenStack Release Bot
76c25324c8 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.2.

Sem-Ver: feature
Change-Id: Ic29e7163bab358bd4028df95451e939c964487ae
2024-09-20 13:54:02 +00:00
Doug Goldstein
499519ca22
avoid attribute error on bad password or config
If the agent cannot fully start up because of a bad password or a bad
configuration file then it will error out when it tries to stop the
heartbeat which wasn't created yet, with the real error much higher up.
This allows the code to more gracefully fail and the real error to be
more apparent.

Change-Id: I65607f45c488864e35c63b55d221e25fd4761fe1
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2024-09-17 09:05:11 -05:00
Riccardo Pittau
0bf02fbbba Update to match latest development cycle
Update python supported versions
Update tox versions and options

Change-Id: I2ce084407b325761bc4a0f3d7598efabcd467286
2024-07-02 10:52:32 +02:00
cid
252c4a6d55 Fix codespell reported errors
Fix and ignore spelling errors raised by codespell

Change-Id: If03feafb4613167d70ddee51a268ad26df8ac550
2024-05-25 06:39:48 +01:00
Pierre Riteau
4ce006523d Remove call to enable_python3_package
It is not necessary anymore to call this devstack function [1].

[1] https://review.opendev.org/c/openstack/devstack/+/622415

Change-Id: I316ddb45c164c2217c6d4478da5741eb62d28d96
2024-05-16 17:24:42 +02:00
OpenStack Release Bot
d3112832c7 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I30bb2719747c4c59e5b916b81a9717e91b2e963c
2024-05-06 06:24:18 +00:00
OpenStack Release Bot
7aa64513df Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Id06d0b078fc5e0d7a42f89a22000f9f894c33e37
2024-03-18 10:25:43 +00:00
Zuul
ef31485226 Merge "reno: Update master for unmaintained/xena" 2024-03-14 12:02:40 +00:00
Zuul
0afdefe8e3 Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 11:57:31 +00:00
OpenStack Release Bot
4ccfef79e1 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I05616a984e23fbfe2b48404d81fe8f1eac567138
2024-03-14 11:28:35 +00:00
OpenStack Release Bot
321015bea6 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I49dd39433402be253a577c2f3bcc460837829b86
2024-03-14 11:24:03 +00:00
OpenStack Release Bot
10e86296bd reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ieaf1a36a0a83b7754fddf3e5976ce8f2b2596382
2024-03-14 11:19:31 +00:00
Zuul
4ceb899bb4 Merge "Bump hacking to 6.1.0" 2024-03-08 07:50:47 +00:00
Sven Kieske
b790573991
don't force amqp_auto_delete for quorum queues
this feature is not compatible with quorum queues
This was introduced with Ie51d0a0b02ed5ea336f3280d84d77cf8fec90ccb
I'm not sure if this kind of behaviour is needed
in case of quorum queues. If it is, it might be necessary
to adjust the TTL of the quorum queues, however afaik oslo_messaging
does not expose this directly.

It might be possible to emulate this with `rabbit_quorum_delivery_limit`

Closes-Bug: #2046962
Change-Id: Ib53386f34f75f994cbe116bb37e3a82e61960da6
Signed-off-by: Sven Kieske <kieske@osism.tech>
2024-02-29 10:03:42 +01:00
Sharpz7
57ba0847c0 [codespell] Adding CI target for Tox Codespell
Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: Ib9ae97523662dfd1ab1e5dfa27d92cbd6294cc92
2024-02-16 23:56:10 +00:00
Sharpz7
7d35a1cb02 [codespell] Adding Tox Target for Codespell
Second in a series of commits to add Codespell to Ironic Repos. This one adds the command that was used to fix the spelling errors.

Future Commits will add CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I6f4c20d0797d3ed9bf0571c52daa7d200e3c4948
2024-02-16 23:55:58 +00:00
Zuul
20db2499d0 Merge "[codespell] Fixing Spelling Mistakes" 2024-02-16 22:05:29 +00:00
Sharpz7
b0f49cce2a [codespell] Fixing Spelling Mistakes
This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.

Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: Icdb58ad8a1995534f7c7b0fc6f5c68e38f007dae
Depends-On: https://review.opendev.org/c/openstack/ironic/+/909120
2024-02-15 15:24:31 +00:00
Takashi Kajinami
ae3c428fea Bump hacking to 6.1.0
... which is the latest version available now.

Also remove the note about behavior of old pip versions.

Change-Id: I1fd68272f10c774ae07154bfaad47944a4462551
2024-02-06 15:58:53 +00:00
OpenStack Release Bot
01aa4f14b3 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Icc7575a77680f111d01c5fd9d9b985d396c5bffa
2024-02-06 15:04:57 +00:00
Zuul
1f99a8ff49 Merge "Remove deprecated pbr options" 2024-01-10 09:25:35 +00:00
Takashi Kajinami
71dc057208 Remove deprecated pbr options
The api_doc_dir option and the autodoc_index_modules option were both
deprecated in pbr 4.2.

The required options for the sphinxcontrib-apidoc extension are already
defined in doc/source/conf.py .

Change-Id: I4b7c99886b4bd5ad7b7268ce9d89a2755f37ab59
2023-12-20 02:44:57 +00:00
Vasyl Saienko
dce56bdb4e Do not try to bind port when we can't
Do not call context.set_binding when we do not have
devices that matches port switch and we can't handle
the port. Let other drivers like n-g-s process the port.

[0] https://opendev.org/openstack/networking-generic-switch/src/branch/master/networking_generic_switch/generic_switch_mech.py#L446

Change-Id: I3af25f7d230dd3576286ae63a5c70837d3c810a9
2023-12-18 17:59:44 +00:00