[
https://issues.apache.org/jira/browse/STRATOS-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966178#comment-13966178
]
Akila commented on STRATOS-601:
-------------------------------
Hi Nirmal,
Looks like I mis-understood the workflow in Stratos. Apparently the API
will not be accessible if the user-data script has not been passed as a
parameter at the launch time.
I guess Stratos pass this parameter when it tries to spawn new instances?
Apologies for the spam. I'll close the JIRA.
--
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com
Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com
> Cartridge init script payload retrieval issue in OpenStack
> ----------------------------------------------------------
>
> Key: STRATOS-601
> URL: https://issues.apache.org/jira/browse/STRATOS-601
> Project: Stratos
> Issue Type: Bug
> Components: Cartridge Agent
> Reporter: Akila
> Priority: Blocker
>
> Cartridge instance init.sh script will run the following command to get the
> payload
> http://169.254.169.254/latest/user-data -O /tmp/payload/launch-params
> However, http://169.254.169.254/latest/user-data is very specific to EC2,
> therefore it will not work on OpenStack. The following error is returned;
> --2014-04-11 01:40: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
> 2014-04-11 01:40:49 ERROR 404: Not Found.
--
This message was sent by Atlassian JIRA
(v6.2#6252)