cloudstack/test
Wei Zhou 69e8ebc03f
CKS: retry if unable to drain node or unable to upgrade k8s node (#8402)
* CKS: retry if unable to drain node or unable to upgrade k8s node

I tried CKS upgrade 16 times, 11 of 16 upgrades succeeded.

2 of 16 upgrades failed due to
```
error: unable to drain node "testcluster-of7974-node-18c8c33c2c3" due to error:[error when evicting pods/"cloud-controller-manager-5b8fc87665-5nwlh" -n "kube-system": Post "https://10.0.66.18:6443/api/v1/namespaces/kube-system/pods/cloud-controller-manager-5b8fc87665-5nwlh/eviction": unexpected EOF, error when evicting pods/"coredns-5d78c9869d-h5nkz" -n "kube-system": Post "https://10.0.66.18:6443/api/v1/namespaces/kube-system/pods/coredns-5d78c9869d-h5nkz/eviction": unexpected EOF], continuing command...
```

3 of 16 upgrades failed due to
```
Error from server: error when retrieving current configuration of:
Resource: "rbac.authorization.k8s.io/v1, Resource=roles", GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=Role"
Name: "kubernetes-dashboard", Namespace: "kubernetes-dashboard"
from server for: "/mnt/k8sdisk//dashboard.yaml": etcdserver: leader changed
```

* CKS: remove tests of creating/deleting HA clusters as they are covered by the upgrade test

* Update PR 8402 as suggested

* test: remove CKS cluster if fail to create or verify
2024-02-06 11:14:10 +01:00
..
bindirbak apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00
conf Uniting all the READMEs from tools and test 2012-10-12 17:01:20 +05:30
integration CKS: retry if unable to drain node or unable to upgrade k8s node (#8402) 2024-02-06 11:14:10 +01:00
metadata delete F5 and SRX plugins (#7023) 2023-01-11 12:07:44 +01:00
scripts CLOUDSTACK-28 wget.exe (GPLed) is present in the tools directory as a binary 2012-09-24 10:31:47 -04:00
selenium Use lowercase HTTP header field names so we are compatible with HTTP/2 (#7006) 2023-01-23 11:17:54 +01:00
src-not-used/main/java/com/cloud Sync precommit config from main (#7732) 2023-07-07 11:18:16 +02:00
systemvm Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
pom.xml Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT 2023-09-12 17:26:53 +02:00