{"action":"created","issue":{"url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/87","repository_url":"https://api.github.com/repos/crowbar/crowbar-ha","labels_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/87/comments","events_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/87/events","html_url":"https://github.com/crowbar/crowbar-ha/pull/87","id":132410326,"number":87,"title":"crowbar-pacemaker: Fix fencing of remote nodes on creation of primitive","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-09T12:43:12Z","updated_at":"2016-02-09T16:57:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-ha/pulls/87","html_url":"https://github.com/crowbar/crowbar-ha/pull/87","diff_url":"https://github.com/crowbar/crowbar-ha/pull/87.diff","patch_url":"https://github.com/crowbar/crowbar-ha/pull/87.patch"},"body":"We were creating the primitive with [:create, :start]. But the devil is\r\nin the details: with :create, we force the primitive to be created with\r\ntarget-role=\"stopped\", which results in pacemaker ensuring that the\r\nresource is stopped. That means fencing.\r\n\r\nSo instead, we put the primitive in a transaction, which leads to the\r\nprimitive to be started automatically."},"comment":{"url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/comments/181955883","html_url":"https://github.com/crowbar/crowbar-ha/pull/87#issuecomment-181955883","issue_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/87","id":181955883,"user":{"login":"jsuchome","id":910000,"avatar_url":"https://avatars.githubusercontent.com/u/910000?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchome","html_url":"https://github.com/jsuchome","followers_url":"https://api.github.com/users/jsuchome/followers","following_url":"https://api.github.com/users/jsuchome/following{/other_user}","gists_url":"https://api.github.com/users/jsuchome/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchome/subscriptions","organizations_url":"https://api.github.com/users/jsuchome/orgs","repos_url":"https://api.github.com/users/jsuchome/repos","events_url":"https://api.github.com/users/jsuchome/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchome/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T16:57:28Z","updated_at":"2016-02-09T16:57:28Z","body":"+1"}}