You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (JIRA)" <ji...@apache.org> on 2012/08/08 23:24:22 UTC

[jira] [Created] (DTACLOUD-295) POST /api/snapshots .... Incorrect volume id when snapshot is created

Ronelle Landy created DTACLOUD-295:
--------------------------------------

             Summary:  POST /api/snapshots .... Incorrect volume id when snapshot is created
                 Key: DTACLOUD-295
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-295
             Project: DeltaCloud
          Issue Type: Bug
          Components: Native/Frontend
         Environment: Fedora 16
ec2
Deltacloud version ... under test (gem)
            Reporter: Ronelle Landy


I create a snapshot from a volume. However, when the snapshot is created the storage_volume associated with the snapshot is different (it's the id of another volume available in the ec2 account). If I understand this process correctly, the volume passed to POST should match that returned?

curl -X POST -F "volume_id=vol-63966e03" --user "un:pw" "http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_snapshots?format=xml"

<?xml version='1.0' encoding='utf-8' ?>
<storage_snapshot href='http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_snapshots/snap-6f770e1f' id='snap-6f770e1f'>
  <name>snap-6f770e1f</name>
  <created>Wed Aug 08 20:41:14 UTC 2012</created>
  <storage_volume href='http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_volumes/vol-559d6535' id='vol-559d6535'></storage_volume>
</storage_snapshot>

--
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

        

[jira] [Commented] (DTACLOUD-295) POST /api/snapshots .... Incorrect volume id when snapshot is created

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433128#comment-13433128 ] 

Michal Fojtik commented on DTACLOUD-295:
----------------------------------------

This is certainly problem of the 'aws' gem we're using:

https://github.com/appoxy/aws/issues/114

Pull request will be send soon :)
                
>  POST /api/snapshots .... Incorrect volume id when snapshot is created
> ----------------------------------------------------------------------
>
>                 Key: DTACLOUD-295
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-295
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Native/Frontend
>         Environment: Fedora 16
> ec2
> Deltacloud version ... under test (gem)
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> I create a snapshot from a volume. However, when the snapshot is created the storage_volume associated with the snapshot is different (it's the id of another volume available in the ec2 account). If I understand this process correctly, the volume passed to POST should match that returned?
> curl -X POST -F "volume_id=vol-63966e03" --user "un:pw" "http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_snapshots?format=xml"
> <?xml version='1.0' encoding='utf-8' ?>
> <storage_snapshot href='http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_snapshots/snap-6f770e1f' id='snap-6f770e1f'>
>   <name>snap-6f770e1f</name>
>   <created>Wed Aug 08 20:41:14 UTC 2012</created>
>   <storage_volume href='http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_volumes/vol-559d6535' id='vol-559d6535'></storage_volume>
> </storage_snapshot>

--
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

        

[jira] [Assigned] (DTACLOUD-295) POST /api/snapshots .... Incorrect volume id when snapshot is created

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Fojtik reassigned DTACLOUD-295:
--------------------------------------

    Assignee: Michal Fojtik
    
>  POST /api/snapshots .... Incorrect volume id when snapshot is created
> ----------------------------------------------------------------------
>
>                 Key: DTACLOUD-295
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-295
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Native/Frontend
>         Environment: Fedora 16
> ec2
> Deltacloud version ... under test (gem)
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> I create a snapshot from a volume. However, when the snapshot is created the storage_volume associated with the snapshot is different (it's the id of another volume available in the ec2 account). If I understand this process correctly, the volume passed to POST should match that returned?
> curl -X POST -F "volume_id=vol-63966e03" --user "un:pw" "http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_snapshots?format=xml"
> <?xml version='1.0' encoding='utf-8' ?>
> <storage_snapshot href='http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_snapshots/snap-6f770e1f' id='snap-6f770e1f'>
>   <name>snap-6f770e1f</name>
>   <created>Wed Aug 08 20:41:14 UTC 2012</created>
>   <storage_volume href='http://nec-em15.rhts.eng.bos.redhat.com:3005/api/storage_volumes/vol-559d6535' id='vol-559d6535'></storage_volume>
> </storage_snapshot>

--
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