Commit Graph

178 Commits

Author SHA1 Message Date
Zuul 7a6af41a26 Merge "Deprecate ironic-inspector support" 2024-02-20 19:53:25 +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 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
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
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
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 f66cd939a2
Support for Debian Bookworm
Change-Id: Ia687d7652980da81f94b6a7644faa26354afc65b
2023-12-08 15:58:25 +01:00
Dmitry Tantsur 1a8dcd3e55
Use sha256 instead of md5 by default
Change-Id: I8564228e221919829541124c36baae60a874f1e5
2023-12-05 14:20:22 +01:00
Zuul 7a9e8b71bf Merge "Replace Cirros references with generic descriptors" 2023-09-05 17:05:38 +00:00
Dmitry Tantsur 16b34f378d Remove Fedora from the CI
It is currently broken since the only supported version (36) is EOL.
The OpenDev infrastructure will stop supporting Fedora:
https://lists.opendev.org/archives/list/service-discuss@lists.opendev.org/thread/IOYIYWGTZW3TM4TR2N47XY6X7EB2W2A6/

The UEFI netboot job has been migrated to Stream 9.

Change-Id: Ie4e67491a62a4c6cb4ca9d6e700cfc226a121235
2023-08-21 09:45:52 +02: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
Jay Faulkner 19fd6cf100 Correct JSON by adding missing comma
Our examples should be valid JSON.

Change-Id: I47219ce98457a7ccb6e8a6d3a4f8290104372921
2023-07-20 08:00:13 -07:00
Jay Faulkner 673a768517 Add warning about default libvirt networks
If you try to install on a vanilla linux libvirt, using default
settings, it will fail because bifrost testenv also uses default
settings inside the testenv.

Change-Id: I5189d3bfc585922b5187dc3d10a0f8b2f1c5452c
2023-04-05 16:06:14 -07:00
Riccardo Pittau 4626648887 Move bifrost tests to Ubuntu Jammy
Leave ubuntu focal job defined for compatiblity with other projects
and older versions.

Change-Id: Idcfde886c9a92a5d09a07b1b8e88caa6a388f92a
2022-09-26 15:29:43 +02:00
Dmitry Tantsur 059bd92b24 Rename include_dhcp_server -> enable_dhcp for consistency
Change-Id: Iff141df7adbe69775ce264d591be0466bd4a7e3b
2022-09-16 12:56:40 +02:00
Zuul c57b976085 Merge "add sha256sum files for ipa images where to search for the offline git variables" 2022-07-25 13:30:33 +00:00
Dmitry Tantsur 901d587f88 Remove support for all distributions with Python 3.6
They are broken after setup.cfg changes have been done to projects.

Change-Id: I762755024322afc6517adfb8ad79adfa3ec346cf
2022-05-18 18:39:37 +02:00
Bernd Mueller fa1a86626f add sha256sum files for ipa images
where to search for the offline git variables

Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
Change-Id: Icff9690321218e9fbbe6241263b3e3982f1cb3a7
Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
2022-05-18 08:55:04 +02:00
Zuul ffd08cef6b Merge "Remove questionable defaults from the network configuration" 2022-03-14 00:32:58 +00:00
Zuul 9e99f44480 Merge "Make ironic and inspector listen on Unix sockets" 2022-03-11 15:46:58 +00:00
Dmitry Tantsur f65b52ed8d Remove questionable defaults from the network configuration
We definitely should not default to using Google DNS or assuming a
specific MTU. The default gateway won't work for many deployments.

Remove them, refactor network_metadata and add some unit tests.

Change-Id: Icb5d077a5f68b5affc1ed545e04c96dcc01d9f3e
2022-02-18 12:43:03 +01:00
Dmitry Tantsur f374712dcf Update inventory format documentation with more details
* Document using Redfish
* Document static network configuration

Change-Id: Ia43474676a7859f0051c087b748833b8ab2d260a
2022-02-17 18:28:00 +01:00
Dmitry Tantsur fb5b68313f Add `./bifrost-cli deploy` and refactor bifrost-deploy-nodes-dynamic
A new simplified command is added for deploying nodes, optionally
specifying an image.

The underlying role is updated to allow specifying a full image URL,
a configdrive URL or contents and a full checksum.

Change-Id: I6c99b01dc827c0bd2ef98eff73de4dfbac433fe1
2022-02-17 16:26:10 +01:00
Dmitry Tantsur 624ea7d946 Continue decomposing the "How to" documentation
* Move DHCP information into a document of its own.
* Move custom IPA building to installation guide.
* Separate the remote Ironic section.

Change-Id: I766e5ccd2569ea58e84be5fbc063df6cf5e0ca54
2022-02-16 15:07:09 +01:00
Zuul 4a95e1c2cf Merge "Stop using sub-sections of driver_info" 2022-02-16 11:13:40 +00:00
Dmitry Tantsur c0f901c1b4 Make ironic and inspector listen on Unix sockets
This way we don't expose the plain text endpoints to anyone even locally.

Change-Id: I40b3e863f78e185c39a20f4254b68b8140eea9e0
Depends-On: https://review.opendev.org/c/openstack/ironic/+/828508
Depends-On: https://review.opendev.org/c/openstack/ironic-inspector/+/827124
2022-02-09 11:06:41 +01:00
Zuul 9c2a1790fc Merge "Make virtual environment owned by root" 2022-01-31 03:23:11 +00:00
Zuul f3061e0a42 Merge "Generate an environment file during bifrost-cli install" 2022-01-25 17:10:15 +00:00
Dmitry Tantsur 73df7ea137 Stop using sub-sections of driver_info
They are deprecated in the ansible collection and do not match ironic.

