StarlingX Integration and packaging
Go to file
Chris Friesen 15db2d6990 clean up feature gates on k8s upgrade
During a K8s feature upgrade from 1.23 to 1.24 we need to remove
the "RemoveSelfLink=false" feature gate from kube-apiserver.

We had previously handled updating the kubeadm configmap, which
was sufficient to handle the running system.  However, in order
to properly handle backup and restore after the K8s upgrade to
1.24 (and just for general tidiness) we need to also remove the
feature gate from the saved service parameters and from the
last_kube_extra_config_bootstrap.yaml file.

It's possible that there are other kube-apiserver feature gates
specified by the end user, this adds a bit of complexity to the
code.

Test Plan:
PASS: Test python script and bash script in isolation.
PASS: End-to-end test with k8s upgrade and backup/restore with
      manual modification of service parameters and yaml file.
      Tested with AIO-DX, AIO-SX unoptimised restore, and
      AIO-SX optimised restore.
PASS: K8s upgrade using the new code, ensure service parameter
      and last_kube_extra_config_bootstrap.yaml have been
      updated with "RemoveSelfLink=false" feature gate removed.

Closes-Bug: 1999095
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
Change-Id: I82ecd821d4e1745ab0f480f9f9c0178757521038
2022-12-07 18:13:47 -06:00
base Merge "Debian: Add missing patches in pf-bb-config" 2022-11-25 18:20:07 +00:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
centos-debian-compat debian: Split out system presets into separate pkg 2022-09-27 08:21:20 +00:00
ceph/ceph Merge "ceph-manage-journal: add support for mpath device" 2022-05-24 15:58:07 +00:00
config Increase timeout for openstack commands 2022-10-20 10:34:03 -03:00
database Fix the stx-mariadb docker build errors 2022-08-18 13:39:29 +00:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
docker/python-docker meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
filesystem debian: Create /drbd directory 2022-06-06 06:27:54 +00:00
golang-github-dev debian-pkg: Uprev cni plugins 2022-10-07 15:01:49 +00:00
gpu/gpu-operator Debian: Do not install gpu-operator into ISO 2022-09-21 14:25:50 +00:00
grub Debian: grub-efi: porting from LAT 2022-10-08 21:50:14 -04:00
kubernetes clean up feature gates on k8s upgrade 2022-12-07 18:13:47 -06:00
ldap Merge "Remove nslcd and related packages on Debian" 2022-08-26 19:06:05 +00:00
livepatch/kpatch/debian kpatch: drop the unnecessary dependencies while target build disabled 2022-11-22 04:32:02 -05:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking debian: Fix openvswitch-vtep shutdown 2022-10-20 09:30:36 -04:00
ostree Make root and var filesystems LVM based 2022-11-22 12:51:47 +02:00
python Create Debian zerorpc-python package 2022-11-14 15:43:13 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security Merge "Debian: shim-unsigned: porting from LAT" 2022-10-17 17:52:29 +00:00
storage-drivers Upgrade Trident to 22.07.0 version. 2022-10-19 08:22:41 -04:00
tools Merge "CentOS: kdump: remove unnecessary bootargs" 2022-12-01 11:00:40 +00:00
virt Debian: Add build structure for virt/libvirt 2022-11-18 18:10:54 -03:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml Remove Legacy-resolver and changed constraints 2022-08-22 15:04:43 +00:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc Removing unused package python-ryu 2022-08-12 17:53:49 +00:00
centos_pkg_dirs Removing unused package python-ryu 2022-08-12 17:53:49 +00:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst networking: Update keepalived from 1.3.5 to 2.1.5 2021-11-12 12:12:16 -05:00
centos_srpms_centos.lst CentOS: tzdata: upversion to 2022a 2022-07-12 14:01:21 -04:00
centos_stable_docker_images.inc Remove k8s-cni-sriov docker image 2022-06-07 21:52:00 -04:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst Merge "Upgrade Trident to 22.07.0 version." 2022-10-19 17:43:53 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Debian: Add build structure for virt/libvirt 2022-11-18 18:10:54 -03:00
debian_pkg_dirs Debian: Add build structure for virt/libvirt 2022-11-18 18:10:54 -03:00
debian_stable_docker_images.inc Build Debian image(s): n3000-opae 2022-08-29 18:37:10 +00:00
distroless_stable_docker_images.inc Remove k8s-plugin-sriov-network-device image 2022-08-31 14:03:22 -04:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
pylint.rc Updating the pylint tox target to reflect its targets 2021-11-04 10:22:24 -05:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Remove Legacy-resolver and changed constraints 2022-08-22 15:04:43 +00:00

integ

StarlingX Integration