Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Terraform with OpenTofu #606

Merged
merged 23 commits into from
Feb 2, 2024
Merged

Replace Terraform with OpenTofu #606

merged 23 commits into from
Feb 2, 2024

Conversation

chess-knight
Copy link
Member

Resolves #594

@berendt
Copy link
Member

berendt commented Oct 6, 2023

Let's wait for the final 1.6.0 release. I think this should be soon available.

@chess-knight
Copy link
Member Author

Let's wait for the final 1.6.0 release. I think this should be soon available.

I just wanted to create a Draft PR and test it, of course, we will wait for the stable release.

@berendt
Copy link
Member

berendt commented Oct 6, 2023

In the Zuul there is also a ensure-terraform job. We should also add an ensure-opentofu job.

@scs-zuul
Copy link

scs-zuul bot commented Oct 6, 2023

Build failed (e2e-quick-test pipeline).
https://zuul.scs.community/t/SCS/buildset/1d90a44112704a6f8a8b3a67ef08bf07

k8s-cluster-api-provider-e2e-quick RETRY_LIMIT in 1m 52s

@scs-zuul
Copy link

scs-zuul bot commented Oct 6, 2023

Build succeeded (e2e-quick-test pipeline).
https://zuul.scs.community/t/SCS/buildset/8f9a5608b7194e64b74302e22fd132b3

✔️ k8s-cluster-api-provider-e2e-quick SUCCESS in 18m 32s

Warning:

Sonobouy results === Collecting results === time="2023-10-06T10:07:17Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy time="2023-10-06T10:07:17Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[sonobuoy-serviceaccount-sonobuoy]" time="2023-10-06T10:07:17Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[sonobuoy-serviceaccount-sonobuoy]" Plugin: e2e Status: passed Total: 7211 Passed: 5 Failed: 0 Skipped: 7206

Plugin: systemd-logs
Status: passed
Total: 4
Passed: 4
Failed: 0
Skipped: 0

Run Details:
API Server version: v1.27.5
Node health: 4/4 (100%)
Pods health: 33/33 (100%)
Errors detected in files:
Errors:
81 podlogs/kube-system/kube-scheduler-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/kube-scheduler.txt
60 podlogs/kube-system/kube-controller-manager-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/kube-controller-manager.txt
11 podlogs/kube-system/snapshot-controller-7775c85c46-4rzn8/logs/snapshot-controller.txt
10 podlogs/kube-system/openstack-cloud-controller-manager-7dx7m/logs/openstack-cloud-controller-manager.txt
9 podlogs/kube-system/cilium-drznn/logs/cilium-agent.txt
8 podlogs/kube-system/cilium-hggp6/logs/cilium-agent.txt
8 podlogs/kube-system/kube-apiserver-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/kube-apiserver.txt
8 podlogs/kube-system/cilium-n5mgd/logs/cilium-agent.txt
8 podlogs/kube-system/cilium-wf2qd/logs/cilium-agent.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-9lrdh/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-nbhs5/logs/node-driver-registrar.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-9af60e9c8d2a4efc/logs/e2e.txt
1 podlogs/kube-system/cilium-operator-788c7d7585-stprx/logs/cilium-operator.txt
1 podlogs/kube-system/etcd-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/etcd.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-s765l/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-dz7lx/logs/node-driver-registrar.txt
Warnings:
340 podlogs/kube-system/etcd-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/etcd.txt
35 podlogs/kube-system/kube-scheduler-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/kube-scheduler.txt
34 podlogs/kube-system/kube-apiserver-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/kube-apiserver.txt
12 podlogs/kube-system/openstack-cloud-controller-manager-7dx7m/logs/openstack-cloud-controller-manager.txt
6 podlogs/kube-system/kube-controller-manager-pr606-c5a9d9-pr606-c5a9d9-control-plane-genc01-q5cnh/logs/kube-controller-manager.txt
5 podlogs/kube-system/cilium-drznn/logs/cilium-agent.txt
4 podlogs/kube-system/cilium-wf2qd/logs/cilium-agent.txt
4 podlogs/kube-system/cilium-hggp6/logs/cilium-agent.txt
4 podlogs/kube-system/cilium-n5mgd/logs/cilium-agent.txt
2 podlogs/kube-system/csi-cinder-controllerplugin-5646b5f77c-7lmxn/logs/csi-attacher.txt
2 podlogs/kube-system/csi-cinder-controllerplugin-5646b5f77c-7lmxn/logs/csi-provisioner.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-9lrdh/logs/node-driver-registrar.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-dz7lx/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-s765l/logs/node-driver-registrar.txt
1 podlogs/kube-system/cilium-operator-788c7d7585-stprx/logs/cilium-operator.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-nbhs5/logs/node-driver-registrar.txt
1 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-9af60e9c8d2a4efc/logs/e2e.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-p498l/logs/metrics-server.txt
time="2023-10-06T10:07:18Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy
time="2023-10-06T10:07:18Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[]"
time="2023-10-06T10:07:18Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[]"

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 5 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 4 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2023-10-06 10:07:23 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}
...
...
...

