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

install error: exec /start.sh: no such file or directory #19

Open
googs1025 opened this issue Jan 6, 2025 · 2 comments
Open

install error: exec /start.sh: no such file or directory #19

googs1025 opened this issue Jan 6, 2025 · 2 comments

Comments

@googs1025
Copy link

googs1025 commented Jan 6, 2025

env: kind (kubernetes version: 1.32)
I use this step to install: https://artifacthub.io/packages/helm/kubservice-charts/kubeservice-lxcfs-webhook

root@VM-0-9-ubuntu:/home/ubuntu# kubectl get pods -A
NAMESPACE            NAME                                                              READY   STATUS               RESTARTS         AGE
default              kubeservice-lxcfs-jv5n2                                           0/1     CrashLoopBackOff     189 (5m3s ago)   15h
default              kubeservice-lxcfs-ln8nk                                           0/1     PostStartHookError   190 (9s ago)     15h
default              kubeservice-lxcfs-webhook-686699f4d8-dwgqs                        0/1     ImagePullBackOff     137 (9h ago)     15h
default              my-kubeservice-lxcfs-webhook-cert-manager-96dc49f49-spdlk         1/1     Running              0                15h
default              my-kubeservice-lxcfs-webhook-cert-manager-cainjector-95499wf76z   1/1     Running              0                15h
default              my-kubeservice-lxcfs-webhook-cert-manager-webhook-78cd9d694glxx   1/1     Running              0                15h
kube-system          coredns-668d6bf9bc-hkjnl                                          1/1     Running              0                16h
kube-system          coredns-668d6bf9bc-svstj                                          1/1     Running              0                16h
kube-system          etcd-cluster1-control-plane                                       1/1     Running              0                16h
kube-system          kindnet-6gmnx                                                     1/1     Running              0                16h
kube-system          kindnet-995z8                                                     1/1     Running              0                16h
kube-system          kindnet-p5tgl                                                     1/1     Running              0                16h
kube-system          kube-apiserver-cluster1-control-plane                             1/1     Running              0                16h
kube-system          kube-controller-manager-cluster1-control-plane                    1/1     Running              0                16h
kube-system          kube-proxy-5k5rb                                                  1/1     Running              0                16h
kube-system          kube-proxy-ktkrc                                                  1/1     Running              0                16h
kube-system          kube-proxy-mzvmf                                                  1/1     Running              0                16h
kube-system          kube-scheduler-cluster1-control-plane                             1/1     Running              0                16h
local-path-storage   local-path-provisioner-58cc7856b6-6jkvt                           1/1     Running              0                16h
root@VM-0-9-ubuntu:/home/ubuntu# kubectl logs -f kubeservice-lxcfs-ln8nk
exec /start.sh: no such file or directory
root@VM-0-9-ubuntu:/home/ubuntu# kubectl logs -f kubeservice-lxcfs-jv5n2
exec /start.sh: no such file or directory
root@VM-0-9-ubuntu:/home/ubuntu# kubectl describe pods kubeservice-lxcfs-jv5n2
Name:             kubeservice-lxcfs-jv5n2
Namespace:        default
Priority:         0
Service Account:  my-kubeservice-lxcfs-webhook
Node:             cluster1-worker/172.18.0.2
Start Time:       Fri, 03 Jan 2025 17:26:02 +0800
Labels:           app.kubernetes.io/instance=my-kubeservice-lxcfs-webhook
                  app.kubernetes.io/name=kubeservice-lxcfs-webhook
                  controller-revision-hash=7f8b44d66f
                  pod-template-generation=1
Annotations:      <none>
Status:           Running
IP:               10.6.1.5
IPs:
  IP:           10.6.1.5
