[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenStack Debian 7 Image



Hello Thomas,

Thanks for taking the time to respond to me; I'm using the backports build of cloud-init with mostly a default configuration (see: http://pastebin.mozilla.org/3368272 )

Here is the log detailing the error(s) I'm getting at boot: http://pastebin.mozilla.org/3368258 even after setting the URL for the ec2 datasource (which from what I've read is what you need to use for the '169.254' URL to work). After changing cloud-init using dpkg-reconfigure and only selecting EC2 it seems the gateway IP went away ( http://pastebin.mozilla.org/3368302 ) However the block error remains. Perhaps it would be simpler to first use any defined datasources in cloud.cfg before trying others?

Thanks again for the assistance.


On Sun, Oct 27, 2013 at 9:32 AM, Thomas Goirand <zigo@debian.org> wrote:
On 10/26/2013 06:07 AM, Tyler Wilson wrote:
> Hey All,
>
> I've tried researching into creating a qcow2 Debian Openstack image but
> diddnt get very far; Is there a recently-updated guide on how this is
> completed or possibly a Debian-maintained cloud image? I've attempted
> using cloud-init (after adding from experimental)

You don't need the experimental version of cloud-init. This one contains
only an addition for Google cloud. If you are using Wheezy, then you can
use the version I uploaded to backports directly (don't use the one from
Sid).

> however it doesn't
> seem to work with growpart to resize /dev/vda1

It does work for me on OpenStack... Though here, it should be
/dev/xvda1, and not /dev/vda1, and I don't think that it is possible to
grow a partition in the AWS thing: you have access to a partition, not
to a full hard drive. So the only thing that should be done is
resize2fs, and that's it.

> and doesn't pull EC2
> metadata from 169.254.169.254 and instead uses the DHCP gateway.

It did work for me (again, on OpenStack, but that's the same EC2
protocol and same IP address). Are you sure that you have configured
cloud-init correctly? (you can try to dpkg-reconfigure cloud-init to
make sure of that)

Thomas Goirand (zigo)


--
To UNSUBSCRIBE, email to debian-cloud-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 526D4023.6070509@debian.org" target="_blank">http://lists.debian.org/[🔎] 526D4023.6070509@debian.org



Reply to: