{"action":"closed","number":2801,"pull_request":{"url":"https://api.github.com/repos/xapi-project/xen-api/pulls/2801","id":89648690,"html_url":"https://github.com/xapi-project/xen-api/pull/2801","diff_url":"https://github.com/xapi-project/xen-api/pull/2801.diff","patch_url":"https://github.com/xapi-project/xen-api/pull/2801.patch","issue_url":"https://api.github.com/repos/xapi-project/xen-api/issues/2801","number":2801,"state":"closed","locked":false,"title":"CA-224975: PVS-cache: Handle cache VDIs on non-persistent SR","user":{"login":"robhoes","id":413005,"avatar_url":"https://avatars.githubusercontent.com/u/413005?v=3","gravatar_id":"","url":"https://api.github.com/users/robhoes","html_url":"https://github.com/robhoes","followers_url":"https://api.github.com/users/robhoes/followers","following_url":"https://api.github.com/users/robhoes/following{/other_user}","gists_url":"https://api.github.com/users/robhoes/gists{/gist_id}","starred_url":"https://api.github.com/users/robhoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhoes/subscriptions","organizations_url":"https://api.github.com/users/robhoes/orgs","repos_url":"https://api.github.com/users/robhoes/repos","events_url":"https://api.github.com/users/robhoes/events{/privacy}","received_events_url":"https://api.github.com/users/robhoes/received_events","type":"User","site_admin":false},"body":"PVS-cache supports a new kind of SR that is based on a RAM disk. A consequence\r\nis that the contents of the SR disappear when the host is rebooted, while\r\nleaving the VDI records behind in the database, and PVS_cache_storage.VDI\r\nfields may be invalid.\r\n\r\nTo handle this, we now check whether the PVS_cache_storage.VDI that is needed\r\nwhen a PVS-cached VM is started still actually exists. If not, it will be\r\nrecreated. Furthermore, in PVS_cache_storage.destroy, we ignore errors about\r\nthe VDI not existing anymore.\r\n\r\nSigned-off-by: Rob Hoes <rob.hoes@citrix.com>","created_at":"2016-10-17T15:40:35Z","updated_at":"2016-10-18T15:33:57Z","closed_at":"2016-10-18T15:33:57Z","merged_at":"2016-10-18T15:33:57Z","merge_commit_sha":"7774007e5e20b93bac5581a056a1d6b879ab34f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xapi-project/xen-api/pulls/2801/commits","review_comments_url":"https://api.github.com/repos/xapi-project/xen-api/pulls/2801/comments","review_comment_url":"https://api.github.com/repos/xapi-project/xen-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xapi-project/xen-api/issues/2801/comments","statuses_url":"https://api.github.com/repos/xapi-project/xen-api/statuses/2e63b7bfb2d54f895e4f3b23e5eabf452456afb0","head":{"label":"robhoes:CA-224975","ref":"CA-224975","sha":"2e63b7bfb2d54f895e4f3b23e5eabf452456afb0","user":{"login":"robhoes","id":413005,"avatar_url":"https://avatars.githubusercontent.com/u/413005?v=3","gravatar_id":"","url":"https://api.github.com/users/robhoes","html_url":"https://github.com/robhoes","followers_url":"https://api.github.com/users/robhoes/followers","following_url":"https://api.github.com/users/robhoes/following{/other_user}","gists_url":"https://api.github.com/users/robhoes/gists{/gist_id}","starred_url":"https://api.github.com/users/robhoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhoes/subscriptions","organizations_url":"https://api.github.com/users/robhoes/orgs","repos_url":"https://api.github.com/users/robhoes/repos","events_url":"https://api.github.com/users/robhoes/events{/privacy}","received_events_url":"https://api.github.com/users/robhoes/received_events","type":"User","site_admin":false},"repo":{"id":1315790,"name":"xen-api","full_name":"robhoes/xen-api","owner":{"login":"robhoes","id":413005,"avatar_url":"https://avatars.githubusercontent.com/u/413005?v=3","gravatar_id":"","url":"https://api.github.com/users/robhoes","html_url":"https://github.com/robhoes","followers_url":"https://api.github.com/users/robhoes/followers","following_url":"https://api.github.com/users/robhoes/following{/other_user}","gists_url":"https://api.github.com/users/robhoes/gists{/gist_id}","starred_url":"https://api.github.com/users/robhoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhoes/subscriptions","organizations_url":"https://api.github.com/users/robhoes/orgs","repos_url":"https://api.github.com/users/robhoes/repos","events_url":"https://api.github.com/users/robhoes/events{/privacy}","received_events_url":"https://api.github.com/users/robhoes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robhoes/xen-api","description":"XCP xen-api","fork":true,"url":"https://api.github.com/repos/robhoes/xen-api","forks_url":"https://api.github.com/repos/robhoes/xen-api/forks","keys_url":"https://api.github.com/repos/robhoes/xen-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robhoes/xen-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robhoes/xen-api/teams","hooks_url":"https://api.github.com/repos/robhoes/xen-api/hooks","issue_events_url":"https://api.github.com/repos/robhoes/xen-api/issues/events{/number}","events_url":"https://api.github.com/repos/robhoes/xen-api/events","assignees_url":"https://api.github.com/repos/robhoes/xen-api/assignees{/user}","branches_url":"https://api.github.com/repos/robhoes/xen-api/branches{/branch}","tags_url":"https://api.github.com/repos/robhoes/xen-api/tags","blobs_url":"https://api.github.com/repos/robhoes/xen-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robhoes/xen-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robhoes/xen-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/robhoes/xen-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robhoes/xen-api/statuses/{sha}","languages_url":"https://api.github.com/repos/robhoes/xen-api/languages","stargazers_url":"https://api.github.com/repos/robhoes/xen-api/stargazers","contributors_url":"https://api.github.com/repos/robhoes/xen-api/contributors","subscribers_url":"https://api.github.com/repos/robhoes/xen-api/subscribers","subscription_url":"https://api.github.com/repos/robhoes/xen-api/subscription","commits_url":"https://api.github.com/repos/robhoes/xen-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/robhoes/xen-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/robhoes/xen-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/robhoes/xen-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/robhoes/xen-api/contents/{+path}","compare_url":"https://api.github.com/repos/robhoes/xen-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robhoes/xen-api/merges","archive_url":"https://api.github.com/repos/robhoes/xen-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robhoes/xen-api/downloads","issues_url":"https://api.github.com/repos/robhoes/xen-api/issues{/number}","pulls_url":"https://api.github.com/repos/robhoes/xen-api/pulls{/number}","milestones_url":"https://api.github.com/repos/robhoes/xen-api/milestones{/number}","notifications_url":"https://api.github.com/repos/robhoes/xen-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robhoes/xen-api/labels{/name}","releases_url":"https://api.github.com/repos/robhoes/xen-api/releases{/id}","deployments_url":"https://api.github.com/repos/robhoes/xen-api/deployments","created_at":"2011-02-01T11:03:23Z","updated_at":"2016-08-26T16:23:28Z","pushed_at":"2016-10-17T16:36:33Z","git_url":"git://github.com/robhoes/xen-api.git","ssh_url":"git@github.com:robhoes/xen-api.git","clone_url":"https://github.com/robhoes/xen-api.git","svn_url":"https://github.com/robhoes/xen-api","homepage":"","size":28317,"stargazers_count":3,"watchers_count":3,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"xapi-project:master","ref":"master","sha":"c5bd3fc2bae873c62f529703f4826fe875a806d8","user":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"repo":{"id":960233,"name":"xen-api","full_name":"xapi-project/xen-api","owner":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xapi-project/xen-api","description":"The Xapi Project's XenAPI Server","fork":false,"url":"https://api.github.com/repos/xapi-project/xen-api","forks_url":"https://api.github.com/repos/xapi-project/xen-api/forks","keys_url":"https://api.github.com/repos/xapi-project/xen-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xapi-project/xen-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xapi-project/xen-api/teams","hooks_url":"https://api.github.com/repos/xapi-project/xen-api/hooks","issue_events_url":"https://api.github.com/repos/xapi-project/xen-api/issues/events{/number}","events_url":"https://api.github.com/repos/xapi-project/xen-api/events","assignees_url":"https://api.github.com/repos/xapi-project/xen-api/assignees{/user}","branches_url":"https://api.github.com/repos/xapi-project/xen-api/branches{/branch}","tags_url":"https://api.github.com/repos/xapi-project/xen-api/tags","blobs_url":"https://api.github.com/repos/xapi-project/xen-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xapi-project/xen-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xapi-project/xen-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/xapi-project/xen-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xapi-project/xen-api/statuses/{sha}","languages_url":"https://api.github.com/repos/xapi-project/xen-api/languages","stargazers_url":"https://api.github.com/repos/xapi-project/xen-api/stargazers","contributors_url":"https://api.github.com/repos/xapi-project/xen-api/contributors","subscribers_url":"https://api.github.com/repos/xapi-project/xen-api/subscribers","subscription_url":"https://api.github.com/repos/xapi-project/xen-api/subscription","commits_url":"https://api.github.com/repos/xapi-project/xen-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/xapi-project/xen-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/xapi-project/xen-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/xapi-project/xen-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/xapi-project/xen-api/contents/{+path}","compare_url":"https://api.github.com/repos/xapi-project/xen-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xapi-project/xen-api/merges","archive_url":"https://api.github.com/repos/xapi-project/xen-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xapi-project/xen-api/downloads","issues_url":"https://api.github.com/repos/xapi-project/xen-api/issues{/number}","pulls_url":"https://api.github.com/repos/xapi-project/xen-api/pulls{/number}","milestones_url":"https://api.github.com/repos/xapi-project/xen-api/milestones{/number}","notifications_url":"https://api.github.com/repos/xapi-project/xen-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xapi-project/xen-api/labels{/name}","releases_url":"https://api.github.com/repos/xapi-project/xen-api/releases{/id}","deployments_url":"https://api.github.com/repos/xapi-project/xen-api/deployments","created_at":"2010-10-04T10:52:57Z","updated_at":"2016-10-14T16:17:56Z","pushed_at":"2016-10-18T15:33:57Z","git_url":"git://github.com/xapi-project/xen-api.git","ssh_url":"git@github.com:xapi-project/xen-api.git","clone_url":"https://github.com/xapi-project/xen-api.git","svn_url":"https://github.com/xapi-project/xen-api","homepage":"http://xenproject.org/developers/teams/xapi.html","size":40636,"stargazers_count":222,"watchers_count":222,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":22,"forks":159,"open_issues":22,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xen-api/pulls/2801"},"html":{"href":"https://github.com/xapi-project/xen-api/pull/2801"},"issue":{"href":"https://api.github.com/repos/xapi-project/xen-api/issues/2801"},"comments":{"href":"https://api.github.com/repos/xapi-project/xen-api/issues/2801/comments"},"review_comments":{"href":"https://api.github.com/repos/xapi-project/xen-api/pulls/2801/comments"},"review_comment":{"href":"https://api.github.com/repos/xapi-project/xen-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xapi-project/xen-api/pulls/2801/commits"},"statuses":{"href":"https://api.github.com/repos/xapi-project/xen-api/statuses/2e63b7bfb2d54f895e4f3b23e5eabf452456afb0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jonludlam","id":210963,"avatar_url":"https://avatars.githubusercontent.com/u/210963?v=3","gravatar_id":"","url":"https://api.github.com/users/jonludlam","html_url":"https://github.com/jonludlam","followers_url":"https://api.github.com/users/jonludlam/followers","following_url":"https://api.github.com/users/jonludlam/following{/other_user}","gists_url":"https://api.github.com/users/jonludlam/gists{/gist_id}","starred_url":"https://api.github.com/users/jonludlam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonludlam/subscriptions","organizations_url":"https://api.github.com/users/jonludlam/orgs","repos_url":"https://api.github.com/users/jonludlam/repos","events_url":"https://api.github.com/users/jonludlam/events{/privacy}","received_events_url":"https://api.github.com/users/jonludlam/received_events","type":"User","site_admin":false},"comments":2,"review_comments":3,"commits":1,"additions":88,"deletions":26,"changed_files":4}}
{"actor":{"display_login":"jonludlam"}}