Namespace "sonobuoy" has been deleted

Deleted all ClusterRoles and ClusterRoleBindings.
=== Sonobuoy conformance tests passed in 62s ===
make[1]: Leaving directory '/home/ubuntu/src/github.com/SovereignCloudStack/k8s-cluster-api-provider/terraform'

@scs-zuul
Copy link

scs-zuul bot commented Oct 6, 2023

@scs-zuul
Copy link

scs-zuul bot commented Oct 6, 2023

Resolves #594

Signed-off-by: Roman Hros <[email protected]>
@scs-zuul
Copy link

scs-zuul bot commented Jan 24, 2024

Build failed (e2e-quick-test pipeline).
https://zuul.scs.community/t/SCS/buildset/0608192a52eb479e9f254dde5589b60a

k8s-cluster-api-provider-e2e-quick FAILURE in 5m 35s

@scs-zuul
Copy link

scs-zuul bot commented Jan 24, 2024

Build succeeded (e2e-quick-test pipeline).
https://zuul.scs.community/t/SCS/buildset/b664483e62de4236ae7252290942aae4

✔️ k8s-cluster-api-provider-e2e-quick SUCCESS in 28m 20s

Warning:

Sonobouy results === Collecting results === time="2024-01-24T20:56:56Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy time="2024-01-24T20:56:56Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[sonobuoy-serviceaccount-sonobuoy]" time="2024-01-24T20:56:56Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[sonobuoy-serviceaccount-sonobuoy]" Plugin: systemd-logs Status: passed Total: 4 Passed: 4 Failed: 0 Skipped: 0

Plugin: e2e
Status: passed
Total: 7213
Passed: 5
Failed: 0
Skipped: 7208

