{"action":"created","issue":{"url":"https://api.github.com/repos/newslynx/opportunities/issues/86","labels_url":"https://api.github.com/repos/newslynx/opportunities/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/newslynx/opportunities/issues/86/comments","events_url":"https://api.github.com/repos/newslynx/opportunities/issues/86/events","html_url":"https://github.com/newslynx/opportunities/issues/86","id":101502558,"number":86,"title":"VersionConflict: (pyasn1 0.1.7","user":{"login":"mhkeller","id":498744,"avatar_url":"https://avatars.githubusercontent.com/u/498744?v=3","gravatar_id":"","url":"https://api.github.com/users/mhkeller","html_url":"https://github.com/mhkeller","followers_url":"https://api.github.com/users/mhkeller/followers","following_url":"https://api.github.com/users/mhkeller/following{/other_user}","gists_url":"https://api.github.com/users/mhkeller/gists{/gist_id}","starred_url":"https://api.github.com/users/mhkeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhkeller/subscriptions","organizations_url":"https://api.github.com/users/mhkeller/orgs","repos_url":"https://api.github.com/users/mhkeller/repos","events_url":"https://api.github.com/users/mhkeller/events{/privacy}","received_events_url":"https://api.github.com/users/mhkeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/newslynx/opportunities/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-17T20:25:56Z","updated_at":"2015-08-19T20:39:52Z","closed_at":"2015-08-19T20:39:52Z","body":"When deploying from an ec2 to another ec2\r\n\r\n````\r\nTASK: [initialize newslynx database.] *****************************************\r\n<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant\r\n<127.0.0.1> REMOTE_MODULE command chdir=/opt/newslynx/newslynx-core/ /usr/local/bin/newslynx init\r\n<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=\"/Users/mike/.ansible/cp/ansible-ssh-%h-%p-%r\" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile=\"/Users/mike/wrk/projects/newslynx/automation/.vagrant/machines/newslynx/virtualbox/private_key\" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=30 127.0.0.1 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1439865423.21-226755257028246 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1439865423.21-226755257028246 && echo $HOME/.ansible/tmp/ansible-tmp-1439865423.21-226755257028246'\r\n<127.0.0.1> PUT /var/folders/gp/__h0yj4s4lsc84w79k4b8mnh0000gn/T/tmpdTmt8F TO /home/vagrant/.ansible/tmp/ansible-tmp-1439865423.21-226755257028246/command\r\n<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=\"/Users/mike/.ansible/cp/ansible-ssh-%h-%p-%r\" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile=\"/Users/mike/wrk/projects/newslynx/automation/.vagrant/machines/newslynx/virtualbox/private_key\" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=30 127.0.0.1 /bin/sh -c 'sudo -k && sudo -H -S -p \"[sudo via ansible, key=hktjynvnyeirpfuaddkrzecyjxytfyel] password: \" -u root /bin/sh -c '\"'\"'echo BECOME-SUCCESS-hktjynvnyeirpfuaddkrzecyjxytfyel; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1439865423.21-226755257028246/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1439865423.21-226755257028246/ >/dev/null 2>&1'\"'\"''\r\nfailed: [newslynx] => {\"changed\": true, \"cmd\": [\"/usr/local/bin/newslynx\", \"init\"], \"delta\": \"0:00:00.695320\", \"end\": \"2015-08-18 02:37:04.067549\", \"rc\": 1, \"start\": \"2015-08-18 02:37:03.372229\", \"warnings\": []}\r\nstderr: Traceback (most recent call last):\r\n  File \"/usr/local/bin/newslynx\", line 5, in <module>\r\n    from pkg_resources import load_entry_point\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 2749, in <module>\r\n    working_set = WorkingSet._build_master()\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 446, in _build_master\r\n    return cls._build_from_requirements(__requires__)\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 459, in _build_from_requirements\r\n    dists = ws.resolve(reqs, Environment())\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 632, in resolve\r\n    raise VersionConflict(dist,req) # XXX put more info here\r\npkg_resources.VersionConflict: (pyasn1 0.1.8 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pyasn1==0.1.7'))\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ********************************************************************\r\n           to retry, use: --limit @/Users/mike/main.yaml.retry\r\n\r\nnewslynx                   : ok=26   changed=21   unreachable=0    failed=1\r\n\r\nAnsible failed to complete successfully. Any error output should be\r\nvisible above. Please fix these errors and try again.\r\n````"},"comment":{"url":"https://api.github.com/repos/newslynx/opportunities/issues/comments/132775429","html_url":"https://github.com/newslynx/opportunities/issues/86#issuecomment-132775429","issue_url":"https://api.github.com/repos/newslynx/opportunities/issues/86","id":132775429,"user":{"login":"abelsonlive","id":1621721,"avatar_url":"https://avatars.githubusercontent.com/u/1621721?v=3","gravatar_id":"","url":"https://api.github.com/users/abelsonlive","html_url":"https://github.com/abelsonlive","followers_url":"https://api.github.com/users/abelsonlive/followers","following_url":"https://api.github.com/users/abelsonlive/following{/other_user}","gists_url":"https://api.github.com/users/abelsonlive/gists{/gist_id}","starred_url":"https://api.github.com/users/abelsonlive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelsonlive/subscriptions","organizations_url":"https://api.github.com/users/abelsonlive/orgs","repos_url":"https://api.github.com/users/abelsonlive/repos","events_url":"https://api.github.com/users/abelsonlive/events{/privacy}","received_events_url":"https://api.github.com/users/abelsonlive/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T20:39:52Z","updated_at":"2015-08-19T20:39:52Z","body":"Just tested on Virtualbox + AWS and ran fine:\r\nhttps://github.com/newslynx/newslynx-core/commit/ada9cb01d66e4e04ef7f71d9447c35ab9bbbb28d"}}