-
Notifications
You must be signed in to change notification settings - Fork 712
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
Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring #1345
Comments
How did you install kubeadm? |
I tried two different setup methods, both with same results
|
I can take a look. |
Thanks @RA489 |
@mamer67 I investigated this issue on CentOS but i didn't find any missing config path "/etc/kubernetes/manifests" |
@RA489 Did u use kubeadm on that host before? I mean, have you made sure before running kubeadm that /etc/kubernetes folder doesn't exist?. |
@mamer67 yea i didn't exist before |
@RA489 Strange!. This almost showed up on my side on every worker node, while running on AWS/EC2 AmazonLinux hosts. I will try again on my side, and provide more snapshots. Could you also post kubeadm version you are using? |
@mamer67 yea you can recheck from your side if problem still exists |
Oh I see you are using kubeadm v1.13.2, I was reporting the issue on kubeadm v1.13.1. Let me update kubeadm on my box and try again, and see. Its probably fixed already with version change. |
@mamer67 I don't think there will be much difference between v1.13.1 and v1.13.2 but yeah you can upgrade your kubeadm box. |
@RA489 Changing the version doesn't help as you said. I am still experiencing same issues on worker node.
In worker node I only get this,
Can I also ask, how did u install k8s tools? |
@mamer67 let me also try with kubeadm version v1.13.1 also so that we can see if problem exists. |
@mamer67 I checked on both versions v1.13.1 and v1.13.2 but i couldn't find any missing config path "/etc/kubernetes/manifests". |
@mamer67 When you install This means that Please run |
@chuckha manually creating the missing folder /etc/kubernetes/manifests, this error stops. |
@chuckha I see. Let me then test again by getting the tools using RPM. I honestly thought that folder is getting created as part of the join/bootstrap process done by kubeadm. Otherwise anyone running kubeadm from binaries will have to create that folder manually now. @RA489 Thanks for your work above. I will try using RPM now and see. |
@mamer67 let me know if you need any help while installation. |
@chuckha @RA489 I gave it a try using RPM and it does indeed create the missing directory. I didn't notice that before. Before closing this, I am thinking that I should create a feature request, asking for having those directories created by kubeadm itself and not deb/rpm installers. The only reason I believe it should be part of kubeadm, incase anyone is getting the tools using binaries. Thoughts? |
That's out of scope for kubeadm. Kubeadm assumes configuration management/something will be taking care of system dependencies such as file system structure. However, I think we could do a better job enumerating what kubeadm expects a system to look like before it will work. |
OK. Thanks all for your help on this. Closing this now. |
I am getting the same warming and its dumping my journald in v1.13.4... used kubeadm to setup the cluster. Initially i had my staticpodmanifest variable in my kubeletConfiguration but even after removing it i keep getting the dump! ALso manual creation of the /etc/kubernetes/manifests stops the warning |
I created "manifests" ,then reloaded the k8s servers manually ,then error stoped. |
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
kubeadm version (use
kubeadm version
): {Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:36:44Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}Environment:
kubectl version
): {Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:39:04Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}uname -a
): Linux 4.9.137-0.1.ac.218.74.329.metal1.x86_64 kubeadm join on slave node fails preflight checks #1 SMP Wed Dec 5 15:11:05 UTC 2018 x86_64 x86_64 x86_64 GNU/LinuxWhat happened?
On doing kubeadm join, everything works successfully, however logs on worker nodes keeps showing these errors
Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring
This doesn't affect node health. However its noise in logs. After I manually create the missing folder
/etc/kubernetes/manifests
, this error stops.What you expected to happen?
I expected, kubeadm during join process to create that folder.
How to reproduce it (as minimally and precisely as possible)?
The text was updated successfully, but these errors were encountered: