bd3b596ced759bac182a3dda9798d396cf879e35
2552 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Riccardo Pittau
|
bd3b596ced |
Fix series in release notes
Change-Id: I6844ce33274afdb64e78b79930c8aa32776e7665 |
||
|
Doug Goldstein
|
4cea26f185 |
update dynamic-login to mention the sshkey option
The docs mentioned using the SSH key option but didn't say what it was. Added it and reflowed the section to make it more clear that the options are one or the other and the steps that need to happen. Change-Id: I8663379d51e5e946915cb9236ccbccb26660bcc4 |
||
|
Sharpz7
|
b2ec08a15e |
Adding support to view indiv. cpu-core info
Closes-Bug: #1639340 This commit adds the relevant changes to the get_cpu function, keeping it backwards compatible with the old method. Change-Id: I3c3a792e88e9a041236eca7283ebfdf1026910d89.13.0 |
||
|
Jay Faulkner
|
a1773199b7 |
Follow up to broken Zuul config
Change-Id: I64909aa932635b729cc85717dc241ae31798b558 |
||
|
Zuul
|
5fce84fad5 | Merge "Fix versions in release notes" | ||
|
Zuul
|
1893c77918 | Merge "Enable voting for codespell CI" | ||
|
Riccardo Pittau
|
599a825554 |
Fix versions in release notes
Change-Id: Ief6299e4b1bbef5fdb33a28b90b078f420cf8508 |
||
|
Zuul
|
422b1941c7 | Merge "Fix issues caused/found by new codespell" 9.12.0 | ||
|
Jay Faulkner
|
60132c96d1 |
Fix issues caused/found by new codespell
Fixed spelling where appropriate, added ignore where appropriate Change-Id: I07f203d311484321e0dfcbdf02083784693f4b96 |
||
|
cid
|
2c68770182 |
Fix negative lookahead assertion syntax error
Python regexes are deprecated in Zuul, so this commit updates the configuration to use RE2-compatible syntax. Change-Id: I19b81e4999f9c130e18872593df9dccb416e9e6a |
||
|
Jay Faulkner
|
30cb2d7432 |
Enable voting for codespell CI
We've proven the concept, it's a good check, let's enforce it! Change-Id: Ie3a5410066ef628949146f825303934110b19134 Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent/+/920153 |
||
|
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
|
0acaa1e3be | Merge "Remove eventlet workaround" | ||
| c303bd971b |
reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from unmaintained/zed. Change-Id: I673a729e1598d2100631262d61c91690f500306b |
|||
|
Julia Kreger
|
45a16987dc |
Remove eventlet workaround
Per https://review.opendev.org/c/openstack/ironic/+/918082 and contributor recollection, we believe this has been resolved and can thus be removed. Change-Id: Icbf0f095cabf52a7b642cd4a6ddfbd62cc77964e |
||
|
Zuul
|
af907322f6 | Merge "Unmount config drives" | ||
|
Zuul
|
36cf5931d6 | Merge "Remove old excludes" | ||
|
Takashi Kajinami
|
cb58c31c84 |
Remove old excludes
These are detected as errors since the clean up was done[1] in the requirements repository. [1] 314734e938f107cbd5ebcc7af4d9167c11347406 Also remove the note about old pip's behavior because the resolver in recent pip no longer requires specific order. Change-Id: If927d65ff67527cab349e5d5249aa97ef5b0aca4 |
||
|
Julia Kreger
|
6ac3f350c0 |
Unmount config drives
If this seems like deja vu, that is because it is. We had this very same issue with the original CoreOS ramdisk. Since we don't control the whole OS of the ramdisk, it only made sense to teach the agent to umount the folder. The folder is referenced already, and the agent does have safeguards in place, but unfortunately this issue led to a rebuild breaking where cloud-init, glean, and the agent were all trying do the right thing as they thought, and there were just multiple /mnt/config folders present in the OS. These are separate issues we also need to try and remedy. What happens is when the device is locked via a mount, the partition table is never updated to the running OS as the mount creates a lock. So the agent ends up thinking, in the case of a rebuild, that everything including creating a configuration drive on that device has been successful, but when you reboot, there is no partition table entry for the new partition as the change was not successfully written. This state prevented the workload from rebooting properly. This change eliminates that possibility moving forward by attempting to ensure that the cloud configuration folder is no longer mounted. Change-Id: I4399dd0934361003cca9ff95a7e3e3ae9bba3dab |
||
|
Zuul
|
28053644cd | Merge "add mixed matching of root device hints" | ||
|
Zuul
|
2b67f277b7 | Merge "Step to clean UEFI NVRAM entries" | ||
|
Tudor Domnescu
|
ceec5a7367 |
destroy_disk_metadata: support 4096 sector size
A sector size of 512 was assumed and hardcoded, causing dd to fail when it tried to write in chunks smaller than the sector size for disks with 4096 bytes sectors. The size of GPT in sectors also depends on sector size. Change-Id: Ide5318eb503d728cff3221c26bebbd1c214f6995 |
||
|
Adam Rozman
|
84a1195d5a |
add mixed matching of root device hints
This commit introduces the following changes: - New optional `all_serial_and_wwn` argument for the block device listing logic. The new argument makes it possible to collect wwn and serial number information from both lsblk and udevadm at the same time - Both the short and the long serials are collected from udeavadm without prioritization when the new argument has teh value True - The new feature is automatically enabled during block device listing as part of the root disk selecetion - New options are added to the lsblk command when used in the block device discovery process, previously lsblk was not looking for wwn numbers and now it does Closes-Bug: #2061437 Change-Id: I438a686d948cd929311e2f418bb02fb771805148 Signed-off-by: Adam Rozman <adam.rozman@est.tech> |
||
|
Steve Baker
|
215fecd447 |
Step to clean UEFI NVRAM entries
Adds a deploy step ``clean_uefi_nvram`` to remove unrequired extra UEFI NVRAM boot entries. By default any entry matching ``HD`` as the root device, or with a ``shim`` or ``grub`` efi file in the path will be deleted, ensuring that disk based boot entries are removed before the new entry is created for the written image. The ``match_patterns`` parameter allows a list of regular expressions to be passed, where a case insensitive search in the device path will result in that entry being deleted. Closes-Bug: #2041901 Change-Id: I3559dc800fcdfb0322286eba30ce47041419b0c6 |
||
|
Zuul
|
cdd0a83448 | Merge "Import disk_{utils,partitioner} from ironic-lib" | ||
|
Zuul
|
c784ee7cb9 | Merge "Fix mocking for TestGenericHardwareManager" | ||
|
Zuul
|
b6075156b3 | Merge "USB device discovery" | ||
|
Daniel King
|
cae6b15bbc |
Fix mocking for TestGenericHardwareManager
This test class is testing the GenericHardwareManager, but did no mocking for dispatch_to_managers. Therefore, if any of its methods attempted to make a call to that method, it would break the unit tests. This update adds mocking for get_managers to prevent the tests from breaking if a method calls dispatch_to_managers. Additionally, updates test_delete_configuration_skip_list. test_delete_configuration_skip_list mocks get_skip_list_from_node. mocks get_skip_list_from_node. Correcting the return_value from a list to a set to match what is returned from the original method. Related-Bug: 2057668 Change-Id: Ifaa800449b49f64c6ba5779bfae1c8e2c3249903 |
||
|
Riccardo Pittau
|
8de6e03539 |
Update ironic-lib min required version
The addition of the qemu-img module that is used in ipa was introduced in ironic-lib 6.0.0 Change-Id: I65b283d9abcfe2aa961baf9f686391c8dcc71d6b |
||
| 783a0377ad |
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: I67ee5ead4aa7f47517c35d1a77d594fcad22cc4c |
|||
|
Zuul
|
ee8340f2cb | Merge "Update regex to detect closed branch" 9.10.0 | ||
|
Dmitry Tantsur
|
f824930bbd |
Import disk_{utils,partitioner} from ironic-lib
With the iscsi deploy long gone, these modules are only used in IPA and in fact represent a large part of its critical logic. Having them separately sometimes makes fixing issues tricky if an interface of a function needs changing. This change imports the code mostly as it is, just removing run_as_root and a deprecated function, as well as moving configuration options to config.py. Also migrates one relevant function from ironic_lib.utils. Change-Id: If8fae8210d85c61abb85c388b300e40a75d0531c |
||
|
Zuul
|
e28b3e72f7 | Merge "Use assert_not_called" | ||
|
Zuul
|
815e1f462f | Merge "reno: Update master for unmaintained/victoria" | ||
|
Zuul
|
aa76962b4e | Merge "reno: Update master for unmaintained/wallaby" | ||
| 38ba0d8508 |
reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from unmaintained/xena. Change-Id: I3bbef10b65dc43596a59eaca5d792f5e451d5d4c |
|||
| 5a017ea84a |
reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from unmaintained/wallaby. Change-Id: Iaf279482847d781d7d338c4923a672a5e9337332 |
|||
| 6ebaf277a6 |
reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from unmaintained/victoria. Change-Id: I00a9bcb8ee6d5160d2598fbecb8e585885212df7 |
|||
|
Takashi Kajinami
|
bffa88acb8 |
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: I362de82fb5478b846df7a343da02a359f5f7dece |
||
|
Zuul
|
9b760755ca | Merge "Force constraints when installing a package during tox test" | ||
|
Riccardo Pittau
|
95b3ed3fed |
Fix unit tests after ironic-lib changes
Updating tests after change [1] and [2] in ironic-lib. [1] |
||
|
Thomas Goirand
|
ca6ff4706b |
Use assert_not_called
IPA still has 3 occurences of not_called() which are failing for me when building the Ironic Debian package in Debian Unstable (ie: with Python 3.12). This patch uses assert_not_called() instead of not_called(), fixing the problem. Change-Id: I8bd27fa706b298b28ef5bef405134a2c9803d757 |
||
|
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 |
||
|
Riccardo Pittau
|
d4554e4ab5 |
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: I770e55db5d6f53174c490749d27830f9209e98cc |
||
|
Zuul
|
df7eccd7f1 | Merge "Trivial: avoid deprecated utcnow" | ||
|
Zuul
|
6d35c1e949 | Merge "Make inspection URL optional if the collectors are provided" | ||
| 614532d2a2 |
reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from unmaintained/yoga. Change-Id: I0c5ab4348bd293ce77b04180247773412edbe179 |
|||
|
Zuul
|
359ac636f0 | Merge "Drop usage of run_as_root" | ||
|
Dmitry Tantsur
|
8877e1f319 |
Trivial: avoid deprecated utcnow
Change-Id: I5dbe3c2be36e23e749fbeebbc448d413d276b401 |
||
|
Zuul
|
c3e3cf2aef | Merge "Also retry inspection on HTTP CONFLICT" 9.9.0 |