Kubelet is unable to retrieve the "Node" object that represents the node
its running on from the api server. Has the node successfully registered
itself with the apiserver?

Relevant code that is generating the failure is here
<https://github.com/kubernetes/kubernetes/blob/55bee3ad21f025b1416a4e1f10de753f484b66d3/pkg/kubelet/server/stats/summary.go#L80>
.

On Fri, Feb 24, 2017 at 2:19 PM, ayodele abejide <abejideayod...@gmail.com>
wrote:

> Hi,
>
> I have searched the internet and found no answers that solve my problem.
>
> Background:
>
> I have a working cluster that I intended to automate it's creation via
> puppet and terraform, all seemed to have worked well except I find:
>
>
>
> Feb 24 22:05:41 kube-worker02.mydomain.com kubelet[18956]: E0224 22:05:
> 41.775438 18956 eviction_manager.go:204] eviction manager: unexpected err:
> failed GetNode: node 'kube-worker02.mydomain.com' not found
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: I0224 22:05:
> 51.725950 18956 kubelet.go:1155] Image garbage collection succeeded
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: W0224 22:05:
> 51.733365 18956 container_manager_linux.go:728] CPUAccounting not enabled
> for pid: 6095
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: W0224 22:05:
> 51.733381 18956 container_manager_linux.go:731] MemoryAccounting not
> enabled for pid: 6095
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: I0224 22:05:
> 51.733391 18956 container_manager_linux.go:434] Discovered runtime
> cgroups name: /system.slice/docker.service
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: W0224 22:05:
> 51.733478 18956 container_manager_linux.go:728] CPUAccounting not enabled
> for pid: 18956
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: W0224 22:05:
> 51.733489 18956 container_manager_linux.go:731] MemoryAccounting not
> enabled for pid: 18956
> Feb 24 22:05:51 kube-worker02.mydomain.com kubelet[18956]: E0224 22:05:
> 51.776184 18956 eviction_manager.go:204] eviction manager: unexpected err:
> failed GetNode: node 'kube-worker02.mydomain.com' not found
>
> in the kubelet logs.
>
> What have I tried?
>
> I have disabled ssl, set authorization-mode=AlwaysAllow, confirmed that
> kube-proxy running on the same worker can reach the api-server, also
> confirmed that cadvisor is running:
>
> curl localhost:4194/api/v2.0/
>
> Supported request types: "appmetrics,attributes,events,
> machine,ps,spec,stats,storage,summary,version"
>
>
> I have also rebooted the worker a couple of times and restarted kubelet
> and kube-proxy so many times.
>
> I am at loss here and don't know what to try, any help will be appreciated.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-use... ayodele abejide
    • Re: [kuber... 'Vishnu Kannan' via Kubernetes user discussion and Q&A
      • Re: [k... ayodele abejide
        • Re... 'Vishnu Kannan' via Kubernetes user discussion and Q&A
          • ... ayodele abejide
            • ... 'Vishnu Kannan' via Kubernetes user discussion and Q&A
              • ... Àbéjídé Àyodélé
                • ... 'Vishnu Kannan' via Kubernetes user discussion and Q&A
                • ... Àbéjídé Àyodélé
                • ... abejide . ayodele
    • [kubernete... jdanek

Reply via email to