Run Details:
API Server version: v1.27.8
Node health: 4/4 (100%)
Pods health: 33/33 (100%)
Errors detected in files:
Errors:
71 podlogs/kube-system/kube-scheduler-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/kube-scheduler.txt
51 podlogs/kube-system/kube-controller-manager-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/kube-controller-manager.txt
23 podlogs/kube-system/snapshot-controller-55687d7977-hr8b4/logs/snapshot-controller.txt
12 podlogs/kube-system/openstack-cloud-controller-manager-mch6d/logs/openstack-cloud-controller-manager.txt
12 podlogs/kube-system/kube-apiserver-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/kube-apiserver.txt
10 podlogs/kube-system/cilium-2w477/logs/cilium-agent.txt
9 podlogs/kube-system/cilium-wvx2m/logs/cilium-agent.txt
9 podlogs/kube-system/cilium-2j495/logs/cilium-agent.txt
7 podlogs/kube-system/cilium-24xzg/logs/cilium-agent.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-493cfd1c828148f6/logs/e2e.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-ss4fr/logs/metrics-server.txt
1 podlogs/kube-system/etcd-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/etcd.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-8vkb2/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-l64g8/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-x5bkd/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-ll7dd/logs/node-driver-registrar.txt
1 podlogs/kube-system/cilium-operator-788c7d7585-qqm8x/logs/cilium-operator.txt
Warnings:
662 podlogs/kube-system/etcd-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/etcd.txt
38 podlogs/kube-system/kube-apiserver-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/kube-apiserver.txt
34 podlogs/kube-system/kube-scheduler-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/kube-scheduler.txt
14 podlogs/kube-system/openstack-cloud-controller-manager-mch6d/logs/openstack-cloud-controller-manager.txt
11 podlogs/kube-system/kube-controller-manager-pr606-7d3e61-control-plane-jtpch-vdv6r/logs/kube-controller-manager.txt
7 podlogs/kube-system/csi-cinder-nodeplugin-8vkb2/logs/node-driver-registrar.txt
6 podlogs/kube-system/cilium-2w477/logs/cilium-agent.txt
5 podlogs/kube-system/cilium-2j495/logs/cilium-agent.txt
5 podlogs/kube-system/cilium-wvx2m/logs/cilium-agent.txt
5 podlogs/kube-system/csi-cinder-nodeplugin-x5bkd/logs/node-driver-registrar.txt
4 podlogs/kube-system/csi-cinder-nodeplugin-x5bkd/logs/liveness-probe.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-ll7dd/logs/node-driver-registrar.txt
3 podlogs/kube-system/csi-cinder-controllerplugin-64b649674f-dcz5h/logs/csi-provisioner.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-l64g8/logs/node-driver-registrar.txt
3 podlogs/kube-system/cilium-24xzg/logs/cilium-agent.txt
3 podlogs/kube-system/csi-cinder-controllerplugin-64b649674f-dcz5h/logs/csi-attacher.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-l64g8/logs/liveness-probe.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-8vkb2/logs/liveness-probe.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-ll7dd/logs/liveness-probe.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-493cfd1c828148f6/logs/e2e.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-ss4fr/logs/metrics-server.txt
1 podlogs/kube-system/cilium-operator-788c7d7585-qqm8x/logs/cilium-operator.txt
1 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt
time="2024-01-24T20:56:57Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy
time="2024-01-24T20:56:57Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[]"
time="2024-01-24T20:56:57Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[]"

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 5 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 4 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-01-24 20:57:02 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}
...
...
...

Namespace "sonobuoy" has been deleted

Deleted all ClusterRoles and ClusterRoleBindings.
=== Sonobuoy conformance tests passed in 105s ===
make[1]: Leaving directory '/home/ubuntu/src/github.com/SovereignCloudStack/k8s-cluster-api-provider/terraform'

@scs-zuul
Copy link

scs-zuul bot commented Jan 24, 2024

Build succeeded (e2e-test pipeline).
https://zuul.scs.community/t/SCS/buildset/ddad1618940d4fa8962ad2e3350600a0

✔️ k8s-cluster-api-provider-e2e-conformance SUCCESS in 2h 16m 36s

Warning:

Sonobouy results === Collecting results === time="2024-01-24T22:43:46Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy time="2024-01-24T22:43:46Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[sonobuoy-serviceaccount-sonobuoy]" time="2024-01-24T22:43:46Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[sonobuoy-serviceaccount-sonobuoy]" Plugin: e2e Status: passed Total: 7213 Passed: 382 Failed: 0 Skipped: 6831

Plugin: systemd-logs
Status: passed
Total: 4
Passed: 4
Failed: 0
Skipped: 0

