421 Commits

Author SHA1 Message Date
ecf549524d reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I0f2d220a0452aeb761d5acbab1b04cc7e7d46d16
2024-11-29 07:53:31 +00:00
Takashi Kajinami
eb614d5081 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: I3a1494a5691298d52cfda7822d8d340ad632763c
2024-10-24 18:14:05 +09:00
OpenStack Proposal Bot
6e473d37de Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id9c869802cf4d4c8b3aef67af3a11cf5b7eb0619
2024-09-27 03:13:56 +00:00
def9e26967 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: Ieff592203d58970086d4a55bc628c60757cfbbab
2024-09-20 13:51:00 +00:00
Zuul
2be064c715 Merge "Fix: ignore resolve error while looking up node" 2024-09-18 17:55:15 +00:00
Robert Hoffmann
2318bf75f6 Fix: ignore resolve error while looking up node
Log a warning instead of throwing an exception if an address of some node
cannot be resolved, so new nodes can be registered in ironic.

This solves the problem that if an address of any other node is not
resolvable, no new node can be registered, even if its own address is
resolvable.

Closes-bug: #2072544
Change-Id: If7f65bcac2bb23c148ba27d45166d4a978df1e79
Signed-off-by: Robert Hoffmann <robert.hoffmann@uhurutec.com>
2024-09-18 14:25:34 +00:00
OpenStack Proposal Bot
a031db7e4b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Idd247309acb5e2594c0bc893a247eebeb6f73827
2024-09-17 02:18:08 +00:00
Riccardo Pittau
751c199b81 Fix versions in release notes
Change-Id: I189911e83a99798923001945fd25d4771c7d77c1
2024-08-23 10:21:07 +02:00
OpenStack Proposal Bot
43248710fa Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9e76150840f8e1cdd1bf48daca4055b5b5163353
2024-07-19 04:06:46 +00:00
OpenStack Proposal Bot
2084ae1de0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id4b6e03eb9a8c1c2d9d84ded0e7a193583beaa90
2024-07-10 04:22:48 +00:00
Dmitry Tantsur
e96ee4b5ff
Deprecate the project
The time has come. After nearly 10 years of existence, ironic-inspector
enters maintenance mode. New deployments are discouraged, existing ones
should consider migration.

Change-Id: I2cf90d973acd988896071a23c6d6533324368632
2024-07-05 15:48:39 +02:00
Zuul
5092b4ada7 Merge "Cache openstacksdk Connections to avoid leaking memory" 2024-06-13 09:02:31 +00:00
Dmitry Tantsur
48a3bf605b
Cache openstacksdk Connections to avoid leaking memory
The current code never closes connection. Newer openstacksdk versions
register Connection.close with the atexit mechanism, so any connections
that are not explicitly closed stay in memory forever.

Change-Id: I18bbb460cbaa4f58f9e736c071571c38ced35892
2024-06-12 17:33:39 +02:00
OpenStack Proposal Bot
f868a25f71 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1ea40feb644d59dc989c3ae58eaca8ae78517ee4
2024-05-29 04:13:09 +00:00
cid
7df15bd99e Fix codespell reported errors
Fix and ignore spelling errors raised by codespell

Change-Id: Ic3698b91f7ce6694b0b3589b38b26aa95e8b5a64
2024-05-24 16:18:52 +01:00
f31ed9e0b9 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I38b58fb707edb9ea77b79a972b1ac7cd498bcb10
2024-05-06 06:21:42 +00:00
cid
45adb75e04 Follow-up: Use `microversion-parse` to parse version headers in API requests
Adds a release note, unit test, and documentation update as a follow-up to the
`microversion-parse change <https://review.opendev.org/c/openstack/ironic-inspector/+/913794>`_

