root-disk constraint broken on ec2

Bug #1324729 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth
1.18
Fix Released
Critical
Ian Booth

Bug Description

From a user:

> Trying to deploy a charm with some extra root disk space. When using the root-disk constraint defined above I get the following error:
>
> '(error: no instance types in us-east-1 matching constraints "cpu-power=100 root-disk=16384M")'
>
> I’m deploying a bundle with the following constraints: constraints: "mem=4G arch=amd64”, but need more disk-space then the default provided.

It appears Juju is failing to successfully match the specified constraints to an available instance type in ec2 because the instance type entries have RootDisk set to 0 (the root disk size is dynamically allocated when the instance is started).

Related branches

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.19.3 → 1.19.4
Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Go Bot (go-bot)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Critical → High
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.