* Update bifrost from branch 'master'
to 51ecf73641ac3d8b6c96c561479588a8be8830f1
- 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: I376fa49849dbfd071e7387eed2077414c14e9367
* Update bifrost from branch 'master'
to c9ea3019e25800e2ea56325ed78b287040a97b6a
- 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: I574d75e1399cf8772d24cf8a2a06f89c1f1d3f46
* Update bifrost from branch 'master'
to 5ebfb7c843a82566c46b0f929fa0923756f450d2
- 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: Id264fc06f592f53577e31cbbd3db015e42ef9bd8
* Update bifrost from branch 'master'
to 5546898177a37febdd27e2d34402a7184e5f05bb
- reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.
Change-Id: I3b776c9c5d04004259cd2cc4f523928da7ea0929
* Update bifrost from branch 'master'
to 7a6af41a265cb641f5900afe1ab8b8abb31dc2c0
- Merge "Deprecate ironic-inspector support"
- Deprecate ironic-inspector support
Switches to the built-in inspection by default and deprecates support
for ironic-inspector. The actual removal should happen after we get
inspection rules in since it's the last feature that is relevant for
bifrost.
Depends-On: https://review.opendev.org/c/openstack/ironic/+/907398
Change-Id: Id157d5ada2ff3f87f3f4d161423b1f3989f73194
* Update bifrost from branch 'master'
to 6b5a99ac6eca4208cc87f4383dac5dc246ca2a64
- Merge "Switch to snponly and stop copying the unused ipxe.pxe"
- Switch to snponly and stop copying the unused ipxe.pxe
See the Ironic change for reasoning:
4d13da9cc7
Change-Id: Ia7e227b0f53ebc0f0bd25b91960174685b8b72a9
* Update bifrost from branch 'master'
to 2d3e988d710330c18d47904e28eb50f9041b24a9
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I92ba9ce572de7ebd1ff92cbc4c64e1b8f42c8495
* Update bifrost from branch 'master'
to eed3a81cace9e0655bfa7b39b1a62ab2ff207ff2
- Merge "Switch the dibipa jobs to Redfish"
- Switch the dibipa jobs to Redfish
IPMI in these jobs regularly fails with:
Failed to prepare node 4e41df61-84b1-5856-bfb6-6b5f2cd3dd11 for cleaning:
IPMI call failed: raw 0x00 0x08 0x05 0xa0 0x04 0x00 0x00 0x00."
Since the goal of these jobs is not to test IPMI, and since we have
never seen this issue outside of these jobs, just switch them to Redfish.
Change-Id: I34f1bb57909acab4be21588d11e4de37de29839d
* Update bifrost from branch 'master'
to 1d68cd7708778baa3b6d8d4670e09f4003a47b67
- [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: I08ecde1afbda435e0e45d2b6d1edbca52a643e07
* Update bifrost from branch 'master'
to f1d47a9f48922f5ee38167cfa8f710a7284a78ad
- [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: I2db37013bdfa85055be9f1a620424ea50e993da0
* Update bifrost from branch 'master'
to 4529d48afe5c80b484bf1f0d892a9a19f1cb1e2a
- [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: I41b2db35cdf21917ac20ed0866af3b9c94789f0b
* Update bifrost from branch 'master'
to 3e19ff80eb358f85bcf11c5c2170361185e94f4f
- Merge "Collect lshw output in json format"
- Collect lshw output in json format
Add lshw json output to test logs
Change-Id: Id0689f7111719d166a52f45ac911923646439297
* Update bifrost from branch 'master'
to 6065da92b1a86221a018edb755cb9559d054c39b
- Merge "Configure the new inspection implementation"
- Configure the new inspection implementation
The ironic-inspector one is still the default at this point.
Change-Id: I431ced6496ca6dac078a240f653afd33256048f6
* Update bifrost from branch 'master'
to 9bf1fde62a48605999fa5ac5094687ce5e93006e
- fix keystone auth scope
Fixes bifrost so it utilizes:
* The admin role, instead of the long deprecated baremetal_admin
role.
* Utilizes system scope and admin scoped access where needed
for during installation self-test commands to execute
as expected.
* The user utilized for inspector's keystone access
now utilizes the "admin" role instead of the
baremetal_admin role.
Closes-Bug: 2051168
Change-Id: I090520547846a7a8d85bd032a52d6da039761186
* Update bifrost from branch 'master'
to c64f6ba5c12b289ba20081ab6bd935ed18fbf177
- Uplift default Ansible version to 8.x
Change-Id: Iabb9f55b8dacc7ef9965ac60d67e70b60dd723c5
* Update bifrost from branch 'master'
to 77898f7da33d902209a56370dbeb3535a0e93e19
- Merge "Slightly reduce the disk size when testing DHCP"
- Slightly reduce the disk size when testing DHCP
With 3 testing nodes, we're running out of space on Ubuntu nodes.
Change-Id: If1d430e347cadf1e3519ce9fcdfdf1b3070df7de
* Update bifrost from branch 'master'
to fa4249df7a7ee385cb095cd9cebf3394c934c9e1
- Merge "Update ansible linters to current version used"
- Update ansible linters to current version used
Change-Id: I49a30f3547e32e8ef90d65b46e5393957b8946b2
* Update bifrost from branch 'master'
to e15d7ade1cb2590001564a6e5362bcf1057cffdf
- Merge "Configure static DHCP before automated cleaning"
- Configure static DHCP before automated cleaning
After the switch to newer ansible collection, the enrollment workflow
started running automated cleaning (before that, it would use the old
API version resulting in immediate "available"). However, the static
DHCP configuration only happened in the inspect and deploy workflows,
which are run after enrollment.
This change extracts a new small role for the DHCP config and includes
it in all 3 workflows that use DHCP.
While here, make sure that dnsmasq_dhcp_hostsdir is respected.
Change-Id: Idf6f24dde11d600698d45a218812cba8134fb73f
* Update bifrost from branch 'master'
to 53d3e9c909c54aaa9f5fc2cb9d7df48dd63e6a48
- Merge "inspector: add console=ttyS0 by default only when testing"
- inspector: add console=ttyS0 by default only when testing
Currently ironic deploys log to the usual system console, while
inspector discovery/enroll default to logging to serial console.
Change-Id: I6a97d2de5add07cb10853eefb70a88574df44242
* Update bifrost from branch 'master'
to a66596474f9d40a2ed56c127052f4459f33312e0
- Merge "Drop support for rootwrap"
- Drop support for rootwrap
Change-Id: I2baf94feb79bad2f975b5b6e801979b0cabef1e5
* Update bifrost from branch 'master'
to 87e594943aabc76b8affad5618e2caaab7b950f0
- Merge "Drop support for Ubuntu Focal"
- Drop support for Ubuntu Focal
Its Python 3.8 is not supported by any active version of Ansible.
Focal has been best-effort for a while already.
Change-Id: Id04f9b9835cc705716a797caa7beef2536027186
* Update bifrost from branch 'master'
to d44bb474a85fe6a97f08214e138f656e3cd08276
- Merge "Use fully qualified name for ipaddr filter"
- Use fully qualified name for ipaddr filter
Using the filter name standalone is deprecated, we should use
the fqn instead.
Change-Id: I4c31922222817208ca8b4acb3c5323448cae4dcc
* Update bifrost from branch 'master'
to 35c3d51dc4e6de1c55019a3b26b823e1ae2512db
- Update default ansible version
Uplift default Ansible version to 7.x
Change-Id: I98d240e2ec2c61e662647dc8b0159934ada18431
* Update bifrost from branch 'master'
to 83066af17d8a90d96df87a4bd8dc1437465f0eb7
- Merge "Use sha256 instead of md5 by default"
- Use sha256 instead of md5 by default
Change-Id: I8564228e221919829541124c36baae60a874f1e5
* Update bifrost from branch 'master'
to 6537f7164ff9e3ae5f4294b49472dd64b392362b
- Merge "Switch IPA building to Debian Bookworm"
- Switch IPA building to Debian Bookworm
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/903175
Change-Id: I7de7841c9fb16379cce94ce08413483472284534
* Update bifrost from branch 'master'
to b1d662a80d6e34780f85c2baddb09bacf629162a
- Merge "Enable IPMI debugging in the testing mode"
- Enable IPMI debugging in the testing mode
Change-Id: I6759059424cc6231e2a66a20c4a047cb159aed67
* Update bifrost from branch 'master'
to 2b8ae2d995fea3ad00d19d3e3cfa5343cefef690
- Merge "Fix disable-dhcp option in playbook"
- Fix disable-dhcp option in playbook
The enable_dhcp variable is still pointing to the removed variable
include_dhcp_server while it should use enable_dhcp instead.
Change-Id: I60992fa7286766f4fac935e53207f49a98cd77cd
* Update bifrost from branch 'master'
to f66cd939a2d61f04e630140bdb7657b3d5f1acfc
- Support for Debian Bookworm
Change-Id: Ia687d7652980da81f94b6a7644faa26354afc65b
* Update bifrost from branch 'master'
to e41ed498324e527400b50897fbb8b51ac909db1e
- Merge "ironic: Perform online data migrations with localhost DB"
- ironic: Perform online data migrations with localhost DB
Previously online data migrations were not performed in the default
configuration where the database address is 'localhost'. I'm not sure
why this condition was used, but it was present in the original
change I685efd14bf3567a126311b676a50b0abb0f043db submitted adding the
online data migrations back in the Stein release.
This change removes the condition to perform online data migrations
regardless of the database address.
Change-Id: I60d0f61a3c6fd3573b2031f7dba5d8a29e178394
Closes-Bug: #2036772
* Update bifrost from branch 'master'
to a756129b474be3cebad4eaca7b5f213b47045e76
- Fix key-order ansible errors
Also fix some spacing warnings
Change-Id: Iec191273591ee88710438f3bbbf63ec242d0c247
* Update bifrost from branch 'master'
to 3ec54b03962aabac64d25cf54b894e79fb38367d
- [CI] Disable new ansible lint rule breaking gate
Looks like a good rule, if it hadn't kicked two patches out of the gate
that passed check with it's timing. Let's disable it until we are ready
to comply.
Change-Id: Ib26bf3cb883d4c6bd10a13394b372823a94a8691
* Update bifrost from branch 'master'
to 9e2e44468e12f209ba8c44b7f752d63d2b30f7d3
- Merge "testenv: use host-model/host-passthru as a CPU model for VMs"
- testenv: use host-model/host-passthru as a CPU model for VMs
By default, QEMU uses "qemu64" model that does not support x86-64-v2
features required for CentOS/RHEL 9. Use the appropriate host model
option depending on whether KVM or emulation is used.
Change-Id: Idf191547044b12c7acdbd6d3962c541a1b8c6d03
* Update bifrost from branch 'master'
to 912893ae83e6d60e8067dc1509d77b4c8cc80a32
- 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: I75bf85aa85e2e21f58c1343f6fe6f701f509ab3e
* Update bifrost from branch 'master'
to 12462b8989e37095304d3ea0e672f77b7a08d296
- Merge "Fix for lack of log rotation in Bifrost"
- Fix for lack of log rotation in Bifrost
Closes-Bug: #2033528
Change-Id: I7c2ba2b263dd84641674b60aed8971b129aa846f
* Update bifrost from branch 'master'
to 7a9e8b71bf6eb7414645e42321288c4974b48ccd
- Merge "Replace Cirros references with generic descriptors"
- Replace Cirros references with generic descriptors
Often it is beneficial to use the functionality provided by `use_cirros`
and `cirros_deploy_image_upstream_url` to download and test with images
of other OS distributions. This patch changes the variable names to
reflect that use case.
`use_cirros` -> `download_custom_deploy_image`
`cirros_deploy_image_upstream_url` -> `custom_deploy_image_upstream_url`
The functionality of the old variables is retained for backwards
compatability.
Co-Authored-By: Alex Welsh <alex@stackhpc.com>
Change-Id: I8b3a973bd5ef19333af563c170b2a28fbbfb5c76
* Update bifrost from branch 'master'
to 4fe46ff9054a18abebff6cf69d62c0365dccfd36
- Merge "Revert "Pin systemd to 252-15 for CentOS Stream 9""
- Revert "Pin systemd to 252-15 for CentOS Stream 9"
This reverts commit dd9f50258bb174c1565b6e1ecdad3160a50d89db.
Change-Id: Iec5e04051f1f13ebc49b6bb9fdfebfa2213c14e4
* Update bifrost from branch 'master'
to 150df4361bc5da11938aa491817aee121ce9cd05
- Merge "Create the log file for the disk-image-create command"
- Create the log file for the disk-image-create command
Change-Id: Iab88b3a28378cc22f767204bef84128bc9627210
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
* Update bifrost from branch 'master'
to dd9f50258bb174c1565b6e1ecdad3160a50d89db
- Pin systemd to 252-15 for CentOS Stream 9
Newest versions break libvirtd
For more info check https://bugs.launchpad.net/neutron/+bug/2029335
Disabling upgrade job until we fix CS9 in all stable branches
Change-Id: If5da0b1b81e17ad0dd6dc1ac62442a84510e35ce
* Update bifrost from branch 'master'
to de39802cdb75e5eeba0895824f83e6aba7420ffd
- Merge "Allow nginx to access images again on systems with SELinux"
- Allow nginx to access images again on systems with SELinux
Commit 0baff1e12445624772e2436d04840316ee09763b broke this by making
the master image cache "belong" to TFTP. This change re-introduces
the ironic_policy selinux module that enables Nginx to read TFTP files.
Change-Id: Ife728fe88b1575f59f089e5cb3cb1a09f006f42a
* Update bifrost from branch 'master'
to cd518ecc66bb5597c26996596cf715eb11d49d6f
- Merge "Use Launchpad for bug reports"
- Use Launchpad for bug reports
Change-Id: Ia13b031b86585e6290d3703896638e899d5efe27
* Update bifrost from branch 'master'
to 142b044682555b01ee3c74666a50f1e42dcd08c2
- Merge "Refactor the use of include_vars"
- Refactor the use of include_vars
The debian_family and ubuntu files have the same content, and they're
both in the debian family, so drop the ubuntu vars.
Move remaining os-default files to vars directory, where the
include_vars expects them to be.
Use a first_found lookup instead of a with_first_found loop so that
the 'paths' parameter can be used.
This ensures that only vars from the role are included, and not vars
from a parent calling role. This can happen when a parent role has
a higher priority vars file available for inclusion than the role
it calls.
Change-Id: I93b0d7f296bae859914477b4009e44a44e3bde1a
* Update bifrost from branch 'master'
to 19fd6cf100400021cae74555157a3e0db1960331
- Correct JSON by adding missing comma
Our examples should be valid JSON.
Change-Id: I47219ce98457a7ccb6e8a6d3a4f8290104372921
* Update bifrost from branch 'master'
to b34642107ad7b68b66d5484ebcf676412bc8214c
- Merge "remove setuptools system packages requirement"
- remove setuptools system packages requirement
Since it's oddly only a requirement for Ubuntu.
Change-Id: I8cd903f5fcbda4e2bbd80e770b67bde65647aab7
* Update bifrost from branch 'master'
to e34c4f87c110ff721d1b4098e8f7a0775d3cbeab
- Merge "remove nginx system packages requirement"
- remove nginx system packages requirement
This gets handled by the bifrost-nginx-install role
Change-Id: I1013b5ae072b87010a73c859490bf76ea2fe15cf
* Update bifrost from branch 'master'
to 36c560fe071be137b03fef9a7e54c102fd6afd53
- Merge "Refactor use of include_vars"
- Refactor use of include_vars
Move all these os-default files to vars directory, where the
include_vars expects them to be.
Use a first_found lookup instead of a with_first_found loop so that
the 'paths' parameter can be used.
This ensures that only vars from the role are included, and not vars
from a parent calling role. This can happen when a parent role has
a higher priority vars file available for inclusion than the role
it calls.
The lookup order was taken from the openstack-ansible project, and
can be extended by copying the family vars file to a more specific
distro or versioned file and making necessary the changes, should
the need to complicate things ever arise again.
Change-Id: Ic3c0a072fc8d4cb10f6431c118f14afba3a3da1f
* Update bifrost from branch 'master'
to 17ac95fd9ba016676bb7d54a3f0279fe38f007bd
- Merge "Reduce the libvirt/qemu packages list"
- Reduce the libvirt/qemu packages list
- remove qemu-kvm-common from deps
If it's not needed for CentOS, it's probably not needed for any
in the redhat family.
- remove qemu-system-<arch>
qemu-kvm is a meta-package that provides qemu-system-<arch>
package for native architectures where kvm can be enabled. For
example, in an x86 system, this will install qemu-system-x86
+ libvirt-daemon-kvm will install
libvirt-daemon-driver-network
libvirt-daemon-driver-nodedev
libvirt-daemon-driver-nwfilter
libvirt-daemon-driver-qemu
libvirt-daemon-driver-secret
libvirt-daemon-driver-storage
(It requires and will also install the qemu-kvm meta-package,
so this could be omitted aswell.)
+ libvirt requires/installs these packages
libvirt-daemon-config-network
libvirt-daemon-config-nwfilter
So we can trim these out. (It also requires and will install
libvirt-client, libvirt-daemon, which could be omitted aswell)
Change-Id: I02ef5fdbdb8c04314556b8e56d57582226a05b08