Change-Id: I42b4e6f1c76b966d870297aa568a3e81d1967bc1
2022-01-25 16:11:20 +01:00
Dmitry Tantsur 4cb0395d75 Make virtual environment owned by root
It's dangerous to allow a regular user to write into the source code of
the services. The repositories are still writable, so that the
development workflow can still use the ``--develop`` flag to make
modifications.

While here, remove the horribly outdated and broken ANSIBLE_INSTALL_ROOT.

Change-Id: Id2e25dd57668d24a11dc2cd16eea2b607b7a3f16
2022-01-25 15:59:42 +01:00
Dmitry Tantsur 1cb49d7a3b Clean up the new architecture docs
Fix nits and add some forgotten information.

Change-Id: I522953c07f7504a7a30f34c28cd33287237b18fe
2022-01-25 15:42:23 +01:00
Zuul a4657cc600 Merge "Start Bifrost Architecture documentation" 2022-01-25 12:27:36 +00:00
Zuul 5c83d1a7dc Merge "Use the combined Ironic service instead of API+conductor" 2022-01-25 12:20:23 +00:00
Zuul 78f9aca4f9 Merge "Follow up to "Run bifrost on CentOS Stream 9"" 2022-01-17 14:43:20 +00:00
Dmitry Tantsur f23369c21a Start Bifrost Architecture documentation
Change-Id: Id9fed6c3f1f2cbfc1367b54614afb36e2b1d48bb
2022-01-14 15:16:47 +01:00
Riccardo Pittau 747d775073 Follow up to "Run bifrost on CentOS Stream 9"
Change-Id: I7c64034e8cf6cc94059ef39b943cb024f021b731
2022-01-13 10:13:34 +01:00
Zuul 5fd6251f22 Merge "Move /httpboot to /var/lib/ironic" 2022-01-10 15:06:29 +00:00
Dmitry Tantsur 9b83665d83 Generate an environment file during bifrost-cli install
It is recommended to pass the same variables (e.g. testing) to other
commands and playbooks, the new file makes it possible.

Change-Id: I2adc4e2dcfd8555b2c9e6c3bf0f512f603367091
2022-01-06 15:36:47 +01:00
Dmitry Tantsur 40842895fc Clean up the "How to" documentation
Fix formatting, add missing field descriptions, add instance_info
example.

Change-Id: Ibc97430efed26b35f941e31c6280f3cf387efc17
2022-01-06 12:23:00 +01:00
Dmitry Tantsur 779e4d8a1c Move /httpboot to /var/lib/ironic
There is no guarantee that /var is not on a separate filesystem. Also
we should not pollute the root directory with our stuff.

The TFTP directory /tftpboot is left where it is, since it needs to be
accessed by dnsmasq. We may consider moving it later on.

Removes the wildly outdated statement about purging the image cache
from the documentation.

Change-Id: Ib1e46e7a9c5eec193082858614026ca4c9f537ac
2022-01-05 16:07:15 +01:00
Dmitry Tantsur 30ea9714aa Change the default image to a DIB-built one
We should use production-friendly defaults. TinyIPA is not suitable for
real bare metal.

Change-Id: Ifcba626ba898bde443674beacd4417d2fe876bf4
2021-12-22 18:21:42 +01:00
Dmitry Tantsur ea2d2a37a4 Use the combined Ironic service instead of API+conductor
Change-Id: I9faecfe6ece6d3c35396e3378c1e3930a487e130
Depends-On: https://review.opendev.org/c/openstack/ironic/+/819620
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/820513
2021-12-06 11:39:54 +01:00
Riccardo Pittau f8251dbaf4 Update tarballs base url
It has been switched to opendev.org since a while.

Change-Id: Icdda1e76127b1e54526eb94d78e5f6b7f83c6a9a
2021-12-03 10:59:20 +01:00
Zuul 6d9cc89359 Merge "Refresh supported operating systems list" 2021-11-23 17:45:35 +00:00
Dmitry Tantsur 6502af58df Refresh supported operating systems list
* Declare full support for distributions OpenStack supports in Yoga [1],
  with an exception of CentOS Stream 8.
* Deprecate support for distributions that only ship Python 3.6.
* Deprecate Fedora support. Being a moving target, it is hard to chase.
  Users that prefer a Red Hat system are better served by CentOS Stream.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Iad2c27d72da738163f0e14c00d57a7962b82b82e
2021-11-22 15:39:58 +01:00
Dmitry Tantsur 69cbcf4348 Use UEFI by default and deprecate legacy boot
Change-Id: If31bb7e15dd1213b3b17f1aa2a80c0307f2fca91
2021-11-22 10:35:13 +01:00
Riccardo Pittau a2a9b7267b Support debian 11 "bullseye"
Change-Id: Iebf15915ac6cd1c6a575923bf1b4828fab7b1385
2021-09-24 10:51:56 +02:00
kkillsfirst a79892ca23 Changes made to install documentation
* Added developer mode parameter to Quick start with bifrost-cli

Change-Id: I2995f744996ea36e9e1004332de158acb62a9965
2021-08-13 15:01:37 -06:00