You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Akila (JIRA)" <ji...@apache.org> on 2014/04/10 22:16:19 UTC
[jira] [Created] (STRATOS-601) Cartridge init script payload
retrieval issue in OpenStack
Akila created STRATOS-601:
-----------------------------
Summary: 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)
Re: [jira] [Created] (STRATOS-601) Cartridge init script payload
retrieval issue in OpenStack
Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Akila,
What's the Openstack version you are using please? Cause for grizzly it
seems to be the correct endpoint:
http://docs.openstack.org/grizzly/openstack-compute/admin/content/metadata-service.html
On Fri, Apr 11, 2014 at 1:46 AM, Akila (JIRA) <ji...@apache.org> wrote:
> Akila created STRATOS-601:
> -----------------------------
>
> Summary: 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)
>
--
Best Regards,
Nirmal
Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.
Blog: http://nirmalfdo.blogspot.com/