yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12990
[Bug 1249114] Re: nova docker virt driver does not support lxc options
** Project changed: nova => nova-docker
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1249114
Title:
nova docker virt driver does not support lxc options
Status in Nova Docker Driver:
Confirmed
Bug description:
The current implementation of the docker virt drive does not support
passing any lxc options through to docker. For example I may want to
pass through lxc.cgroup.blkio.throttle.read_bps_device or some other
lxc cgroup option.. There is not way to do this right now, nor are any
of the mem/cpu specs on the flavor honored..
I'm not an expert on in this space, but seems like the docker driver
should support generic lxc/docker options in the form or flavor
extras.
For example any flavor extras starting with 'docker.' could be transformed to docker options. Example a flavor extra like:
docker.cidfile = /tmp/cpid
would get translated into the docker -cidfile argument for the
container run..
And for example I could add a flavor extra like:
docker.lxc-conf='lxc.cgroup.blkio.throttle.read_bps_device=8:0
10485760'
which would get passed to dockers lxc-conf argument.
Obviously the above format is not thought out, but to harness the
limits of containers we need the ability to set lxc and docker config
options/limits.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova-docker/+bug/1249114/+subscriptions