You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Dinesh Bandara <di...@wso2.com> on 2014/04/20 05:34:06 UTC

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Nirmal Fernando <ni...@gmail.com>.
On Mon, Apr 21, 2014 at 7:48 AM, Nirmal Fernando <ni...@gmail.com> wrote:
>
> Hi Akila,
>
> Read through: https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Cartridge#id-4.0.0Cartridge-Fullyconfiguredcartridge
>
>
> On Mon, Apr 21, 2014 at 7:29 AM, Akila Ravihansa Perera <ra...@wso2.com> wrote:
>>
>> Hi Nirmal,
>>
>> But no launch-params file is generated at the time we run config
>> script. Also launch parameters are passed only when an instance is
>> spawned by Stratos. As I understood, the spawned instance will execute
>> init.sh (which is added to local.rc by config script) that will get
>> this user-data and save it in launch-params file. But why do we need
>> that in config.sh script, which is executed only once manually?
>>
>> Thanks.
>>
>> On Mon, Apr 21, 2014 at 4:53 AM, Nirmal Fernando <ni...@gmail.com> wrote:
>> > Hi Akila,
>> >
>> > launch-params file generated by the Cartridge is used by the Cartridge Agent
>> > etc. see:
>> > https://github.com/apache/incubator-stratos/blob/master/tools/puppet3/modules/agent/manifests/init.pp
>> >
>> >
>> > On Mon, Apr 21, 2014 at 12:59 AM, Akila Ravihansa Perera
>> > <ra...@wso2.com> wrote:
>> >>
>> >> Hi,
>> >> But what's the purpose of having this wget command in config script?
>> >> Thanks.
>> >
>> >
>> >
>> >
>> > --
>> > Best Regards,
>> > Nirmal
>> >
>> > Nirmal Fernando.
>> > PPMC Member & Committer of Apache Stratos,
>> > Senior Software Engineer, WSO2 Inc.
>> >
>> > Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer
>> WSO2 Inc.
>> http://wso2.com
>>
>> Phone: +94 77 64 154 38
>> Blog: http://ravihansa3000.blogspot.com
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/




-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi Nirmal,

But no launch-params file is generated at the time we run config
script. Also launch parameters are passed only when an instance is
spawned by Stratos. As I understood, the spawned instance will execute
init.sh (which is added to local.rc by config script) that will get
this user-data and save it in launch-params file. But why do we need
that in config.sh script, which is executed only once manually?

Thanks.

On Mon, Apr 21, 2014 at 4:53 AM, Nirmal Fernando <ni...@gmail.com> wrote:
> Hi Akila,
>
> launch-params file generated by the Cartridge is used by the Cartridge Agent
> etc. see:
> https://github.com/apache/incubator-stratos/blob/master/tools/puppet3/modules/agent/manifests/init.pp
>
>
> On Mon, Apr 21, 2014 at 12:59 AM, Akila Ravihansa Perera
> <ra...@wso2.com> wrote:
>>
>> Hi,
>> But what's the purpose of having this wget command in config script?
>> Thanks.
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/



-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Akila,

launch-params file generated by the Cartridge is used by the Cartridge
Agent etc. see:
https://github.com/apache/incubator-stratos/blob/master/tools/puppet3/modules/agent/manifests/init.pp


On Mon, Apr 21, 2014 at 12:59 AM, Akila Ravihansa Perera <ravihansa@wso2.com
> wrote:

> Hi,
> But what's the purpose of having this wget command in config script?
> Thanks.
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi,
But what's the purpose of having this wget command in config script?
Thanks.

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Udara Liyanage <ud...@wso2.com>.
In EC2 you can pass user data when creating the instance manually. User
data field is available at one step of instance creation. I think that is
what Dinesh has mentioned.



Touched, not typed. Erroneous words are a feature, not a typo.

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi Dinesh,

Could you explain why we need this "wget" user-data request in the config
script?



On Sun, Apr 20, 2014 at 12:26 PM, chris snow <ch...@gmail.com> wrote:

> Thanks guys.  If this isn't an error, should we hide this output from the
> user?
>
> On Sun, Apr 20, 2014 at 5:47 AM, Isuru Haththotuwa <is...@wso2.com>
> wrote:
> > User data can be specified if an instance is spawned manually AFAIK. So
> > there is no harm in ignoring this 404 I guess.
> >
> > On Sun, Apr 20, 2014 at 9:34 AM, Imesh Gunaratne <im...@apache.org>
> wrote:
> >>
> >> May be we do not need to fetch user-data in config.sh? Is there any
> reason
> >> for having it?
> >>
> >>
> >> Thanks
> >>
> >>
> >> On Sun, Apr 20, 2014 at 9:04 AM, Dinesh Bandara <di...@wso2.com>
> wrote:
> >>>
> >>>
> >>>
> >>>
> >>> On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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
> >>>
> >>
> >>
> >>
> >> --
> >> Imesh Gunaratne
> >>
> >> Technical Lead, WSO2
> >> Committer & PPMC Member, Apache Stratos
> >
> >
> >
> >
> > --
> > Thanks and Regards,
> >
> > Isuru H.
> > +94 716 358 048
> >
> >
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Melan Nimesh <me...@apache.org>.
On Sun, Apr 20, 2014 at 8:49 PM, Isuru Haththotuwa <is...@wso2.com> wrote:

