[Bug 1397201] [NEW] Juju does not use constraints when deploying to a KVM container

Johan Ehnberg johan at ehnberg.net
Fri Nov 28 06:51:51 UTC 2014


Public bug reported:

Running Juju 1.20.12-trusty-amd64 on MaaS.

May be related to:
https://code.launchpad.net/~thumper/juju-core/kvm-constraints/+merge/197815

Setting constraints does not affect the creation of KVM containers.

johan at maas:~$ juju deploy --to kvm:2 --constraints "mem=2G cpu-cores=2" ubuntu test-ubuntu
Added charm "cs:trusty/ubuntu-0" to the environment.

johan at maas:~$ juju status test-ubuntu
environment: maas
machines:
  "2":
    agent-state: started
    agent-version: 1.20.12
    dns-name: ajbwc.maas.molnix.com
    instance-id: /MAAS/api/1.0/nodes/node-2aadeb06-6a86-11e4-8be8-0021702cb7de/
    series: trusty
    containers:
      2/kvm/4:
        agent-state: pending
        instance-id: juju-machine-2-kvm-4
        series: trusty
        hardware: arch=amd64 cpu-cores=1 mem=512M root-disk=8192M
    hardware: arch=amd64 cpu-cores=2 mem=6144M
services:
  test-ubuntu:
    charm: cs:trusty/ubuntu-0
    exposed: false
    units:
      test-ubuntu/0:
        agent-state: pending
        machine: 2/kvm/4

** Affects: juju (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1397201

Title:
  Juju does not use constraints when deploying to a KVM container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju/+bug/1397201/+subscriptions



More information about the Ubuntu-server-bugs mailing list