Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Kubelet: mountpoint for cpu not found #346

Closed
rauizab opened this issue Sep 20, 2018 · 4 comments
Closed

Kubelet: mountpoint for cpu not found #346

rauizab opened this issue Sep 20, 2018 · 4 comments
Labels

Comments

@rauizab
Copy link

rauizab commented Sep 20, 2018

What happened:
Kubelet job fails on bosh-lite deployment

What you expected to happen:
All vm up and running

How to reproduce it (as minimally and precisely as possible):
bin/deploy_cfcr_lite having a bosh-lite

Anything else we need to know?:
Version v0.22.0

Environment:

  • Cloud provider: bosh-lite

Logs:

==> /var/vcap/sys/log/kubelet/kubelet.stderr.log <==
Flag --keep-terminated-pod-volumes has been deprecated, will be removed in a future version
I0918 18:01:43.167748   14975 feature_gate.go:230] feature gates: &{map[]}
I0918 18:01:43.167791   14975 feature_gate.go:230] feature gates: &{map[]}
I0918 18:01:43.169640   14975 mount_linux.go:209] Cannot run systemd-run, assuming non-systemd OS
I0918 18:01:43.169674   14975 server.go:408] Version: v1.11.2
I0918 18:01:43.169704   14975 feature_gate.go:230] feature gates: &{map[]}
I0918 18:01:43.169752   14975 feature_gate.go:230] feature gates: &{map[]}
I0918 18:01:43.169822   14975 plugins.go:97] No cloud provider specified.
I0918 18:01:43.169835   14975 server.go:524] No cloud provider specified: "" from the config file: ""
F0918 18:01:43.172200   14975 server.go:262] failed to run Kubelet: mountpoint for cpu not found
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/160651154

The labels on this github issue will be updated when the story is started.

@henderjm
Copy link
Contributor

Hi @rauizab .

We are aware of this issue and are trying to debug the problem and pass on the information to https://github.com/cloudfoundry/bosh-deployment

As a workaround, please checkout to this commit when deploying your bosh lite.

We also have a story here that is being used to debug this

@henderjm
Copy link
Contributor

henderjm commented Sep 20, 2018

We have opened an issue here cloudfoundry/bosh-deployment#299

@rauizab
Copy link
Author

rauizab commented Sep 20, 2018

There is a workaround by executing manually on each worker. I dont really know the implications but the deployment finishes:

mkdir /sys/fs/cgroup/cpu,cpuacct
mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants