Christian Karnath created DTACLOUD-268:
------------------------------------------
Summary: Eucalyptus 404 Not Found
Key: DTACLOUD-268
URL: https://issues.apache.org/jira/browse/DTACLOUD-268
Project: DeltaCloud
Issue Type: Bug
Components: Server
Environment: ruby1.8, deltacloud-core-1.0.0, deltacloud-core-head,
eucalyptus 2.0.3
Reporter: Christian Karnath
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' 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' id='m1.small'
rel='hardware_profile'></hardware_profile>
<hardware_profile
href='http://localhost:3001/api/hardware_profiles/c1.medium' id='c1.medium'
rel='hardware_profile'></hardware_profile>
<hardware_profile
href='http://localhost:3001/api/hardware_profiles/m1.large' id='m1.large'
rel='hardware_profile'></hardware_profile>
<hardware_profile
href='http://localhost:3001/api/hardware_profiles/m1.xlarge' id='m1.xlarge'
rel='hardware_profile'></hardware_profile>
<hardware_profile
href='http://localhost:3001/api/hardware_profiles/c1.xlarge' id='c1.xlarge'
rel='hardware_profile'></hardware_profile>
</hardware_profiles>
<actions>
<link href='http://localhost:3001/api/instances;image_id=emi-00781826'
method='post' rel='create_instance' />
<link href='http://localhost:3001/api/images/emi-00781826'
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>
--
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