Change-Id: I2fc3ff32a96035e40d70c39ea34d494466060fb6
2024-04-18 22:53:41 +01:00
Zuul
5f84680600 Merge "Update regex to detect closed branch" 2024-04-15 17:18:42 +00:00
04595529d3 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: I0488ba83e60f1f1dc796a244f9e77201053c04c0
2024-03-19 11:10:04 +00:00
OpenStack Proposal Bot
48f34a7071 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ibd9cbe84b3c23e26233b61481fcacdae233b7665
2024-03-19 04:26:28 +00:00
Zuul
b76d83349b Merge "reno: Update master for unmaintained/xena" 2024-03-14 12:13:41 +00:00
Zuul
d0a1811857 Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 11:57:54 +00:00
7ae748054e reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I95c0cd5db67a68eb69c082a9e5e9a867ba0795e2
2024-03-14 11:25:56 +00:00
bb8b7c21fd reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I4f29351a88eeb3f916d8c8e7129b3a446939aa35
2024-03-14 11:21:26 +00:00
15dd8e7bd9 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I5ab01bb2cd05c8ac672f97deb9001a65885eb4be
2024-03-14 11:17:06 +00:00
Takashi Kajinami
93352b6994 Update regex to detect closed branch
... based on the change made in reno recently[1].

Also the overall regex is updated to be more consistent with the regex
used in ironic.

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

Change-Id: Ibd1db024b9d7ab03aec083675465c6c24229a805
2024-03-13 19:39:10 +09:00
8659bff73d reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I18a2016a94391faaa0ffb8f113ea58aa43399276
2024-02-06 15:02:52 +00:00
Zuul
93bef2405a Merge "[codespell] Fixing Spelling Mistakes" 2024-01-27 00:00:48 +00:00
Zuul
212d0b2a9a Merge "Change policy to enforce only new policy" 2024-01-26 04:03:33 +00:00
Julia Kreger
fff80086d6 Change policy to enforce only new policy
Change's inspector's default policy to align with the 2023.2
release goal.

