{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/2585","repository_url":"https://api.github.com/repos/apache/cloudstack","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/2585/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/2585/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/2585/events","html_url":"https://github.com/apache/cloudstack/pull/2585","id":315928103,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgyODE0MDI3","number":2585,"title":"Add ability to archive snapshots on primary storage","user":{"login":"syed","id":55854,"node_id":"MDQ6VXNlcjU1ODU0","avatar_url":"https://avatars1.githubusercontent.com/u/55854?v=4","gravatar_id":"","url":"https://api.github.com/users/syed","html_url":"https://github.com/syed","followers_url":"https://api.github.com/users/syed/followers","following_url":"https://api.github.com/users/syed/following{/other_user}","gists_url":"https://api.github.com/users/syed/gists{/gist_id}","starred_url":"https://api.github.com/users/syed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syed/subscriptions","organizations_url":"https://api.github.com/users/syed/orgs","repos_url":"https://api.github.com/users/syed/repos","events_url":"https://api.github.com/users/syed/events{/privacy}","received_events_url":"https://api.github.com/users/syed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-19T15:27:44Z","updated_at":"2018-08-21T21:13:01Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/2585","html_url":"https://github.com/apache/cloudstack/pull/2585","diff_url":"https://github.com/apache/cloudstack/pull/2585.diff","patch_url":"https://github.com/apache/cloudstack/pull/2585.patch"},"body":"## Description\r\nThis PR adds an API call named `archiveSnapshot` which takes in a snapshot residing on primary storage and moves it to secondary storage. The main use case for this relates to the use in Managed storage where the storage supports native snapshots. Because of cost and availability reasons, it is useful to move snapshots that are taken on primary storage (native snapshots) to secondary storage. \r\n\r\nThe API takes in a `snapshotid` , creates a new snapshot on secondary storage and deletes the snapshot on primary storage. \r\n\r\n<!-- For new features, provide link to FS, dev ML discussion etc. -->\r\n<!-- In case of bug fix, the expected and actual behaviours, steps to reproduce. -->\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] Enhancement (improves an existing feature and functionality)\r\n- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)\r\n\r\n## GitHub Issue/PRs\r\n<!-- If this PR is to fix an issue or another PR on GH, uncomment the section and provide the id of issue/PR -->\r\n<!-- When \"Fixes: #<id>\" is specified, the issue/PR will automatically be closed when this PR gets merged -->\r\n<!-- For addressing multiple issues/PRs, use multiple \"Fixes: #<id>\" -->\r\n\r\n<!-- Fixes: # -->\r\n\r\n## Screenshots (if appropriate):\r\n\r\n## How Has This Been Tested?\r\n\r\nTested on a local storage cluster (SolidFire) and also added unit tests.\r\n\r\n<!-- Please describe in detail how you tested your changes. -->\r\n<!-- Include details of your testing environment, and the tests you ran to -->\r\n<!-- see how your change affects other areas of the code, etc. -->\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] I have read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document.\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\nTesting\r\n- [x] I have added tests to cover my changes.\r\n- [ ] All relevant new and existing integration tests have passed.\r\n- [ ] A full integration testsuite with all test that can run on my environment has passed.\r\n\r\n<!-- The following will kick a packaging job, remove if as applicable -->\r\n@blueorangutan package\r\n"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/414823545","html_url":"https://github.com/apache/cloudstack/pull/2585#issuecomment-414823545","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/2585","id":414823545,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDgyMzU0NQ==","user":{"login":"blueorangutan","id":16489489,"node_id":"MDQ6VXNlcjE2NDg5NDg5","avatar_url":"https://avatars2.githubusercontent.com/u/16489489?v=4","gravatar_id":"","url":"https://api.github.com/users/blueorangutan","html_url":"https://github.com/blueorangutan","followers_url":"https://api.github.com/users/blueorangutan/followers","following_url":"https://api.github.com/users/blueorangutan/following{/other_user}","gists_url":"https://api.github.com/users/blueorangutan/gists{/gist_id}","starred_url":"https://api.github.com/users/blueorangutan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueorangutan/subscriptions","organizations_url":"https://api.github.com/users/blueorangutan/orgs","repos_url":"https://api.github.com/users/blueorangutan/repos","events_url":"https://api.github.com/users/blueorangutan/events{/privacy}","received_events_url":"https://api.github.com/users/blueorangutan/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T21:13:01Z","updated_at":"2018-08-21T21:13:01Z","author_association":"NONE","body":"Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2264"}}
{"actor":{"display_login":"blueorangutan"}}