Run Details:
API Server version: v1.27.8
Node health: 4/4 (100%)
Pods health: 33/33 (100%)
Errors detected in files:
Warnings:
1909 podlogs/kube-system/etcd-pr606-446a25-control-plane-kj8wv-fst4n/logs/etcd.txt
518 podlogs/kube-system/kube-controller-manager-pr606-446a25-control-plane-kj8wv-fst4n/logs/kube-controller-manager.txt
242 podlogs/kube-system/cilium-ztfgj/logs/cilium-agent.txt
155 podlogs/kube-system/cilium-znsl4/logs/cilium-agent.txt
95 podlogs/kube-system/kube-apiserver-pr606-446a25-control-plane-kj8wv-fst4n/logs/kube-apiserver.txt
50 podlogs/kube-system/kube-scheduler-pr606-446a25-control-plane-kj8wv-fst4n/logs/kube-scheduler.txt
30 podlogs/kube-system/cilium-xg72r/logs/cilium-agent.txt
11 podlogs/kube-system/cilium-pv5mt/logs/cilium-agent.txt
10 podlogs/kube-system/openstack-cloud-controller-manager-66hns/logs/openstack-cloud-controller-manager.txt
8 podlogs/kube-system/csi-cinder-nodeplugin-fw9s9/logs/node-driver-registrar.txt
8 podlogs/kube-system/csi-cinder-controllerplugin-75c64f5f7f-q7xkp/logs/csi-attacher.txt
7 podlogs/kube-system/csi-cinder-nodeplugin-r2gpv/logs/node-driver-registrar.txt
7 podlogs/kube-system/csi-cinder-nodeplugin-fw9s9/logs/liveness-probe.txt
5 podlogs/kube-system/csi-cinder-nodeplugin-6hnwx/logs/node-driver-registrar.txt
5 podlogs/kube-system/csi-cinder-controllerplugin-75c64f5f7f-q7xkp/logs/csi-provisioner.txt
4 podlogs/kube-system/csi-cinder-nodeplugin-6hnwx/logs/liveness-probe.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-p27z2/logs/node-driver-registrar.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-p27z2/logs/liveness-probe.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-r2gpv/logs/liveness-probe.txt
1 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt
1 podlogs/kube-system/csi-cinder-controllerplugin-75c64f5f7f-q7xkp/logs/csi-snapshotter.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-0ddf97c2c63846f1/logs/e2e.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-9qf77/logs/metrics-server.txt
Errors:
1209 podlogs/kube-system/kube-controller-manager-pr606-446a25-control-plane-kj8wv-fst4n/logs/kube-controller-manager.txt
834 podlogs/kube-system/snapshot-controller-55687d7977-hhp2w/logs/snapshot-controller.txt
262 podlogs/kube-system/cilium-ztfgj/logs/cilium-agent.txt
155 podlogs/kube-system/cilium-znsl4/logs/cilium-agent.txt
137 podlogs/kube-system/kube-scheduler-pr606-446a25-control-plane-kj8wv-fst4n/logs/kube-scheduler.txt
102 podlogs/kube-system/kube-apiserver-pr606-446a25-control-plane-kj8wv-fst4n/logs/kube-apiserver.txt
31 podlogs/kube-system/cilium-xg72r/logs/cilium-agent.txt
9 podlogs/kube-system/kube-proxy-wdnn4/logs/kube-proxy.txt
8 podlogs/kube-system/openstack-cloud-controller-manager-66hns/logs/openstack-cloud-controller-manager.txt
8 podlogs/kube-system/kube-proxy-5jhr5/logs/kube-proxy.txt
8 podlogs/kube-system/kube-proxy-ntq5z/logs/kube-proxy.txt
8 podlogs/kube-system/cilium-pv5mt/logs/cilium-agent.txt
8 podlogs/kube-system/kube-proxy-thx7k/logs/kube-proxy.txt
5 podlogs/kube-system/etcd-pr606-446a25-control-plane-kj8wv-fst4n/logs/etcd.txt
2 podlogs/kube-system/cilium-operator-788c7d7585-xws2g/logs/cilium-operator.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-0ddf97c2c63846f1/logs/e2e.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-p27z2/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-r2gpv/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-6hnwx/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-fw9s9/logs/node-driver-registrar.txt
time="2024-01-24T22:43:46Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy
time="2024-01-24T22:43:46Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[]"
time="2024-01-24T22:43:46Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[]"

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 1 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:False LastTransitionTime:2024-01-24 22:43:56 +0000 UTC Reason:ContentRemoved Message:All content successfully removed} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-01-24 22:43:51 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}

