Commit Graph

13 Commits

Author SHA1 Message Date
Maksim Malchuk d271e705b9 Fix Bifrost inspection through DHCP-relay
This is continue of the changes to support Ironic/Bifrost provision
through DHCP-relay same as I9488a72db588e31289907668f1997596a8ccdec6

Depends-On: I74af38dc555b7edee8331e31dfd1a2fbfe4f1151
Change-Id: Ie1d5ecf32c637b77757e56fbe2fae1ff7c0bf000
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-03-17 20:40:37 +03:00
Mark Goddard e318cadaa5 Use merge_configs and merge_yaml to generate Kolla configs
Supports merging configuration for the following files:

* kolla/globals.yml
* kolla/config/bifrost/bifrost.yml
* kolla/config/bifrost/dib.yml
* kolla/config/bifrost/servers.yml
* kolla/kolla-build.conf

Configuration is merged from the following sources:

* Kayobe source code
* Base Kayobe config
* Kayobe environment

Co-Authored-By: Will Szumski <will@stackhpc.com>
Change-Id: I552bd8f7853b2032954b372bf4476676dac3e271
Story: 2002009
Task: 42974
2021-10-08 09:08:45 +01:00
Pierre Riteau 5b44571248 Support configuration of Bifrost's Ironic extra kernel parameters
Change-Id: I3f96c877b24d4a400578dc618a6dc488c0fdeeef
Story: 2001987
Task: 19607
2020-06-19 12:19:16 +02:00
Will Miller d253ca87f2 Remove legacy Ironic driver references
From Rocky, Ironic no longer supports drivers, in favour of hardware
types. Hardware types were already implemented for the overcloud Ironic,
this change ensures that Bifrost configuration is given hardware types
where necessary.

Change-Id: Iea91d2cd88b7566bb9cad20367ec64b9213d8845
2018-11-06 11:34:11 +00:00
Mark Goddard ef84890798 Fix IPA image download
The IPA ramdisk and kernel images may be built or downloaded via a URL.
If the latter option is used, any images previously downloaded to
$KOLLA_CONFIG_PATH/config/ironic/ironic-agent.* would previously not be
updated if the image contents change.

This change introduces variables for setting a URL to a file containing
checksums for the images. The algorithm used to compute the checksum is
also configurable (default sha256). This allows us to ensure we are
using the correct version of the image, while avoiding an expensive few
hundred megabyte image download just to check.

If a checksum is not specified, the image will be downloaded every time
to ensure that it is up to date.

Change-Id: I8120518ed98d61f3652f5205ce7ec9f798ab2aa1
Story: 2001660
Task: 6693
2018-10-02 13:30:11 +01:00
Mark Goddard ebb81e49f1 Add command to build IPA deployment images for the seed
The CLI command is:

kayobe seed deployment image build

This command will build Ironic Python Agent (IPA) kernel and ramdisk images
using the Diskimage Builder (DIB) ironic-agent element. The built images will
be copied to the appropriate location in the bifrost_deploy container on the
seed.

This allows us to build a customised image with site- or hardware- specific
extensions.
2017-08-22 15:12:05 +00:00
Mark Goddard 20a8436d0f Don't install bifrost into local virtualenv
Bifrost is no longer required to be installed locally.
2017-08-16 15:22:54 +00:00
Mark Goddard 4ede1ae605 Install Bifrost into Kayobe virtualenv 2017-03-15 09:44:19 +00:00
Mark Goddard 4010b3d6b9 Bifrost & inspector: add rules, configure IPA ramdisk & kernel 2017-03-06 14:57:45 +00:00
Mark Goddard e7f979e964 Support configuration of Bifrost inspection hooks and kernel params 2017-03-03 16:39:35 +00:00
Mark Goddard b235bcf65a Support Ironic inspector in Bifrost container
Adds support for setting which ports to add during inspection and a
role for creating introspection rules in inspector.
2017-03-03 14:19:53 +00:00
Mark Goddard e9afc5fe24 Add support for Bifrost dib_os_release
There is a Bifrost bug that causes this variable to be required
2017-02-17 17:55:26 +00:00
Mark Goddard b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00