You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/21 23:40:04 UTC

[jira] [Commented] (LIBCLOUD-724) Add method to Azure driver to delete storage service

    [ https://issues.apache.org/jira/browse/LIBCLOUD-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635854#comment-14635854 ] 

ASF GitHub Bot commented on LIBCLOUD-724:
-----------------------------------------

GitHub user davidwilson2038 opened a pull request:

    https://github.com/apache/libcloud/pull/551

    [LIBCLOUD-724] Added storage service create and delete methods to Azu…

    Added methods to create and destroy storage services in Azure and the appropriate tests. I believe this is necessary because when you use the create_node method to create a node, it will automatically create a storage service, and when you call destroy_node, it does not delete that storage service. Consequently, you must use another tool or the GUI to clean up after node creation (or to set up for it), so providing this functionality through libcloud enhances the role libcloud can play in Azure usage. Also, I think these methods belong in the compute driver rather than in the storage driver for two reasons:
    1) These are higher level functions than is accessible through the current Azure storage driver (you must specify an already-created storage service to instantiate the driver)
    2) The Azure API lumps these functions in with other compute functions, specifically separating them from object storage functions.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/davidwilson2038/libcloud LIBCLOUD-724_StorageServiceMethods

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/551.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #551
    
----
commit 4d04b4827ae031d60518264983d807a81b5638e7
Author: dwilson2038 <da...@gmail.com>
Date:   2015-07-20T20:25:03Z

    [LIBCLOUD-724] Added storage service create and delete methods to Azure driver

----


> Add method to Azure driver to delete storage service
> ----------------------------------------------------
>
>                 Key: LIBCLOUD-724
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-724
>             Project: Libcloud
>          Issue Type: Improvement
>            Reporter: David Wilson
>            Priority: Minor
>
> Currently, when an Azure node is destroyed using the destroy_node method, the volume is deleted, a method is available to delete the cloud service, but there is no method to delete the storage service that holds the deleted volume.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)