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

Fixes pkg-config error in kubectx installation #648

Merged

Conversation

paulphys
Copy link
Member

Fixes #637

Seems like pkg-config doesn't come pre-installed with Ubuntu 22.04. Simply installing it and sudoing the symlink for the bash completion fixes the issue. Now the autocompletion for kubectx and kubens works as intended.

Copy link
Member

@chess-knight chess-knight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@scs-zuul
Copy link

scs-zuul bot commented Nov 21, 2023

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

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

Warning:

Sonobouy results === Collecting results === time="2023-11-21T07:45:06Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy time="2023-11-21T07:45:06Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[sonobuoy-serviceaccount-sonobuoy]" time="2023-11-21T07:45:06Z" 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: 7211
Passed: 5
Failed: 0
Skipped: 7206

Run Details:
API Server version: v1.27.5
Node health: 4/4 (100%)
Pods health: 33/33 (100%)
Errors detected in files:
Errors:
83 podlogs/kube-system/kube-scheduler-pr648-736df9-control-plane-9jk46-j2dsl/logs/kube-scheduler.txt
53 podlogs/kube-system/kube-controller-manager-pr648-736df9-control-plane-9jk46-j2dsl/logs/kube-controller-manager.txt
20 podlogs/kube-system/kube-apiserver-pr648-736df9-control-plane-9jk46-j2dsl/logs/kube-apiserver.txt
11 podlogs/kube-system/snapshot-controller-55687d7977-nh6xz/logs/snapshot-controller.txt
10 podlogs/kube-system/cilium-twfkp/logs/cilium-agent.txt
9 podlogs/kube-system/cilium-9hh5g/logs/cilium-agent.txt
9 podlogs/kube-system/cilium-v82xl/logs/cilium-agent.txt
9 podlogs/kube-system/cilium-dvdwn/logs/cilium-agent.txt
6 podlogs/kube-system/openstack-cloud-controller-manager-cfkks/logs/openstack-cloud-controller-manager.txt
4 podlogs/kube-system/cilium-operator-788c7d7585-j6z7r/logs/cilium-operator.txt
4 podlogs/kube-system/etcd-pr648-736df9-control-plane-9jk46-j2dsl/logs/etcd.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-qvmtl/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-8sncs/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-nfswx/logs/node-driver-registrar.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-4l52j/logs/node-driver-registrar.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-29ae09e52e534858/logs/e2e.txt
Warnings:
386 podlogs/kube-system/etcd-pr648-736df9-control-plane-9jk46-j2dsl/logs/etcd.txt
37 podlogs/kube-system/kube-scheduler-pr648-736df9-control-plane-9jk46-j2dsl/logs/kube-scheduler.txt
36 podlogs/kube-system/kube-apiserver-pr648-736df9-control-plane-9jk46-j2dsl/logs/kube-apiserver.txt
8 podlogs/kube-system/openstack-cloud-controller-manager-cfkks/logs/openstack-cloud-controller-manager.txt
6 podlogs/kube-system/cilium-twfkp/logs/cilium-agent.txt
5 podlogs/kube-system/cilium-v82xl/logs/cilium-agent.txt
5 podlogs/kube-system/cilium-dvdwn/logs/cilium-agent.txt
5 podlogs/kube-system/kube-controller-manager-pr648-736df9-control-plane-9jk46-j2dsl/logs/kube-controller-manager.txt
4 podlogs/kube-system/cilium-9hh5g/logs/cilium-agent.txt
3 podlogs/kube-system/csi-cinder-nodeplugin-4l52j/logs/node-driver-registrar.txt
3 podlogs/kube-system/csi-cinder-controllerplugin-79c9964967-wxb89/logs/csi-attacher.txt
2 podlogs/kube-system/csi-cinder-controllerplugin-79c9964967-wxb89/logs/csi-provisioner.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-8sncs/logs/node-driver-registrar.txt
1 podlogs/sonobuoy/sonobuoy/logs/kube-sonobuoy.txt
1 podlogs/kube-system/metrics-server-5fb5598cf8-7n7hs/logs/metrics-server.txt
1 podlogs/sonobuoy/sonobuoy-e2e-job-29ae09e52e534858/logs/e2e.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-qvmtl/logs/node-driver-registrar.txt
1 podlogs/kube-system/cilium-operator-788c7d7585-j6z7r/logs/cilium-operator.txt
1 podlogs/kube-system/csi-cinder-nodeplugin-nfswx/logs/node-driver-registrar.txt
time="2023-11-21T07:45:07Z" level=info msg="delete request issued" dry-run=false kind=namespace namespace=sonobuoy
time="2023-11-21T07:45:07Z" level=info msg="delete request issued" dry-run=false kind=clusterrolebindings names="[]"
time="2023-11-21T07:45:07Z" 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-11-21 07:45:25 +0000 UTC Reason:ResourcesDiscovered Message:All resources successfully discovered} {Type:NamespaceDeletionGroupVersionParsingFailure Status:False LastTransitionTime:2023-11-21 07:45:25 +0000 UTC Reason:ParsedGroupVersions Message:All legacy kube types successfully parsed} {Type:NamespaceDeletionContentFailure Status:False LastTransitionTime:2023-11-21 07:45:25 +0000 UTC Reason:ContentDeleted Message:All content successfully deleted, may be waiting on finalization} {Type:NamespaceContentRemaining Status:True LastTransitionTime:2023-11-21 07:45:25 +0000 UTC Reason:SomeResourcesRemain Message:Some resources are remaining: pods. has 5 resource instances} {Type:NamespaceFinalizersRemaining Status:False LastTransitionTime:2023-11-21 07:45:25 +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 72s ===
make[1]: Leaving directory '/home/ubuntu/src/github.com/SovereignCloudStack/k8s-cluster-api-provider/terraform'

@chess-knight chess-knight merged commit 8b41e68 into SovereignCloudStack:main Nov 21, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pkg-config command not found
2 participants