Controlled By:  DaemonSet/kubeservice-lxcfs
Containers:
  lxcfs:
    Container ID:   containerd://63c65c3fc6a03db10df84ebbe20c18bdbc2cd7e7484fc44f6d0e21577a269776
    Image:          dongjiang1989/lxcfs:v4.0.12
    Image ID:       docker.io/dongjiang1989/lxcfs@sha256:0fcf3eb852c7dbe6aac5224db1167e608e7f38945f72f9c641cad78e5a0e4d61
    Port:           <none>
    Host Port:      <none>
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    255
      Started:      Sat, 04 Jan 2025 09:14:30 +0800
      Finished:     Sat, 04 Jan 2025 09:14:30 +0800
    Ready:          False
    Restart Count:  190
    Environment:
      CONTAINER_REMOUNT_LXCFS:  IyEvYmluL2Jhc2ggK3gKCkxYQ0ZTPSIvdmFyL2xpYi9seGMvbHhjZnMiCgpjb250YWluZXJzPSQoY3JpY3RsIHBzIHwgZ3JlcCAtd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xlIgogICAgICAgICAgICBuc2VudGVyIC0tdGFyZ2V0ICRQSUQgLS1tb3VudCAtLSBtb3VudCAtQiAiJExYQ0ZTL3Byb2MvJGZpbGUiICIvcHJvYy8kZmlsZSIKICAgICAgICBkb25lCgogICAgICAgICMgbW91bnQgL3N5cwogICAgICAgIGZvciBmaWxlIGluIG9ubGluZTsgZG8KICAgICAgICAgICAgZWNobyBuc2VudGVyIC0tdGFyZ2V0ICRQSUQgLS1tb3VudCAtLSBtb3VudCAtQiAiJExYQ0ZTL3N5cy9kZXZpY2VzL3N5c3RlbS9jcHUvJGZpbGUiICIvc3lzL2RldmljZXMvc3lzdGVtL2NwdS8kZmlsZSIKICAgICAgICAgICAgbnNlbnRlciAtLXRhcmdldCAkUElEIC0tbW91bnQgLS0gbW91bnQgLUIgIiRMWENGUy9zeXMvZGV2aWNlcy9zeXN0ZW0vY3B1LyRmaWxlIiAiL3N5cy9kZXZpY2VzL3N5c3RlbS9jcHUvJGZpbGUiCiAgICAgICAgZG9uZQogICAgZWxzZQogICAgICAgIGVjaG8gIuWuueWZqCAkY29udGFpbmVyIOayoeacieaMgui9vSAvdmFyL2xpYi9seGMvbHhjZnMiCiAgICBmaQpkb25lCmV4aXQgMA==
      POD_NAME:                 kubeservice-lxcfs-jv5n2 (v1:metadata.name)
      NAMESPACE:                default (v1:metadata.namespace)
    Mounts:
      /opt/log/ from datalog (rw)
      /sys/fs/cgroup from cgroup (rw)
      /usr/lib64 from usr-lib64 (rw)
      /usr/local from usr-local (rw)
      /var/lib/lxcfs from lxcfs (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-ch6f6 (ro)
Conditions:
  Type                        Status
  PodReadyToStartContainers   True
  Initialized                 True
  Ready                       False
  ContainersReady             False
  PodScheduled                True
Volumes:
  cgroup:
    Type:          HostPath (bare host directory volume)
    Path:          /sys/fs/cgroup
    HostPathType:
  usr-local:
    Type:          HostPath (bare host directory volume)
    Path:          /usr/local
    HostPathType:
  usr-lib64:
    Type:          HostPath (bare host directory volume)
    Path:          /usr/lib64
    HostPathType:
  lxcfs:
    Type:          HostPath (bare host directory volume)
    Path:          /var/lib/lxcfs
    HostPathType:  DirectoryOrCreate
  datalog:
    Type:          HostPath (bare host directory volume)
    Path:          /data/log
    HostPathType:  DirectoryOrCreate
  kube-api-access-ch6f6:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node-role.kubernetes.io/master:NoSchedule
                             node.kubernetes.io/disk-pressure:NoSchedule op=Exists
                             node.kubernetes.io/memory-pressure:NoSchedule op=Exists
                             node.kubernetes.io/not-ready:NoExecute op=Exists
                             node.kubernetes.io/pid-pressure:NoSchedule op=Exists
                             node.kubernetes.io/unreachable:NoExecute op=Exists
                             node.kubernetes.io/unschedulable:NoSchedule op=Exists
@googs1025
Copy link
Author

@dongjiang1989 /ptal

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

No branches or pull requests

2 participants