Commit Graph

2725 Commits

Author SHA1 Message Date
OpenStack Release Bot 51ecf73641 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
2024-03-18 10:24:28 +00:00
Zuul c9ea3019e2 Merge "reno: Update master for unmaintained/wallaby" 2024-03-14 12:03:59 +00:00
Zuul 5ebfb7c843 Merge "reno: Update master for unmaintained/xena" 2024-03-14 11:57:29 +00:00
OpenStack Release Bot 063132014d reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Id264fc06f592f53577e31cbbd3db015e42ef9bd8
2024-03-14 11:25:35 +00:00
OpenStack Release Bot 27901aa082 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I574d75e1399cf8772d24cf8a2a06f89c1f1d3f46
2024-03-14 11:21:05 +00:00
OpenStack Release Bot 5546898177 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I3b776c9c5d04004259cd2cc4f523928da7ea0929
2024-03-14 11:16:42 +00:00
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
OpenStack Release Bot 2d3e988d71 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I92ba9ce572de7ebd1ff92cbc4c64e1b8f42c8495
2024-02-06 15:02:32 +00:00
Zuul eed3a81cac Merge "Switch the dibipa jobs to Redfish" 2024-02-02 17:55:29 +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 1d68cd7708 [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
2024-01-25 21:31:50 +00:00
Sharpz7 f1d47a9f48 [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
2024-01-25 21:31:43 +00: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
Zuul 3e19ff80eb Merge "Collect lshw output in json format" 2024-01-25 15:22:17 +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
Riccardo Pittau 40b277b7bd Collect lshw output in json format
Add lshw json output to test logs

Change-Id: Id0689f7111719d166a52f45ac911923646439297
2024-01-22 12:41:56 +01: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 a385e0956e
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
2024-01-09 13:48:42 +01:00
Riccardo Pittau c64f6ba5c1 Uplift default Ansible version to 8.x
Change-Id: Iabb9f55b8dacc7ef9965ac60d67e70b60dd723c5
2024-01-09 09:35:18 +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 77898f7da3 Merge "Slightly reduce the disk size when testing DHCP" 2024-01-05 00:34:51 +00:00
Zuul fa4249df7a Merge "Update ansible linters to current version used" 2024-01-05 00:34:50 +00: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 87e594943a Merge "Drop support for Ubuntu Focal" 2024-01-05 00:02:16 +00:00
Zuul d44bb474a8 Merge "Use fully qualified name for ipaddr filter" 2023-12-19 12:56:11 +00:00
Dmitry Tantsur 05ee7f72ab
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
2023-12-19 13:17:10 +01:00
Riccardo Pittau 2f2e55d643 Update ansible linters to current version used
Change-Id: I49a30f3547e32e8ef90d65b46e5393957b8946b2
2023-12-19 11:53:00 +00:00
Dmitry Tantsur 069cfae34e
Slightly reduce the disk size when testing DHCP
With 3 testing nodes, we're running out of space on Ubuntu nodes.

Change-Id: If1d430e347cadf1e3519ce9fcdfdf1b3070df7de
2023-12-19 12:28:10 +01: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
Riccardo Pittau 35c3d51dc4 Update default ansible version
Uplift default Ansible version to 7.x

Change-Id: I98d240e2ec2c61e662647dc8b0159934ada18431
2023-12-15 09:53:20 +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
Zuul 2b8ae2d995 Merge "Fix disable-dhcp option in playbook" 2023-12-13 18:03:08 +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
Dmitry Tantsur f66cd939a2
Support for Debian Bookworm
Change-Id: Ia687d7652980da81f94b6a7644faa26354afc65b
2023-12-08 15:58:25 +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