[
https://issues.apache.org/jira/browse/DTACLOUD-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marios Andreou closed DTACLOUD-319.
-----------------------------------
attached fix (monkey patch) pushed with commit #
101746213183c5604dd99a5fcb9de02b98d2b658
It seems cloudservers gem isn't being actively maintained these days. If there
is demand or more issues are seen against the RAX driver, we can re-evaluate
the usage of this rubygem. For example Fog maintains a cloudservers mapping.
ALternatively we can test use of the ruby-openstack gem but not 100% about the
compatibility there.
> Rackspace driver: GET /api/instances - new instances are not returned until a
> number of minutes after they are created
> ----------------------------------------------------------------------------------------------------------------------
>
> 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
> Assignee: Marios Andreou
> Attachments:
> 0001-Deltacloud-rackspace-driver-adds-monkeypatch-for-clo.patch
>
>
> 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