stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Bandara <dine...@wso2.com>
Subject Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found
Date Sun, 20 Apr 2014 03:34:06 GMT
On Sun, Apr 20, 2014 at 1:57 AM, chris snow <chsnow123@gmail.com> wrote:

> When I run config . sh in my spawned instance, I receive 404 errors:
>
> root@ubuntu:~/bin# ./config . sh
> This script will install and configure puppet agent, do you want to
> continue [y/n]y
> --2014-04-19 20:12:49--  http://169.254.169.254/latest/user-data
> Connecting to 169.254.169.254:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
>
> The problem is the line:
>
>  ${WGET} http://169.254.169.254/latest/user-data -O
> /tmp/payload/launch-params
>
> The config . sh script ignores the 404, is it ok for me to ignore the
> error as well?
>
> Yes. You can ignore this error. This error only occurs when we configuring
the cartridge since there is no user-data for the instance.


> If I shouldn't be ignoring the error, should I be passing user-data
> when I start my instance?  How should I do this?  What should I pass?
>
> No need to pass user-data in cartridge creation process.


> The wiki page [1] doesn't say anything about passing user data.  Should it?
>
> Many thanks,
>
> Chris
>
> ---
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack
>



-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mime
View raw message