-
Notifications
You must be signed in to change notification settings - Fork 2
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
[FLOC-2659] Manage docker storage #123
base: master
Are you sure you want to change the base?
Conversation
You should proceed with coding this up. Even if we end up doing some of the other options, it seems reasonable to also limit the loopback device to fit in the size of the underlying filesystem. Being sparse doesn't help if the device is being filled. |
…covered while testing.
I've:
Anyway, the code in this branch at the moment has the smaller loop devices, and I've:
But I'm getting RequestLimitExceeded errors when the buildmaster container attempts to create on-demand slaves.
If someone else wants to pick this up while I'm away, feel free. |
And an even quicker fix would be to increase the size of the root partition on Ubuntu and Centos buildslave instances. |
The RequestLimit problem has now passed and I notice that I was using incorrect AMI image references
I can't remember how to reference unpromoted buildslave images. |
...
aws:
...
image_tags: {}
... |
Using a different region would help avoid the rate limit errors. |
Design for https://clusterhq.atlassian.net/browse/FLOC-2659
I mentioned a few different strategies in the issue.
This branch sketches out how we might reconfigure Docker on our on-demand buildslaves so that its device mapper data file doesn't grow larger than the available space on the root file system.
We might also consider increasing the size of the root partition.
As a followup, we should consider upgrading to a newer version of Docker which is better at cleaning up unused container layers from the device mapper data store.
Or we could configure docker to use a separate block device instead of loopback devices for its data pool, as suggested here: