-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Kubelet fails to get rootfs information error for dir /var/lib/kubelet on RancherOS #9848
Comments
The problem can be summarized in the following points:
|
A fix for this will be included in future RancherOS releases, as a work around user can run the following command to upgrade ROS from 1.0.3 with new volume parameters for kubelet:
Applying the workaround will fix the kubelet problem, and cadvisor will be able to collect metrics for pods correctly. |
RancherOS version: 1.1.0 Hi I tried the work-around with with RancherOS 1.1.0 and I am still getting the same issue. I confirmed that the User-Volumes have been appended:
I am still seeing the error:
|
Confirmed its seems to be working with RancherOS 1.0.4 for some reason but I am getting the same error with 1.1.0 with the workaround. |
Confirmed after downgrade to 1.0.4 and then upgrading to 1.1.0 workaround works. |
@shamalco Have your figured out why downgrade to 1.0.4 then upgrade to 1.1.0 workaround works? |
@shamalco I am not able to reproduce the issue exactly, i was able to downgrade from 1.1.0 to 1.0.4 and add /var/lib/kubelet as user volume and run kubernetes, and i can see cadvisor running normally and can get pods metrics, i can also see metrics being gathered and shown in grafana |
Also had to bounce down to 1.0.4 and back up to 1.1.0 with workaround for this to work |
Has there been any further investigation into this issue for RancherOS 1.1.0? I'm using Auto-scaling groups, and having my machines roll from 1.1.0 to 1.0.4 to 1.1.0 isn't practical for my situation. |
Rancher versions:
rancher/server: v1.6.8
kubernetes (if applicable): v1.7.4-rancher2
Docker version: (
docker version
,docker info
preferred)1.12.6
Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)ROS 1.0.3 and 1.0.4
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Cadvisor fails to get metrics for pods, Kubelet is showing the following errors on ROS 1.0.3:
Maybe related to kubernetes/kubernetes#44059
The text was updated successfully, but these errors were encountered: