Commit Graph

5557 Commits

Author SHA1 Message Date
Zuul 0d0dc5b8da Merge "chore: remove useless option" 2024-03-14 20:08:47 +00:00
Jake Yip 672fd87465 Doc: Update supported versions for Caracal
Change-Id: I8e2a3529ce076465c631244c45e85b0edbc0675b
2024-03-13 09:49:32 +00:00
OpenStack Release Bot 735ececa51 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: Ie52bc49730f040e8cd4a815ec5d0eab025add620
2024-03-12 17:23:24 +00:00
Mohammed Naser 2a048267a0
chore: remove useless option
It seems the conductor_life_check_timeout option is not used in
the code entirely.  We can just remove it at this point.

Change-Id: Ie07ede20f55593041319b3a52de8fca9f3b9514b
2024-03-07 17:08:06 -05:00
Zuul 35374b4380 Merge "CI: Switch from rbac to normal job" 2024-03-07 09:44:29 +00:00
Dale Smith 0fdec72128 Support Calico 3.26.x
* Renames calico script to match the version it was intended for: 3.21.
* Match calico_tag 3.26.* with the new manifest. All other versions will
  continue to use manifest intended for 3.21.*
* Calico manifest for 3.26[1] is tested for K8s versions v1.24 through v1.28[2].

[1] https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/calico.yaml
[2] https://docs.tigera.io/calico/3.26/getting-started/kubernetes/requirements

Change-Id: I548e831c13be9b732303c945b2a7ba97a245b0df
2024-03-07 00:14:47 +11:00
Zuul 9d6eae72cc Merge "Drop k8s_fedora_atomic_v1 driver" 2024-03-06 10:14:19 +00:00
Zuul fcc398028c Merge "Add feature flag for beta drivers" 2024-03-06 10:09:03 +00:00
Zuul a69f8297f3 Merge "Move Helm client install to separate script" 2024-03-05 12:33:14 +00:00
Michal Nasiadka c8fbc0ca35 CI: Switch from rbac to normal job
We enforced new defaults in [1], these jobs are identical.

[1]: https://review.opendev.org/c/openstack/magnum/+/876823

Needed-By: https://review.opendev.org/c/openstack/magnum-tempest-plugin/+/911095
Change-Id: Iebfef3c3454307358dfafd3250a484440f2ee565
2024-03-05 13:26:47 +01:00
Zuul 52f479c8ec Merge "Removing Tiller support" 2024-03-04 20:52:16 +00:00
Michal Nasiadka 38a0f41c94 SQLA 2.0 - Fix connection.execute
execute() in SQL Alchemy 2.x has different behaviour,
this patch adapts alembic scripts.
See [1].

[1]: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#execute-method-more-strict-execution-options-are-more-prominent

Change-Id: I597eed6f24f13f96f78f6596e16b6edcff989a90
2024-03-02 07:30:50 +00:00
Jakub Darmach b6e2aa8af7 Move Helm client install to separate script
To deploy Calico with Tigera Operator helm charts it was necessary
to move Helm client install to separate script for earlier execution.

Change-Id: Iab738b4120c0ac823b247b04f0cd750de0147779
2024-02-29 14:41:37 +00:00
Jakub Darmach e3aaa89376 Removing Tiller support
Removed Tiller support from Helm modules install kubernetes fragment.

Change-Id: I81db0055ae82c64218498ae3e2a4fcc802f8d0e4
2024-02-29 14:41:29 +00:00
Michal Nasiadka d544698fae Remove use of autocommit
Change-Id: I6e973935edf5e754ba054e724b6963b6d5fd795a
2024-02-29 11:54:28 +00:00
Jake Yip a41c884463 Update cloud-provider-openstack registry
cloud-provider-openstack has changed their image repo. To use the
plugins matching later versions of k8s, this needs to be updated.

Also update tags for CI test to match version being tested.

[1] https://github.com/kubernetes/cloud-provider-openstack/pull/2169

