tacker/roles
Yoshiro Watanabe 0d29292e00 Alternative to "kuryr-kubernetes"
This patch replaces the "kuryr-kubernetes" handling used by tacker's
FT to build the k8s environment with "devstack-plugin-container".
Also, with the update of devstack-plugin-container, k8s, cri-o and
helm will be upgraded.

k8s: 1.26.8 -> 1.30.5
crio: 1.26 -> 1.30.5
helm: 3.11.3 -> 3.15.4

The following is a summary of the fixes in this patch.

* Remove plugins and settings related to kuryr-kubernetes
* Rename parameters with "kuryr"
* Modify devstack-plugin-container to be used in FT k8s environment
  build
* Add parameters required by devstack-plugin-container

Also, the following is a list of problems that occurred when setting
up the k8s environment with devstack-plugin-container and how to fix
them.

Cannot get bearer_token value:
- modified file: roles/setup-default-vim/tasks/main.yaml
- The task "Get admin token from described secret" of the Ansible
  role "setup-default-vim" failed to obtain the value of
  bearer_token, which is set as a parameter when creating vim,
  causing an error. Retrying to obtain token fixed the problem.

Unknown error in "Create clusterrolebinding on k8s server" task:
- modified file: roles/setup-k8s-nodes/tasks/main.yaml
- In task "Create clusterrolebinding on k8s server" in Ansible role
  "setup-k8s-oidc", `failed to download openapi: unknown;` error
  occurred. The cause was that the pod status of kube-apiserver was
  "Pending" after executing the previous "Wait for k8s apiserver to
  restart" task. The error was fixed by waiting for the Pod status
  to reach the "Running" state.

"cni0" is not assigned the intended IP address:
- added file: roles/restart-kubelet-service/tasks/main.yaml
- When using devstack-plugin-container to create a k8s environment
  and deploy a Pod, the Pod deployment fails with the error `network:
  failed to set bridge addr: "cni0" already has an IP address
  different from 10.x.x.x`. Removing the associated interface and
  restarting the service cleared the error.

Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-container/+/926709
Change-Id: I596a2339f6a3c78fee99b92d7bfb65a6b0244901
2024-10-02 09:08:06 +00:00
..
config-enhanced-policy/tasks Enhancement of Tacker API resource access control 2023-03-14 18:01:41 +09:00
devstack-config/tasks Move to zuul3 jobs 2017-11-04 22:09:42 +11:00
ensure-db-cli-installed Obsolete Legacy APIs excluding VIM feature 2024-03-14 05:32:30 +00:00
modify-heat-policy/tasks Add a seperate controller subnode to subdivide the memory load 2020-12-15 06:08:08 +00:00
restart-kubelet-service/tasks Alternative to "kuryr-kubernetes" 2024-10-02 09:08:06 +00:00
setup-default-vim Alternative to "kuryr-kubernetes" 2024-10-02 09:08:06 +00:00
setup-fake-https-server Enhancement of HTTP Client 2023-03-02 20:04:48 +09:00
setup-fake-prometheus-server/tasks Remove legacy documentation and tools 2023-10-19 23:24:59 +00:00
setup-helm Helm chart support for CNF v2 API 2022-09-15 00:57:15 +00:00
setup-k8s-nodes/tasks Alternative to "kuryr-kubernetes" 2024-10-02 09:08:06 +00:00
setup-k8s-oidc Alternative to "kuryr-kubernetes" 2024-10-02 09:08:06 +00:00
setup-multi-az Placement enhancement enables to AZ reselection 2023-02-16 04:23:54 +00:00
setup-multi-tenant-vim Alternative to "kuryr-kubernetes" 2024-10-02 09:08:06 +00:00
setup-terraform Terraform Infra-Driver 2023-09-15 21:16:24 +09:00
show-net-setup/tasks Unexpected update in setup script for functional test 2020-07-15 11:52:58 +00:00