2126 Commits

Author SHA1 Message Date
Pierre Riteau
7ed91dd066 Document that extra kernel parameters are important for inspection
When customising kolla_bifrost_inspector_extra_kernel_options, for
example to define which console to use, operators should note that
Kayobe defines extra kernel parameters that are important for
inspection, such as ipa-collect-lldp=1.

Change-Id: Id789dede2d1886ef5ec66ebc86968d6cf62fa2de
2021-11-19 09:38:27 +01:00
Mark Goddard
5e9affb62c Infra VMs: fix some playbook host patterns
The infra-vms group was not added to some playbook host patterns where
it should have been. This change fixes that.

TrivialFix

Change-Id: I5df2918035df7577627fd2bd68417beddbcbf848
2021-11-15 20:54:19 +00:00
Zuul
e55fab9674 Merge "CI: add Infra VM jobs" 2021-11-11 22:20:57 +00:00
Mark Goddard
8df7b75c06 Ubuntu: add upgrade jobs to gate
Follow up to I69868dca6e1f3e4a1bf123c9e7f1f3412162b264

Change-Id: I7812c4b66bac30648c00054381703e390671a821
2021-11-10 09:19:17 +00:00
Zuul
97a7dc6b22 Merge "Fix --check argument for overcloud host configure" 2021-10-28 15:27:04 +00:00
Zuul
0df859db43 Merge "infra VMs: use wait_for rather than wait_for_connection" 2021-10-28 15:27:02 +00:00
Mark Goddard
b87d89aae3 infra VMs: use wait_for rather than wait_for_connection
wait_for_connection requires a python interpreter to be available, which
may not be the case in some images (CentOS Stream cloud images, cirros
etc.). Instead, use wait_for to wait for the SSH port to open, then rely
on the bootstrapping process to install an interpreter. This is the same
method used for the seed VM.

This change also syncs the SSH wait timeout for infra VMs which the one
used for seed VM provisioning (360 seconds).

Change-Id: I758aff1d3ef714f1c8ef82d29dd2217734a9aae6
2021-10-28 08:53:33 +00:00
Zuul
f1ea2b7d4d Merge "Drop become in stackhpc.libvirt-vm for seed vm provision" 2021-10-27 17:37:43 +00:00
Zuul
7000b794fe Merge "CI: Disable heat in upgrade jobs to save disk space" 2021-10-27 16:02:08 +00:00
Mark Goddard
50e04bb06f Drop become in stackhpc.libvirt-vm for seed vm provision
Prior to this change, the seed VM was provisioned using the
stackhpc.livirt-vm role with become=true. This resulted in the cached
image being owned by root. The infra VM provisioning uses
stackhpc.libvirt-vm without become=true. If an infra VM uses the same
image as the seed, this can lead to permission denied errors when
downloading a new image of the same name.

This change adds a workaround to fix up the ownership of the cached
image during infra VM provisioning to avoid this issue.

This change also drops become=true from stackhpc.libvirt-vm during seed
VM provisioning, and adds the same workaround there.

Story: 2009277
Task: 43534

Change-Id: Iade0d74cdb398365a567dbdc4b23de2416f3726d
2021-10-27 10:00:03 +01:00
Pierre Riteau
80c13e75de Fix link syntax in release note
Change-Id: Ic337c6fe61343f1ba15f977f13e88c3bd9d5ec18
2021-10-26 17:34:49 +02:00
Mark Goddard
104e383fc7 CI: add Infra VM jobs
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/812670
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/805239
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/813212

Change-Id: I7dbd643fec72223bfda20cbbc37809ae78073804
2021-10-26 09:35:17 +01:00
17c628db90 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If1a94728c4a31557d7a2b615d25c6d2bc92e1970
2021-10-25 10:02:24 +00:00
a23bdfd67f Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I207634cc8454b019105098c2ee2cfe24a58f0511
2021-10-25 10:02:21 +00:00
Pierre Riteau
06a51ceaec CI: Disable heat in upgrade jobs to save disk space
We see frequent failures of upgrade jobs on stable branches due to lack
of disk space. Disable heat in an attempt to free up extra space, since
we do not need it for our testing.

Change-Id: I20c99ca9dd6e78b041e4662c9b1b54eac904e3c9
2021-10-22 09:54:00 +02:00
Zuul
bf440c5dd2 Merge "Support Ansible diff mode" 11.0.0.0rc1 2021-10-21 16:31:56 +00:00
Zuul
b594e1bc48 Merge "Add the missing documentation for mariadb recovery" 2021-10-21 15:47:14 +00:00
Zuul
d345e6dac5 Merge "Infra VMs: follow up" 2021-10-21 15:47:12 +00:00
Zuul
686ec8cea3 Merge "Add missing hook support for environment-create" 2021-10-21 14:21:32 +00:00
Zuul
7b8a8fdb94 Merge "Remove stale config dump from seed hypervisor host configure" 2021-10-21 14:21:30 +00:00
Zuul
b150f57a4e Merge "CI: add host configure tests for firewalld" 2021-10-21 14:21:28 +00:00
Mark Goddard
9c2565a60c Support Ansible diff mode
Adds a '--diff' argument to kayobe CLI commands. This is passed through
to ansible-playbook for Kayobe Ansible playbooks, and can be used with
the '--check' argument to see changes that would be made to files.

This change also passes through --check and --diff arguments to
kolla-ansible.

Story: 2009038
Task: 42794

Change-Id: I350795c328c0dc0a91a5cd500c252c5b7b1eafc1
2021-10-21 12:00:33 +00:00
Maksim Malchuk
8710a7766e Add the missing documentation for mariadb recovery
This change is a missing part for the new Kayobe functionality
introduced in Ie16354cd01ea7dd83cd3d4058dd8451b8387600b.

