Commit Graph

15 Commits

Author SHA1 Message Date
Will Szumski 0ae9e8d489 Kayobe environment dependencies
Allows you to combine multiple environments by declaring any dependencies.

Story: 2002009
Task: 42911
Change-Id: I4d9f96ec4cf3c6cd0d28dfe5ddb239d863498a72
2023-05-30 20:20:41 +01:00
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
Zuul 36e9332674 Merge "Set correct gateway for the bifrost provision network" 2022-01-28 13:01:30 +00: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
Maksim Malchuk 0c2a35ed6a Set correct gateway for the bifrost provision network
In the production sometimes the provision and other networks should be
separated and all have each own different gateways, so this change adds
the correct way to configure bifrost with gateway used only to configure
dnsmasq and solves the issue with several default routes on the bifrost
host when kolla_bifrost_dnsmasq_router needs to configure.

Change-Id: I2078da3ab3898c847b3c17054f429d74eb79aa37
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-10-08 00:31:36 +03:00
Pierre Riteau 1419636930 Support multiple environments from a single configuration
Change-Id: I848d834aa36943027c126e26e93e4a4680521144
Story: 2002009
Task: 40037
2021-03-31 17:01:35 +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 d8fe45b3d8 Tag all (well, some of) the things (plays)
Having tagged plays allows us to easily run a subset of the plays for a
command, and perform targeted operations with less risk of unintended
consequences.

The tags are typically named after the playbook, although some of the
overcloud playbooks have been tagged without an overcloud- prefix.
2017-12-19 16:58:21 +00:00
Mark Goddard dbb298707a Remove config-mgmt group, instead use localhost
There are places where we assume the control host is localhost, so this group is of
little use.
2017-12-01 11:21:00 +00: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 6785e6f9e4 Premature optimisation: prevent checksum during stat unless required 2017-04-24 16:00:20 +01:00
Mark Goddard 3b5d71d399 Separate IP allocation pool for inspection from kayobe and neutron pools
This ensures that the inspection DHCP servers do not allocate IP addresses from
the same pool as kayobe and neutron.
2017-04-05 14:21:57 +01:00
Mark Goddard 4ede1ae605 Install Bifrost into Kayobe virtualenv 2017-03-15 09:44:19 +00:00
Mark Goddard b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00