I also recently hit this problem when recreating a Vagrant devstack. In my case, the problem turned out to be that the first attempt at provisioning had failed while checking out edx-platform, which had left the file system in a state that Ansible didn't expect during re-provisioning attempts. I fixed it by deleting the VM with "vagrant destroy" and trying again; the next time, it successfully got through the entire provisioning process. It seems like this only happens occasionally, when a network problem or similar error interrupts the normal provisioning process.
On Thu, Jun 29, 2017 at 9:39 AM, Rachid ELIDRISSI < [email protected]> wrote: > Hi, > I installed the ficus.3 version of devstack, all went well, but when I try > to re-run vargant provision I get this error: *[Errno 13] Permission > denied: > '/edx/app/edx_ansible/venvs/edx_ansible/lib/python2.7/site-packages/bson/* > > When I check the permissions in the venv dir I found it as bellow: > > ls -l /edx/app/edx_ansible/venvs/edx_ansible/lib/python2.7/site-packages/ > > total 2476 > drwxr-xr-x 17 edx-ansible edx-ansible 4096 Feb 7 15:51 ansible > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > ansible-2.2.0.0.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:50 > appdirs-1.4.0.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 22374 Feb 7 15:50 appdirs.py > -rw-r--r-- 1 edx-ansible edx-ansible 20465 Feb 7 15:50 appdirs.pyc > drwxr-xr-x 6 edx-ansible edx-ansible 4096 Feb 7 15:51 awscli > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > awscli-1.10.28.dist-info > drwxr-xr-x 49 edx-ansible edx-ansible 4096 Feb 7 15:51 boto > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > boto-2.33.0.dist-info > drwxr-xr-x 5 edx-ansible edx-ansible 4096 Feb 7 15:51 botocore > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > botocore-1.4.19.dist-info > *drwxr-xr-x 2 root root 4096 Jun 29 12:25 bson* > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 cffi > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > cffi-1.9.1.dist-info > -rwxr-xr-x 1 edx-ansible edx-ansible 733736 Feb 7 15:51 _cffi_backend.so > -rw-r--r-- 1 root root 10372 Jun 29 12:24 > clonevirtualenv.py > -rw-r--r-- 1 root root 10905 Jun 29 12:24 > clonevirtualenv.pyc > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 colorama > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > colorama-0.3.3.dist-info > drwxr-xr-x 3 edx-ansible edx-ansible 4096 Feb 7 15:51 concurrent > drwxr-xr-x 10 edx-ansible edx-ansible 4096 Feb 7 15:51 Crypto > drwxr-xr-x 4 edx-ansible edx-ansible 4096 Feb 7 15:51 cryptography > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > cryptography-1.7.2.dist-info > drwxr-xr-x 7 edx-ansible edx-ansible 4096 Feb 7 15:51 datadog > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > datadog-0.8.0.dist-info > drwxr-xr-x 4 edx-ansible edx-ansible 4096 Feb 7 15:51 dateutil > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > decorator-4.0.11.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 15649 Feb 7 15:51 decorator.py > -rw-r--r-- 1 edx-ansible edx-ansible 14022 Feb 7 15:51 decorator.pyc > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > docopt-0.6.1.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 19946 Feb 7 15:51 docopt.py > -rw-r--r-- 1 edx-ansible edx-ansible 23527 Feb 7 15:51 docopt.pyc > drwxr-xr-x 8 edx-ansible edx-ansible 4096 Feb 7 15:51 docutils > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > docutils-0.13.1.dist-info > -rw-r--r-- 1 root root 126 Jun 29 12:24 easy_install.py > -rw-r--r-- 1 root root 315 Jun 29 12:24 easy_install.pyc > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 ecdsa > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > ecdsa-0.11.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 enum > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > enum34-1.1.6.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > futures-3.0.5.dist-info > drwxr-xr-x 2 root root 4096 Jun 29 12:25 gridfs > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 hipchat > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 idna > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > idna-2.2.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > ipaddress-1.0.18.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 80156 Feb 7 15:51 ipaddress.py > -rw-r--r-- 1 edx-ansible edx-ansible 75654 Feb 7 15:51 ipaddress.pyc > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 jinja2 > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > Jinja2-2.8.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 jmespath > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > jmespath-0.9.1.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 markupsafe > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > MarkupSafe-0.23.dist-info > drwxr-xr-x 3 edx-ansible edx-ansible 4096 Feb 7 15:51 MySQLdb > -rw-r--r-- 1 edx-ansible edx-ansible 2352 Feb 7 15:51 > _mysql_exceptions.py > -rw-r--r-- 1 edx-ansible edx-ansible 4255 Feb 7 15:51 > _mysql_exceptions.pyc > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > MySQL_python-1.2.5.dist-info > -rwxr-xr-x 1 edx-ansible edx-ansible 170448 Feb 7 15:51 _mysql.so > drwxr-xr-x 12 edx-ansible edx-ansible 4096 Feb 7 15:51 networkx > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > networkx-1.11.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:50 packaging > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:50 > packaging-16.8.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 paramiko > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > paramiko-2.0.2.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > pathlib2-2.1.0.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 51006 Feb 7 15:51 pathlib2.py > -rw-r--r-- 1 edx-ansible edx-ansible 52465 Feb 7 15:51 pathlib2.pyc > drwxr-xr-x 5 root root 4096 Jun 29 12:24 pbr > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > pbr-3.1.1.dist-info > drwxr-xr-x 10 root root 4096 Jun 29 12:24 pip > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > pip-8.1.2.dist-info > drwxr-xr-x 4 root root 4096 Jun 29 12:24 pkg_resources > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > prettytable-0.7.2.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 54204 Feb 7 15:51 prettytable.py > -rw-r--r-- 1 edx-ansible edx-ansible 51715 Feb 7 15:51 prettytable.pyc > drwxr-xr-x 5 edx-ansible edx-ansible 4096 Feb 7 15:51 pyasn1 > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > pyasn1-0.2.2.dist-info > drwxr-xr-x 3 edx-ansible edx-ansible 4096 Feb 7 15:51 pycparser > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > pycparser-2.17.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > pycrypto-2.6.1.dist-info > drwxr-xr-x 2 root root 4096 Jun 29 12:25 pymongo > drwxr-xr-x 2 root root 4096 Jun 29 12:25 > pymongo-2.7.2.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:50 > pyparsing-2.1.10.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 229867 Feb 7 15:50 pyparsing.py > -rw-r--r-- 1 edx-ansible edx-ansible 224471 Feb 7 15:50 pyparsing.pyc > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > python_dateutil-2.6.0.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > python_simple_hipchat-0.2.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > PyYAML-3.12.dist-info > drwxr-xr-x 3 edx-ansible edx-ansible 4096 Feb 7 15:51 requests > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > requests-2.9.1.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 rsa > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 rsa-3.3.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 s3transfer > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > s3transfer-0.0.1.dist-info > drwxr-xr-x 4 root root 4096 Jun 29 12:24 setuptools > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > setuptools-24.0.3.dist-info > drwxr-xr-x 3 edx-ansible edx-ansible 4096 Feb 7 15:51 simplejson > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 > simplejson-3.10.0.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:50 > six-1.10.0.dist-info > -rw-r--r-- 1 edx-ansible edx-ansible 30098 Feb 7 15:50 six.py > -rw-r--r-- 1 edx-ansible edx-ansible 29545 Feb 7 15:50 six.pyc > drwxr-xr-x 5 root root 4096 Jun 29 12:24 stevedore > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > stevedore-1.23.0.dist-info > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > virtualenv-15.0.2.dist-info > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > virtualenv_clone-0.2.6.dist-info > -rw-r--r-- 1 root root 99115 Jun 29 12:24 virtualenv.py > -rw-r--r-- 1 root root 86579 Jun 29 12:24 virtualenv.pyc > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > virtualenv_support > drwxr-xr-x 2 root root 4096 Jun 29 12:24 virtualenvwrapper > drwxr-xr-x 2 root root 4096 Jun 29 12:24 > virtualenvwrapper-4.7.1.dist-info > -rw-r--r-- 1 root root 338 Jun 29 12:24 > virtualenvwrapper-4.7.1-py3.3-nspkg.pth > drwxr-xr-x 5 edx-ansible edx-ansible 4096 Feb 7 15:50 wheel > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:50 > wheel-0.30.0a0.dist-info > drwxr-xr-x 2 edx-ansible edx-ansible 4096 Feb 7 15:51 yaml > > Could you please help me to fix this issue? > > Best regards, > *Rachid* > > -- > You received this message because you are subscribed to the Google Groups > "General Open edX discussion" group. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/edx-code/4010545f-6af3-48b3-b36f-b5d9fb34aa8f%40googlegroups.com > <https://groups.google.com/d/msgid/edx-code/4010545f-6af3-48b3-b36f-b5d9fb34aa8f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Jeremy Bowman Principal Software Engineer edX 141 Portland St. Cambridge, MA 02139 [email protected] -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/CABQueNniaoVKLzC5FZB6vr_EzFjo-ciaMFEepWGQd0-pYGa6Sg%40mail.gmail.com.