Change-Id: Ia3d665d53ccdb9e3b1d40949e96b720fab6df348
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-10-21 09:48:30 +00:00
Zuul
0ff94df353 Merge "CI: enable DNF tests on all CentOS versions" 2021-10-20 13:07:37 +00:00
Zuul
c47376febe Merge "CI: enable DNF tests on CentOS Stream 8" 2021-10-20 13:07:27 +00:00
Mark Goddard
49218b34db Remove stale config dump from seed hypervisor host configure
The config dump was removed from host configure commands in
I85670be7242bc436f73c689f027670b0938ba031, but somehow the seed
hypervisor was missed.

Change-Id: I4ae457a784423dcce96e51b4bb21219831acc854
2021-10-20 08:31:35 +02:00
Zuul
0b1a052b0e Merge "Prevent Bifrost from using firewalld" 2021-10-19 14:43:40 +00:00
Zuul
1703a27341 Merge "Allow Docker to use insecure registry when deployed by Kayobe" 2021-10-19 14:10:14 +00:00
Pierre Riteau
bdba7a923e Add missing hook support for environment-create
Change-Id: I914c22c6338421bcd0f37277253fe42572300612
2021-10-19 15:06:10 +02:00
Zuul
7c9dbf4117 Merge "Ubuntu systemd-networkd: VLAN ifname heuristics" 2021-10-19 12:34:27 +00:00
Zuul
615d9b8f49 Merge "Set proxy option in early dnf invocation" 2021-10-19 11:30:18 +00:00
Pierre Riteau
9f6c912b34 Prevent Bifrost from using firewalld
This is to avoid conflicting with iptables rules configured on the seed
host by Kayobe.

A new variable kolla_bifrost_use_firewalld is introduced to configure
whether Bifrost uses firewalld.

Change-Id: I7049eae6518f818f9e180dfdb6f515d527644808
Story: 2009252
Task: 43442
2021-10-19 11:55:37 +02:00
Pierre Riteau
2e2c96e394 Allow Docker to use insecure registry when deployed by Kayobe
Kolla Ansible has recently updated the default Docker configuration to
stop using an insecure registry [1]. To avoid breaking existing Kayobe
deployments, automatically set docker_registry_insecure to true if we
deploy a registry without TLS.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/805449

Change-Id: Ifec7102812b5503cb02f207098192e99e7193d49
2021-10-19 11:50:59 +02:00
Zuul
96a9d861cf Merge "Add missing apt playbook for infrastructure VMs" 2021-10-19 07:15:03 +00:00
Zuul
9b1a46060c Merge "Add reno about chrony removal" 2021-10-19 05:36:09 +00:00
Mark Goddard
1af6ea5cb4 Add reno about chrony removal
It was deprecated in Wallaby and removed in Xena
(Ib6f89f57a1fe9dc88414260e8a221de3ecd6b9a5).

Change-Id: I0be679afa2d0e5514fb4bc91394c8a5bc7a2b8cc
2021-10-18 12:28:52 +00:00
Zuul
8da19b2ac5 Merge "[release] Sync Kolla Ansible inventory for Xena" 2021-10-18 10:43:40 +00:00
Zuul
7ec926a847 Merge "Use OpenStack Xena release" 2021-10-18 10:43:38 +00:00
Michal Nasiadka
c5a3efafb4 [release] Sync Kolla Ansible inventory for Xena
Change-Id: Ib6f89f57a1fe9dc88414260e8a221de3ecd6b9a5
2021-10-15 13:02:53 +02:00
Michal Nasiadka
e0c42ea940 Use OpenStack Xena release
Switch all dependencies to use the OpenStack Xena release.

This commit should be reverted on the master branch once the
Kayobe stable/xena branch has been cut and RC1 released.

Change-Id: Iee21230217ab1614977498dcbc2a18952ab7d64e
2021-10-15 11:08:38 +02:00
Michal Nasiadka
8fb9f57f5b [release] Sync Kolla Ansible feature flags for Xena
Change-Id: I66917bb75b09295b70caf44d593a047b65b8433d
2021-10-15 09:03:21 +00:00
Pierre Riteau
e58a12534b Add missing apt playbook for infrastructure VMs
Change-Id: Id518acd289bc144dc01db819abaebbc8a1cde924
2021-10-14 20:21:32 +02:00
Zuul
e97a8fe63d Merge "Use merge_configs and merge_yaml to generate Kolla configs" 2021-10-14 16:47:03 +00:00
Mark Goddard
67126eb5f2 CI: add host configure tests for firewalld
Follow up adding tests for Id60e25e129e323f3c07e702bb81a11efc530fb3e.

Change-Id: Ieb6d6e4d491b4ceb44d5fe364f0da215ac303fe1
2021-10-12 09:24:48 +01:00
Zuul
edb7101d7e Merge "Update Kolla images namespace to openstack.kolla" 2021-10-11 11:25:39 +00:00
Zuul
26f5c537a0 Merge "Add support for configuring tuned profile" 2021-10-09 23:24:44 +00:00
Zuul
1f1f24229c Merge "firewalld: support infra VMs" 2021-10-09 23:17:38 +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
Zuul
580485790a Merge "Import merge_configs and merge_yaml from Kolla Ansible" 2021-10-07 19:31:06 +00:00
Jakub Darmach
b1b6358f79 Update Kolla images namespace to openstack.kolla
Docker namespace for Kolla images is changed from kolla
to openstack.kolla to align with If5a26b1ba4bf35bc29306c24f608396dbf5e3371
(Added to reno)

Change-Id: I5d49279fa9a2a263d84c6f468c00d4c8538c538c
2021-10-07 14:14:32 +00:00