Ronelle Landy created DTACLOUD-319:
--------------------------------------
Summary: Rackspace driver: GET /api/instances - existing instances
are not returned
Key: DTACLOUD-319
URL: https://issues.apache.org/jira/browse/DTACLOUD-319
Project: DeltaCloud
Issue Type: Bug
Components: Server
Environment: deltacloud gem 1.0.2 (and beyond)
Rackpsace
Ruby 1.9
Reporter: Ronelle Landy
I can create an instance ....
curl -X POST -F "image_id=120" -F "name=myNewName" -F "hwp_id=3" --user "un:pw"
"http:/server:3012/api/instances?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<instance
href='http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/instances/21118623'
id='21118623'>
<name>myNewName</name>
<owner_id>rlandy</owner_id>
<image href='http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/images/120'
id='120'></image>
<realm href='http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/realms/us'
id='us'></realm>
<state>PENDING</state>
<hardware_profile
href='http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/hardware_profiles/3'
id='3'>
</hardware_profile>
<actions>
<link
href='http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/run_instances/21118623;id=21118623'
method='post' rel='run' />
</actions>
<public_addresses><address
type='ipv4'>198.61.198.101</address></public_addresses>
<private_addresses><address
type='ipv4'>10.178.99.81</address></private_addresses>
<storage_volumes></storage_volumes>
<authentication type='password'>
<login>
<username>root</username>
<password><![CDATA[6N6dBvOk2myNewName]]></password>
</login>
</authentication>
</instance>
The instance appears in the Rackspace console - copied output below:
(Name
myNewName
ID
21118623)
But Deltacloud does not return this instance:
[rlandy@localhost /]$ curl -X GET --user "un:pw"
"http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/instances?format=xml"<?xml
version='1.0' encoding='utf-8' ?>
<instances>
</instances>
--
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