2679 Commits

Author SHA1 Message Date
Mark Goddard
96d0daa7e6 Use assertIsInstance() instead of assertTrue(isinstance())
pep8 complained about it.

Change-Id: I09061b8a9769d737115b7677599e8796503f0725
2023-12-20 17:09:09 +00:00
Zuul
bb2af07567 Merge "Revert "Use OpenStack 2023.2 release"" 2023-12-12 13:33:50 +00:00
Zuul
48176b9b3d Merge "Stop NetworkManager from overriding resolv.conf" 2023-12-12 12:58:49 +00:00
Matt Crees
578a257c38 Stop NetworkManager from overriding resolv.conf
When ``resolv_is_managed`` is set, Kayobe templates resolv.conf. This
patch stops NetworkManager from overriding these changes.

Closes-Bug: #2044537
Change-Id: I90b61dfe03d53c58327d2b15e70b7b8489bdfb47
2023-12-11 11:39:47 +00:00
Pierre Riteau
dd8cf81607 Revert "Use OpenStack 2023.2 release"
This reverts commit 99f5b64956b795d4d2ac3f04c51db5a108da3560.

Reason for revert: 2023.2 has been branched and released

Change-Id: I38fc5dcadda5103d63a11022825e8e167408677d
2023-12-08 11:55:04 +01:00
Stig Telfer
49f91043c6 Fix gateway assignment when seed SNAT is disabled
Fix a logic issue when seed SNAT is not enabled. In this circumstance
Bifrost was generating ConfigDrive data with the default gateway unset
even when one is available on the admin network. This regression was
introduced in Ib847d3420dee374cec067cd8af519b510be04120 [1].

[1] https://review.opendev.org/c/openstack/kayobe/+/898434

Closes-Bug: #2045926
Change-Id: Ifd9f9cd389ac09448fc91dba74f8f09595698b55
2023-12-07 23:22:28 +01:00
d264a17ed2 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I9ab85dfddf3b4ae6ba593649ed4310ca8cbec0e2
2023-12-07 10:47:56 +00:00
Zuul
7cf2ac3c58 Merge "Remove unused kolla bootstrap-servers variables" 15.0.0.0rc1 15.0.0 2023-12-06 15:31:34 +00:00
Zuul
88b93884b6 Merge "Clean up release notes for Bobcat" 2023-12-06 10:59:48 +00:00
Zuul
9d529f6512 Merge "Use OpenStack 2023.2 release" 2023-12-06 10:59:46 +00:00
Pierre Riteau
99d0368693 Clean up release notes for Bobcat
Change-Id: I96f00721c173cf095463424c0ca8779c54943591
2023-12-06 09:38:34 +01:00
Pierre Riteau
1edf231477 Pin ansible-core at 2.15.6
We are seeing the following issue since 2.15.7 was released:

    Pattern and root_dir should be of the same type, not <class
    'ansible.utils.unsafe_proxy.AnsibleUnsafeText'> and <class 'str'>

Change-Id: I5cb458132133d171037f8697072e6bd8858db01a
2023-12-05 09:14:43 +01:00
Maksim Malchuk
46bba8eb27 docs: the page 'Editable installs' has moved
Change-Id: I57fe9a6a5037adc341617bd35d3df83c81acc5b0
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-12-03 22:05:43 +03:00
Zuul
abb62582a1 Merge "[release] Sync with Kolla Ansible for 2023.2" 2023-12-02 13:35:46 +00:00
Zuul
1446da03ee Merge "CI: Run configuration dump against localhost" 2023-12-02 12:17:15 +00:00
Zuul
b3d9b3773c Merge "Remove kolla_enable_host_ntp variable" 2023-12-01 17:40:17 +00:00
Will Szumski
35405d0a2d Remove unused kolla bootstrap-servers variables
We no longer use these variables since we switched to the kolla Ansible
collection.

TrivialFix

Change-Id: I50238dd694edc7ee02be4bfdc56ebf3a603e05d2
2023-12-01 16:23:20 +01:00
Pierre Riteau
99f5b64956 Use OpenStack 2023.2 release
Switch all dependencies to use the OpenStack 2023.2 release.

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

Change-Id: I749a1ac30fa15cf7faa456fcb90c4ddbbef77cc9
2023-12-01 15:58:47 +01:00
Pierre Riteau
e2f5d75f8d [release] Sync with Kolla Ansible for 2023.2
Change-Id: I5cd9dacea10f0e00b3d481704f0949b6f5c4a69e
2023-12-01 15:52:47 +01:00
Zuul
bc24c9ece1 Merge "Remove libgcrypt package update" 2023-12-01 12:58:51 +00:00
Pierre Riteau
8da5472ea8 Remove kolla_enable_host_ntp variable
This variable was configuring enable_host_ntp in kolla-ansible, which
was removed in the Xena release.

Change-Id: I737598d3bbe40b933b4b727eccc3b2a76ed97cdb
2023-12-01 13:02:19 +01:00
Zuul
c418bb67ca Merge "Install docker Python package in kolla venv" 2023-12-01 04:08:43 +00:00
Zuul
8e82a6b4a6 Merge "switches: add flag to save configuration on Dell switches" 2023-12-01 02:22:16 +00:00
Zuul
624c7f3893 Merge "Adds initial support for vGPUs" 2023-11-30 22:56:08 +00:00
Zuul
68bb8d6112 Merge "Fix configuration dump with inline encrypted variables" 2023-11-30 14:57:28 +00:00
Will Szumski
bd36b5f018 Adds initial support for vGPUs
Adds support for configuring vGPUs on NVIDIA hardware.

