Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[IMPROVEMENT] Remove dummy services of each CSI sidecar if not required #6581

@innobead

Description

@innobead
          Just in case it's related.. I'm also seeing in the same node that there is a pod "longhorn-driver-deployer....." that is Crashing also with the following log:
W0823 04:29:41.147763 1 client_config.go:618] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
time="2023-08-23T04:29:41Z" level=info msg="Deploying CSI driver"
time="2023-08-23T04:29:41Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Pending"
time="2023-08-23T04:29:42Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Pending"
time="2023-08-23T04:29:43Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:44Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:45Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:46Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:47Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:48Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:49Z" level=info msg="proc cmdline detection pod discover-proc-kubelet-cmdline in phase: Running"
time="2023-08-23T04:29:50Z" level=info msg="Proc found: kubelet"
time="2023-08-23T04:29:50Z" level=info msg="Try to find arg [--root-dir] in cmdline: [/usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime-endpoint=unix:///var/run/containerd/containerd.sock --pod-infra-container-image=k8s.gcr.io/pause:3.7 ]"
time="2023-08-23T04:29:50Z" level=warning msg="Cmdline of proc kubelet found: \"/usr/bin/kubelet\x00--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf\x00--kubeconfig=/etc/kubernetes/kubelet.conf\x00--config=/var/lib/kubelet/config.yaml\x00--container-runtime-endpoint=unix:///var/run/containerd/containerd.sock\x00--pod-infra-container-image=k8s.gcr.io/pause:3.7\x00\". But arg \"--root-dir\" not found. Hence default value will be used: \"/var/lib/kubelet\""
time="2023-08-23T04:29:50Z" level=info msg="Detected root dir path: /var/lib/kubelet"
time="2023-08-23T04:29:50Z" level=info msg="Upgrading Longhorn related components for CSI v1.1.0"
time="2023-08-23T04:29:50Z" level=info msg="Detected CSI Driver driver.longhorn.io CSI Git commit 8ce69c8f280a5a2715c528034e0274391ad761c0 version v1.5.1 Kubernetes version v1.28.0 has already been deployed"
time="2023-08-23T04:31:50Z" level=fatal msg="Error deploying driver: failed to start CSI driver: failed to deploy service csi-attacher: failed to cleanup service csi-attacher: foreground deletion of service csi-attacher timed out"

Originally posted by @fmq in #6578 (comment)

Metadata

Metadata

Labels

area/csiCSI related like control/node driver, sidecarsarea/install-uninstall-upgradeInstall, Uninstall or Upgrade relatedbackport/1.4.4backport/1.5.2kind/improvementRequest for improvement of existing functionpriority/0Must be implement or fixed in this release (managed by PO)

Type

No type

Projects

Status

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions