{"action":"opened","number":1402,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/1402","id":58447268,"html_url":"https://github.com/apache/cloudstack/pull/1402","diff_url":"https://github.com/apache/cloudstack/pull/1402.diff","patch_url":"https://github.com/apache/cloudstack/pull/1402.patch","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/1402","number":1402,"state":"open","locked":false,"title":"Check the existence of 'forceencap' parameter before use","user":{"login":"remibergsma","id":1630096,"avatar_url":"https://avatars.githubusercontent.com/u/1630096?v=3","gravatar_id":"","url":"https://api.github.com/users/remibergsma","html_url":"https://github.com/remibergsma","followers_url":"https://api.github.com/users/remibergsma/followers","following_url":"https://api.github.com/users/remibergsma/following{/other_user}","gists_url":"https://api.github.com/users/remibergsma/gists{/gist_id}","starred_url":"https://api.github.com/users/remibergsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remibergsma/subscriptions","organizations_url":"https://api.github.com/users/remibergsma/orgs","repos_url":"https://api.github.com/users/remibergsma/repos","events_url":"https://api.github.com/users/remibergsma/events{/privacy}","received_events_url":"https://api.github.com/users/remibergsma/received_events","type":"User","site_admin":false},"body":"Check the existence of 'forceencap' parameter before use.\r\n\r\nError seen:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/cloud/bin/update_config.py\", line 140, in <module>\r\n    process_file()\r\n  File \"/opt/cloud/bin/update_config.py\", line 54, in process_file\r\n    finish_config()\r\n  File \"/opt/cloud/bin/update_config.py\", line 44, in finish_config\r\n    returncode = configure.main(sys.argv)\r\n  File \"/opt/cloud/bin/configure.py\", line 1003, in main\r\n    vpns.process()\r\n  File \"/opt/cloud/bin/configure.py\", line 488, in process\r\n    self.configure_ipsec(self.dbag[vpn])\r\n  File \"/opt/cloud/bin/configure.py\", line 544, in configure_ipsec\r\n    file.addeq(\" forceencaps=%s\" % CsHelper.bool_to_yn(obj['encap']))\r\nKeyError: 'encap'\r\n```\r\n","created_at":"2016-02-05T16:01:19Z","updated_at":"2016-02-05T16:01:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cloudstack/pulls/1402/commits","review_comments_url":"https://api.github.com/repos/apache/cloudstack/pulls/1402/comments","review_comment_url":"https://api.github.com/repos/apache/cloudstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/1402/comments","statuses_url":"https://api.github.com/repos/apache/cloudstack/statuses/4ad05d1ade9d98e3a1bd268bcc1d7a0f0767d26d","head":{"label":"remibergsma:forceencap_check","ref":"forceencap_check","sha":"4ad05d1ade9d98e3a1bd268bcc1d7a0f0767d26d","user":{"login":"remibergsma","id":1630096,"avatar_url":"https://avatars.githubusercontent.com/u/1630096?v=3","gravatar_id":"","url":"https://api.github.com/users/remibergsma","html_url":"https://github.com/remibergsma","followers_url":"https://api.github.com/users/remibergsma/followers","following_url":"https://api.github.com/users/remibergsma/following{/other_user}","gists_url":"https://api.github.com/users/remibergsma/gists{/gist_id}","starred_url":"https://api.github.com/users/remibergsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remibergsma/subscriptions","organizations_url":"https://api.github.com/users/remibergsma/orgs","repos_url":"https://api.github.com/users/remibergsma/repos","events_url":"https://api.github.com/users/remibergsma/events{/privacy}","received_events_url":"https://api.github.com/users/remibergsma/received_events","type":"User","site_admin":false},"repo":{"id":33662311,"name":"cloudstack","full_name":"remibergsma/cloudstack","owner":{"login":"remibergsma","id":1630096,"avatar_url":"https://avatars.githubusercontent.com/u/1630096?v=3","gravatar_id":"","url":"https://api.github.com/users/remibergsma","html_url":"https://github.com/remibergsma","followers_url":"https://api.github.com/users/remibergsma/followers","following_url":"https://api.github.com/users/remibergsma/following{/other_user}","gists_url":"https://api.github.com/users/remibergsma/gists{/gist_id}","starred_url":"https://api.github.com/users/remibergsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remibergsma/subscriptions","organizations_url":"https://api.github.com/users/remibergsma/orgs","repos_url":"https://api.github.com/users/remibergsma/repos","events_url":"https://api.github.com/users/remibergsma/events{/privacy}","received_events_url":"https://api.github.com/users/remibergsma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/remibergsma/cloudstack","description":"Mirror of Apache Cloudstack","fork":true,"url":"https://api.github.com/repos/remibergsma/cloudstack","forks_url":"https://api.github.com/repos/remibergsma/cloudstack/forks","keys_url":"https://api.github.com/repos/remibergsma/cloudstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remibergsma/cloudstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remibergsma/cloudstack/teams","hooks_url":"https://api.github.com/repos/remibergsma/cloudstack/hooks","issue_events_url":"https://api.github.com/repos/remibergsma/cloudstack/issues/events{/number}","events_url":"https://api.github.com/repos/remibergsma/cloudstack/events","assignees_url":"https://api.github.com/repos/remibergsma/cloudstack/assignees{/user}","branches_url":"https://api.github.com/repos/remibergsma/cloudstack/branches{/branch}","tags_url":"https://api.github.com/repos/remibergsma/cloudstack/tags","blobs_url":"https://api.github.com/repos/remibergsma/cloudstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remibergsma/cloudstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remibergsma/cloudstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/remibergsma/cloudstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remibergsma/cloudstack/statuses/{sha}","languages_url":"https://api.github.com/repos/remibergsma/cloudstack/languages","stargazers_url":"https://api.github.com/repos/remibergsma/cloudstack/stargazers","contributors_url":"https://api.github.com/repos/remibergsma/cloudstack/contributors","subscribers_url":"https://api.github.com/repos/remibergsma/cloudstack/subscribers","subscription_url":"https://api.github.com/repos/remibergsma/cloudstack/subscription","commits_url":"https://api.github.com/repos/remibergsma/cloudstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/remibergsma/cloudstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/remibergsma/cloudstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/remibergsma/cloudstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/remibergsma/cloudstack/contents/{+path}","compare_url":"https://api.github.com/repos/remibergsma/cloudstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remibergsma/cloudstack/merges","archive_url":"https://api.github.com/repos/remibergsma/cloudstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remibergsma/cloudstack/downloads","issues_url":"https://api.github.com/repos/remibergsma/cloudstack/issues{/number}","pulls_url":"https://api.github.com/repos/remibergsma/cloudstack/pulls{/number}","milestones_url":"https://api.github.com/repos/remibergsma/cloudstack/milestones{/number}","notifications_url":"https://api.github.com/repos/remibergsma/cloudstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remibergsma/cloudstack/labels{/name}","releases_url":"https://api.github.com/repos/remibergsma/cloudstack/releases{/id}","deployments_url":"https://api.github.com/repos/remibergsma/cloudstack/deployments","created_at":"2015-04-09T10:12:10Z","updated_at":"2016-01-17T20:37:54Z","pushed_at":"2016-02-05T15:58:31Z","git_url":"git://github.com/remibergsma/cloudstack.git","ssh_url":"git@github.com:remibergsma/cloudstack.git","clone_url":"https://github.com/remibergsma/cloudstack.git","svn_url":"https://github.com/remibergsma/cloudstack","homepage":null,"size":502263,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:4.7","ref":"4.7","sha":"a243339faac1736fd402c4be88174527dbd2e958","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":9759448,"name":"cloudstack","full_name":"apache/cloudstack","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cloudstack","description":"Mirror of Apache Cloudstack","fork":false,"url":"https://api.github.com/repos/apache/cloudstack","forks_url":"https://api.github.com/repos/apache/cloudstack/forks","keys_url":"https://api.github.com/repos/apache/cloudstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cloudstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cloudstack/teams","hooks_url":"https://api.github.com/repos/apache/cloudstack/hooks","issue_events_url":"https://api.github.com/repos/apache/cloudstack/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cloudstack/events","assignees_url":"https://api.github.com/repos/apache/cloudstack/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cloudstack/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cloudstack/tags","blobs_url":"https://api.github.com/repos/apache/cloudstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cloudstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cloudstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cloudstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cloudstack/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cloudstack/languages","stargazers_url":"https://api.github.com/repos/apache/cloudstack/stargazers","contributors_url":"https://api.github.com/repos/apache/cloudstack/contributors","subscribers_url":"https://api.github.com/repos/apache/cloudstack/subscribers","subscription_url":"https://api.github.com/repos/apache/cloudstack/subscription","commits_url":"https://api.github.com/repos/apache/cloudstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cloudstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cloudstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cloudstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cloudstack/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cloudstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cloudstack/merges","archive_url":"https://api.github.com/repos/apache/cloudstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cloudstack/downloads","issues_url":"https://api.github.com/repos/apache/cloudstack/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cloudstack/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cloudstack/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cloudstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cloudstack/labels{/name}","releases_url":"https://api.github.com/repos/apache/cloudstack/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cloudstack/deployments","created_at":"2013-04-29T22:27:12Z","updated_at":"2016-02-04T12:48:39Z","pushed_at":"2016-02-05T14:56:38Z","git_url":"git://github.com/apache/cloudstack.git","ssh_url":"git@github.com:apache/cloudstack.git","clone_url":"https://github.com/apache/cloudstack.git","svn_url":"https://github.com/apache/cloudstack","homepage":null,"size":511658,"stargazers_count":340,"watchers_count":340,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":433,"mirror_url":"git://git.apache.org/cloudstack.git","open_issues_count":170,"forks":433,"open_issues":170,"watchers":340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/1402"},"html":{"href":"https://github.com/apache/cloudstack/pull/1402"},"issue":{"href":"https://api.github.com/repos/apache/cloudstack/issues/1402"},"comments":{"href":"https://api.github.com/repos/apache/cloudstack/issues/1402/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/1402/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cloudstack/pulls/1402/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cloudstack/statuses/4ad05d1ade9d98e3a1bd268bcc1d7a0f0767d26d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}