Depends-On: https://review.opendev.org/c/openstack/ironic/+/902009
Change-Id: Iaa271bd13e3a62c4a3b35b6e6b556984f7b1d09c
2024-01-26 01:01:11 +00:00
Sharpz7
98a226b9c6 [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: Icb4e66359c3e79618c916b35793ea7b5f79b030d
2024-01-25 21:22:07 +00:00
Zuul
bebf29d4f8 Merge "Fix RBAC access for service/admin user access" 2024-01-18 21:09:24 +00:00
Zuul
c4a177c8eb Merge "Handle LLDP parse Unicode error" 2024-01-12 00:10:37 +00:00
Julia Kreger
5523b11cba Fix RBAC access for service/admin user access
This change fixes inspector so a project scoped service role user
can connect to inspector, and a project scoped admin user can also
access inspector as the OpenStack community pivoted it's RBAC
direction after the original RBAC work was done, and inspector
was sort of forgotten about.

Closes-Bug: #2049098
Change-Id: Ide9420843a680b09d682062a99b2c88c0fcf5228
2024-01-11 11:55:11 -08:00
Riccardo Pittau
db76af9c86 Handle LLDP parse Unicode error
Closes-Bug: #2044793
Change-Id: I939c80bb309b22e05ba7cc93686f12bbe0d71624
2024-01-03 14:37:41 +01:00
Riccardo Pittau
bf59b80e93 Fix versions in release notes
Change-Id: I6a3db14cd24ac50c02801fa7b156749c109bb17d
2023-12-20 10:27:04 +01:00
fbfe131c5d Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: Ice4a0d1b8e17d12f5b31aa0bcf4f0f8d76596510
2023-09-21 11:20:13 +00:00
Zuul
f09ce1f01c Merge "Handle bracketed IPv6 redfish_address" 2023-09-20 10:57:34 +00:00
Dmitry Tantsur
be3d3772de Update the project status and move broken jobs to experimental
Since ironic-inspector is pending deprecation and does not see a lot of
changes, simply disable the jobs that do not pass. A release note is
issued about the status of the project.

Also: Re-adjust the memory footprint of the VMs since we use
tinycore linux on this job, *and* we were previously introsepcting
4 VMs at 1GB each. The count has been changed to two.

Change-Id: I11d10a9f83552b5875812fa65d87cc5c72081537
2023-09-19 08:03:43 -07:00
Harald Jensås
278ba52bf9
Handle bracketed IPv6 redfish_address
If redfish_address is in brackets, unwrap it
and check that it is a valid IPv6 address.
If that is the case use the unwrapped address
to avoid "Name or service not known".

Closes-Bug: #2036455
Change-Id: I0d194091be22e8401d379b7ffa720f8004cca3d0
2023-09-19 14:59:44 +02:00
OpenStack Proposal Bot
62e42d3800 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Idda5fcfacc300cb812827399b68c928a357e28fd
2023-05-09 04:01:21 +00:00
974ec5a45e Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: I4e7efcbb18a2e44508ca7ca74250c9a17a3be4b6
2023-03-09 13:37:10 +00:00
OpenStack Proposal Bot
933c4f8d10 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia1b6c60ec3b3c649c223b1aa1bb2c21334940f74
2023-02-04 03:41:46 +00:00
Jay Faulkner
e1f3b71a39 Make reno ignore bugfix eol tags
Reno was assuming all tags ending in -eol represented an old, EOL'd
stable branch. That's not true for Ironic projects which have bugfix
branches. Update the regexp to exclude those branches.

Co-Authored-By: Adam McArthur <adam@mcaq.me>
Change-Id: I2f8c80bd2aac2d00616ac2a2789a7da303d29656
2023-01-25 13:22:33 -08:00
Anton Arefiev
3fe42b53fd SQLAlchemy 2.0 Support
Primarily remove the workaround added in
Ia6d512ff2ae417bab938cb095fbb0884d195010a which added
continued use of autocommit, which is incompatible with
SQLAlchemy 2.0.

Also set the environment for unit tests to report compatability
warnings, although it appears none are being reported at this time.

Also cuts out the db upgrade cruft to only use the online database
migration code through oslo_db's enginefacade, which has the smarts
to handle online or offline migrations.

And then, retools unit/functional test data storage to utlize sqlite,
and in that re-tooled the queries to prevent locking conditions
which could exist with queries, and some additional refactoring/cleanup.

Also, don't mock and test time.sleep().

Additionally, it looks like we have discovered the root cause of the
memory/connection leakage issue which has been observed, due to the
way lists of nodes are processed/returned.

This change was based upon the work in
I506da42a9891a245831f325e34bec92e0a3f33f0 which is included in
this commit as the entire database structure and interaction
has been modified for ironic-inspector.

Co-Authored-By: aarefiev <aarefiev@mirantis.com>
Story: 2009727
Task: 44132
Change-Id: Ic88eb9dec5fddc924a72d9a23c17a304954ebf46
2022-12-15 09:28:55 -08:00
OpenStack Proposal Bot
d364e9dc30 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id1a044df75cfbc046a675988e8d1f00da78b928a
2022-10-12 03:16:15 +00:00
OpenStack Proposal Bot
18f64e91be Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ibc04cf86e7d028e4253f4b47d22a58000b9cfed3
2022-09-24 02:13:37 +00:00
Riccardo Pittau
8b389896ea Update release versions for yoga
Change-Id: I41e541dd989067f5f694c904eb54b4adfc349582
2022-09-23 09:03:44 +02:00
64c881b20f Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: Id87e98c6a0052c45b78eebeedd6c3fdca6890a61
2022-09-22 08:52:03 +00:00
Jakub Jelinek
5ab429d528 Introduce skip list to inspector
Follow the same process of root device selection as in IPA
which changed in https://review.opendev.org/c/openstack/ironic-python-agent/+/850861
The change introduces 'skip_block_devices' field into properties which
contains a list of hints pointing to devices that cannot be root devices

Change-Id: I94c8607ef9c610eadf1b5bce4fb154e97939a643
2022-09-20 11:18:36 +01:00