DaanHoogland opened a new issue, #7778:
URL: https://github.com/apache/cloudstack/issues/7778
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Failing Test
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
Smoke tests
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
kubernetes upgrade test fails, with the following output
~~~
2023-07-26 10:52:35,673 ERROR [c.c.u.s.SshHelper]
(API-Job-Executor-49:ctx-1021343c job-875 ctx-a2c18063) (logid:eb42f24d) SSH
execution of command sudo ./upgrade-kubernetes.sh2911844247732526921.sh 1.24.0
true false true has an error status code in return. Result output: Installing
binaries from /mnt/k8sdisk/
...
error when applying patch:
{"metadata":{"annotations":{"cloud.weave.works/launcher-info":null,"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"ServiceAccount\",\"metadata\":{\"annotations\":{},\"labels\":{\"name\":\"weave-net\"},\"name\":\"weave-net\",\"namespace\":\"kube-system\"}}\n"}}}
to:
Resource: "/v1, Resource=serviceaccounts", GroupVersionKind: "/v1,
Kind=ServiceAccount"
Name: "weave-net", Namespace: "kube-system"
for: "/mnt/k8sdisk//network.yaml": Patch
"https://10.0.56.183:6443/api/v1/namespaces/kube-system/serviceaccounts/weave-net?fieldManager=kubectl-client-side-apply&fieldValidation=Strict":
unexpected EOF
error when retrieving current configuration of:
Resource: "rbac.authorization.k8s.io/v1, Resource=clusterroles",
GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=ClusterRole"
Name: "weave-net", Namespace: ""
from server for: "/mnt/k8sdisk//network.yaml": Get
"https://10.0.56.183:6443/apis/rbac.authorization.k8s.io/v1/clusterroles/weave-net":
net/http: TLS handshake timeout - error from a previous attempt: EOF
~~~
see for instance
https://github.com/apache/cloudstack/pull/7718#issuecomment-1652524064
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
run the test_kubvernetes_clusters.py smoke test
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
all pass
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
test_02_upgrade_kubernetes_cluster fails
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]