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

Consistent state attribute for VolumeSnapshots

    Details

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

      Description

      Parsing snapshot states is a hairy business at the moment. EC2 has the snapshot state in the extra dict as "state", while OpenStack has it as "status". This makes for a poor experience of libcloud.

      We should have a VolumeSnapshotState with standardized states and we should have the drivers parse their various state values into these standardized states, just as we do for Nodes and StorageVolumes.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

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

        GitHub user allardhoeve opened a pull request:

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

        LIBCLOUD-758 Standardize volumesnapshot state

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

        $ git pull https://github.com/ByteInternet/libcloud standardize-volumesnapshot-state

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

        https://github.com/apache/libcloud/pull/602.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 #602


        commit 370e8cb10ecb72b83d92cc319944536c6bfb8775
        Author: Allard Hoeve <allard@byte.nl>
        Date: 2015-10-15T09:48:38Z

        Add standardized snapshot states to EC2

        commit bb7365bf6cf17e8972de2119f6ca894fe26a18ef
        Author: Allard Hoeve <allard@byte.nl>
        Date: 2015-10-15T10:00:15Z

        Add standardized snapshot states to OpenStack


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user allardhoeve opened a pull request: https://github.com/apache/libcloud/pull/602 LIBCLOUD-758 Standardize volumesnapshot state You can merge this pull request into a Git repository by running: $ git pull https://github.com/ByteInternet/libcloud standardize-volumesnapshot-state Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/602.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 #602 commit 370e8cb10ecb72b83d92cc319944536c6bfb8775 Author: Allard Hoeve <allard@byte.nl> Date: 2015-10-15T09:48:38Z Add standardized snapshot states to EC2 commit bb7365bf6cf17e8972de2119f6ca894fe26a18ef Author: Allard Hoeve <allard@byte.nl> Date: 2015-10-15T10:00:15Z Add standardized snapshot states to OpenStack

          People

          • Assignee:
            Unassigned
            Reporter:
            henkslaaf Allard Hoeve
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development