cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7405) ec2 metadata service requires trailing / for listing items
Date Sun, 31 Aug 2014 20:22:21 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116879#comment-14116879
] 

ASF subversion and git services commented on CLOUDSTACK-7405:
-------------------------------------------------------------

Commit 4f494f708b78dc1e5fd239d5746c42f2cebc8396 in cloudstack's branch refs/heads/4.4 from
[~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4f494f7 ]

CLOUDSTACK-7405: Make the trailing slash conditional for meta-data requests

This should fix the cloud-init issues described in this issue.


> ec2 metadata service requires trailing / for listing items
> ----------------------------------------------------------
>
>                 Key: CLOUDSTACK-7405
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7405
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: AWSAPI
>            Reporter: Scott Moser
>            Priority: Minor
>
> This came to me through bug reports to cloud-init:
>  https://bugs.launchpad.net/cloud-init/+bug/1356855
> and
>  https://bugs.launchpad.net/cloud-init/+bug/1311107
> Apparently, the EC2 metadata service that cloudstack provides returns a 404 for "dictionary"
entries that do not have a trailing /.
> Example (as reported to me, i have no first hand experience).
> $ wget http://169.254.169.254/latest/meta-data ;
> 404
> $ wget http://169.254.169.254/latest/meta-data/
> $ cat index.html ; echo
> ami-id
> ami-launch-index
> ami-manifest-path
> block-device-mapping/
> hostname
> instance-action
> instance-id
> instance-type
> local-hostname
> local-ipv4
> mac
> metrics/
> network/
> placement/
> profile
> public-hostname
> public-ipv4
> public-keys/
> reservation-id
> security-groups
> services/
>   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message