{"id":4498,"date":"2021-01-06T20:41:11","date_gmt":"2021-01-06T07:41:11","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=4498"},"modified":"2021-01-06T20:41:27","modified_gmt":"2021-01-06T07:41:27","slug":"failed-to-list-v1-configmap","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=4498","title":{"rendered":"Failed to list *v1.ConfigMap"},"content":{"rendered":"\n<p>I was setting up an OKD single node cluster and to test if it was up I ran:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">openshift-install --dir=\/opt\/okd4\/install_dir\/ wait-for bootstrap-complete --log-level=debug<\/pre>\n\n\n\n<p>Then I got the following error messages:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/api.lab.okd.local:6443\/api\/v1\/namespaces\/kube-system\/configmaps?fieldSelector=metadata.name%3Dbootstrap&amp;limit=500&amp;resourceVersion=0: EOF\n E0104 15:32:18.605736    1642 reflector.go:153] k8s.io\/client-go\/tools\/watch\/informerwatcher.go:146: Failed to list *v1.ConfigMap: Get https:\/\/api.lab.okd.local:6443\/api\/v1\/namespaces\/kube-system\/configmaps?fieldSelector=metadata.name%3Dbootstrap&amp;limit=500&amp;resourceVersion=0: EOF\n E0104 15:32:19.607338    1642 reflector.go:153] k8s.io\/client-go\/tools\/watch\/informerwatcher.go:146: Failed to list *v1.ConfigMap: Get https:\/\/api.lab.okd.local:6443\/api\/v1\/namespaces\/kube-system\/configmaps?fieldSelector=metadata.name%3Dbootstrap&amp;limit=500&amp;resourceVersion=0: EOF<\/pre>\n\n\n\n<p>I did a lot of searching and found some others with the same problem but no solution.<\/p>\n\n\n\n<p>One solution that appeared to help was based on <a  href=\"https:\/\/www.reddit.com\/r\/openshift\/comments\/kqxftm\/openshift_46_authentication_fail_clobbers_web\/.\">https:\/\/www.reddit.com\/r\/openshift\/comments\/kqxftm\/openshift_46_authentication_fail_clobbers_web\/.<\/a><\/p>\n\n\n\n<p>In essence from the services node you did:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>cordon<\/li><li>drain<\/li><li>restart<\/li><li>uncordon<\/li><\/ul>\n\n\n\n<p>Each of those steps is described in:<\/p>\n\n\n\n<p>Understanding how to evacuate pods on nodes<br><a  href=\"https:\/\/docs.openshift.com\/container-platform\/4.6\/nodes\/nodes\/nodes-nodes-working.html#nodes-nodes-working-evacuating_nodes-nodes-working\">https:\/\/docs.openshift.com\/container-platform\/4.6\/nodes\/nodes\/nodes-nodes-working.html#nodes-nodes-working-evacuating_nodes-nodes-working<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">But the real solution was&#8230;<\/h2>\n\n\n\n<p>In my particular case it appears that the solution was that in the &#8216;install-config.yaml&#8221; I had not populated the &#8220;pullSecret&#8221;. I found once I went to the Red Hat at <a  href=\"https:\/\/cloud.redhat.com\/openshift\/install\/pull-secret\">https:\/\/cloud.redhat.com\/openshift\/install\/pull-secret<\/a> and collected a copy of my pull secret and built the bootstrap and control-plane nodes from it I didn&#8217;t see the error.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>I was setting up an OKD single node cluster and to test if it was up I ran: openshift-install &#8211;dir=\/opt\/okd4\/install_dir\/ wait-for bootstrap-complete &#8211;log-level=debug Then I got the following error messages: https:\/\/api.lab.okd.local:6443\/api\/v1\/namespaces\/kube-system\/configmaps?fieldSelector=metadata.name%3Dbootstrap&amp;limit=500&amp;resourceVersion=0: EOF E0104 15:32:18.605736 1642 reflector.go:153] k8s.io\/client-go\/tools\/watch\/informerwatcher.go:146: Failed to list *v1.ConfigMap: Get https:\/\/api.lab.okd.local:6443\/api\/v1\/namespaces\/kube-system\/configmaps?fieldSelector=metadata.name%3Dbootstrap&amp;limit=500&amp;resourceVersion=0: EOF E0104 15:32:19.607338 1642 reflector.go:153] k8s.io\/client-go\/tools\/watch\/informerwatcher.go:146: Failed to list *v1.ConfigMap: Get https:\/\/api.lab.okd.local:6443\/api\/v1\/namespaces\/kube-system\/configmaps?fieldSelector=metadata.name%3Dbootstrap&amp;limit=500&amp;resourceVersion=0: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4500,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,677,552,123],"tags":[682,683,687,100,684,679,686,678,681,680],"class_list":["post-4498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fedora","category-openshift-okd","category-redhat","category-vmware","tag-cluster","tag-control-plane","tag-eof","tag-error","tag-log","tag-okd","tag-okd4","tag-openshift","tag-openshift-installer","tag-v1-configmap"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4498"}],"version-history":[{"count":1,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4498\/revisions"}],"predecessor-version":[{"id":4499,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4498\/revisions\/4499"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/4500"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4498"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}