Change-Id: I9390db5e1aa357c17a39a7c208d837befafd3820
2024-02-28 18:57:55 +11:00
Michal Nasiadka ed699b0c9a Drop k8s_fedora_atomic_v1 driver
Change-Id: I3551ae244ecf99f67a9b142c964c020a5fae70a3
2024-02-27 16:35:35 +00:00
Zuul 05c2b170c0 Merge "Bugfix: Clean up trusts for all deleted clusters" 2024-02-27 15:03:36 +00:00
Jake Yip 34c82bdb96 Add feature flag for beta drivers
Change-Id: I9d0851e7f0c740f2a23c3ff935a21cff35769a78
2024-02-27 20:34:05 +11:00
Zuul 36f875f98b Merge "Fix missing oslo.versionedobjects library option" 2024-02-27 09:25:03 +00:00
Jakub Darmach fde7f8e73a Removing legacy calico v3.3
Removed legacy Calico v3.3 manifest and conditional.
 -

Change-Id: Ica52a670452e65c5ae012012895080c9c8d9abf7
2024-02-27 07:15:21 +00:00
Jake Yip 8a30ad3462 Add feature to specify driver explicitly
Allow ClusterTemplate to explicitly specify a driver to use for creating
Clusters.

This is initially sourced from the image property 'magnum_driver', but
may be improved to be specified via client in the future.

Falls back to old driver discovery using (coe, server_type, os) tuple to
keep existing behaviour.

Change-Id: I9e206b589951a02360d3cef0282a9538236ef53b
2024-02-26 14:50:18 +11:00
Dale Smith 1b00074c6a Bugfix: Clean up trusts for all deleted clusters
Cluster conductor creates trusts for all drivers, but does not clean
them up. The Heat driver has previously performed this action.

This change moves the lifecycle of trust and certificate creation
to the Conductor, so drivers do not need to clean up resources they
didn't create.

Change-Id: I2b3e99589d2d3069191d0727406601f0647a9722
2024-02-22 15:38:48 +13:00
Zuul c2567f202a Merge "Drop k8s_fedora_ironic_v1 driver" 2024-02-21 23:52:53 +00:00
Zuul 007c0cd73d Merge "Drop k8s_coreos_v1 driver" 2024-02-21 23:50:02 +00:00
OpenStack Release Bot 0c82bb57a1 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Iade07aaf251fd1b561ed3e18539f2aea3223c3d0
2024-02-20 11:01:55 +00:00
Zuul 70bb9a64a1 Merge "Replace is_ssl_enabled_service" 2024-02-19 16:07:36 +00:00
Takashi Kajinami 91daa2cb6f Remove six from requirements
Now six is no longer used by any code in this repository and can be
removed from requirements completely.

Change-Id: I7bea73058d1c332ea3a47a53c5214ca0d476519b
2024-02-19 10:44:21 +00:00
Takashi Kajinami e149b8646b Remove six from unit tests (part 5)
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I675eff8634ce772839f086b2d07fa0a35cf759b1
2024-02-19 10:44:15 +00:00
Takashi Kajinami 3ec2b2b8a2 Remove six from unit tests (part 4)
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I820f22d7a905f35122ae11f5bbf5b93a9e13a353
2024-02-19 10:44:09 +00:00
Takashi Kajinami 51e0a2205d Remove six from unit tests (part 3)
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I683a86eeab858c3f57c587e653ae53aff052fe9c
2024-02-19 10:44:04 +00:00
Takashi Kajinami 26ec32c7be Remove six from unit tests (part 2)
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I2feca51d17d6c63f7984483cc656e9360450a4d0
2024-02-19 10:43:59 +00:00
Takashi Kajinami 766089b7be Remove six from unit tests (part 1)
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I1143918d70da51b53fbb8112ecafa412cd7d0770
2024-02-19 10:43:52 +00:00
Takashi Kajinami aea63db390 Remove six from functional tests
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: Ic0b3687c47b6f3ac51858084bcf11a5c5a185759
2024-02-19 10:43:46 +00:00
Takashi Kajinami 627b9a8260 Remove six from common module
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I14ebd809b39079d06a8ecc8f747b6bb80d550acb
2024-02-19 10:43:31 +00:00
Takashi Kajinami 91f181e3ad Remove six from drivers module
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: If6fb372f72a469e55e956e127c49863b5a557552
2024-02-19 10:43:24 +00:00
Takashi Kajinami 206d19ec52 Remove six from db module
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I529759167f960714ebf93be7b89ee849040361b2
2024-02-19 10:43:16 +00:00
Takashi Kajinami 41fa21d43c Remove six from conductor module
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I9a750de4f1ba7017c9dfd67dbf87be138421d017
2024-02-19 10:43:08 +00:00
Takashi Kajinami 52ee359f08 Remove six from api module
This is part of the steps to remove usage of six library, which is no
longer needed since python 2 support was removed.

