Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-109438

Error: [EFAULT] Kubernetes service is not running.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: SCALE-21.02-ALPHA.1
    • Fix Version/s: N/A
    • Component/s: None

      Description

      Hope it helps...

       

      #                                                                                                                                                                                                                                                                                                                                 
      truenas# systemctl start k3s
      Job for k3s.service failed because the control process exited with error code.
      See "systemctl status k3s.service" and "journalctl -xe" for details.
      #                                                                                                                                                                                                                                                                                                                                 
      truenas# journalctl -xe              
      ░░ 
      ░░ The job identifier is 9880 and the job result is done.
      Feb 16 18:03:21 truenas.local systemd[1]: Starting Lightweight Kubernetes...
      ░░ Subject: A start job for unit k3s.service has begun execution
      ░░ Defined-By: systemd
      ░░ Support: https://www.debian.org/support
      ░░ 
      ░░ A start job for unit k3s.service has begun execution.
      ░░ 
      ░░ The job identifier is 9880.
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.328821161-08:00" level=info msg="Starting k3s TS-21.02-ALPHA.1 (0f579eab)"
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.329274274-08:00" level=info msg="Cluster bootstrap already complete"
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.365954946-08:00" level=info msg="Configuring sqlite3 database connection pooling: maxIdleConns=2, maxOpenConns=0, connMaxLifetime=0s"
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.366009673-08:00" level=info msg="Configuring database table schema and indexes, this may take a moment..."
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.366162231-08:00" level=info msg="Database tables and indexes are up to date"
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.368200404-08:00" level=info msg="Kine listening on unix://kine.sock"
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.368611532-08:00" level=info msg="Running kube-apiserver --advertise-address=0.0.0.0 --advertise-port=6443 --allow-privileged=true --anonymous-auth=false --api-audiences=unknown --authorization-mode=Node,RBAC --bind-address=127.0.0.1 --cert-dir=/mnt/pookie/ix-applications/k3s/server/tls/tempora>
      Feb 16 18:03:21 truenas.local k3s[50997]: Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.370719   50997 server.go:659] external host was not specified, using 192.168.1.225
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.371194   50997 server.go:196] Version: v1.20.2-k3s1
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.376713   50997 shared_informer.go:240] Waiting for caches to sync for node_authorizer
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.378279   50997 plugins.go:158] Loaded 12 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,NodeRestriction,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,RuntimeClass,DefaultIngress>
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.378302   50997 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ValidatingAdmissionWebhook,ResourceQuota.
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.379920   50997 plugins.go:158] Loaded 12 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,NodeRestriction,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,RuntimeClass,DefaultIngress>
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.379945   50997 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ValidatingAdmissionWebhook,ResourceQuota.
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.418548   50997 instance.go:289] Using reconciler: lease
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.471223   50997 rest.go:131] the default service ipfamily for this cluster is: IPv4
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.854106   50997 genericapiserver.go:419] Skipping API batch/v2alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.865364   50997 genericapiserver.go:419] Skipping API discovery.k8s.io/v1alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.878537   50997 genericapiserver.go:419] Skipping API node.k8s.io/v1alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.888277   50997 genericapiserver.go:419] Skipping API rbac.authorization.k8s.io/v1alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.892312   50997 genericapiserver.go:419] Skipping API scheduling.k8s.io/v1alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.898655   50997 genericapiserver.go:419] Skipping API storage.k8s.io/v1alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.901712   50997 genericapiserver.go:419] Skipping API flowcontrol.apiserver.k8s.io/v1alpha1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.907281   50997 genericapiserver.go:419] Skipping API apps/v1beta2 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: W0216 18:03:21.907297   50997 genericapiserver.go:419] Skipping API apps/v1beta1 because it has no resources.
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.918228   50997 plugins.go:158] Loaded 12 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,NodeRestriction,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,RuntimeClass,DefaultIngress>
      Feb 16 18:03:21 truenas.local k3s[50997]: I0216 18:03:21.918250   50997 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ValidatingAdmissionWebhook,ResourceQuota.
      Feb 16 18:03:21 truenas.local k3s[50997]: time="2021-02-16T18:03:21.927801984-08:00" level=fatal msg="starting kubernetes: stat /mnt/pookie/ix-applications/k3s/server/cred/admin.kubeconfig: no such file or directory"
      Feb 16 18:03:21 truenas.local systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE
      ░░ Subject: Unit process exited
      ░░ Defined-By: systemd
      ░░ Support: https://www.debian.org/support
      ░░ 
      ░░ An ExecStart= process belonging to unit k3s.service has exited.
      ░░ 
      ░░ The process' exit code is 'exited' and its exit status is 1.
      Feb 16 18:03:21 truenas.local systemd[1]: k3s.service: Failed with result 'exit-code'.
      ░░ Subject: Unit failed
      ░░ Defined-By: systemd
      ░░ Support: https://www.debian.org/support
      ░░ 
      ░░ The unit k3s.service has entered the 'failed' state with result 'exit-code'.
      Feb 16 18:03:21 truenas.local systemd[1]: Failed to start Lightweight Kubernetes.
      ░░ Subject: A start job for unit k3s.service has failed
      ░░ Defined-By: systemd
      ░░ Support: https://www.debian.org/support
      ░░ 
      ░░ A start job for unit k3s.service has finished with a failure.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Release Council
                Reporter:
                mvasovski Michael Vasovski
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: