CKS: fix control plane endpoint IP#11720
Conversation
|
@blueorangutan package |
|
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11720 +/- ##
=========================================
Coverage 17.42% 17.42%
- Complexity 15336 15339 +3
=========================================
Files 5892 5892
Lines 526521 526521
Branches 64293 64293
=========================================
+ Hits 91767 91772 +5
+ Misses 424401 424393 -8
- Partials 10353 10356 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15164 |
|
@blueorangutan test |
|
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14438)
|
shwstppr
left a comment
There was a problem hiding this comment.
LGTM. Tested with KVM env.
- Without changes in 4.22 env, created k8s cluster with https://download.cloudstack.org/cks/setup-v1.33.1-calico-x86_64.iso
- Tried using kubeconf
[root@qa1-4 ~]# ./kubectl --kubeconfig before.conf get nodes
E0929 06:53:43.728671 16427 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://172.120.1.3:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 10.1.1.10, not 172.120.1.3"
E0929 06:53:43.735420 16427 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://172.120.1.3:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 10.1.1.10, not 172.120.1.3"
E0929 06:53:43.741359 16427 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://172.120.1.3:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 10.1.1.10, not 172.120.1.3"
E0929 06:53:43.748138 16427 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://172.120.1.3:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 10.1.1.10, not 172.120.1.3"
E0929 06:53:43.753731 16427 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://172.120.1.3:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 10.1.1.10, not 172.120.1.3"
Unable to connect to the server: tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 10.1.1.10, not 172.120.1.3
- Applied PR changes and deployed a new k8s cluster
- Tried using new cluster's kubeconf
[root@qa1-4 ~]# ./kubectl --kubeconfig after.conf get nodes
NAME STATUS ROLES AGE VERSION
test-after-control-1999442df93 Ready control-plane 52s v1.33.1
test-after-node-199944316ec Ready <none> 41s v1.33.1
|
thanks a lot @shwstppr for the testing merging based on approvals and tests |
Description
This PR fixes #11579
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?