containers should use constraints to configure cgroups/kvm values

Bug #1242783 reported by Kapil Thangavelu on 2013-10-21
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
juju
Low
Unassigned

Bug Description

ie constraints for lxc containers are basically ignored atm.

Curtis Hovey (sinzui) on 2013-10-22
tags: added: constraints local-provider
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Sidnei da Silva (sidnei) wrote :

The root-disk constraint should also be passed to containers, so it gets passed down to lxc-create as --fssize.

Changed in juju-core:
importance: High → Medium
Kapil Thangavelu (hazmat) wrote :

more to point this should be configure cgroups for cpu/memory etc.

Curtis Hovey (sinzui) on 2016-02-02
tags: added: lxd
Curtis Hovey (sinzui) on 2016-04-24
Changed in juju-core:
importance: Medium → Low
Tycho Andersen (tycho-s) wrote :

So it looks like the constraints aren't getting into the instanceConfig for StartContainer(), but when they do, here's how to propagate them to LXD:

https://github.com/tych0/juju/commit/81156dfb3c1d21431cb3bd5047a51e13bd91fc5d

affects: juju-core → juju
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers