[ https://issues.apache.org/jira/browse/DTACLOUD-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576116#comment-13576116 ]
Ronelle Landy commented on DTACLOUD-450: ---------------------------------------- Fixed with: openstack (1.0.9) curl -v -X POST -F "name=myName" -F "instance_id=1072239" --user "un:pw" "http://localhost:3001/api/images?format=xml" * Done waiting for 100-continue < HTTP/1.1 201 Created < ETag: 233fdec050dc9c06c50d55b7d9667326 < Content-Type: application/xml < Content-Length: 596 < Cache-Control: max-age=0, private, must-revalidate < X-Deltacloud-Provider: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/ < Location: http://localhost:3001/api/images/67693 < Date: Mon, 11 Feb 2013 20:45:53 GMT < Server: Apache-Deltacloud/1.1.0 < X-Deltacloud-Driver: openstack < Connection: keep-alive < <?xml version='1.0' encoding='utf-8' ?> <image href='http://localhost:3001/api/images/67693' id='67693'> <name>myName</name> <description>myName</description> <owner_id></owner_id> <architecture>x86_64</architecture> <state>SAVING</state> <creation_time>2013-02-11T20:45:52+00:00</creation_time> <root_type>transient</root_type> <actions> <link href='http://localhost:3001/api/instances;image_id=67693' method='post' rel='create_instance' /> <link href='http://localhost:3001/api/images/67693' method='delete' rel='destroy_image' /> </actions> </image> * Connection #0 to host localhost left intact * Closing connection #0 > Creating images from instances - Openstack provider returns 404 although the > image is created > --------------------------------------------------------------------------------------------- > > Key: DTACLOUD-450 > URL: https://issues.apache.org/jira/browse/DTACLOUD-450 > Project: DeltaCloud > Issue Type: Bug > Environment: Deltacloud commit version: > 3ecb4feeefab8af9481a7a74aa70ba9f4ce7d87a > Openstack provider > Reporter: Ronelle Landy > Assignee: Ronelle Landy > Attachments: > 0001-Core-DTACLOUD-450-update-gemspec-for-latest-openstac.patch > > > Not sure how reproducible this is, but I found it while working on HP's cloud. > Note the 404 error returned below, yet querying for the image it exists... > curl -v -X POST -F "name=myName" -F "instance_id=1014703" --user "un:pw" > "http://localhost:3001/api/images?format=xml" > * About to connect() to localhost port 3001 (#0) > * Trying ::1... > * Connection refused > * Trying 127.0.0.1... > * connected > * Connected to localhost (127.0.0.1) port 3001 (#0) > * Server auth using Basic with user '' > > POST /api/images?format=xml HTTP/1.1 > > > * Done waiting for 100-continue > < HTTP/1.1 404 Not Found > < Content-Type: application/xml > < X-Cascade: pass > < Server: Apache-Deltacloud/1.1.0 > < X-Deltacloud-Driver: openstack > < X-Deltacloud-Provider: > https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/ > < Content-Length: 199 > < Date: Thu, 31 Jan 2013 18:18:23 GMT > < Connection: keep-alive > * HTTP error before end of send, stop sending > < > <error status='404' url='/api/images'> > <backend driver='openstack' > provider='https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/'></backend> > <message>Resource not found</message> > </error> > > < HTTP/1.1 200 OK > <?xml version='1.0' encoding='utf-8' ?> > <images> > <image href='http://localhost:3001/api/images/67576' id='67576'> > <name>myName</name> > <description>myName</description> > <owner_id>xxxxxxx</owner_id> > <architecture>x86_64</architecture> > <state>ACTIVE</state> > <creation_time>2013-01-31T18:18:22Z</creation_time> > <hardware_profiles> > <hardware_profile > href='http://localhost:3001/api/hardware_profiles/100' id='100' > rel='hardware_profile'></hardware_profile> > <hardware_profile > href='http://localhost:3001/api/hardware_profiles/101' id='101' > rel='hardware_profile'></hardware_profile> > <hardware_profile > href='http://localhost:3001/api/hardware_profiles/105' id='105' > rel='hardware_profile'></hardware_profile> > <hardware_profile > href='http://localhost:3001/api/hardware_profiles/103' id='103' > rel='hardware_profile'></hardware_profile> > <hardware_profile > href='http://localhost:3001/api/hardware_profiles/102' id='102' > rel='hardware_profile'></hardware_profile> > <hardware_profile > href='http://localhost:3001/api/hardware_profiles/104' id='104' > rel='hardware_profile'></hardware_profile> > </hardware_profiles> > <root_type>transient</root_type> > <actions> > <link href='http://localhost:3001/api/instances;image_id=67576' > method='post' rel='create_instance' /> > <link href='http://localhost:3001/api/images/67576' method='delete' > rel='destroy_image' /> > </actions> > </image> -- 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