[ 
https://issues.apache.org/jira/browse/DTACLOUD-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronelle Landy closed DTACLOUD-312.
----------------------------------

    Resolution: Fixed

Closing this issue as fixed in deltacloud commit version:
e2e30170dc06d4f9183559d7ce57ae6a01387432

curl -X GET -H 'Accept: application/xml' --user 'un:pw' 
http://localhost:3001/ec2?Action=DescribeImages
<DescribeImagesResponse xmlns='http://ec2.amazonaws.com/doc/2012-04-01/'>
  <requestId>eaab5492de710920eeb98855574ab13f</requestId>
  <imagesSet>
    <item>
      <imageId>img1</imageId>
      <imageState>available</imageState>
      <imageOwnerId>fedoraproject</imageOwnerId>
      <architecture>x86_64</architecture>
      <imageType>machine</imageType>
      <name>img1</name>
      <description>Fedora 10</description>
    </item>
    <item>
      <imageId>img2</imageId>
      <imageState>available</imageState>
      <imageOwnerId>fedoraproject</imageOwnerId>
      <architecture>i386</architecture>
      <imageType>machine</imageType>
      <name>img2</name>
      <description>Fedora 10</description>
    </item>
    <item>
      <imageId>img3</imageId>
      <imageState>available</imageState>
      <imageOwnerId>mockuser</imageOwnerId>
      <architecture>i386</architecture>
      <imageType>machine</imageType>
      <name>img3</name>
      <description>JBoss</description>
    </item>
  </imagesSet>
</DescribeImagesResponse>
[root@hp-dl360g5-01 ec2]# 

                
> GET /ec2?Action=DescribeImages returns unknown
> ----------------------------------------------
>
>                 Key: DTACLOUD-312
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-312
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: EC2/Frontend
>         Environment: Fedora 16, Fedora 17
> ec2 front end
> git commit version:4425e40df760dad54857a6ec17599d779645113b
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> Accessing the mock driver collections using deltacloud ec2 front end no 
> longer works.
> The change to the ec2 front end looks to have come from: Commit 
> 4e0b2120ef6679f0e126ba08a3b3f380ca7425c4 
> EC2: Mount the EC2 frontend on /ec2 instead of /
> Starting the deltacloud server pointing at mock - using ec2 front end:
> >> ./bin/deltacloudd -i mock -f ec2
> >>  curl -X GET -H 'Accept: application/xml' --user 'un:pw' 
> >> http://localhost:3001/ec2?Action=DescribeImages
> <!DOCTYPE html>
> <html>
> <head>
>   <style type="text/css">
>   body { text-align:center;font-family:helvetica,arial;font-size:22px;
>     color:#888;margin:20px}
>   #c {margin:0 auto;width:500px;text-align:left}
>   </style>
> </head>
> <body>
>   <h2>Sinatra doesn&rsquo;t know this ditty.</h2>
>   <img src='http://localhost:3001/ec2/__sinatra__/404.png'>
>   <div id="c">
>     Try this:
>     <pre>get '/' do
>   "Hello World"
> end</pre>
>   </div>
> </body>
> </html>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to