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
CoreOS not reporting disk size. #2380
Comments
Can you please provide your Rancher server version? Click on the cow icon in the upper left corner. |
Stack trace on seg fault from the agent:
|
agent is v0.8.2 |
That trace is cadvisor crashing... We just package into the agent. Is this repeatable? Do you have beta or stable CoreOS hosts you can try? (835.1.0 is alpha) We may just need to update the packaged version (@cloudnautique?), though there's no obvious "fix CoreOS" in the changelog. |
Same thing here. |
I am able to get the dashboard to report stats by running cadvisor in its own container cadvisor:
restart: on-failure:5
labels:
io.rancher.scheduler.global: 'true'
tty: true
command:
- -listen_ip
- 127.0.0.1
- -port
- '9344'
- -docker_root
- /var/lib/docker
image: google/cadvisor
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
stdin_open: true
net: host however, every couple of days I have to destroy and restart the rancher-agent on every host because is writing 1GB of log data a day to /var/lib/docker/containers/uuid/uuid-json.log docker stop rancher-agent
docker rm rancher-agent rancher-agent-state
docker start (original rancher/agent id) |
We merged rancher/cattle#1013 which should address this. Our initial build process wasn't compiling the static binary fully. Should be in the next release. |
Great!! I just pulled down https://github.com/rancher/cadvisor-package/releases/download/v0.19.3/cadvisor.tar.gz to the agent/instance and replaced the cadvisor inside the container and everything looks to be working correctly!! No more crashing and live stats are still showing in the dashboard |
@davidpenn Thanks for testing, I'm glad to hear it's working. |
Tested with build from master - Nov 12 rancher-server is running on a ubuntu VM. |
What version of rancher/agent is this fixed in? |
@clemenko this gets updated via rancher/server. And actually, I thought this issue was no stats what so ever.. There is a bug on the main display where it adds the device mapper pool to the disk, and reports incorrectly. Its accurate on the host detail page, because it splits the devices out. |
Bug is tracked in #2661 |
The GUI isn't reporting the disk size of a CoreOS server.
The text was updated successfully, but these errors were encountered: