Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-724

Add method to Azure driver to delete storage service

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/libcloud/pull/551
        Hide
        githubbot ASF GitHub Bot added a comment -

        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 <david.wilson2038@gmail.com>
        Date: 2015-07-20T20:25:03Z

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


        Show
        githubbot ASF GitHub Bot added a comment - 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 <david.wilson2038@gmail.com> Date: 2015-07-20T20:25:03Z LIBCLOUD-724 Added storage service create and delete methods to Azure driver

          People

          • Assignee:
            Unassigned
            Reporter:
            dwilson2038 David Wilson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development