--constraints "root-disk=16384M" fails in EC2

Kapil Thangavelu kapil.thangavelu at canonical.com
Fri May 30 01:42:50 UTC 2014


fwiw. all the ubuntu cloud images root disks in ec2 have 8gb of disk size
by default, juju doesn't reallocate the root volume size when creating an
instance (if it did cloudinit will auto resize the root fs if its created
with a larger root vol).


On Thu, May 29, 2014 at 8:26 PM, Ian Booth <ian.booth at canonical.com> wrote:

> Hi Stein
>
> This does appear to be a bug in Juju's constraints handling for EC2.
> I'd have to do an experiment to confirm, but certainly reading the code
> appears to show a problem.
>
> Given how EC2 works, in that Juju asks for the specified root disk size
> when starting an instance, I don't have a workaround that I can think
> of to share with you.
>
> The fix for this would be relatively simple to implement and so can be
> done in time for the next stable release (1.20) which is due in a few
> weeks. Alternatively, we hope to have a new development release out
> next week (1.19.3).  I'll try to get any fix done in time for that also.
>
> I've raised bug 1324729 for this issue.
>
> On Fri 30 May 2014 09:29:15 EST, GMail wrote:
> > 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.
> >
> > Any suggestions ?
> >
> >
> > Stein Myrseth
> > Bjørkesvingen 6J
> > 3408 Tranby
> > mob: +47 909 62 763
> > mailto:stein.myrseth at gmail.com
> >
> >
> >
> >
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140529/e1389584/attachment.html>


More information about the Juju mailing list