{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/74052352","id":74052352,"diff_hunk":"@@ -1,26 +1,41 @@\n INVENTORY_FILE = 'inventory.yaml'.freeze\n RHEL_SUBSCRIBE_INVENTORY = 'rhel_subscribe_inventory.yaml'.freeze\n \n+def find_vm_by_tag(tag)\n+  tag = \"/managed/miq_openshift_deploy/#{tag}_#{$evm.root['automation_task'][:id]}\"\n+  $evm.vmdb(:vm).find_tagged_with(:any => tag, :ns => \"*\")","path":"db/fixtures/ae_datastore/ManageIQ/Deployment/ContainerProvider/System/StateMachine/Deployment.class/__methods__/cleanup.rb","position":6,"original_position":6,"commit_id":"0b3455299413dc68736701c3f93f0457d17edd19","original_commit_id":"a2fdfd339c9747fbcf32d231f244a99ff7d40fdf","user":{"login":"alongoldboim","id":11405684,"avatar_url":"https://avatars.githubusercontent.com/u/11405684?v=3","gravatar_id":"","url":"https://api.github.com/users/alongoldboim","html_url":"https://github.com/alongoldboim","followers_url":"https://api.github.com/users/alongoldboim/followers","following_url":"https://api.github.com/users/alongoldboim/following{/other_user}","gists_url":"https://api.github.com/users/alongoldboim/gists{/gist_id}","starred_url":"https://api.github.com/users/alongoldboim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongoldboim/subscriptions","organizations_url":"https://api.github.com/users/alongoldboim/orgs","repos_url":"https://api.github.com/users/alongoldboim/repos","events_url":"https://api.github.com/users/alongoldboim/events{/privacy}","received_events_url":"https://api.github.com/users/alongoldboim/received_events","type":"User","site_admin":false},"body":"works as is :)","created_at":"2016-08-09T12:59:47Z","updated_at":"2016-08-09T12:59:47Z","html_url":"https://github.com/ManageIQ/manageiq/pull/8753#discussion_r74052352","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/74052352"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/8753#discussion_r74052352"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753","id":70336835,"html_url":"https://github.com/ManageIQ/manageiq/pull/8753","diff_url":"https://github.com/ManageIQ/manageiq/pull/8753.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/8753.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8753","number":8753,"state":"open","locked":false,"title":"Modify net-ssh use in needed states","user":{"login":"alongoldboim","id":11405684,"avatar_url":"https://avatars.githubusercontent.com/u/11405684?v=3","gravatar_id":"","url":"https://api.github.com/users/alongoldboim","html_url":"https://github.com/alongoldboim","followers_url":"https://api.github.com/users/alongoldboim/followers","following_url":"https://api.github.com/users/alongoldboim/following{/other_user}","gists_url":"https://api.github.com/users/alongoldboim/gists{/gist_id}","starred_url":"https://api.github.com/users/alongoldboim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongoldboim/subscriptions","organizations_url":"https://api.github.com/users/alongoldboim/orgs","repos_url":"https://api.github.com/users/alongoldboim/repos","events_url":"https://api.github.com/users/alongoldboim/events{/privacy}","received_events_url":"https://api.github.com/users/alongoldboim/received_events","type":"User","site_admin":false},"body":"BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1356623\r\nhttps://github.com/net-ssh/net-ssh/pull/360 was merged, made changes in all states that use net-ssh to make sure that the agent we use is dedicated to the deployment, added cleanup for the agent we spawn, and some other small fixes.","created_at":"2016-05-17T10:54:59Z","updated_at":"2016-08-09T12:59:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08c7b77d3f1e0dcf6f9fd03decd55ef63d069309","assignee":{"login":"simon3z","id":130393,"avatar_url":"https://avatars.githubusercontent.com/u/130393?v=3","gravatar_id":"","url":"https://api.github.com/users/simon3z","html_url":"https://github.com/simon3z","followers_url":"https://api.github.com/users/simon3z/followers","following_url":"https://api.github.com/users/simon3z/following{/other_user}","gists_url":"https://api.github.com/users/simon3z/gists{/gist_id}","starred_url":"https://api.github.com/users/simon3z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon3z/subscriptions","organizations_url":"https://api.github.com/users/simon3z/orgs","repos_url":"https://api.github.com/users/simon3z/repos","events_url":"https://api.github.com/users/simon3z/events{/privacy}","received_events_url":"https://api.github.com/users/simon3z/received_events","type":"User","site_admin":false},"assignees":[{"login":"simon3z","id":130393,"avatar_url":"https://avatars.githubusercontent.com/u/130393?v=3","gravatar_id":"","url":"https://api.github.com/users/simon3z","html_url":"https://github.com/simon3z","followers_url":"https://api.github.com/users/simon3z/followers","following_url":"https://api.github.com/users/simon3z/following{/other_user}","gists_url":"https://api.github.com/users/simon3z/gists{/gist_id}","starred_url":"https://api.github.com/users/simon3z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon3z/subscriptions","organizations_url":"https://api.github.com/users/simon3z/orgs","repos_url":"https://api.github.com/users/simon3z/repos","events_url":"https://api.github.com/users/simon3z/events{/privacy}","received_events_url":"https://api.github.com/users/simon3z/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8753/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/0b3455299413dc68736701c3f93f0457d17edd19","head":{"label":"alongoldboim:ssh_agent_fix","ref":"ssh_agent_fix","sha":"0b3455299413dc68736701c3f93f0457d17edd19","user":{"login":"alongoldboim","id":11405684,"avatar_url":"https://avatars.githubusercontent.com/u/11405684?v=3","gravatar_id":"","url":"https://api.github.com/users/alongoldboim","html_url":"https://github.com/alongoldboim","followers_url":"https://api.github.com/users/alongoldboim/followers","following_url":"https://api.github.com/users/alongoldboim/following{/other_user}","gists_url":"https://api.github.com/users/alongoldboim/gists{/gist_id}","starred_url":"https://api.github.com/users/alongoldboim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongoldboim/subscriptions","organizations_url":"https://api.github.com/users/alongoldboim/orgs","repos_url":"https://api.github.com/users/alongoldboim/repos","events_url":"https://api.github.com/users/alongoldboim/events{/privacy}","received_events_url":"https://api.github.com/users/alongoldboim/received_events","type":"User","site_admin":false},"repo":{"id":48227094,"name":"manageiq","full_name":"alongoldboim/manageiq","owner":{"login":"alongoldboim","id":11405684,"avatar_url":"https://avatars.githubusercontent.com/u/11405684?v=3","gravatar_id":"","url":"https://api.github.com/users/alongoldboim","html_url":"https://github.com/alongoldboim","followers_url":"https://api.github.com/users/alongoldboim/followers","following_url":"https://api.github.com/users/alongoldboim/following{/other_user}","gists_url":"https://api.github.com/users/alongoldboim/gists{/gist_id}","starred_url":"https://api.github.com/users/alongoldboim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongoldboim/subscriptions","organizations_url":"https://api.github.com/users/alongoldboim/orgs","repos_url":"https://api.github.com/users/alongoldboim/repos","events_url":"https://api.github.com/users/alongoldboim/events{/privacy}","received_events_url":"https://api.github.com/users/alongoldboim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alongoldboim/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/alongoldboim/manageiq","forks_url":"https://api.github.com/repos/alongoldboim/manageiq/forks","keys_url":"https://api.github.com/repos/alongoldboim/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alongoldboim/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alongoldboim/manageiq/teams","hooks_url":"https://api.github.com/repos/alongoldboim/manageiq/hooks","issue_events_url":"https://api.github.com/repos/alongoldboim/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/alongoldboim/manageiq/events","assignees_url":"https://api.github.com/repos/alongoldboim/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/alongoldboim/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/alongoldboim/manageiq/tags","blobs_url":"https://api.github.com/repos/alongoldboim/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alongoldboim/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alongoldboim/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/alongoldboim/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alongoldboim/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/alongoldboim/manageiq/languages","stargazers_url":"https://api.github.com/repos/alongoldboim/manageiq/stargazers","contributors_url":"https://api.github.com/repos/alongoldboim/manageiq/contributors","subscribers_url":"https://api.github.com/repos/alongoldboim/manageiq/subscribers","subscription_url":"https://api.github.com/repos/alongoldboim/manageiq/subscription","commits_url":"https://api.github.com/repos/alongoldboim/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/alongoldboim/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/alongoldboim/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/alongoldboim/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/alongoldboim/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/alongoldboim/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alongoldboim/manageiq/merges","archive_url":"https://api.github.com/repos/alongoldboim/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alongoldboim/manageiq/downloads","issues_url":"https://api.github.com/repos/alongoldboim/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/alongoldboim/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/alongoldboim/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/alongoldboim/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alongoldboim/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/alongoldboim/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/alongoldboim/manageiq/deployments","created_at":"2015-12-18T09:42:32Z","updated_at":"2015-12-18T09:42:48Z","pushed_at":"2016-08-09T12:53:53Z","git_url":"git://github.com/alongoldboim/manageiq.git","ssh_url":"git@github.com:alongoldboim/manageiq.git","clone_url":"https://github.com/alongoldboim/manageiq.git","svn_url":"https://github.com/alongoldboim/manageiq","homepage":"manageiq.org","size":145613,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ManageIQ:master","ref":"master","sha":"fb266f520d647eebca514f2768b414c0eef379ec","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Open-Source Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-08-08T13:37:36Z","pushed_at":"2016-08-09T12:53:54Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":192405,"stargazers_count":298,"watchers_count":298,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":332,"mirror_url":null,"open_issues_count":759,"forks":332,"open_issues":759,"watchers":298,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/8753"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/8753"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/8753/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8753/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/0b3455299413dc68736701c3f93f0457d17edd19"}}}}
{"actor":{"display_login":"alongoldboim"}}