9e9334fa009525beced643f7ea658f51cf4c3bc4
71 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
satoshi-sh
|
a3a2b83594 |
Add ContainerHardwareManager
Implement container-based cleaning process Partial-Bug: #2100556 Change-Id: I39b92462d1454df888fc413e0aac439b9df199f7 |
||
|
Dmitry Tantsur
|
aa98250066 |
Add a command to lock down the agent
To support a safer take-over from the provisioning to the tenant network for hardware that cannot be powered off, this change introduces a new command system.lockdown. When invoked, it stops the API, the heartbeater and disables all network interfaces (if possible). Partial-Bug: #2077432 Change-Id: I211fc64a46226127b0d82ab458029b3c702b3f74 |
||
|
Takashi Kajinami
|
b0ef2c0483 |
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: Id314b4453d81dcab806768e3c7ab5dc050a35136 |
||
|
Jay Faulkner
|
60132c96d1 |
Fix issues caused/found by new codespell
Fixed spelling where appropriate, added ignore where appropriate Change-Id: I07f203d311484321e0dfcbdf02083784693f4b96 |
||
|
Jay Faulkner
|
c39517b044 |
Call evaluate_hardware_support exactly once per hwm
Fixes an issue where we could call evaluate_hardware_support multiple times each run. Now, instead, we cache the values and use the cache where needed. Adds unit test coverage for get_managers and the new method. Fixes issue where we were caching hardware managers between unit tests. Also includes fixes for codespell CI: - skip build files in repo - fix spelling issues introduced to repo Closes-bug: 2066308 Change-Id: Iebc5b6d2440bfc9f23daa322493379bbe69e84d0 |
||
|
Zuul
|
b6075156b3 | Merge "USB device discovery" | ||
|
Damien Rannou
|
3fd68c0848 |
USB device discovery
The idea is to retreive USB devices informations via 'lshw' and return the list to ironic in order to be able to create introspection rules based on USB devices. Change-Id: I39d60cb467614fca7a7f701dbe576154213580a5 |
||
|
likui
|
dcf12d1b58 |
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: I699e08c268040d387b91ccca4e6505184d3d1b59 |
||
|
Zuul
|
64081ad36b | Merge "Remove deprecated pbr options" | ||
|
Zuul
|
dc33a97221 | Merge "Remove unnecessary egg_info options" | ||
|
Jay Faulkner
|
4a1acae5bc |
Add tox target and configuration for codespell
Adds a tox target for codespell, `tox -e codespell`. Can optionally be run as `tox -e codespell -- -w` to get automatic spelling fixes applied where appropriate. Adds small amounts of configuration to setup.cfg, including an ignore list of words. Related-bug: #2047654 Change-Id: I98203b02a9c6b6fc36edd6b4bbcc7c92a634da8b |
||
|
Takashi Kajinami
|
921cf26898 |
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: Ifcef9e84ff4febeb01cfdc75bdbd66565d0e8079 |
||
|
Takashi Kajinami
|
d342315a3a |
Remove unnecessary egg_info options
The tag_svn_revision option was already removed[1]. The values set to the other two options are effectively same as their defaults. [1] https://github.com/pypa/setuptools/issues/619 Change-Id: I00c91a4966135a92ee6391b0b7084f2b5b04aaef |
||
|
Julia Kreger
|
eb95273ffb |
Add get_service_steps logic to the agent
Initial code patches for service steps have merged in ironic, and it is now time to add support into the agent which allows service steps to be raised to the service. Updates the default hardware manager version to 1.2, which has *rarely* been incremented due to oversight. Change-Id: Iabd2c6c551389ec3c24e94b71245b1250345f7a7 |
||
|
likui
|
c274869756 |
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: I6e3eb0c9dec4c48e1bf1c7c53b8c177775ec91eb |
||
|
Dmitry Tantsur
|
3e05a03f7c |
Deprecate LLDP in inventory in favour of a new collector
Binary LLDP data is bloating inventory causing us to disable its collection by default. For other similar low-level information, such as PCI devices or DMI data, we already use inspection collectors instead. Now that the inventory format is shared with out-of-band inspection, having LLDP there makes even less sense. This change adds a new collector ``lldp`` to replace the now-deprecated inventory field. Change-Id: I56be06a7d1db28407e1128c198c12bea0809d3a3 |
||
|
Riccardo Pittau
|
39d40d5bd2 |
Drop support for Python 3.6 and 3.7
It has been removed from Zed and we're now testing with Python 3.9 in tinyipa and Python 3.8 in CentOS Stream 9 Change-Id: I028121d593b910e585f44e464c7fcb3e635420e8 |
||
|
Dmitry Tantsur
|
2294db5126 |
Revert "The Python 3.6 and Python 3.7Support has been dropped since yaga"
This reverts commit
|
||
|
likui
|
c4d2851a13 |
The Python 3.6 and Python 3.7Support has been dropped since yaga
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: Ifeec26e57dd2b2908da4f161032b37edf99cb8b8 |
||
|
Zuul
|
e06dd22e78 | Merge "Burn-in: Dynamic network pairing" | ||
|
Arne Wiebalck
|
7f15455d8d |
Burn-in: Dynamic network pairing
Pair nodes dynamically via a distributed coordination backend for network burn-in. The algorithm uses a group to pair nodes: after acquiring a lock, a first node joins the group, releases the lock, waits for a second node, then they both leave, and release the lock for the next pair. Story: #2007523 Task: #42796 Change-Id: I572093b144bc90a49cd76929c7e8685ed45d9f6e |
||
|
Ghanshyam Mann
|
bdf735c662 |
Re-add python 3.6/3.7 in classifier
We have updated the yoga testing runtime to keep the py36 testing. - https://review.opendev.org/c/openstack/governance/+/820195 Unit tests job template is also updated to keep python 3.6 as a voting job. So with the py3.6 and py3.9 testing as voting job template, we are keeping python 3.6, 3.7, 3.8, and 3.8 as tested versions in the Yoga cycle. - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286 This commit re-add the python 3.6/3.7 versions in setup.cfg classifier. Change-Id: I0f03a7f5bb2aa07c2ec2aab1a8ebfddc0c70ca87 |
||
|
Ghanshyam Mann
|
dda53b42cb |
Updating yoga tested python versions in classifier
Yoga testing runtime has been updated with py38 and py39 as voting and removed the py36 testing. Unit tests update are handled by the job template change in openstack-zuul-job and you can see the updated jobs running in gate. - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/818609 this commit updates the tested py versions in setup.cfg classifier. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: I47cd32e5690b55b983827c650efba4fd99e7be55 |
||
|
Dmitry Tantsur
|
be3882162e |
Remove the iscsi extension
Change-Id: I2f0e581575112d6c7ba0d211661cab3e0b6caca6 |
||
|
XinxinShen
|
353a3666c1 |
setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I5b71e5ef287a9557ed60bd23cd97dfe74571b457 |
||
|
Kaifeng Wang
|
61c95554ff |
Adds poll mode deployment support
Adds a new poll extension to provide get_hardware_info and get_node_info interfaces. get_hardware_info will be used for node validation by ironic deploy drivers. get_node_info will be used for sending lookup data to IPA. standalone mode is assumed as debug only, but it's not the case considering the poll mode will be introduced, slightly updates the description, also prevents the mdns lookup when standalone is true. Story: 1526486 Task: 28724 Change-Id: I5ad772a18cc4584585c5a7b6fb127547cece1998 |
||
|
Sean McGinnis
|
e00fe3b85d |
Add py38 package metadata
Now that we are running the Victoria tests that include a voting py38, we can now add the Python 3.8 metadata to the package information to reflect that support. Change-Id: I7631fe14a812624e9d8d0a1946ffb5b0f6dec893 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> |
||
|
Zuul
|
b9e320e76f | Merge "Add an ability to run in-band deploy steps" | ||
|
Mark Goddard
|
1b4ce47921 |
Add an ability to run in-band deploy steps
Mostly adaptation of cleaning methods. Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com> Change-Id: Ife0502391bbece46d619a20a825dfdb191d5c2b4 Story: 2006963 Task: 37791 |
||
|
Andreas Jaeger
|
3e7d44746e |
Cleanup py27 support
Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove obsolete sections from setup.cfg: * Wheel is not needed for python 3 only repo * Some other sections are obsolete - Update classifiers - Update requirements, no need for python_version anymore - Use sphinx-build Change-Id: I8abd764d97a6711d3e6347ec3a7b8967f1512006 |
||
|
Madhuri Kumari
|
18862bb5fa |
Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle. ironic-python-agent is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/ Change-Id: Ifd0e0b99bb82a7d7e82d6c14309468196f5734fc |
||
|
Zuul
|
e33744ac2d | Merge "manual introspection trigger command" | ||
|
Julia Kreger
|
696606f682 |
manual introspection trigger command
Change-Id: I64e66682c1e54f6edc260a22f46f5f6df8e85af1 Story: 2005896 Task: 33756 |
||
|
Corey Bryant
|
dc3e26ac19 |
Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I409d9e3db05eaf11ccaaaef8784d693f40687328 Story: #2005924 Task: #34213 |
||
|
Julia Kreger
|
f7e90ea777 |
Update author email address
Change-Id: I7bad0c5799be2cc550efee20507e882ed055cc9a |
||
|
Mario Villaplana
|
a659306272 |
Rescue extension for CoreOS with DHCP tenant networks
This patch adds support for rescue mode with DHCP tenant networks in CoreOS. Applying network config from a configdrive is not yet supported but will be in a future patch. Co-Authored-By: Jay Faulkner <jay@jvf.cc> Co-Authored-By: Taku Izumi <izumi.taku@jp.fujitsu.com> Co-Authored-By: Annie Lezil <annie.lezil@gmail.com> Co-Authored-By: Aparna <aparnavtce@gmail.com> Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com> Change-Id: I7898ff22800dedba73d7fbfb3801378867abe183 Partial-Bug: 1526449 |
||
|
Jenkins
|
aa8f68bbca | Merge "Collect processor, memory and BIOS output of dmidecode" | ||
|
Julia Kreger
|
7ae28c66bd |
Correct/update links
Correct instances of http to https and fix any remaining links that were broken due to the document migration. Change-Id: I492f7972839e63efdde469a1e16840d9be6d8b31 |
||
|
Julia Kreger
|
537dbcd03a |
Move contributor documentation
Change-Id: I43890d380b3cb6b19cfb84bf5d9dcad4f19c0062 |
||
|
Ramamani Yeleswarapu
|
c5544fb7a0 |
Collect processor, memory and BIOS output of dmidecode
Implements an optional collector 'collect_dmidecode_info' for collecting detailed info of processor, memory and BIOS and adds it to the inspection data. Collects BIOS, processor, memory info and adds under the 'dmi' key. Change-Id: Ida9b418ca579b15de70d17886631f3b21697987e Closes-Bug: #1635057 |
||
|
Vu Cong Tuan
|
667ad45615 |
Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting, which is replaced by "warning-is-error" in sphinx releases >= 1.5 [1]. [1] http://lists.openstack.org/pipermail/openstack-dev/ 2017-March/113085.html Change-Id: I9bf18ff72f36dfd3496b9672604e8bb98999b133 |
||
|
Jaganathan Palanisamy
|
cc9e05da50 |
NUMA-topology collector
Implement the optional collector for fetching the NUMA topology details. Collects RAM, CPU Cores, thread siblings and NICS data for each NUMA node and stored under "numa_topology" key. Closes-bug: #1635253 Co-Authored-By: Jaganathan Palanisamy <jpalanis@redhat.com> Change-Id: I5a546c009d95f39b7af4d89cf785be8acb8ebc67 Signed-off-by: karthik s <ksundara@redhat.com> |
||
|
Jenkins
|
8271996fe8 | Merge "Add a new Hardware Manager for CNA network card" | ||
|
Szymon Borkowski
|
ef47d62f43 |
Add a new Hardware Manager for CNA network card
This patch adds a new hardware manager, which will disable the embedded LLDP agent on Intel CNA network cards in order to allow the gathering of LLDP data during the inspection process. Change-Id: I572756ac6a7bf67a7f446738ba9d145e1c1bdc48 Closes-Bug: #1623659 |
||
|
Pavlo Shchelokovskyy
|
762f3bf4e6 |
Use oslo-config-generator for sample config
The old generate_sample.sh is broken already as it refers to non-existing openstack/common path. Let's use oslo-config-generator as many other OpenStack projects do. Also, where applicable, option descriptions are updated with the corresponding kernel parameters to set those options durig pxe boot. Change-Id: Id4a0df30ea573d52f3b359f357fe8f4a29751939 |
||
|
Moshe Levi
|
1bdcd4449f |
Add a new Hardware Manager for Mellanox NICs
This patch add Mellanox Manager to support Mellanox InfiniBand NICs. It adds client_id to the NetworkInterface for the InfiniBand network interface. The Mellanox Manager provides it own implementation of get_interface_info. The mlnx get_interface_info generate InfiniBand MAC and client-id from the InfiniBand network interface address. Closes-Bug: #1532534 Change-Id: I4e7f7649a1bdeaa3ee99b2748037b0f37fea486c |
||
|
avnish
|
9f52f47acd |
Update home page link in cfg file
Change-Id: I2c6d8b2aefd1a64ca75162d054309aef9917d2b8 |
||
|
Lucas Alvares Gomes
|
af81914ce7 |
Add a log extension
The log extension is responsible for retrieving logs from the system, if journalctl is present the logs will come from it, otherwise we fallback to getting the logs from the /var/log directory + dmesg logs. In the coreos ramdisk, we need to bind mount /run/log in the container so the IPA service can have access to the journal. For the tinyIPA ramdisk, the logs from IPA are now being redirected to /var/logs/ironic-python-agent.log instead of only going to the default stdout. Inspector now shares the same method of collecting logs, extending its capabilities for non-systemd systems. Partial-Bug: #1587143 Change-Id: Ie507e2e5c58cffa255bbfb2fa5ffb95cb98ed8c4 |
||
|
Szymon Borkowski
|
f7e080c8bf |
Add PCI devices collector to inspector
Adds a new collector, which gathers list of PCI devices. Each entry is a dictionary containing 2 keys: - vendor-id - product-id Such information can then be used by the inspector to distinguish appropriate PCI devices. Change-Id: Id7521d66410e7d408d7eada692b6123e769ce084 Partial-Bug: #1580893 |
||
|
Dmitry Tantsur
|
a70d99405e |
Switch to post-versioning
Putting a version in setup.cfg requires updating it after every release. pbr is smart enough to calculate the next version without our help. Change-Id: I33d610adc8860fe92275096192db06000fb2d6bb |