{"action":"created","issue":{"url":"https://api.github.com/repos/edx/configuration/issues/2434","labels_url":"https://api.github.com/repos/edx/configuration/issues/2434/labels{/name}","comments_url":"https://api.github.com/repos/edx/configuration/issues/2434/comments","events_url":"https://api.github.com/repos/edx/configuration/issues/2434/events","html_url":"https://github.com/edx/configuration/issues/2434","id":114445554,"number":2434,"title":"Install fails, problem with python post-post requirements - opaque-keys","user":{"login":"vietdungiitb","id":15527533,"avatar_url":"https://avatars.githubusercontent.com/u/15527533?v=3","gravatar_id":"","url":"https://api.github.com/users/vietdungiitb","html_url":"https://github.com/vietdungiitb","followers_url":"https://api.github.com/users/vietdungiitb/followers","following_url":"https://api.github.com/users/vietdungiitb/following{/other_user}","gists_url":"https://api.github.com/users/vietdungiitb/gists{/gist_id}","starred_url":"https://api.github.com/users/vietdungiitb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietdungiitb/subscriptions","organizations_url":"https://api.github.com/users/vietdungiitb/orgs","repos_url":"https://api.github.com/users/vietdungiitb/repos","events_url":"https://api.github.com/users/vietdungiitb/events{/privacy}","received_events_url":"https://api.github.com/users/vietdungiitb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-01T02:10:59Z","updated_at":"2015-11-16T14:58:23Z","closed_at":null,"body":"I tried to install edx Ubuntu 12.04 64 bit following the wiki but it has problem as below. \r\nAnyone can help me? please,\r\nThank you\r\n\r\nTASK: [edxapp | install python post-post requirements] ************************\r\nfailed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/githu                                                                                                                     b.txt) => {\"changed\": true, \"cmd\": \"/edx/app/edxapp/venvs/edxapp/bin/pip install                                                                                                                      -i https://pypi.python.org/simple --exists-action w --use-mirrors -r /edx/app/e                                                                                                                     dxapp/edx-platform/requirements/edx/github.txt \", \"delta\": \"0:00:50.415518\", \"en                                                                                                                     d\": \"2015-11-01 08:53:30.895199\", \"item\": \"/edx/app/edxapp/edx-platform/requirem                                                                                                                     ents/edx/github.txt\", \"rc\": 1, \"start\": \"2015-11-01 08:52:40.479681\"}\r\nstderr: fatal: Needed a single revision\r\nUnable to find current revision in submodule path 'ext/spec'\r\nstdout: You are using pip version 6.0.8, however version 7.1.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nDEPRECATION: --use-mirrors has been deprecated and will be removed in the future                                                                                                                     . Explicit uses of --index-url and/or --extra-index-url is suggested.\r\nCollecting git+https://github.com/pmitros/pyfs.git@96e1922348bfe6d99201b9512a9ed                                                                                                                     946c87b7e0b (from -r /edx/app/edxapp/edx-platform/requirements/edx/github.txt (l                                                                                                                     ine 27))\r\n  Cloning https://github.com/pmitros/pyfs.git (to 96e1922348bfe6d99201b9512a9ed9                                                                                                                     46c87b7e0b) to /tmp/pip-O4yijL-build\r\n  Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', ass                                                                                                                     uming commit.\r\nCollecting git+https://github.com/hmarr/django-debug-toolbar-mongo.git@b0686a76f                                                                                                                     1ce3532088c4aee6e76b9abe61cc808 (from -r /edx/app/edxapp/edx-platform/requiremen                                                                                                                     ts/edx/github.txt (line 29))\r\n  Cloning https://github.com/hmarr/django-debug-toolbar-mongo.git (to b0686a76f1                                                                                                                     ce3532088c4aee6e76b9abe61cc808) to /tmp/pip-TLlc6L-build\r\n  Could not find a tag or branch 'b0686a76f1ce3532088c4aee6e76b9abe61cc808', ass                                                                                                                     uming commit.\r\n    Installed /tmp/pip-TLlc6L-build/.eggs/versiontools-1.9.1-py2.7.egg\r\nObtaining django-pipeline from git+https://github.com/cyberdelia/django-pipeline                                                                                                                     .git@1.5.3#egg=django-pipeline (from -r /edx/app/edxapp/edx-platform/requirement                                                                                                                     s/edx/github.txt (line 11))\r\n  Updating /edx/app/edxapp/venvs/edxapp/src/django-pipeline clone (to 1.5.3)\r\nObtaining django-wiki from git+https://github.com/edx/django-wiki.git@cd0b2b3199                                                                                                                     7afccde519fe5b3365e61a9edb143f#egg=django-wiki (from -r /edx/app/edxapp/edx-plat                                                                                                                     form/requirements/edx/github.txt (line 12))\r\n  Updating /edx/app/edxapp/venvs/edxapp/src/django-wiki clone (to cd0b2b31997afc                                                                                                                     cde519fe5b3365e61a9edb143f)\r\n  Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', ass                                                                                                                     uming commit.\r\nObtaining django-oauth2-provider from git+https://github.com/edx/django-oauth2-p                                                                                                                     rovider.git@0.2.7-fork-edx-5#egg=django-oauth2-provider (from -r /edx/app/edxapp                                                                                                                     /edx-platform/requirements/edx/github.txt (line 13))\r\n  Updating /edx/app/edxapp/venvs/edxapp/src/django-oauth2-provider clone (to 0.2                                                                                                                     .7-fork-edx-5)\r\n    /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/setuptools/di                                                                                                                     st.py:294: UserWarning: The version specified ('0.2.7-fork-edx-5') is an invalid                                                                                                                      version, this may not work as expected with newer versions of setuptools, pip,                                                                                                                      and PyPI. Please see PEP 440 for more details.\r\n      \"details.\" % self.metadata.version\r\nObtaining djangorestframework-oauth from git+https://github.com/edx/django-rest-                                                                                                                     framework-oauth.git@f0b503fda8c254a38f97fef802ded4f5fe367f7a#egg=djangorestframe                                                                                                                     work-oauth (from -r /edx/app/edxapp/edx-platform/requirements/edx/github.txt (li                                                                                                                     ne 14))\r\n  Updating /edx/app/edxapp/venvs/edxapp/src/djangorestframework-oauth clone (to                                                                                                                      f0b503fda8c254a38f97fef802ded4f5fe367f7a)\r\n  Could not find a tag or branch 'f0b503fda8c254a38f97fef802ded4f5fe367f7a', ass                                                                                                                     uming commit.\r\nObtaining mongodb-proxy from git+https://github.com/edx/MongoDBProxy.git@25b9909                                                                                                                     7615bda06bd7cdfe5669ed80dc2a7fed0#egg=mongodb_proxy (from -r /edx/app/edxapp/edx                                                                                                                     -platform/requirements/edx/github.txt (line 15))\r\n  Updating /edx/app/edxapp/venvs/edxapp/src/mongodb-proxy clone (to 25b99097615b                                                                                                                     da06bd7cdfe5669ed80dc2a7fed0)\r\n  Could not find a tag or branch '25b99097615bda06bd7cdfe5669ed80dc2a7fed0', ass                                                                                                                     uming commit.\r\nCollecting nltk==2.0.6 from git+https://github.com/edx/nltk.git@2.0.6#egg=nltk==                                                                                                                     2.0.6 (from -r /edx/app/edxapp/edx-platform/requirements/edx/github.txt (line 16                                                                                                                     ))\r\n  Cloning https://github.com/edx/nltk.git (to 2.0.6) to /tmp/pip-build-69svZq/nl                                                                                                                     tk\r\nObtaining pystache-custom from git+https://github.com/dementrock/pystache_custom                                                                                                                     .git@776973740bdaad83a3b029f96e415a7d1e8bec2f#egg=pystache_custom-dev (from -r /                                                                                                                     edx/app/edxapp/edx-platform/requirements/edx/github.txt (line 17))\r\n  Updating /edx/app/edxapp/venvs/edxapp/src/pystache-custom clone (to 776973740b                                                                                                                     daad83a3b029f96e415a7d1e8bec2f)\r\n  Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', ass                                                                                                                     uming commit.\r\n  Complete output from command /usr/bin/git submodule update --init --recursive                                                                                                                      -q:\r\n\r\n  ----------------------------------------\r\n  Command \"/usr/bin/git submodule update --init --recursive -q\" failed with erro                                                                                                                     r code 1 in /edx/app/edxapp/venvs/edxapp/src/pystache-custom\r\nfailed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local                                                                                                                     .txt) => {\"changed\": true, \"cmd\": \"/edx/app/edxapp/venvs/edxapp/bin/pip install                                                                                                                      -i https://pypi.python.org/simple --exists-action w --use-mirrors -r /edx/app/ed                                                                                                                     xapp/edx-platform/requirements/edx/local.txt \", \"delta\": \"0:00:06.843773\", \"end\"                                                                                                                     : \"2015-11-01 08:53:37.830746\", \"item\": \"/edx/app/edxapp/edx-platform/requiremen                                                                                                                     ts/edx/local.txt\", \"rc\": 1, \"start\": \"2015-11-01 08:53:30.986973\"}\r\nstdout: You are using pip version 6.0.8, however version 7.1.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nDEPRECATION: --use-mirrors has been deprecated and will be removed in the future                                                                                                                     . Explicit uses of --index-url and/or --extra-index-url is suggested.\r\nObtaining file:///edx/app/edxapp/edx-platform (from -r /edx/app/edxapp/edx-platf                                                                                                                     orm/requirements/edx/local.txt (line 2))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/calc (from -r /edx/app/                                                                                                                     edxapp/edx-platform/requirements/edx/local.txt (line 3))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/capa (from -r /edx/app/                                                                                                                     edxapp/edx-platform/requirements/edx/local.txt (line 4))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/chem (from -r /edx/app/                                                                                                                     edxapp/edx-platform/requirements/edx/local.txt (line 5))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/dogstats (from -r /edx/                                                                                                                     app/edxapp/edx-platform/requirements/edx/local.txt (line 6))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/safe_lxml (from -r /edx                                                                                                                     /app/edxapp/edx-platform/requirements/edx/local.txt (line 7))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/sandbox-packages (from                                                                                                                      -r /edx/app/edxapp/edx-platform/requirements/edx/local.txt (line 8))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/symmath (from -r /edx/a                                                                                                                     pp/edxapp/edx-platform/requirements/edx/local.txt (line 9))\r\nObtaining file:///edx/app/edxapp/edx-platform/common/lib/xmodule (from -r /edx/a                                                                                                                     pp/edxapp/edx-platform/requirements/edx/local.txt (line 10))\r\nRequirement already satisfied (use --upgrade to upgrade): setuptools in /edx/app                                                                                                                     /edxapp/venvs/edxapp/lib/python2.7/site-packages (from Open-edX==0.5->-r /edx/ap                                                                                                                     p/edxapp/edx-platform/requirements/edx/local.txt (line 2))\r\nRequirement already satisfied (use --upgrade to upgrade): pyparsing==2.0.1 in /e                                                                                                                     dx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages (from calc==0.2->-r /edx/                                                                                                                     app/edxapp/edx-platform/requirements/edx/local.txt (line 3))\r\nRequirement already satisfied (use --upgrade to upgrade): numpy in /edx/app/edxa                                                                                                                     pp/venvs/edxapp/lib/python2.7/site-packages (from calc==0.2->-r /edx/app/edxapp/                                                                                                                     edx-platform/requirements/edx/local.txt (line 3))\r\nRequirement already satisfied (use --upgrade to upgrade): scipy in /edx/app/edxa                                                                                                                     pp/venvs/edxapp/lib/python2.7/site-packages (from calc==0.2->-r /edx/app/edxapp/                                                                                                                     edx-platform/requirements/edx/local.txt (line 3))\r\nCollecting nltk<3.0 (from chem==0.1.1->-r /edx/app/edxapp/edx-platform/requireme                                                                                                                     nts/edx/local.txt (line 5))\r\n  Using cached nltk-2.0.5.tar.gz\r\n    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0                                                                                                                     .6.21.tar.gz\r\n    Extracting in /tmp/tmpT2o6Rq\r\n    Now working in /tmp/tmpT2o6Rq/distribute-0.6.21\r\n    Building a Distribute egg in /tmp/pip-build-0nIqe0/nltk\r\n    /tmp/pip-build-0nIqe0/nltk/distribute-0.6.21-py2.7.egg\r\nRequirement already satisfied (use --upgrade to upgrade): dogapi in /edx/app/edx                                                                                                                     app/venvs/edxapp/lib/python2.7/site-packages (from dogstats-wrapper==0.1->-r /ed                                                                                                                     x/app/edxapp/edx-platform/requirements/edx/local.txt (line 6))\r\nRequirement already satisfied (use --upgrade to upgrade): lxml in /edx/app/edxap                                                                                                                     p/venvs/edxapp/lib/python2.7/site-packages (from safe-lxml==1.0->-r /edx/app/edx                                                                                                                     app/edx-platform/requirements/edx/local.txt (line 7))\r\nRequirement already satisfied (use --upgrade to upgrade): defusedxml in /edx/app                                                                                                                     /edxapp/venvs/edxapp/lib/python2.7/site-packages (from safe-lxml==1.0->-r /edx/a                                                                                                                     pp/edxapp/edx-platform/requirements/edx/local.txt (line 7))\r\nRequirement already satisfied (use --upgrade to upgrade): sympy in /edx/app/edxa                                                                                                                     pp/venvs/edxapp/lib/python2.7/site-packages (from symmath==0.1->-r /edx/app/edxa                                                                                                                     pp/edx-platform/requirements/edx/local.txt (line 9))\r\nCollecting docopt (from XModule==0.1->-r /edx/app/edxapp/edx-platform/requiremen                                                                                                                     ts/edx/local.txt (line 10))\r\n  Using cached docopt-0.6.2.tar.gz\r\nRequirement already satisfied (use --upgrade to upgrade): path.py in /edx/app/ed                                                                                                                     xapp/venvs/edxapp/lib/python2.7/site-packages (from XModule==0.1->-r /edx/app/ed                                                                                                                     xapp/edx-platform/requirements/edx/local.txt (line 10))\r\nCollecting webob (from XModule==0.1->-r /edx/app/edxapp/edx-platform/requirement                                                                                                                     s/edx/local.txt (line 10))\r\n  Using cached WebOb-1.5.1-py2.py3-none-any.whl\r\nCollecting opaque-keys (from XModule==0.1->-r /edx/app/edxapp/edx-platform/requi                                                                                                                     rements/edx/local.txt (line 10))\r\n  Could not find any downloads that satisfy the requirement opaque-keys (from XM                                                                                                                     odule==0.1->-r /edx/app/edxapp/edx-platform/requirements/edx/local.txt (line 10)                                                                                                                     )\r\n  Some externally hosted files were ignored as access to them may be unreliable                                                                                                                      (use --allow-external opaque-keys to allow).\r\n  No distributions at all found for opaque-keys (from XModule==0.1->-r /edx/app/                                                                                                                     edxapp/edx-platform/requirements/edx/local.txt (line 10))\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ********************************************************************\r\n           to retry, use: --limit @/root/edx_sandbox.retry\r\n\r\nlocalhost                  : ok=174  changed=35   unreachable=0    failed=1\r\n"},"comment":{"url":"https://api.github.com/repos/edx/configuration/issues/comments/157058995","html_url":"https://github.com/edx/configuration/issues/2434#issuecomment-157058995","issue_url":"https://api.github.com/repos/edx/configuration/issues/2434","id":157058995,"user":{"login":"AAbouZaid","id":6760103,"avatar_url":"https://avatars.githubusercontent.com/u/6760103?v=3","gravatar_id":"","url":"https://api.github.com/users/AAbouZaid","html_url":"https://github.com/AAbouZaid","followers_url":"https://api.github.com/users/AAbouZaid/followers","following_url":"https://api.github.com/users/AAbouZaid/following{/other_user}","gists_url":"https://api.github.com/users/AAbouZaid/gists{/gist_id}","starred_url":"https://api.github.com/users/AAbouZaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AAbouZaid/subscriptions","organizations_url":"https://api.github.com/users/AAbouZaid/orgs","repos_url":"https://api.github.com/users/AAbouZaid/repos","events_url":"https://api.github.com/users/AAbouZaid/events{/privacy}","received_events_url":"https://api.github.com/users/AAbouZaid/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T14:58:23Z","updated_at":"2015-11-16T14:58:23Z","body":"BTW, it seems like a connection issue, something happen for one of previous steps (Ansible tasks) leads to this issue (I got HTTP 408 timeout error from Github)\r\n\r\nSometimes when I retry it again works fine, sometimes I need to remove \"/edx/\" directory (and stop any service depends on this directory) to make it work!\r\n"}}