Namespace "sonobuoy" has been deleted

Deleted all ClusterRoles and ClusterRoleBindings.

All E2E namespaces deleted
=== Sonobuoy conformance tests passed in 6616s ===
make[1]: Leaving directory '/home/ubuntu/src/github.com/SovereignCloudStack/k8s-cluster-api-provider/terraform'

@scs-zuul
Copy link

scs-zuul bot commented Jan 31, 2024

Build succeeded (e2e-quick-test pipeline).
https://zuul.scs.community/t/SCS/buildset/a129eec2a2f9422da3b3c02941a66667

✔️ k8s-cluster-api-provider-e2e-quick SUCCESS in 37m 59s

Warning:

Sonobouy results === Collecting results === time="2024-01-31T08:06:54Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy time="2024-01-31T08:06:54Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[sonobuoy-serviceaccount-sonobuoy]" time="2024-01-31T08:06:54Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[sonobuoy-serviceaccount-sonobuoy]" Plugin: e2e Status: passed Total: 7213 Passed: 5 Failed: 0 Skipped: 7208

Plugin: systemd-logs
Status: passed
Total: 4
Passed: 4
Failed: 0
Skipped: 0

Run Details:
API Server version: v1.27.8
Node health: 4/4 (100%)
Pods health: 33/33 (100%)
Errors detected in files:
Errors:
95 podlogs/kube-system/kube-scheduler-pr606-08dee2-tfdph-2hpr5/logs/kube-scheduler.txt
30 podlogs/kube-system/kube-controller-manager-pr606-08dee2-tfdph-2hpr5/logs/kube-controller-manager.txt
29 podlogs/kube-system/snapshot-controller-55687d7977-dm8cr/logs/snapshot-controller.txt
14 podlogs/kube-system/etcd-pr606-08dee2-tfdph-2hpr5/logs/etcd.txt
13 podlogs/kube-system/cilium-svgd6/logs/cilium-agent.txt
13 podlogs/kube-system/kube-apiserver-pr606-08dee2-tfdph-2hpr5/logs/kube-apiserver.txt
12 podlogs/kube-system/openstack-cloud-controller-manager-xfvmf/logs/openstack-cloud-controller-manager.txt
9 podlogs/kube-system/cilium-9g5q6/logs/cilium-agent.txt
8 podlogs/kube-system/cilium-2q7j2/logs/cilium-agent.txt
8 podlogs/kube-system/cilium-cj8ns/logs/cilium-agent.txt
2 podlogs/kube-system/cilium-operator-788c7d7585-698cw/logs/cilium-operator.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-kwgvh/logs/node-driver-registrar.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-5585ecf5ca604c3e/logs/e2e.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-j6bhp/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-mk7sp/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-zggf6/logs/node-driver-registrar.txt
Warnings:
2227 podlogs/kube-system/etcd-pr606-08dee2-tfdph-2hpr5/logs/etcd.txt
50 podlogs/kube-system/kube-scheduler-pr606-08dee2-tfdph-2hpr5/logs/kube-scheduler.txt
40 podlogs/kube-system/kube-apiserver-pr606-08dee2-tfdph-2hpr5/logs/kube-apiserver.txt
13 podlogs/kube-system/kube-controller-manager-pr606-08dee2-tfdph-2hpr5/logs/kube-controller-manager.txt
13 podlogs/kube-system/openstack-cloud-controller-manager-xfvmf/logs/openstack-cloud-controller-manager.txt
9 podlogs/kube-system/cilium-svgd6/logs/cilium-agent.txt
9 podlogs/kube-system/csi-cinder-nodeplugin-mk7sp/logs/node-driver-registrar.txt
9 podlogs/kube-system/csi-cinder-nodeplugin-kwgvh/logs/node-driver-registrar.txt
8 podlogs/kube-system/csi-cinder-nodeplugin-j6bhp/logs/node-driver-registrar.txt
6 podlogs/kube-system/csi-cinder-controllerplugin-7ddbd9cb6c-28hz2/logs/csi-attacher.txt
5 podlogs/kube-system/cilium-9g5q6/logs/cilium-agent.txt
4 podlogs/kube-system/cilium-cj8ns/logs/cilium-agent.txt
4 podlogs/kube-system/cilium-2q7j2/logs/cilium-agent.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-zggf6/logs/node-driver-registrar.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-zggf6/logs/liveness-probe.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-mk7sp/logs/liveness-probe.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-kwgvh/logs/liveness-probe.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-j6bhp/logs/liveness-probe.txt
2 podlogs/kube-system/cilium-operator-788c7d7585-698cw/logs/cilium-operator.txt
2 podlogs/kube-system/csi-cinder-controllerplugin-7ddbd9cb6c-28hz2/logs/csi-provisioner.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-5585ecf5ca604c3e/logs/e2e.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-qcm6s/logs/metrics-server.txt
1 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt
time="2024-01-31T08:06:55Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy
time="2024-01-31T08:06:55Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[]"
time="2024-01-31T08:06:55Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[]"

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 5 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}
...

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 4 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-01-31 08:06:59 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}
...
...
...