Change-Id: I4c80bdf8f90a920a05f051a922dfb5db925f0649
2024-02-19 10:32:56 +00:00
Michal Nasiadka 68c8acba39 Remove execution bit on unnecessary files
Change-Id: Ia41b843fdf20154750b129a8ab5dd42f5c3989fb
2024-02-19 00:30:21 +00:00
Zuul de6796bd10 Merge "add cilium in the supported network driver list of k8s" 2024-02-15 07:42:12 +00:00
okozachenko1203 9c31886a80 add cilium in the supported network driver list of k8s
Change-Id: I67d879e4939d92c88641cb97ee2284afbf7359fe
2024-02-09 07:04:17 +01:00
Jake Yip 48fbd62374 Update containerd in CI to 1.6.28
1.6 is the LTS version and is supported longer than 1.7 [1]. 1.6.28
contain a fix for the CVE-2024-21626 [2].

[1] https://containerd.io/releases/
[2] https://github.com/containerd/containerd/releases/tag/v1.6.28

Change-Id: I5eb46a097b0dbd67a597c79f4c971ee734decc33
2024-02-06 23:10:36 +11:00
Michal Nasiadka fa5aa8f625 Drop k8s_fedora_ironic_v1 driver
Change-Id: Ic7114e5923b74a4202a043388701826b4e47326e
2024-02-05 08:14:56 +00:00
Michal Nasiadka 5c0c27807a Drop k8s_coreos_v1 driver
Change-Id: I64884677cf05c59c64988dfbee9bf22e97a3466b
2024-02-05 07:04:05 +00:00
Zuul 560b242f40 Merge "Add kubernetes fedora coreos v1 jobs" 2024-02-04 21:11:02 +00:00
Zuul de47ae83a5 Merge "SQL Alchemy 2.x: Stop using deprecated API" 2024-02-03 03:22:31 +00:00
Zuul 39af658193 Merge "heat: Update addresses on CREATE_FAILED" 2024-02-02 10:31:53 +00:00
Michal Nasiadka 692c97c00e Add kubernetes fedora coreos v1 jobs
Add 1.28 and 1.27 jobs

Currently those jobs do not test load balancing and do not run
sonobuoy conformance tests, it will be improved in future.

Depends-On: https://review.opendev.org/c/openstack/magnum-tempest-plugin/+/893131
Change-Id: I75afbbf80207bf5b7e581cfef0ff4ed0f65b64a3
2024-02-02 09:38:34 +00:00
Michal Nasiadka 021293d8f8 SQL Alchemy 2.x: Stop using deprecated API
This patch fixes magnum/db/sqlalchemy/models.py:99: MovedIn20Warning:
Deprecated API features detected! errors.

See [1].

[1]: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#migration-orm-configuration

Change-Id: I397fc59fefab86149a023ff8102e0823fa5ab6a7
2024-02-01 12:10:07 +00:00