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

Christian Karnath commented on DTACLOUD-265:
--------------------------------------------

I can reproduce this issue. When requesting the following URLs against 
eucalyptus a "404 Not Found" is returned by deltacloud: 

/api/realms/<realm> 
-> Not Found 

/api/images/<image> 
-> Not Found 

/api/keys/<key> 
-> Not Found 

/api/firewalls/<firewall> 
-> Not Found 

For example requesting all images works fine: 

curl -H "X-Deltacloud-Driver: eucalyptus" -H "X-Deltacloud-Provider: 
ec2=173.205.188.130:8773" -v -u USER:PASS 
http://localhost:3001/api/images?owner_id=admin&format=xml"; 

[...] 
<image href='http://localhost:3001/api/images/emi-00781826&#39; 
id='emi-00781826'> 
    <name>emi-00781826</name> 
    <owner_id>admin</owner_id> 
    
<description>debian-6.0-large-img/euca-debian-2011.07.02-x86_64.img.manifest.xml</description>
 
    <architecture>x86_64</architecture> 
    <state>available</state> 
    <hardware_profiles> 
      <hardware_profile 
href='http://localhost:3001/api/hardware_profiles/m1.small&#39; id='m1.small' 
rel='hardware_profile'></hardware_profile> 
      <hardware_profile 
href='http://localhost:3001/api/hardware_profiles/c1.medium&#39; id='c1.medium' 
rel='hardware_profile'></hardware_profile> 
      <hardware_profile 
href='http://localhost:3001/api/hardware_profiles/m1.large&#39; id='m1.large' 
rel='hardware_profile'></hardware_profile> 
      <hardware_profile 
href='http://localhost:3001/api/hardware_profiles/m1.xlarge&#39; id='m1.xlarge' 
rel='hardware_profile'></hardware_profile> 
      <hardware_profile 
href='http://localhost:3001/api/hardware_profiles/c1.xlarge&#39; id='c1.xlarge' 
rel='hardware_profile'></hardware_profile> 
    </hardware_profiles> 
    <actions> 
      <link 
href='http://localhost:3001/api/instances;image_id=emi-00781826&#39; 
method='post' rel='create_instance' /> 
      <link href='http://localhost:3001/api/images/emi-00781826&#39; 
method='delete' rel='destroy_image' /> 
    </actions> 
  </image> 
[...] 


But requesting a single image returns a 404: 

curl -H "X-Deltacloud-Driver: eucalyptus" -H "X-Deltacloud-Provider: 
ec2=173.205.188.130:8773" -v -u USER:PASS 
http://localhost:3001/api/images/emi-00781826?format=xml 

<error status='404' url='/api/images/emi-00781826?format=xml'> 
  <backend driver='eucalyptus' provider='ec2=173.205.188.130:8773'></backend> 
  <message>Resource not found</message> 
</error> 
                
> Unable to describe in detail key, firewall, realm, image with eucalyptus 
> driver
> -------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-265
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-265
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: ubuntu, deltacloud
>            Reporter: Deepika Agrawal
>            Priority: Critical
>              Labels: deltacloudd
>
> Hi,
> I tried describing in detail a key, got the below response:
> <error status='404' url='/api/keys/testDC?format=xml'>
>   <backend driver='eucalyptus' 
> provider='ec2=172.30.54.150;s3=172.30.54.153'></backend>
>   <message>Resource not found</message>
> </error>
> At server:
> 172.30.54.46 - - [11/Jul/2012 11:33:57] "GET /api/keys/testDC?format=xml 
> HTTP/1.1" 404 192 0.0435
> Similarly, for describing firewall, realm, and image, got the same error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to