<div dir="ltr">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).</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 8:26 PM, Ian Booth <span dir="ltr"><<a href="mailto:ian.booth@canonical.com" target="_blank">ian.booth@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stein<br>
<br>
This does appear to be a bug in Juju's constraints handling for EC2.<br>
I'd have to do an experiment to confirm, but certainly reading the code<br>
appears to show a problem.<br>
<br>
Given how EC2 works, in that Juju asks for the specified root disk size<br>
when starting an instance, I don't have a workaround that I can think<br>
of to share with you.<br>
<br>
The fix for this would be relatively simple to implement and so can be<br>
done in time for the next stable release (1.20) which is due in a few<br>
weeks. Alternatively, we hope to have a new development release out<br>
next week (1.19.3). I'll try to get any fix done in time for that also.<br>
<br>
I've raised bug 1324729 for this issue.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri 30 May 2014 09:29:15 EST, GMail wrote:<br>
> Trying to deploy a charm with some extra root disk space. When using the root-disk constraint defined above I get the following error:<br>
><br>
> '(error: no instance types in us-east-1 matching constraints "cpu-power=100 root-disk=16384M")'<br>
><br>
> I’m deploying a bundle with the following constraints: constraints: "mem=4G arch=amd64”, but need more disk-space then the default provided.<br>
><br>
> Any suggestions ?<br>
><br>
><br>
> Stein Myrseth<br>
> Bjørkesvingen 6J<br>
> 3408 Tranby<br>
> mob: +47 909 62 763<br>
> mailto:<a href="mailto:stein.myrseth@gmail.com">stein.myrseth@gmail.com</a><br>
><br>
><br>
><br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
</font></span></blockquote></div><br></div>