>
> On Sun, Apr 20, 2014 at 12:26 PM, chris snow <ch...@gmail.com> wrote:
>
>> Thanks guys.  If this isn't an error, should we hide this output from the
>> user?
>>
> IMHO we should not hide it. Maybe we can make display a meaningful warning
> message and continue. WDYT?
>

+1, we can run wget in quiet mode and display warning if no user-data is
available to the instance


>
>> On Sun, Apr 20, 2014 at 5:47 AM, Isuru Haththotuwa <is...@wso2.com>
>> wrote:
>> > User data can be specified if an instance is spawned manually AFAIK. So
>> > there is no harm in ignoring this 404 I guess.
>> >
>> > On Sun, Apr 20, 2014 at 9:34 AM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>> >>
>> >> May be we do not need to fetch user-data in config.sh? Is there any
>> reason
>> >> for having it?
>> >>
>> >>
>> >> Thanks
>> >>
>> >>
>> >> On Sun, Apr 20, 2014 at 9:04 AM, Dinesh Bandara <di...@wso2.com>
>> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Imesh Gunaratne
>> >>
>> >> Technical Lead, WSO2
>> >> Committer & PPMC Member, Apache Stratos
>> >
>> >
>> >
>> >
>> > --
>> > Thanks and Regards,
>> >
>> > Isuru H.
>> > +94 716 358 048
>> >
>> >
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>


-- 
Melan Nimesh Jayasinghage

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Isuru Haththotuwa <is...@wso2.com>.
On Sun, Apr 20, 2014 at 12:26 PM, chris snow <ch...@gmail.com> wrote:

> Thanks guys.  If this isn't an error, should we hide this output from the
> user?
>
IMHO we should not hide it. Maybe we can make display a meaningful warning
message and continue. WDYT?

>
> On Sun, Apr 20, 2014 at 5:47 AM, Isuru Haththotuwa <is...@wso2.com>
> wrote:
> > User data can be specified if an instance is spawned manually AFAIK. So
> > there is no harm in ignoring this 404 I guess.
> >
> > On Sun, Apr 20, 2014 at 9:34 AM, Imesh Gunaratne <im...@apache.org>
> wrote:
> >>
> >> May be we do not need to fetch user-data in config.sh? Is there any
> reason
> >> for having it?
> >>
> >>
> >> Thanks
> >>
> >>
> >> On Sun, Apr 20, 2014 at 9:04 AM, Dinesh Bandara <di...@wso2.com>
> wrote:
> >>>
> >>>
> >>>
> >>>
> >>> On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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
> >>>
> >>
> >>
> >>
> >> --
> >> Imesh Gunaratne
> >>
> >> Technical Lead, WSO2
> >> Committer & PPMC Member, Apache Stratos
> >
> >
> >
> >
> > --
> > Thanks and Regards,
> >
> > Isuru H.
> > +94 716 358 048
> >
> >
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by chris snow <ch...@gmail.com>.
Thanks guys.  If this isn't an error, should we hide this output from the user?

On Sun, Apr 20, 2014 at 5:47 AM, Isuru Haththotuwa <is...@wso2.com> wrote:
> User data can be specified if an instance is spawned manually AFAIK. So
> there is no harm in ignoring this 404 I guess.
>
> On Sun, Apr 20, 2014 at 9:34 AM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>> May be we do not need to fetch user-data in config.sh? Is there any reason
>> for having it?
>>
>>
>> Thanks
>>
>>
>> On Sun, Apr 20, 2014 at 9:04 AM, Dinesh Bandara <di...@wso2.com> wrote:
>>>
>>>
>>>
>>>
>>> On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PPMC Member, Apache Stratos
>
>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048
>
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Isuru Haththotuwa <is...@wso2.com>.
User data can be specified if an instance is spawned manually AFAIK. So
there is no harm in ignoring this 404 I guess.

On Sun, Apr 20, 2014 at 9:34 AM, Imesh Gunaratne <im...@apache.org> wrote:

> May be we do not need to fetch user-data in config.sh? Is there any reason
> for having it?
>

> Thanks
>
>
> On Sun, Apr 20, 2014 at 9:04 AM, Dinesh Bandara <di...@wso2.com> wrote:
>
>>
>>
>>
>> On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PPMC Member, Apache Stratos
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

Re: cartridge config . sh -> http://169.254.169.254/latest/user-data : 404 Not Found

Posted by Imesh Gunaratne <im...@apache.org>.
May be we do not need to fetch user-data in config.sh? Is there any reason
for having it?

Thanks


On Sun, Apr 20, 2014 at 9:04 AM, Dinesh Bandara <di...@wso2.com> wrote:

>
>
>
> On Sun, Apr 20, 2014 at 1:57 AM, chris snow <ch...@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
>
>


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PPMC Member, Apache Stratos