containers should use constraints to configure cgroups/kvm values

Bug #1242783 reported by Kapil Thangavelu
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Low
Unassigned

Bug Description

ie constraints for lxc containers are basically ignored atm.

Curtis Hovey (sinzui)
tags: added: constraints local-provider
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
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
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

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

Curtis Hovey (sinzui)
tags: added: lxd
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Medium → Low
Revision history for this message
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
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.