* Update ironic-inspector from branch 'master'
to 45adb75e04deccec2a8f77af51b7a6d1f3335d53
- 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
* Update ironic-inspector from branch 'master'
to 5f846806006ca65d4c6f8a5ae2e188da285d5222
- Merge "Update regex to detect closed branch"
- 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
* Update ironic-inspector from branch 'master'
to eaec41e9d6e8c575e1fcf8ebfdbf6172b52b72a7
- Use the new microversion-parse library to parse the version headers
Closes-Bug: #1584718
Change-Id: Ibc451536b7e5dcb3923d3a851686932e0a0c4490
* Update ironic-inspector from branch 'master'
to 04595529d3a96dae27fdcb4da3ac1d971a5df990
- 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
* Update ironic-inspector from branch 'master'
to 48f34a70719f49bd1e8afc8015c4c757204cc202
- 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
* Update ironic-inspector from branch 'master'
to 4d16e410ad0b037cdfb8a8edcc86f174ff7cb4d3
- Merge "Update bug tracker url"
- Update bug tracker url
The ironic-inspector project has been migrated back to launchpad when
the whole ironic project was migrated back.
Change-Id: I956d00a7a6e72312c7b736750331c0dbe96bc326
* Update ironic-inspector from branch 'master'
to ae6402f684c31516441080b16a66c0cdfb3237d5
- Merge "Ignore generated config/policy file"
- Ignore generated config/policy file
These files should be generated by tools and should not be added to
the repository.
Change-Id: Iecce1495b98251a90bd2d4444f9d8a9d05c545f0
* Update ironic-inspector from branch 'master'
to b76d83349b88be8f09ebbc5a83d6e56284dce33f
- Merge "reno: Update master for unmaintained/xena"
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I95c0cd5db67a68eb69c082a9e5e9a867ba0795e2
* Update ironic-inspector from branch 'master'
to d0a1811857408fa8aca35ec5d1c7ecaf9acb16fb
- Merge "reno: Update master for unmaintained/wallaby"
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I4f29351a88eeb3f916d8c8e7129b3a446939aa35
* Update ironic-inspector from branch 'master'
to 15dd8e7bd9a1fe7d9196cc88162be0a542412ac0
- reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.
Change-Id: I5ab01bb2cd05c8ac672f97deb9001a65885eb4be
* Update ironic-inspector from branch 'master'
to bd08bf4f85e7b6168ec0fd8d07bc72904488aaca
- Force constraints when installing a package during tox test
The tox deps option grants installation of single dependencies and
requirements, optionally pinned using constraints, before installing
a package, therefore not granting installation of the correct
constraint during the package installation.
To fix that tox 4.4.0 has introduced the constrain_package_deps
option [1]
[1] https://tox.wiki/en/4.12.1/faq.html#using-constraint-files
Change-Id: Ied659411bffb3f37e67523bc50a6a03b19cceef6
* Update ironic-inspector from branch 'master'
to 8659bff73dfe3e4d40376504ed25a55b39c88d33
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I18a2016a94391faaa0ffb8f113ea58aa43399276
* Update ironic-inspector from branch 'master'
to 3e2d6b70d2c4852acdc03606da932b5874fcae1b
- Merge "Remove commenct lines for old openstackdocstheme"
- Remove commenct lines for old openstackdocstheme
The version option and the release option are no longer needed since
openstackdocstheme 1.20.0 . These lines were already removed from
ironic by [1].
[1] https://review.opendev.org/c/openstack/ironic/+/663474
Change-Id: Ifdb7b6e2a3a99e121f57c1fd5811422f672d4870
* Update ironic-inspector from branch 'master'
to ac019a064c14b665a5241a4658fca7035973bde1
- Merge "Bump hacking to 6.1.0"
- Bump hacking to 6.1.0
... which is the latest version available now.
Change-Id: I0953eac69ca3c68cdb68c527485cc3de60325220
* Update ironic-inspector from branch 'master'
to 53c1b29bd1c193514283de5130d55b3d80d4efa6
- Merge "Remove dependency on pytz"
- Remove dependency on pytz
pytz will be removed from RHEL/CentOS 10 because of the built-in
zoneinfo[1].
Because the current usage of pytz can be very easily replaced, this
removes the dependency on pytz.
[1] https://issues.redhat.com/browse/RHEL-219
Change-Id: Iafcaf2f1095cd7c738dac391a9af10622806e932
* Update ironic-inspector from branch 'master'
to e40d344d1e86985cfdb9ad9326e81069ec4486e6
- Merge "[codespell] Adding CI target for Tox Codespell"
- [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: I43818291edfde18c217ab4acb4d951b8a85f6fcd
* Update ironic-inspector from branch 'master'
to 945c76de1d66e1b84f9ed2dddac144e23714d131
- Merge "[codespell] Adding Tox Target for Codespell"
- [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: I2e356fb4dea543d6e57614394d439a6767498f8d
* Update ironic-inspector from branch 'master'
to 93bef2405a41b73dbafc2d9dd9e0464786535980
- Merge "[codespell] Fixing Spelling Mistakes"
- [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
* Update ironic-inspector from branch 'master'
to 212d0b2a9a4d651eb9456246903d07c98e99c2ff
- Merge "Change policy to enforce only new policy"
- 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
* Update ironic-inspector from branch 'master'
to bebf29d4f83dbc2d3c7f779e8ead57980133e172
- Merge "Fix RBAC access for service/admin user access"
- 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
* Update ironic-inspector from branch 'master'
to 0fb55899f09728b43030eb8f864f315bcbc883b5
- Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: I6cfc38e2d7b1d272acbe6b6d904e09c172bce78c
* Update ironic-inspector from branch 'master'
to dc5da6722ec49d281c462e0571054cd99dc875f2
- Suppress logs from stevedore
The stevedore library tends to put large number of logs especially when
debug is enabled.
This suppresses from this library, as is done in oslo.log by default.
Change-Id: I8989bdf132e8498093cbe05a7858a9315e858994
* Update ironic-inspector from branch 'master'
to 969cccb0c574bd7b09a4bbe66172535b970656d4
- [coordination] backend_url should be secret
The backend_url option can sometimes contain secrets.
For example when redis coordination backend is used and authentication
is enabled in redis, the plain redis password is put as an URL element.
[coordination]
backend_url=redis://:password@127.0.0.1:6379
Closes-Bug: #2012246
Change-Id: If0f142a742d407e5e91e422ef3109002b37c475d
* Update ironic-inspector from branch 'master'
to 85aadd6338aaeace73dd5a104eeda50ecf3eeb3a
- Merge "Drop before_first_request usage of Flask app"
- Drop before_first_request usage of Flask app
Flask 2.3 removed this method, with recommended way of running
startup actions explicitly as part of app initialization.
Change-Id: I5dea1320c9aa63c1ef1742382cb46ea7cc56b10b
* Update ironic-inspector from branch 'master'
to 24733d08bcc4c119f176b3b52df5e7f769624b2c
- SQLAlchemy 2.0 - Fix items lost in migration
Seems we forgot some leftovers of autocommit in our unit tests,
and we never updated our unit tests to the newer query style
for sqlalchemy 2.0.
This patch corrects those issues.
Change-Id: I9f3eb1f8efadd8438ac7dd69b06ea545b9a8ee5e
* Update ironic-inspector from branch 'master'
to 11f52aa5d361dbad19039e2d1363954ddb5ea11d
- Merge "Fix python shebang"
- Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.
Change-Id: I7e8bff6da0a71216426985d3fa6fd5f30b853e2c
* Update ironic-inspector from branch 'master'
to fbfe131c5d326c368a0bdec8402eeede014a2b0e
- 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
* Update ironic-inspector from branch 'master'
to f957f6fccc4a949c382c5ee4a3b5e80a38d110e1
- Merge "Support LLDP data coming in the new field"
- Support LLDP data coming in the new field
Change-Id: Id8d6978035f81215c52ed5ab3406d7adac2c561e
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent/+/881462
* Update ironic-inspector from branch 'master'
to f09ce1f01c052555dfa85956644baaa8df7f44e7
- Merge "Handle bracketed IPv6 redfish_address"
- 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
* Update ironic-inspector from branch 'master'
to 728df8893dc7fb7afbc0322e130c47618621db9e
- Merge "CI: re-add genade job to normal CI queues"
- CI: re-add genade job to normal CI queues
We fixed the grenade job, it works now. Moving it back to the standard
check and gate queue.
Change-Id: Ie0e810c4eec1322180c024703b90a584f1161672
* Update ironic-inspector from branch 'master'
to 04f0f5ba54ea5ff87759e76ca77ae3660c04248a
- Merge "Fix bindep for debian bookworm for py3.11"
- Fix bindep for debian bookworm for py3.11
Debian Bookworm has mariadb, not mysql.
Depends-On: https://review.opendev.org/c/openstack/ironic-inspector/+/895164
Change-Id: I1f1e620225dc280c4740600f53b7a78ace646882
* Update ironic-inspector from branch 'master'
to be3d3772de025e16375c0d90c800d996fb87b623
- 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
* Update ironic-inspector from branch 'master'
to 13a0d9374fd392618cbec644b7f0cdcc98fb7b5f
- tox: Remove basepython
Python 2 is EOL. No environment should be defaulting to it. Our CI
environments certainly aren't.
Change-Id: I7c5d73f8499a6eec3cae2a6254e6a26a64a9de9b
* Update ironic-inspector from branch 'master'
to 53778d62f16c446e2861877f20a91ac3ba6940da
- Add python3.10 support in testing runtime
In 2023.2 cycle testing runtime, project started adding python 3.10
[1] https://governance.openstack.org/tc/reference/runtimes/2023.2.html
Change-Id: I49200c48d2331cdeef9ceccb32e1f5b032d3c0ce
* Update ironic-inspector from branch 'master'
to 62e42d38001d39dbc5c47d85e004057cdd53cf08
- 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
* Update ironic-inspector from branch 'master'
to 418aa6b1f5265014f21a8c85cf2eff07fb862bd1
- Merge "Upgrade to latest hacking - v6"
- Upgrade to latest hacking - v6
No code changes needed to work with latest flake8.
Change-Id: I5a45f31590534685016a4fdb78f3ea2b954150f1
* Update ironic-inspector from branch 'master'
to 10ffd3a28e3a0c959cd2a51b5b5a1fc04acef746
- Merge "Update master for stable/2023.1"
- 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
* Update ironic-inspector from branch 'master'
to 437e743e6cc52fedca277265dc903fc984861a65
- tests: Replace assertItemsEqual with assertCountEqual
The assertItemsEqual API is no longer current.
1. fd4abac1d6
2. https://bugs.python.org/issue17866
Change-Id: I76aab9210de2a1871305d93afc80f1a0542b55f9
* Update ironic-inspector from branch 'master'
to 836ba11b9bc83232ffd8ee91b0a727216aa0861a
- Use UTC for the timezone in functional tests
The prior code uses the local time zone, in my case
prsently 'PST' which pytz doesn't grok, however it does
grok UTC, and CI runs in UTC, and the API, as far as I know,
conveys in UTC. So this should just be for consistency.
Change-Id: Ia47b6adfc18be54f8e9623b34ef34b66436828dc
* Update ironic-inspector from branch 'master'
to 933c4f8d1004fcd7161aaddf5bd334b26a9d268d
- 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
* Update ironic-inspector from branch 'master'
to d65d6020c25e25e00b5b9f85fe97731fb8a56e3f
- Merge "Rename NodeInfo._lock to avoid conflict with Mock._lock in tests"
- Rename NodeInfo._lock to avoid conflict with Mock._lock in tests
Starting with https://github.com/python/cpython/pull/98797, Python's
Mock has its own _lock. I hope they rename it to something really
private (e.g. __lock), but for now rename our attribute (and hope that
no downstream plugins relied on it, sigh).
Change-Id: I7ba858fb3f259b8e7a3becde94b7ba6b90615287
* Update ironic-inspector from branch 'master'
to 21b02523a1e0c58836c1dd5737f9fa9d86fb5384
- Merge "Stop gating on unit test coverage"
- Stop gating on unit test coverage
It's nice to keep coverage high, but with little active development
it starts merely hindering refactorings, causing us to gradually lower
the expected minimum anyway.
Change-Id: I4bec5dbb224c59048c24cf2189a80014d63bfa36
* Update ironic-inspector from branch 'master'
to c43b7bf64bce5301a2987584f49abb7b19bede3a
- Merge "Use new get_rpc_client API from oslo.messaging"
- Use new get_rpc_client API from oslo.messaging
Use the new API that is consistent with
the existing API instead of instantiating the client
class directly.
This was introduced in release 14.1.0 here [1] and
added into oslo.messaging here [2]
[1] https://review.opendev.org/c/openstack/requirements/+/869340
[2] https://review.opendev.org/c/openstack/oslo.messaging/+/862419
Change-Id: I66bef4d339b5ee2462dc46f626fd1b2c6182b2cd
* Update ironic-inspector from branch 'master'
to e1f3b71a39ff69521c2a84a3c9fa23cdbc20235d
- 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
* Update ironic-inspector from branch 'master'
to a273c6fd075d21f90bc3d5e286366bf7879f6686
- Merge "setup.py: Remove 'py_modules'"
- setup.py: Remove 'py_modules'
This was merely obscuring a bug in pbr. setuptools doesn't do the
auto-discovery when pbr is in use. Remove it.
Also fixes the environments list where it is now validated for what is
installed by removing functional-py38, and fixing the job to just be
"functional".
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/pbr/+/869082
Change-Id: Ife999840777f3c553f569d81cd826ef9d5a6765d