Closes-Bug: #2028843
Change-Id: I4c8481f7429dbf50d51e26bd7acee24e16ee6c79
2023-11-30 14:33:32 +01:00
Pierre Riteau
5e39e08587 Install docker Python package in kolla venv
The docker Python package was dropped from kolla requirements [1], but
we still need to install it to build container images.

[1] https://review.opendev.org/c/openstack/kolla/+/896644

Change-Id: I241884497f4fb707385eb12d5fcc187ed839f754
2023-11-30 14:14:51 +01:00
Zuul
409d85758a Merge "Allow more fine-grained groups for ironic, loadbalancer & network" 2023-11-30 11:20:16 +00:00
Mark Goddard
78702d0e30 Fix configuration dump with inline encrypted variables
If inline Ansible vault encryption is used to define an encrypted
variable in kayobe-config, running 'kayobe configuration dump -l <host>'
fails with the following:

  Failed to decode config dump YAML file /tmp/tmp_fg1bv_j/localhost.yml:
  ConstructorError(None, None, "could not determine a constructor for
  the tag '!vault'", <yaml.error.Mark object at 0x7f1e5c7404c0>)

This change fixes the error by using the Ansible YAML loader which
supports the vault tag. Any vault encrypted variables are sanitised in
the dump output. Note that variables in vault encrypted files are not
sanitised.

Change-Id: I4830500d3c927b0689b6f0bca32c28137916420b
Closes-Bug: #2031390
2023-11-30 10:55:46 +01:00
Zuul
323912d769 Merge "kolla-bifrost: Add precheck for inspection allocation pool" 2023-11-29 17:10:48 +00:00
Zuul
c113ddd5b6 Merge "Honor custom ssh args in kayobe-ansible-user.yml" 2023-11-29 12:33:36 +00:00
Zuul
3c0f016314 Merge "Deduplicate before picking merge strategy" 2023-11-29 11:37:32 +00:00
Mark Goddard
0f1f009a85 CI: Run configuration dump against localhost
Since using the to_bool function in more places in
I3a5a43fef9c3d68d0db02be12b9f892c437e513d, we are now more strict about
the result of the variable dump. If there are no controllers in the
inventory, the result will not be a valid boolean and the to_bool
function will exit non-zero.

This change fixes the issue by running against localhost, which should
always be in the inventory.

Change-Id: Idcfd9d335f11f6c4d676033128d207f62b363ee9
2023-11-29 09:25:13 +00:00
Zuul
76208da885 Merge "Adds support for using Dell OS 10 switches with NGS" 2023-11-28 18:05:03 +00:00
Pierre Riteau
ad2057e2d3 Remove libgcrypt package update
This fix was added when upgrading from CentOS Linux 8.2 to 8.3. This is
likely not required on currently supported operating systems.

Change-Id: Ic2c47ae4514d98ff18c5d17ba62b50c47f3929c1
2023-11-24 10:39:57 +00:00
Michal Nasiadka
1e2ac5eb28 kolla-bifrost: Add precheck for inspection allocation pool
Change-Id: I73fad29af6a57b29afea46947d1ae90546253a2a
2023-11-23 10:59:52 +00:00
Zuul
14bcaba0a3 Merge "Add support for setting Docker daemon debug" 2023-11-22 08:47:46 +00:00
Zuul
0cb0e9feef Merge "provision-net: Remove transitional unshare code" 2023-11-21 19:39:41 +00:00
Will Szumski
786a78d074 Deduplicate before picking merge strategy
I missed this when I refactored the code to fallback
to templating. We need to deduplicate before picking
the strategy for the fallback to work for symlinked files.

Change-Id: Iddd6c90a6daa41e1d1cdaa6b598491792c13394d
Closes-Bug: #2042689
2023-11-17 18:56:23 +00:00
Pierre Riteau
8da3481ca2 CI: Test SELinux configuration
Change-Id: I06b0bd4634ebb8b78baa23656c891333fd96b88b
2023-11-17 13:19:45 +01:00
Michal Nasiadka
351e6b3173 Drop not used grafana-conf from reqs
Change-Id: Id80e7d28c20b1f9ecc52473013c78c28d2ab5532
2023-11-15 18:56:02 +01:00
Michal Nasiadka
beb6ec7903 Remove Monasca and co remnants
Change-Id: I2577245440d510ab19f48915479a8e3575b996b7
2023-11-15 18:53:55 +01:00
Grzegorz Koper
a46b78e594 ipa-images: use changed openstack.cloud output
Updating requirements.yml with latest os-networks role

Following up:
Ia3550644e5fc3e83f792e46d42b4c35d5eec4705

Change-Id: I9cb1b4c5329dc9db8562cf317616101d35f13edb
2023-11-14 12:27:58 +00:00
Zuul
6f34ca0cbd Merge "veth: Remove support for EL8 / network-scripts" 2023-11-10 18:01:52 +00:00
Zuul
82ea6c78d8 Merge "dnf: Remove workaround for uppercase repo files" 2023-11-09 01:49:15 +00:00
Zuul
b31023ea54 Merge "Fix setting kolla_admin_openrc_cacert" 2023-11-09 01:35:47 +00:00
Zuul
1d2d03b76a Merge "Fallback to templating when only one source exists" 2023-11-08 19:52:02 +00:00
Zuul
63f9aa4ef1 Merge "Generate local Kolla Ansible config in check mode" 2023-11-08 18:26:14 +00:00
Zuul
c9086d7d29 Merge "dev: Improve error checking for config check functions" 2023-11-08 16:56:03 +00:00
Zuul
79ebd52445 Merge "Fix an issue when user forgot combine custom passwords" 2023-11-08 16:55:53 +00:00