deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (Created) (JIRA)" <>
Subject [jira] [Created] (DTACLOUD-183) GET /api/storage_snapshots/:snapshot_id does not return 'DELETE' as an action - xml does not return 'state'
Date Thu, 29 Mar 2012 16:56:26 GMT
GET /api/storage_snapshots/:snapshot_id does not return 'DELETE' as an action - xml does not
return 'state'

                 Key: DTACLOUD-183
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: deltacloud git commit version: a16c34de06776f91fb68cc49e6e1f7d2c815fc01
 - branch 'master' of
Fedora 16
ec2 provider
            Reporter: Ronelle Landy
            Assignee: David Lutterkort

Two outputs of GET /api/storage_snapshots/:storage_snapshot_id are copied below - first xml
and then json.

 - Neither output shows actions listed, although it is possible to delete a snapshot and the
GUI does show DELETE as an available action.
 - The json output shows a state item and the xml output does not.

 curl -X GET --user "username:password" "http://localhost:3009/api/storage_snapshots/snap-372caf4d?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<storage_snapshot href='http://localhost:3009/api/storage_snapshots/snap-372caf4d' id='snap-372caf4d'>
  <created>Mon Mar 19 17:01:58 UTC 2012</created>
  <storage_volume href='http://localhost:3009/api/storage_volumes/vol-efb79583' id='vol-efb79583'></storage_volume>

[rlandy@localhost /]$ curl -X GET --user username:password" "http://localhost:3009/api/storage_snapshots/snap-372caf4d?format=json"
Mar 19 17:01:58 UTC 2012","state":"completed","id":"snap-372caf4d"}}[rlandy@localhost /]$

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message