{"action":"created","comment":{"url":"https://api.github.com/repos/contiv/ansible/pulls/comments/68443689","id":68443689,"diff_hunk":"@@ -12,5 +12,12 @@\n - name: start aci-gw container\n   service: name=aci-gw state=started\n \n+- name: Contiv | Wait for netmaster\n+  action: shell netctl tenant ls\n+  register: tenant_result\n+  until: tenant_result.stdout.find(\"default\") != -1\n+  retries: 9\n+  delay: 10\n+\n - name: set aci mode\n-  shell: contivctl network global set --fabric-mode aci\n+  shell: netctl global set --fabric-mode aci","path":"roles/contiv_network/tasks/aci_tasks.yml","position":13,"original_position":13,"commit_id":"db0a6ded63efbdf6705372a263c304e8d87393f2","original_commit_id":"db0a6ded63efbdf6705372a263c304e8d87393f2","user":{"login":"mapuri","id":9538438,"avatar_url":"https://avatars.githubusercontent.com/u/9538438?v=3","gravatar_id":"","url":"https://api.github.com/users/mapuri","html_url":"https://github.com/mapuri","followers_url":"https://api.github.com/users/mapuri/followers","following_url":"https://api.github.com/users/mapuri/following{/other_user}","gists_url":"https://api.github.com/users/mapuri/gists{/gist_id}","starred_url":"https://api.github.com/users/mapuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapuri/subscriptions","organizations_url":"https://api.github.com/users/mapuri/orgs","repos_url":"https://api.github.com/users/mapuri/repos","events_url":"https://api.github.com/users/mapuri/events{/privacy}","received_events_url":"https://api.github.com/users/mapuri/received_events","type":"User","site_admin":false},"body":"just curious, what is the issue with using contivctl?","created_at":"2016-06-24T18:44:12Z","updated_at":"2016-06-24T18:44:12Z","html_url":"https://github.com/contiv/ansible/pull/229#discussion_r68443689","pull_request_url":"https://api.github.com/repos/contiv/ansible/pulls/229","_links":{"self":{"href":"https://api.github.com/repos/contiv/ansible/pulls/comments/68443689"},"html":{"href":"https://github.com/contiv/ansible/pull/229#discussion_r68443689"},"pull_request":{"href":"https://api.github.com/repos/contiv/ansible/pulls/229"}}},"pull_request":{"url":"https://api.github.com/repos/contiv/ansible/pulls/229","id":75150255,"html_url":"https://github.com/contiv/ansible/pull/229","diff_url":"https://github.com/contiv/ansible/pull/229.diff","patch_url":"https://github.com/contiv/ansible/pull/229.patch","issue_url":"https://api.github.com/repos/contiv/ansible/issues/229","number":229,"state":"open","locked":false,"title":"resolving issue-92 in contiv/demo repo","user":{"login":"gaurav-dalvi","id":2373663,"avatar_url":"https://avatars.githubusercontent.com/u/2373663?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurav-dalvi","html_url":"https://github.com/gaurav-dalvi","followers_url":"https://api.github.com/users/gaurav-dalvi/followers","following_url":"https://api.github.com/users/gaurav-dalvi/following{/other_user}","gists_url":"https://api.github.com/users/gaurav-dalvi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurav-dalvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurav-dalvi/subscriptions","organizations_url":"https://api.github.com/users/gaurav-dalvi/orgs","repos_url":"https://api.github.com/users/gaurav-dalvi/repos","events_url":"https://api.github.com/users/gaurav-dalvi/events{/privacy}","received_events_url":"https://api.github.com/users/gaurav-dalvi/received_events","type":"User","site_admin":false},"body":"1: Need to add some delay before we set ACI mode. Have see this issue : https://github.com/contiv/demo/issues/92 number of time.\r\n\r\n2: Netctl global set is the correct way to set it in ACI mode.","created_at":"2016-06-24T17:57:34Z","updated_at":"2016-06-24T18:44:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09fa6202e86a5436b9e16c00c9a6ef163643726f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/contiv/ansible/pulls/229/commits","review_comments_url":"https://api.github.com/repos/contiv/ansible/pulls/229/comments","review_comment_url":"https://api.github.com/repos/contiv/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contiv/ansible/issues/229/comments","statuses_url":"https://api.github.com/repos/contiv/ansible/statuses/db0a6ded63efbdf6705372a263c304e8d87393f2","head":{"label":"gaurav-dalvi:demo-issue-92","ref":"demo-issue-92","sha":"db0a6ded63efbdf6705372a263c304e8d87393f2","user":{"login":"gaurav-dalvi","id":2373663,"avatar_url":"https://avatars.githubusercontent.com/u/2373663?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurav-dalvi","html_url":"https://github.com/gaurav-dalvi","followers_url":"https://api.github.com/users/gaurav-dalvi/followers","following_url":"https://api.github.com/users/gaurav-dalvi/following{/other_user}","gists_url":"https://api.github.com/users/gaurav-dalvi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurav-dalvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurav-dalvi/subscriptions","organizations_url":"https://api.github.com/users/gaurav-dalvi/orgs","repos_url":"https://api.github.com/users/gaurav-dalvi/repos","events_url":"https://api.github.com/users/gaurav-dalvi/events{/privacy}","received_events_url":"https://api.github.com/users/gaurav-dalvi/received_events","type":"User","site_admin":false},"repo":{"id":61902497,"name":"ansible","full_name":"gaurav-dalvi/ansible","owner":{"login":"gaurav-dalvi","id":2373663,"avatar_url":"https://avatars.githubusercontent.com/u/2373663?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurav-dalvi","html_url":"https://github.com/gaurav-dalvi","followers_url":"https://api.github.com/users/gaurav-dalvi/followers","following_url":"https://api.github.com/users/gaurav-dalvi/following{/other_user}","gists_url":"https://api.github.com/users/gaurav-dalvi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurav-dalvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurav-dalvi/subscriptions","organizations_url":"https://api.github.com/users/gaurav-dalvi/orgs","repos_url":"https://api.github.com/users/gaurav-dalvi/repos","events_url":"https://api.github.com/users/gaurav-dalvi/events{/privacy}","received_events_url":"https://api.github.com/users/gaurav-dalvi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaurav-dalvi/ansible","description":"ansible scripts for contiv cluster","fork":true,"url":"https://api.github.com/repos/gaurav-dalvi/ansible","forks_url":"https://api.github.com/repos/gaurav-dalvi/ansible/forks","keys_url":"https://api.github.com/repos/gaurav-dalvi/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaurav-dalvi/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaurav-dalvi/ansible/teams","hooks_url":"https://api.github.com/repos/gaurav-dalvi/ansible/hooks","issue_events_url":"https://api.github.com/repos/gaurav-dalvi/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/gaurav-dalvi/ansible/events","assignees_url":"https://api.github.com/repos/gaurav-dalvi/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/gaurav-dalvi/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/gaurav-dalvi/ansible/tags","blobs_url":"https://api.github.com/repos/gaurav-dalvi/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaurav-dalvi/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaurav-dalvi/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaurav-dalvi/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaurav-dalvi/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/gaurav-dalvi/ansible/languages","stargazers_url":"https://api.github.com/repos/gaurav-dalvi/ansible/stargazers","contributors_url":"https://api.github.com/repos/gaurav-dalvi/ansible/contributors","subscribers_url":"https://api.github.com/repos/gaurav-dalvi/ansible/subscribers","subscription_url":"https://api.github.com/repos/gaurav-dalvi/ansible/subscription","commits_url":"https://api.github.com/repos/gaurav-dalvi/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaurav-dalvi/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaurav-dalvi/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaurav-dalvi/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaurav-dalvi/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/gaurav-dalvi/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaurav-dalvi/ansible/merges","archive_url":"https://api.github.com/repos/gaurav-dalvi/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaurav-dalvi/ansible/downloads","issues_url":"https://api.github.com/repos/gaurav-dalvi/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/gaurav-dalvi/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/gaurav-dalvi/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/gaurav-dalvi/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaurav-dalvi/ansible/labels{/name}","releases_url":"https://api.github.com/repos/gaurav-dalvi/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/gaurav-dalvi/ansible/deployments","created_at":"2016-06-24T17:52:32Z","updated_at":"2016-06-24T17:52:34Z","pushed_at":"2016-06-24T18:12:00Z","git_url":"git://github.com/gaurav-dalvi/ansible.git","ssh_url":"git@github.com:gaurav-dalvi/ansible.git","clone_url":"https://github.com/gaurav-dalvi/ansible.git","svn_url":"https://github.com/gaurav-dalvi/ansible","homepage":null,"size":378,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"contiv:master","ref":"master","sha":"2d8acae81ab5464864da09401339d485fc1fc189","user":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"Organization","site_admin":false},"repo":{"id":46880794,"name":"ansible","full_name":"contiv/ansible","owner":{"login":"contiv","id":10272443,"avatar_url":"https://avatars.githubusercontent.com/u/10272443?v=3","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contiv/ansible","description":"ansible scripts for contiv cluster","fork":false,"url":"https://api.github.com/repos/contiv/ansible","forks_url":"https://api.github.com/repos/contiv/ansible/forks","keys_url":"https://api.github.com/repos/contiv/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiv/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiv/ansible/teams","hooks_url":"https://api.github.com/repos/contiv/ansible/hooks","issue_events_url":"https://api.github.com/repos/contiv/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/contiv/ansible/events","assignees_url":"https://api.github.com/repos/contiv/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/contiv/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/contiv/ansible/tags","blobs_url":"https://api.github.com/repos/contiv/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiv/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiv/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiv/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiv/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/contiv/ansible/languages","stargazers_url":"https://api.github.com/repos/contiv/ansible/stargazers","contributors_url":"https://api.github.com/repos/contiv/ansible/contributors","subscribers_url":"https://api.github.com/repos/contiv/ansible/subscribers","subscription_url":"https://api.github.com/repos/contiv/ansible/subscription","commits_url":"https://api.github.com/repos/contiv/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiv/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiv/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiv/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiv/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/contiv/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiv/ansible/merges","archive_url":"https://api.github.com/repos/contiv/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiv/ansible/downloads","issues_url":"https://api.github.com/repos/contiv/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/contiv/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/contiv/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/contiv/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiv/ansible/labels{/name}","releases_url":"https://api.github.com/repos/contiv/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/contiv/ansible/deployments","created_at":"2015-11-25T19:00:58Z","updated_at":"2016-05-23T18:20:34Z","pushed_at":"2016-06-24T18:12:00Z","git_url":"git://github.com/contiv/ansible.git","ssh_url":"git@github.com:contiv/ansible.git","clone_url":"https://github.com/contiv/ansible.git","svn_url":"https://github.com/contiv/ansible","homepage":null,"size":378,"stargazers_count":3,"watchers_count":3,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":14,"forks":13,"open_issues":14,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contiv/ansible/pulls/229"},"html":{"href":"https://github.com/contiv/ansible/pull/229"},"issue":{"href":"https://api.github.com/repos/contiv/ansible/issues/229"},"comments":{"href":"https://api.github.com/repos/contiv/ansible/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/contiv/ansible/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/contiv/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contiv/ansible/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/contiv/ansible/statuses/db0a6ded63efbdf6705372a263c304e8d87393f2"}}}}
{"actor":{"display_login":"mapuri"}}