config/sysinv/sysinv/sysinv/sysinv/puppet
Mihnea Saracin 02535937a2 Use upgraded kubelet on unlock after kubelet upgrade
When unlocking after kubelet upgrade, there is a problem here:
c784e1ca9a/sysinv/sysinv/sysinv/sysinv/puppet/kubernetes.py (L383)
the kube_host_upgrade status is no longer equal to
KUBE_HOST_UPGRADING_KUBELET and the kubelet version is taken from
the DB which is the old one.
The kubelet value from the DB is updated when the k8s upgrade is
complete. (i.e after doing: system kube-upgrade-complete)

To fix this we added a new state to kube_host_upgrade.status
defined as kubernetes.KUBE_HOST_UPGRADED_KUBELET. This state will
indicate that the kubelet was upgraded for a certain host.

When we complete the upgrade (i.e system kube-upgrade-complete)
the per-host kube_host_upgrade.status values will be set to None
so that they're blank in prep for the next k8s upgrade.

Closes-Bug: 1943690
Change-Id: Ifdb5c51649831deed76ab9a5370cd293f8a5784a
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
2021-09-17 08:42:20 +00:00
..
__init__.py Open vSwitch integration with host and configuration framework 2018-06-14 16:03:52 -05:00
barbican.py Generate admin_url to enable https for admin endpoints 2020-04-20 17:46:47 -04:00
base.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
ceph.py Adding support for Ceph storage during Simplex to Duplex migration 2021-04-20 13:38:04 -03:00
certalarm.py Add cert-alarm service 2021-07-22 08:29:23 -04:00
certmon.py Setup certmon service configuration 2020-07-20 13:16:54 -04:00
common.py kubernetes rootca pods update 2021-07-19 11:17:55 -03:00
dcdbsync.py Generate admin_url to enable https for admin endpoints 2020-04-20 17:46:47 -04:00
dcmanager.py Configure dcmanager user for endpoint_cache 2020-06-18 22:00:20 -04:00
dcorch.py Configure dcmanager user for endpoint_cache 2020-06-18 22:00:20 -04:00
device.py Remove sriov_vfs/reported # of VFs from hieradata 2021-09-13 09:27:09 -03:00
dockerdistribution.py Support authenticated registries 2019-10-02 11:30:43 -04:00
fm.py Merge "Remove puppet entry related to host-based snmp" 2021-01-25 16:32:22 +00:00
helm.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
horizon.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
interface.py Fix for shared N3000 NIC with VF upper interfaces 2021-06-24 11:31:20 -04:00
inventory.py Generate admin_url to enable https for admin endpoints 2020-04-20 17:46:47 -04:00
keystone.py Generate admin_url to enable https for admin endpoints 2020-04-20 17:46:47 -04:00
kubernetes.py Use upgraded kubelet on unlock after kubelet upgrade 2021-09-17 08:42:20 +00:00
ldap.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
mtce.py Cleanup ceilometer from bare metal code 2019-06-13 10:29:18 -05:00
networking.py Add platform network type for storage 2020-03-12 09:09:42 -04:00
nfv.py Periodic message loss between VIM and Openstack pods 2020-09-04 18:14:57 -04:00
openstack.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
ovs.py Remove neutronclient calls from sysinv 2019-08-27 10:19:19 -05:00
patching.py Generate admin_url to enable https for admin endpoints 2020-04-20 17:46:47 -04:00
pci_irq_affinity.py Provision/deprovision dbmon dynamically 2019-05-21 11:58:40 -04:00
platform.py py3: Fix base64 usage 2021-08-13 09:57:02 -04:00
puppet.py Specify encoding of the file for yaml load 2021-08-13 16:31:52 +00:00
rook.py Introduce rook ceph 2021-01-27 06:46:02 +08:00
service_parameter.py config: Add global service parameter to set cri handler 2021-03-02 21:28:01 +00:00
smapi.py Generate admin_url to enable https for admin endpoints 2020-04-20 17:46:47 -04:00
storage.py Introduce rook ceph 2021-01-27 06:46:02 +08:00