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

Re: Building EC2 images locally fails



On 2014-01-08 19:21:29, Tomasz Rybak wrote:
> Hello.

yo and snip
 
> There is strange URL in providers/ec2/tasks/host.py:
> metadata_url =
> 'http://169.254.169.254/latest/dynamic/instance-identity/document'
> 
> 169.254.* is (Windows ?) IP used when there is no DHCP-given IP.

This is a IP of metadata server which gives information to cloud-init during
instance provisioning, It's noting to do with Windows just try query (with curl
for example) this server when logged in to some AWS instance.

> From analysis of the code it looks like GetInfo is used by Connect
> to get information about instance and its region (to connect to AWS
> to register AMI) - but I'm not sure which instance.

From what I know it's about host on which you're building  your new Debian
image.

> The one build-debian-cloud runs on, or the one which is being created?

The former.

> What should I do with this URL?

Just use it :-)
-- 

|_|0|_|                                          |
|_|_|0|         "Heghlu'Meh QaQ jajVam"          |
|0|0|0|         -------- kuLa ---------          |

gpg --keyserver pgp.mit.edu --recv-keys 0x58C338B3
3DF1 A4DF C732 4688 38BC F121 6869 30DD  58C3 38B3

Attachment: signature.asc
Description: Digital signature


Reply to: