DescriptionMake KVM respect constraints.
The uvtool CLI allows us to specify memory, disk
and cores on the command-line. Constraints often
ask for a subset (or superset) of these.
This branch translates between the juju constraints
format to the command line params that the uvt-kvm
tool wants.
If constraints are supplied that KVM doesn't support,
a log entry is written out at INFO level. It isn't
really a warning, just an informational that we are
ignoring it.
Also, the local provider wasn't passing the constraints
through as the FinishMachineConfig only set the constraints
on the config object if it was a state server node. I am
a little unclear on the implications of this for other
providers.
https://code.launchpad.net/~thumper/juju-core/kvm-constraints/+merge/197815
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : Make KVM respect constraints. #
MessagesTotal messages: 4
|