Namespace "sonobuoy" has been deleted

Deleted all ClusterRoles and ClusterRoleBindings.
=== Sonobuoy conformance tests passed in 157s ===
make[1]: Leaving directory '/home/ubuntu/src/github.com/SovereignCloudStack/k8s-cluster-api-provider/terraform'

@scs-zuul
Copy link

scs-zuul bot commented Feb 1, 2024

Build succeeded (e2e-quick-test pipeline).
https://zuul.scs.community/t/SCS/buildset/4bdb9339aaee4cda99112746faff7e7e

✔️ k8s-cluster-api-provider-e2e-quick SUCCESS in 25m 29s

Warning:

Sonobouy results === Collecting results === time="2024-02-01T13:56:36Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy time="2024-02-01T13:56:36Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[sonobuoy-serviceaccount-sonobuoy]" time="2024-02-01T13:56:36Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[sonobuoy-serviceaccount-sonobuoy]" Plugin: e2e Status: passed Total: 7213 Passed: 5 Failed: 0 Skipped: 7208

Plugin: systemd-logs
Status: passed
Total: 4
Passed: 4
Failed: 0
Skipped: 0

Run Details:
API Server version: v1.27.8
Node health: 4/4 (100%)
Pods health: 33/33 (100%)
Errors detected in files:
Errors:
65 podlogs/kube-system/kube-scheduler-pr606-c1c9b0-twqgm-vtf5s/logs/kube-scheduler.txt
59 podlogs/kube-system/kube-controller-manager-pr606-c1c9b0-twqgm-vtf5s/logs/kube-controller-manager.txt
20 podlogs/kube-system/snapshot-controller-55687d7977-kl2k2/logs/snapshot-controller.txt
11 podlogs/kube-system/kube-apiserver-pr606-c1c9b0-twqgm-vtf5s/logs/kube-apiserver.txt
10 podlogs/kube-system/cilium-kvtn9/logs/cilium-agent.txt
10 podlogs/kube-system/cilium-t9z5r/logs/cilium-agent.txt
10 podlogs/kube-system/openstack-cloud-controller-manager-jzclr/logs/openstack-cloud-controller-manager.txt
8 podlogs/kube-system/cilium-bdjb9/logs/cilium-agent.txt
7 podlogs/kube-system/cilium-xb296/logs/cilium-agent.txt
2 podlogs/kube-system/cilium-operator-788c7d7585-vgfmv/logs/cilium-operator.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-p6grr/logs/node-driver-registrar.txt
1 podlogs/kube-system/kube-proxy-lcrtd/logs/kube-proxy.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-q6hq9/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-f47jc/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-9h6bg/logs/node-driver-registrar.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-2fa98637860a4e08/logs/e2e.txt
Warnings:
367 podlogs/kube-system/etcd-pr606-c1c9b0-twqgm-vtf5s/logs/etcd.txt
36 podlogs/kube-system/kube-apiserver-pr606-c1c9b0-twqgm-vtf5s/logs/kube-apiserver.txt
29 podlogs/kube-system/kube-scheduler-pr606-c1c9b0-twqgm-vtf5s/logs/kube-scheduler.txt
12 podlogs/kube-system/openstack-cloud-controller-manager-jzclr/logs/openstack-cloud-controller-manager.txt
8 podlogs/kube-system/kube-controller-manager-pr606-c1c9b0-twqgm-vtf5s/logs/kube-controller-manager.txt
6 podlogs/kube-system/cilium-kvtn9/logs/cilium-agent.txt
6 podlogs/kube-system/cilium-t9z5r/logs/cilium-agent.txt
5 podlogs/kube-system/csi-cinder-nodeplugin-9h6bg/logs/node-driver-registrar.txt
4 podlogs/kube-system/csi-cinder-controllerplugin-5d9f4df757-sv6rp/logs/csi-provisioner.txt
4 podlogs/kube-system/csi-cinder-nodeplugin-q6hq9/logs/node-driver-registrar.txt
4 podlogs/kube-system/csi-cinder-nodeplugin-f47jc/logs/node-driver-registrar.txt
4 podlogs/kube-system/cilium-bdjb9/logs/cilium-agent.txt
4 podlogs/kube-system/csi-cinder-controllerplugin-5d9f4df757-sv6rp/logs/csi-attacher.txt
3 podlogs/kube-system/cilium-xb296/logs/cilium-agent.txt
2 podlogs/kube-system/csi-cinder-nodeplugin-q6hq9/logs/liveness-probe.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-9h6bg/logs/liveness-probe.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-jl4ct/logs/metrics-server.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-f47jc/logs/liveness-probe.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-2fa98637860a4e08/logs/e2e.txt
1 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt
1 podlogs/kube-system/cilium-operator-788c7d7585-vgfmv/logs/cilium-operator.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-p6grr/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-p6grr/logs/liveness-probe.txt
time="2024-02-01T13:56:36Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy
time="2024-02-01T13:56:36Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[]"
time="2024-02-01T13:56:37Z" level=info msg="delete request issued" dry-run=false kind=clusterroles names="[]"

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 5 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}

Namespace "sonobuoy" has status {Phase:Terminating Conditions:[{Type:NamespaceDeletionDiscoveryFailure Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 4 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2024-02-01 13:56:43 +0000 UTC Reason:ContentHasNoFinalizers Message:All content-preserving finalizers finished}]}
...
...
...

Namespace "sonobuoy" has been deleted

Deleted all ClusterRoles and ClusterRoleBindings.
=== Sonobuoy conformance tests passed in 123s ===
make[1]: Leaving directory '/home/ubuntu/src/github.com/SovereignCloudStack/k8s-cluster-api-provider/terraform'

@chess-knight chess-knight merged commit c4f85ed into main Feb 2, 2024
6 checks passed
@chess-knight chess-knight deleted the feat/opentofu branch February 2, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Terraform with OpenTofu
4 participants