You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2012/06/16 11:22:42 UTC

[dev] [jira] [Created] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

Gabriel Reid created LIBCLOUD-213:
-------------------------------------

             Summary: Add storage volume management (e.g. EC2 EBS)
                 Key: LIBCLOUD-213
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
             Project: Libcloud
          Issue Type: Improvement
            Reporter: Gabriel Reid


I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
- create storage volume
- attach storage volume to node
- detach storage volume to node
- destroy storage volume

An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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

        

[dev] [jira] [Updated] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

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

Tomaz Muraus updated LIBCLOUD-213:
----------------------------------

    Fix Version/s: 0.11.0
    
> Add storage volume management (e.g. EC2 EBS)
> --------------------------------------------
>
>                 Key: LIBCLOUD-213
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: Gabriel Reid
>            Assignee: Tomaz Muraus
>             Fix For: 0.11.0
>
>         Attachments: volume-management_16062012.patch
>
>
> I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
> - create storage volume
> - attach storage volume to node
> - detach storage volume to node
> - destroy storage volume
> An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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

[dev] [jira] [Resolved] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

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

Tomaz Muraus resolved LIBCLOUD-213.
-----------------------------------

    Resolution: Fixed
      Assignee: Tomaz Muraus

Awesome patch, thanks! I have merged into trunk with some minor changes:

- Removed trailing whitespace and fixed pep8 style issues (single blank line between methods in a class, no whitespace around = operator, is not None instead of != None, etc.)
- Minor cleanup in docstrings
- Added _volume suffix to all the StorageVolume related methods on the NodeDriver class (for API consistency)
- Changed ex_describe_tags in EC2 driver so it's consistent ex_create_tags and ex_delete_tags
                
> Add storage volume management (e.g. EC2 EBS)
> --------------------------------------------
>
>                 Key: LIBCLOUD-213
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: Gabriel Reid
>            Assignee: Tomaz Muraus
>         Attachments: volume-management_16062012.patch
>
>
> I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
> - create storage volume
> - attach storage volume to node
> - detach storage volume to node
> - destroy storage volume
> An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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

        

[dev] [jira] [Closed] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

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

Tomaz Muraus closed LIBCLOUD-213.
---------------------------------

    
> Add storage volume management (e.g. EC2 EBS)
> --------------------------------------------
>
>                 Key: LIBCLOUD-213
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: Gabriel Reid
>            Assignee: Tomaz Muraus
>             Fix For: 0.11.0
>
>         Attachments: volume-management_16062012.patch
>
>
> I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
> - create storage volume
> - attach storage volume to node
> - detach storage volume to node
> - destroy storage volume
> An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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

[dev] [jira] [Commented] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

Posted by "Alex Amies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411358#comment-13411358 ] 

Alex Amies commented on LIBCLOUD-213:
-------------------------------------

This is a big step forward but I think that we are missing a list_volumes() method.  It is important to me and seems inconsistent that LinCloud has create and delete methods for storage volumes without at way to find out what has been created.

I would like to propose a new method to the NodeDriver class consistent with list_nodes() and similar methods to do this.  Here it is:

    def list_volumes(self):
        """
        List storage volumes.
        @return: C{list} of L{StorageVolume} objects
        """
        raise NotImplementedError(
            'list_volumes not implemented for this driver')

                
> Add storage volume management (e.g. EC2 EBS)
> --------------------------------------------
>
>                 Key: LIBCLOUD-213
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: Gabriel Reid
>            Assignee: Tomaz Muraus
>         Attachments: volume-management_16062012.patch
>
>
> I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
> - create storage volume
> - attach storage volume to node
> - detach storage volume to node
> - destroy storage volume
> An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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

        

[dev] [jira] [Commented] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412555#comment-13412555 ] 

Tomaz Muraus commented on LIBCLOUD-213:
---------------------------------------

list_volumes sounds reasonable to me. Next step is checking if most of the providers support this functionality and implementing it.
                
> Add storage volume management (e.g. EC2 EBS)
> --------------------------------------------
>
>                 Key: LIBCLOUD-213
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: Gabriel Reid
>            Assignee: Tomaz Muraus
>         Attachments: volume-management_16062012.patch
>
>
> I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
> - create storage volume
> - attach storage volume to node
> - detach storage volume to node
> - destroy storage volume
> An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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

        

[dev] [jira] [Updated] (LIBCLOUD-213) Add storage volume management (e.g. EC2 EBS)

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

Gabriel Reid updated LIBCLOUD-213:
----------------------------------

    Attachment: volume-management_16062012.patch

Patch to add storage volume management to the libcloud.compute.base module, as well as completing the CloudStack implementation and an initial implementation for EC2
                
> Add storage volume management (e.g. EC2 EBS)
> --------------------------------------------
>
>                 Key: LIBCLOUD-213
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-213
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: Gabriel Reid
>         Attachments: volume-management_16062012.patch
>
>
> I propose the addition of block-level storage volume management in LibCloud. With at least Amazon EC2 EBS and CloudStack volumes, the way of working is very similar, with the main operations being:
> - create storage volume
> - attach storage volume to node
> - detach storage volume to node
> - destroy storage volume
> An extension to the CloudStack driver has already been implemented (https://issues.apache.org/jira/browse/LIBCLOUD-208)

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