{"action":"created","issue":{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/721","repository_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit","labels_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/721/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/721/comments","events_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/721/events","html_url":"https://github.com/couchbaselabs/mobile-testkit/issues/721","id":180979955,"number":721,"title":"Cannot install SG Accel from source","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/labels/in%20progress","name":"in progress","color":"bfdadc"},{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/labels/sync%20gateway","name":"sync gateway","color":"0e8a16"}],"state":"open","locked":false,"assignee":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"assignees":[{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/milestones/6","html_url":"https://github.com/couchbaselabs/mobile-testkit/milestones/1.4.0","labels_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/milestones/6/labels","id":1792801,"number":6,"title":"1.4.0","description":"","creator":{"login":"sethrosetter","id":1365736,"avatar_url":"https://avatars.githubusercontent.com/u/1365736?v=3","gravatar_id":"","url":"https://api.github.com/users/sethrosetter","html_url":"https://github.com/sethrosetter","followers_url":"https://api.github.com/users/sethrosetter/followers","following_url":"https://api.github.com/users/sethrosetter/following{/other_user}","gists_url":"https://api.github.com/users/sethrosetter/gists{/gist_id}","starred_url":"https://api.github.com/users/sethrosetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethrosetter/subscriptions","organizations_url":"https://api.github.com/users/sethrosetter/orgs","repos_url":"https://api.github.com/users/sethrosetter/repos","events_url":"https://api.github.com/users/sethrosetter/events{/privacy}","received_events_url":"https://api.github.com/users/sethrosetter/received_events","type":"User","site_admin":false},"open_issues":60,"closed_issues":31,"state":"open","created_at":"2016-05-27T20:19:51Z","updated_at":"2016-10-07T18:43:58Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-10-04T19:16:26Z","updated_at":"2016-10-11T20:38:07Z","closed_at":null,"body":"To repro:\r\n\r\n```\r\n$ python libraries/provision/provision_cluster.py --server-version 4.5.0 \r\n   --sync-gateway-commit 82493418e365495a2d23955fd62cccd71c60f5e3\r\n```\r\n\r\nGetting error:\r\n\r\n```\r\nTASK [Copy sg_accel binary to /opt/] *******************************************\r\nfatal: [ac1]: FAILED! => {\"changed\": true, \"cmd\": \"cp /home/centos/godeps/bin/sg_accel /opt/couchbase-sg-accel/bin/\", \"delta\": \"0:00:00.049475\", \"end\": \"2016-10-04 19:15:30.148268\", \"failed\": true, \"rc\": 1, \"start\": \"2016-10-04 19:15:30.098793\", \"stderr\": \"cp: cannot stat ‘/home/centos/godeps/bin/sg_accel’: No such file or directory\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\r\n\r\nNO MORE HOSTS LEFT *************************************************************\r\n\tto retry, use: --limit @libraries/provision/ansible/playbooks/install-sync-gateway-source.retry\r\n\r\nPLAY RECAP *********************************************************************\r\nac1                        : ok=27   changed=12   unreachable=0    failed=1\r\ncb1                        : ok=1    changed=0    unreachable=0    failed=0\r\ncb2                        : ok=1    changed=0    unreachable=0    failed=0\r\ncb3                        : ok=1    changed=0    unreachable=0    failed=0\r\nsg1                        : ok=28   changed=13   unreachable=0    failed=0\r\nsg2                        : ok=28   changed=13   unreachable=0    failed=0\r\nsg3                        : ok=28   changed=13   unreachable=0    failed=0\r\n\r\nTraceback (most recent call last):\r\n  File \"libraries/provision/provision_cluster.py\", line 136, in <module>\r\n    sync_gateway_config=sync_gateway_conf\r\n  File \"libraries/provision/provision_cluster.py\", line 54, in provision_cluster\r\n    sync_gateway_config=sync_gateway_config\r\n  File \"/Users/tleyden/Development/mobile-testkit/libraries/provision/install_sync_gateway.py\", line 120, in install_sync_gateway\r\n    raise ProvisioningError(\"Failed to install sync_gateway source\")\r\nkeywords.exceptions.ProvisioningError: Failed to install sync_gateway source\r\n```"},"comment":{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/comments/253038283","html_url":"https://github.com/couchbaselabs/mobile-testkit/issues/721#issuecomment-253038283","issue_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/721","id":253038283,"user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T20:38:07Z","updated_at":"2016-10-11T20:38:07Z","body":"From @ceejatec \r\n\r\n> I've hit that on new machines too, and I don't know a way to fix it inside repo. (There may BE a way, but I don't know it.) If you're scripting in Ansible anyway, I'd suggest ensuring that an earlier step in your playbook sets things up for repo. Either take the brute force approach of putting a .ssh/known_hosts file in place, or maybe there's a way to invoke ssh with an \"accept host key\" option first?\r\n\r\n"}}
{"actor":{"display_login":"tleyden"}}