juju 2.1.2 assumes deep pockets with mem=7g on gce
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned |
Bug Description
$ juju version
2.1.2-xenial-amd64
$ juju deploy ubuntu --constraints mem=7G u1
$ juju deploy ubuntu --constraints "mem=7G cores=1" u2
Both u1 and u2 end up on a machine with 8g ram and 8 cores:
$ juju run --all 'grep proc /proc/cpuinfo'
- MachineId: "0"
Stdout: "processor\t: 0\nprocessor\t: 1\nprocessor\t: 2\nprocessor\t: 3\nprocessor\t:
4\nprocessor\t: 5\nprocessor\t: 6\nprocessor\t: 7\n"
- MachineId: "1"
Stdout: "processor\t: 0\nprocessor\t: 1\nprocessor\t: 2\nprocessor\t: 3\nprocessor\t:
4\nprocessor\t: 5\nprocessor\t: 6\nprocessor\t: 7\n"
It seems n1-highcpu-8 was selected as the instance type to satisfy the "mem=7g" constraint, regardless of the core constraint. This is expensive. I think juju should have selected the n1-standard-2 type instead.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: usability |
Changed in juju: | |
importance: | Medium → High |
tags: | added: talisman |
tags: | added: uosci |
Anastasia, with this issue ff you want 7g ram and juju selects n1-highcpu-8 that means a customer pays $145 a month just on the VM w/o storage whereas if it would select n1-standard-2 it would be only $49 a month. I would think this is higher than an medium priority.