Commit Graph

1573 Commits

Author SHA1 Message Date
Zuul 7a6af41a26 Merge "Deprecate ironic-inspector support" 2024-02-20 19:53:25 +00:00
Zuul cb0e69abe5 Merge "Wire in node auto-discovery" 2024-02-20 10:38:21 +00:00
Zuul 6b5a99ac6e Merge "Switch to snponly and stop copying the unused ipxe.pxe" 2024-02-19 15:42:09 +00:00
Dmitry Tantsur dcbf1d98b9
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
2024-02-01 14:50:16 +01:00
Sharpz7 4529d48afe [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
2024-01-25 21:31:33 +00:00
Dmitry Tantsur e8f365e0eb
Wire in node auto-discovery
Change-Id: I99ff327e4b8385f8e4ca220331117ab7d5a10418
Depends-On: https://review.opendev.org/c/openstack/ironic/+/906376
2024-01-25 12:42:21 +01:00
Zuul 6065da92b1 Merge "Configure the new inspection implementation" 2024-01-25 11:26:44 +00:00
Dmitry Tantsur 9bf1fde62a 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
2024-01-24 13:02:24 -08:00
Dmitry Tantsur c1ac96ec87
Switch to snponly and stop copying the unused ipxe.pxe
See the Ironic change for reasoning:
4d13da9cc7

Change-Id: Ia7e227b0f53ebc0f0bd25b91960174685b8b72a9
2024-01-17 10:57:48 +01:00
Dmitry Tantsur ea0b4ec50b
Configure the new inspection implementation
The ironic-inspector one is still the default at this point.

Change-Id: I431ced6496ca6dac078a240f653afd33256048f6
2024-01-05 15:13:56 +01:00
Zuul e15d7ade1c Merge "Configure static DHCP before automated cleaning" 2024-01-05 00:34:48 +00:00
Zuul 53d3e9c909 Merge "inspector: add console=ttyS0 by default only when testing" 2024-01-05 00:34:47 +00:00
Zuul a66596474f Merge "Drop support for rootwrap" 2024-01-05 00:25:32 +00:00
Zuul d44bb474a8 Merge "Use fully qualified name for ipaddr filter" 2023-12-19 12:56:11 +00:00
Dmitry Tantsur ab62784f22
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
2023-12-19 11:03:43 +01:00
Dmitry Tantsur 0fd1e03907
Drop support for rootwrap
Change-Id: I2baf94feb79bad2f975b5b6e801979b0cabef1e5
2023-12-14 12:57:31 +01:00
Zuul 83066af17d Merge "Use sha256 instead of md5 by default" 2023-12-13 20:41:38 +00:00
Zuul 6537f7164f Merge "Switch IPA building to Debian Bookworm" 2023-12-13 20:41:37 +00:00
Zuul b1d662a80d Merge "Enable IPMI debugging in the testing mode" 2023-12-13 20:24:53 +00:00
Riccardo Pittau fe9541b6e9 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
2023-12-11 16:50:48 +01:00
Dmitry Tantsur 954032d719
Switch IPA building to Debian Bookworm
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/903175
Change-Id: I7de7841c9fb16379cce94ce08413483472284534
2023-12-11 11:40:32 +01:00
Dmitry Tantsur f1b06ce436
Enable IPMI debugging in the testing mode
Change-Id: I6759059424cc6231e2a66a20c4a047cb159aed67
2023-12-08 17:29:56 +01:00
Riccardo Pittau 6aa4ef04e0 Use fully qualified name for ipaddr filter
Using the filter name standalone is deprecated, we should use
the fqn instead.

Change-Id: I4c31922222817208ca8b4acb3c5323448cae4dcc
2023-12-08 10:20:35 +01:00
Dmitry Tantsur 1a8dcd3e55
Use sha256 instead of md5 by default
Change-Id: I8564228e221919829541124c36baae60a874f1e5
2023-12-05 14:20:22 +01:00
Zuul e41ed49832 Merge "ironic: Perform online data migrations with localhost DB" 2023-11-17 20:57:08 +00:00
Michal Nasiadka 6c9982253b 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
2023-11-15 12:51:51 +01:00
Riccardo Pittau a756129b47 Fix key-order ansible errors
Also fix some spacing warnings

Change-Id: Iec191273591ee88710438f3bbbf63ec242d0c247
2023-11-09 11:16:49 +01:00
Zuul 4bdcb0031d Merge "Fix Keystone default log location typo" 2023-10-03 14:19:26 +00:00
Zuul 9e2e44468e Merge "testenv: use host-model/host-passthru as a CPU model for VMs" 2023-10-03 10:01:38 +00:00
Maksim Malchuk ca44e84805 Fix Keystone default log location typo
Followup on I7c2ba2b263dd84641674b60aed8971b129aa846f fixes Keystone
default log location typo.

TrivialFix

Related-Bug: #2033528
Change-Id: I239e06d6876de0ffbe3ca2d5fef1349045012b12
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-10-03 11:37:44 +03:00
Mark Goddard d656492d4b 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
2023-09-20 17:11:41 +01:00
Zuul 12462b8989 Merge "Fix for lack of log rotation in Bifrost" 2023-09-06 19:56:02 +00:00
Zuul 7a9e8b71bf Merge "Replace Cirros references with generic descriptors" 2023-09-05 17:05:38 +00:00
Rafal Lewandowski ce445f0967 Fix for lack of log rotation in Bifrost
Closes-Bug: #2033528
Change-Id: I7c2ba2b263dd84641674b60aed8971b129aa846f
2023-09-04 14:36:48 +02:00
Zuul 4fe46ff905 Merge "Revert "Pin systemd to 252-15 for CentOS Stream 9"" 2023-08-18 17:38:50 +00:00
Dmitry Tantsur b990e9a90c 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
2023-08-17 13:33:31 +02:00
Zuul 150df4361b Merge "Create the log file for the disk-image-create command" 2023-08-10 15:28:27 +00:00
Matt Crees a6ce283146 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
2023-08-10 11:41:32 +01:00
Riccardo Pittau f3477e4458 Revert "Pin systemd to 252-15 for CentOS Stream 9"
This reverts commit dd9f50258b.

Change-Id: Iec5e04051f1f13ebc49b6bb9fdfebfa2213c14e4
2023-08-10 08:58:38 +02:00
Riccardo Pittau dd9f50258b 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
2023-08-03 17:04:31 +02:00
Zuul de39802cdb Merge "Allow nginx to access images again on systems with SELinux" 2023-07-28 01:01:52 +00:00
Zuul cd518ecc66 Merge "Use Launchpad for bug reports" 2023-07-27 17:33:25 +00:00
Zuul 142b044682 Merge "Refactor the use of include_vars" 2023-07-22 22:24:11 +00:00
Zuul b34642107a Merge "remove setuptools system packages requirement" 2023-07-19 21:42:42 +00:00
Riccardo Pittau 1b77766a51 Use Launchpad for bug reports
Change-Id: Ia13b031b86585e6290d3703896638e899d5efe27
2023-07-19 15:15:20 +02:00
Zuul 6f1c48c20e Merge "Make inspector.ipxe respect inspector_debug" 2023-07-18 08:21:37 +00:00
Zuul e34c4f87c1 Merge "remove nginx system packages requirement" 2023-07-17 16:15:23 +00:00
Zuul 36c560fe07 Merge "Refactor use of include_vars" 2023-07-17 15:44:37 +00:00
Zuul 17ac95fd9b Merge "Reduce the libvirt/qemu packages list" 2023-07-14 23:48:41 +00:00
Zuul 2f49626dfe Merge "sgabios-bin is a subpackage of sgabios" 2023-07-14 10:45:01 +00:00