Created
July 23, 2015 14:58
-
-
Save singingwolfboy/5117cebe0a1955a922e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
New release '14.04.1 LTS' available. | |
Run 'do-release-upgrade' to upgrade to it. | |
******************************************************************* | |
* _ __ __ * | |
* _ _| |\ \/ / * | |
* / -_) _` | > < * | |
* \___\__,_|/_/\_\ * | |
* * | |
* Instructions and troubleshooting: * | |
* https://github.com/edx/configuration/wiki/edX-Developer-Stack * | |
******************************************************************* | |
Last login: Wed Nov 19 04:07:13 2014 from 10.0.2.2 | |
/usr/bin/xauth: file /home/vagrant/.Xauthority does not exist | |
vagrant@precise64:~$ cd /tmp | |
vagrant@precise64:/tmp$ curl -O https://raw.githubusercontent.com/edx/configuration/62c92997da210e58127c9e5cb6cfd97a4998007c/util/vagrant/migrate.sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 4799 100 4799 0 0 24236 0 --:--:-- --:--:-- --:--:-- 29993 | |
vagrant@precise64:/tmp$ chmod a+x migrate.sh | |
vagrant@precise64:/tmp$ ./migrate.sh | |
WARNING WARNING WARNING WARNING WARNING | |
The Cypress release of Open edX upgraded the version of Celery used | |
by the edx-platform workers. This change was introduced to fix the fact | |
that when trying to restart the celery worker, the process hangs while | |
trying to shutdown. This will cause it to block indefinitely. In order | |
to prevent this from happening during the upgrade we will pre-emptively | |
kill all celery workers on this machine. | |
Birch also introduced a change that breaks the newer version of | |
ansible when it tries to update the forums rbenv repository. In order | |
to fix the issue, uncommited modifications made to the /edx/app/forum/.rbenv | |
repo will be reverted. | |
Note: that this script assumes the standard location for all tools | |
installed by edx-ansible (under the '/edx') directory if this is | |
not the case for you please re-run this script after setting the | |
'OPENEDX_ROOT' environment variable to your equivalent of '/edx' | |
and re-running this script. | |
Do you wish to proceed? | |
y | |
Killing all celery worker processes. | |
edxapp_worker: ERROR (no such group) | |
HEAD is now at 9375e99 rbenv 0.4.0 | |
Cloning into 'configuration'... | |
remote: Counting objects: 1206, done. | |
remote: Compressing objects: 100% (760/760), done. | |
remote: Total 1206 (delta 127), reused 882 (delta 69), pack-reused 0 | |
Receiving objects: 100% (1206/1206), 418.70 KiB | 148.00 KiB/s, done. | |
Resolving deltas: 100% (127/127), done. | |
Checking connectivity... done. | |
New python executable in venv/bin/python | |
Installing setuptools, pip...done. | |
Downloading/unpacking ansible==1.9.1-edx.2 from git+https://github.com/edx/[email protected]#egg=ansible==1.9.1-edx.2 (from -r configuration/requirements.txt (line 1)) | |
Cloning https://github.com/edx/ansible.git (to stable-1.9-plus-edx) to ./venv/build/ansible | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/ansible/setup.py) egg_info for package ansible | |
no previously-included directories found matching 'v2' | |
no previously-included directories found matching 'docsite' | |
no previously-included directories found matching 'ticket_stubs' | |
no previously-included directories found matching 'packaging' | |
no previously-included directories found matching 'test' | |
no previously-included directories found matching 'hacking' | |
no previously-included directories found matching 'lib/ansible/modules/core/.git' | |
no previously-included directories found matching 'lib/ansible/modules/extras/.git' | |
Downloading/unpacking PyYAML==3.11 (from -r configuration/requirements.txt (line 2)) | |
Downloading PyYAML-3.11.tar.gz (248kB): 248kB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/PyYAML/setup.py) egg_info for package PyYAML | |
Downloading/unpacking Jinja2==2.7.3 (from -r configuration/requirements.txt (line 3)) | |
Downloading Jinja2-2.7.3.tar.gz (378kB): 378kB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/Jinja2/setup.py) egg_info for package Jinja2 | |
warning: no files found matching '*' under directory 'custom_fixers' | |
warning: no previously-included files matching '*' found under directory 'docs/_build' | |
warning: no previously-included files matching '*.pyc' found under directory 'jinja2' | |
warning: no previously-included files matching '*.pyc' found under directory 'docs' | |
warning: no previously-included files matching '*.pyo' found under directory 'jinja2' | |
warning: no previously-included files matching '*.pyo' found under directory 'docs' | |
Downloading/unpacking MarkupSafe==0.23 (from -r configuration/requirements.txt (line 4)) | |
Downloading MarkupSafe-0.23.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/MarkupSafe/setup.py) egg_info for package MarkupSafe | |
Downloading/unpacking boto==2.32.1 (from -r configuration/requirements.txt (line 5)) | |
Downloading boto-2.32.1-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded | |
Downloading/unpacking ecdsa==0.11 (from -r configuration/requirements.txt (line 6)) | |
Downloading ecdsa-0.11.tar.gz (45kB): 45kB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/ecdsa/setup.py) egg_info for package ecdsa | |
Downloading/unpacking paramiko==1.15.1 (from -r configuration/requirements.txt (line 7)) | |
Downloading paramiko-1.15.1-py2.py3-none-any.whl (165kB): 165kB downloaded | |
Downloading/unpacking pycrypto==2.6.1 (from -r configuration/requirements.txt (line 8)) | |
Downloading pycrypto-2.6.1.tar.gz (446kB): 446kB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/pycrypto/setup.py) egg_info for package pycrypto | |
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7 (from -r configuration/requirements.txt (line 9)) | |
Downloading/unpacking docopt==0.6.1 (from -r configuration/requirements.txt (line 10)) | |
Downloading docopt-0.6.1.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/docopt/setup.py) egg_info for package docopt | |
Downloading/unpacking python-simple-hipchat==0.2 (from -r configuration/requirements.txt (line 11)) | |
Downloading python-simple-hipchat-0.2.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/python-simple-hipchat/setup.py) egg_info for package python-simple-hipchat | |
Downloading/unpacking prettytable==0.7.2 (from -r configuration/requirements.txt (line 12)) | |
Downloading prettytable-0.7.2.tar.bz2 | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/prettytable/setup.py) egg_info for package prettytable | |
Downloading/unpacking awscli==1.4.2 (from -r configuration/requirements.txt (line 13)) | |
Downloading awscli-1.4.2.tar.gz (239kB): 239kB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/awscli/setup.py) egg_info for package awscli | |
Downloading/unpacking requests (from -r configuration/requirements.txt (line 14)) | |
Downloading requests-2.7.0-py2.py3-none-any.whl (470kB): 470kB downloaded | |
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./venv/lib/python2.7/site-packages (from ansible==1.9.1-edx.2->-r configuration/requirements.txt (line 1)) | |
Downloading/unpacking botocore>=0.62.0,<0.63.0 (from awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading botocore-0.62.0.tar.gz (2.9MB): 2.9MB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/botocore/setup.py) egg_info for package botocore | |
Downloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading bcdoc-0.12.2.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/bcdoc/setup.py) egg_info for package bcdoc | |
warning: no files found matching 'README.md' | |
Downloading/unpacking six>=1.1.0 (from awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading six-1.9.0-py2.py3-none-any.whl | |
Downloading/unpacking colorama==0.2.5 (from awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading colorama-0.2.5.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/colorama/setup.py) egg_info for package colorama | |
Downloading/unpacking docutils>=0.10 (from awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading docutils-0.12.tar.gz (1.6MB): 1.6MB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/docutils/setup.py) egg_info for package docutils | |
warning: no files found matching 'MANIFEST' | |
warning: no files found matching '*' under directory 'extras' | |
warning: no previously-included files matching '.cvsignore' found under directory '*' | |
warning: no previously-included files matching '*.pyc' found under directory '*' | |
warning: no previously-included files matching '*~' found under directory '*' | |
warning: no previously-included files matching '.DS_Store' found under directory '*' | |
Downloading/unpacking rsa==3.1.2 (from awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading rsa-3.1.2.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/rsa/setup.py) egg_info for package rsa | |
warning: no files found matching 'README' | |
Downloading/unpacking jmespath==0.4.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading jmespath-0.4.1.tar.gz | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/jmespath/setup.py) egg_info for package jmespath | |
Downloading/unpacking python-dateutil>=2.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188kB): 188kB downloaded | |
Downloading/unpacking pyasn1>=0.1.3 (from rsa==3.1.2->awscli==1.4.2->-r configuration/requirements.txt (line 13)) | |
Downloading pyasn1-0.1.8.tar.gz (75kB): 75kB downloaded | |
Running setup.py (path:/tmp/tmp.LJBwdYn0Su/venv/build/pyasn1/setup.py) egg_info for package pyasn1 | |
Installing collected packages: ansible, PyYAML, Jinja2, MarkupSafe, boto, ecdsa, paramiko, pycrypto, docopt, python-simple-hipchat, prettytable, awscli, requests, botocore, bcdoc, six, colorama, docutils, rsa, jmespath, python-dateutil, pyasn1 | |
Running setup.py install for ansible | |
changing mode of build/scripts-2.7/ansible from 664 to 775 | |
changing mode of build/scripts-2.7/ansible-playbook from 664 to 775 | |
changing mode of build/scripts-2.7/ansible-pull from 664 to 775 | |
changing mode of build/scripts-2.7/ansible-doc from 664 to 775 | |
changing mode of build/scripts-2.7/ansible-galaxy from 664 to 775 | |
changing mode of build/scripts-2.7/ansible-vault from 664 to 775 | |
no previously-included directories found matching 'v2' | |
no previously-included directories found matching 'docsite' | |
no previously-included directories found matching 'ticket_stubs' | |
no previously-included directories found matching 'packaging' | |
no previously-included directories found matching 'test' | |
no previously-included directories found matching 'hacking' | |
no previously-included directories found matching 'lib/ansible/modules/core/.git' | |
no previously-included directories found matching 'lib/ansible/modules/extras/.git' | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/ansible-playbook to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/ansible-galaxy to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/ansible-vault to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/ansible to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/ansible-doc to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/ansible-pull to 775 | |
Running setup.py install for PyYAML | |
checking if libyaml is compilable | |
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o | |
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory | |
compilation terminated. | |
libyaml is not found or a compiler error: forcing --without-libyaml | |
(if libyaml is installed correctly, you may need to | |
specify the option --include-dirs or uncomment and | |
modify the parameter include_dirs in setup.cfg) | |
Running setup.py install for Jinja2 | |
warning: no files found matching '*' under directory 'custom_fixers' | |
warning: no previously-included files matching '*' found under directory 'docs/_build' | |
warning: no previously-included files matching '*.pyc' found under directory 'jinja2' | |
warning: no previously-included files matching '*.pyc' found under directory 'docs' | |
warning: no previously-included files matching '*.pyo' found under directory 'jinja2' | |
warning: no previously-included files matching '*.pyo' found under directory 'docs' | |
Running setup.py install for MarkupSafe | |
building 'markupsafe._speedups' extension | |
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-2.7/markupsafe/_speedups.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/markupsafe/_speedups.o -o build/lib.linux-x86_64-2.7/markupsafe/_speedups.so | |
Running setup.py install for ecdsa | |
Running setup.py install for pycrypto | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for __gmpz_init in -lgmp... no | |
checking for __gmpz_init in -lmpir... no | |
checking whether mpz_powm is declared... no | |
checking whether mpz_powm_sec is declared... no | |
checking how to run the C preprocessor... gcc -E | |
checking for grep that handles long lines and -e... /bin/grep | |
checking for egrep... /bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for inttypes.h... (cached) yes | |
checking limits.h usability... yes | |
checking limits.h presence... yes | |
checking for limits.h... yes | |
checking stddef.h usability... yes | |
checking stddef.h presence... yes | |
checking for stddef.h... yes | |
checking for stdint.h... (cached) yes | |
checking for stdlib.h... (cached) yes | |
checking for string.h... (cached) yes | |
checking wchar.h usability... yes | |
checking wchar.h presence... yes | |
checking for wchar.h... yes | |
checking for inline... inline | |
checking for int16_t... yes | |
checking for int32_t... yes | |
checking for int64_t... yes | |
checking for int8_t... yes | |
checking for size_t... yes | |
checking for uint16_t... yes | |
checking for uint32_t... yes | |
checking for uint64_t... yes | |
checking for uint8_t... yes | |
checking for stdlib.h... (cached) yes | |
checking for GNU libc compatible malloc... yes | |
checking for memmove... yes | |
checking for memset... yes | |
configure: creating ./config.status | |
config.status: creating src/config.h | |
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. | |
building 'Crypto.Hash._MD2' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD2.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD2.so | |
building 'Crypto.Hash._MD4' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD4.c -o build/temp.linux-x86_64-2.7/src/MD4.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD4.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD4.so | |
building 'Crypto.Hash._SHA256' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA256.c -o build/temp.linux-x86_64-2.7/src/SHA256.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA256.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA256.so | |
building 'Crypto.Hash._SHA224' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA224.c -o build/temp.linux-x86_64-2.7/src/SHA224.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA224.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA224.so | |
building 'Crypto.Hash._SHA384' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA384.c -o build/temp.linux-x86_64-2.7/src/SHA384.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA384.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA384.so | |
building 'Crypto.Hash._SHA512' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA512.c -o build/temp.linux-x86_64-2.7/src/SHA512.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA512.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA512.so | |
building 'Crypto.Hash._RIPEMD160' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/usr/include/python2.7 -c src/RIPEMD160.c -o build/temp.linux-x86_64-2.7/src/RIPEMD160.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/RIPEMD160.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so | |
building 'Crypto.Cipher._AES' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build/temp.linux-x86_64-2.7/src/AES.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/AES.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so | |
building 'Crypto.Cipher._ARC2' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build/temp.linux-x86_64-2.7/src/ARC2.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC2.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC2.so | |
building 'Crypto.Cipher._Blowfish' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/Blowfish.c -o build/temp.linux-x86_64-2.7/src/Blowfish.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/Blowfish.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_Blowfish.so | |
building 'Crypto.Cipher._CAST' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/CAST.c -o build/temp.linux-x86_64-2.7/src/CAST.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/CAST.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_CAST.so | |
building 'Crypto.Cipher._DES' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o build/temp.linux-x86_64-2.7/src/DES.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES.so | |
building 'Crypto.Cipher._DES3' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o build/temp.linux-x86_64-2.7/src/DES3.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES3.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES3.so | |
building 'Crypto.Cipher._ARC4' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC4.c -o build/temp.linux-x86_64-2.7/src/ARC4.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC4.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC4.so | |
building 'Crypto.Cipher._XOR' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/XOR.c -o build/temp.linux-x86_64-2.7/src/XOR.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/XOR.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_XOR.so | |
building 'Crypto.Util.strxor' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/strxor.c -o build/temp.linux-x86_64-2.7/src/strxor.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/strxor.o -o build/lib.linux-x86_64-2.7/Crypto/Util/strxor.so | |
building 'Crypto.Util._counter' extension | |
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_counter.c -o build/temp.linux-x86_64-2.7/src/_counter.o | |
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/_counter.o -o build/lib.linux-x86_64-2.7/Crypto/Util/_counter.so | |
Running setup.py install for docopt | |
Running setup.py install for python-simple-hipchat | |
Running setup.py install for prettytable | |
Running setup.py install for awscli | |
changing mode of build/scripts-2.7/aws from 664 to 775 | |
changing mode of build/scripts-2.7/aws.cmd from 664 to 775 | |
changing mode of build/scripts-2.7/aws_completer from 664 to 775 | |
changing mode of build/scripts-2.7/aws_zsh_completer.sh from 664 to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/aws_zsh_completer.sh to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/aws to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/aws.cmd to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/aws_completer to 775 | |
Running setup.py install for botocore | |
Running setup.py install for bcdoc | |
warning: no files found matching 'README.md' | |
Running setup.py install for colorama | |
Running setup.py install for docutils | |
changing mode of build/scripts-2.7/rst2html.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2s5.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2latex.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2xetex.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2man.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2xml.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2pseudoxml.py from 664 to 775 | |
changing mode of build/scripts-2.7/rstpep2html.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2odt.py from 664 to 775 | |
changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 664 to 775 | |
warning: no files found matching 'MANIFEST' | |
warning: no files found matching '*' under directory 'extras' | |
warning: no previously-included files matching '.cvsignore' found under directory '*' | |
warning: no previously-included files matching '*.pyc' found under directory '*' | |
warning: no previously-included files matching '*~' found under directory '*' | |
warning: no previously-included files matching '.DS_Store' found under directory '*' | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2man.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2odt.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2xml.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2latex.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2pseudoxml.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2odt_prepstyles.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2s5.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2xetex.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rst2html.py to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/rstpep2html.py to 775 | |
Running setup.py install for rsa | |
warning: no files found matching 'README' | |
Installing pyrsa-encrypt-bigfile script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-encrypt script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-verify script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-sign script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-priv2pub script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-decrypt script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-decrypt-bigfile script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Installing pyrsa-keygen script to /tmp/tmp.LJBwdYn0Su/venv/bin | |
Running setup.py install for jmespath | |
changing mode of build/scripts-2.7/jp from 664 to 775 | |
changing mode of /tmp/tmp.LJBwdYn0Su/venv/bin/jp to 775 | |
Running setup.py install for pyasn1 | |
Successfully installed ansible PyYAML Jinja2 MarkupSafe boto ecdsa paramiko pycrypto docopt python-simple-hipchat prettytable awscli requests botocore bcdoc six colorama docutils rsa jmespath python-dateutil pyasn1 | |
Cleaning up... | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"var": { | |
"user_info": [] | |
} | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
ok: [localhost] | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
ok: [localhost] | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
ok: [localhost] | |
TASK: [user | create the users] *********************************************** | |
skipping: [localhost] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [localhost] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [localhost] | |
TASK: [user | get github key[s]] ********************************************** | |
skipping: [localhost] | |
TASK: [user | update the authorized_keys file] ******************************** | |
skipping: [localhost] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [localhost] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [localhost] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [localhost] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [localhost] | |
TASK: [user | create sudoers file from template] ****************************** | |
ok: [localhost] | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [localhost] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [localhost] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [localhost] | |
TASK: [security | install security packages] ********************************** | |
skipping: [localhost] | |
TASK: [security | update all system packages] ********************************* | |
skipping: [localhost] | |
TASK: [security | configure periodic unattended-upgrades] ********************* | |
skipping: [localhost] | |
TASK: [security | disable unattended-upgrades] ******************************** | |
skipping: [localhost] | |
TASK: [security | only unattended-upgrade from security repo] ***************** | |
skipping: [localhost] | |
TASK: [security | disable security only updates on unattended-upgrades] ******* | |
skipping: [localhost] | |
TASK: [security | Check if we are vulnerable] ********************************* | |
skipping: [localhost] | |
TASK: [security | Apply bash security update if we are vulnerable] ************ | |
skipping: [localhost] | |
TASK: [security | Check again and fail if we are still vulnerable] ************ | |
skipping: [localhost] | |
TASK: [security | GHOST.c] **************************************************** | |
skipping: [localhost] | |
TASK: [security | compile GHOST] ********************************************** | |
skipping: [localhost] | |
TASK: [security | Check if we are vulnerable] ********************************* | |
skipping: [localhost] | |
TASK: [security | Apply glibc security update if we are vulnerable] *********** | |
skipping: [localhost] | |
TASK: [common | Update CA Certificates] *************************************** | |
changed: [localhost] | |
TASK: [common | Add user www-data] ******************************************** | |
ok: [localhost] | |
TASK: [common | Create common directories] ************************************ | |
ok: [localhost] => (item=/edx/var) | |
ok: [localhost] => (item=/edx/app) | |
ok: [localhost] => (item=/edx/bin) | |
ok: [localhost] => (item=/edx/etc) | |
TASK: [common | check if instance is vagrant] ********************************* | |
ok: [localhost] | |
TASK: [common | Add git apt repository] *************************************** | |
ok: [localhost] | |
TASK: [common | Install role-independent useful system packages] ************** | |
ok: [localhost] | |
TASK: [common | Create common log directory] ********************************** | |
ok: [localhost] | |
TASK: [common | upload sudo config for key forwarding as root] **************** | |
ok: [localhost] | |
TASK: [common | pip install virtualenv] *************************************** | |
ok: [localhost] => (item=pip==1.5.6) | |
ok: [localhost] => (item=setuptools==3.6) | |
ok: [localhost] => (item=virtualenv==1.11.6) | |
ok: [localhost] => (item=virtualenvwrapper) | |
TASK: [common | Install rsyslog configuration for edX] ************************ | |
ok: [localhost] | |
TASK: [common | Remove the default rsyslog configuration] ********************* | |
ok: [localhost] | |
TASK: [common | Create hourly subdirectory in logrotate.d] ******************** | |
ok: [localhost] | |
TASK: [common | Install logrotate configuration for edX] ********************** | |
ok: [localhost] | |
TASK: [common | Install logrotate configuration for tracking file] ************ | |
ok: [localhost] | |
TASK: [common | Add logrotate for tracking.log to cron.hourly] **************** | |
ok: [localhost] | |
TASK: [common | update /etc/hosts] ******************************************** | |
skipping: [localhost] | |
TASK: [common | update /etc/hostname] ***************************************** | |
skipping: [localhost] | |
TASK: [common | run hostname] ************************************************* | |
skipping: [localhost] | |
TASK: [common | update /etc/dhcp/dhclient.conf] ******************************* | |
skipping: [localhost] | |
TASK: [common | add ssh-warning banner motd] ********************************** | |
changed: [localhost] | |
TASK: [common | update ssh config] ******************************************** | |
changed: [localhost] | |
TASK: [aws | gather ec2 facts for use in other roles] ************************* | |
ok: [localhost] | |
TASK: [aws | shell /sbin/ifconfig eth0 mtu 1500 up | |
] ************************** | |
changed: [localhost] | |
TASK: [aws | lineinfile dest=/etc/dhcp/dhclient.conf regexp="^supercede interfact-mtu" line="supercede interface-mtu 1500;" insertbefore="^request" | |
] *** | |
changed: [localhost] | |
TASK: [aws | create all service directories] ********************************** | |
ok: [localhost] => (item={'key': 'home', 'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}}) | |
ok: [localhost] => (item={'key': 'data', 'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}}) | |
ok: [localhost] => (item={'key': 'logs', 'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}}) | |
TASK: [aws | install system packages] ***************************************** | |
ok: [localhost] | |
TASK: [aws | install aws python packages] ************************************* | |
ok: [localhost] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz) | |
ok: [localhost] => (item=awscli==1.4.2) | |
ok: [localhost] => (item=boto=="2.34.0") | |
TASK: [aws | get s3cmd] ******************************************************* | |
ok: [localhost] | |
TASK: [aws | untar s3cmd] ***************************************************** | |
changed: [localhost] | |
TASK: [aws | create symlink for s3cmd] **************************************** | |
ok: [localhost] | |
TASK: [aws | create s3 log sync script] *************************************** | |
skipping: [localhost] | |
TASK: [aws | create symlink for s3 log sync script] *************************** | |
skipping: [localhost] | |
TASK: [aws | force logrotate on supervisor stop] ****************************** | |
skipping: [localhost] | |
TASK: [aws | cronjob for s3 log sync] ***************************************** | |
skipping: [localhost] | |
TASK: [aws | update the ssh motd on Ubuntu] *********************************** | |
skipping: [localhost] => (item=/etc/update-motd.d/10-help-text) | |
skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper) | |
skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest) | |
skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade) | |
TASK: [edx_ansible | create application user] ********************************* | |
ok: [localhost] | |
TASK: [edx_ansible | create edx_ansible app and venv dir] ********************* | |
ok: [localhost] => (item=/edx/app/edx_ansible) | |
ok: [localhost] => (item=/edx/var/edx_ansible) | |
ok: [localhost] => (item=/edx/app/edx_ansible/venvs) | |
TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] *** | |
ok: [localhost] | |
TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] *** | |
changed: [localhost] | |
TASK: [edx_ansible | install edx_ansible venv requirements] ******************* | |
changed: [localhost] | |
TASK: [edx_ansible | create update script] ************************************ | |
changed: [localhost] | |
TASK: [edx_ansible | create a symlink for update.sh] ************************** | |
ok: [localhost] | |
TASK: [edx_ansible | create a symlink for ansible-playbook] ******************* | |
ok: [localhost] | |
TASK: [edx_ansible | create a symlink for the playbooks dir] ****************** | |
ok: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"var": { | |
"user_info": [] | |
} | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
ok: [localhost] | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
ok: [localhost] | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
ok: [localhost] | |
TASK: [user | create the users] *********************************************** | |
skipping: [localhost] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [localhost] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [localhost] | |
TASK: [user | get github key[s]] ********************************************** | |
skipping: [localhost] | |
TASK: [user | update the authorized_keys file] ******************************** | |
skipping: [localhost] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [localhost] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [localhost] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [localhost] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [localhost] | |
TASK: [user | create sudoers file from template] ****************************** | |
ok: [localhost] | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [localhost] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [localhost] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [localhost] | |
TASK: [nginx | create nginx app dirs] ***************************************** | |
changed: [localhost] => (item=/edx/app/nginx) | |
changed: [localhost] => (item=/edx/app/nginx/sites-available) | |
changed: [localhost] => (item=/etc/nginx/sites-enabled) | |
changed: [localhost] => (item=/edx/app/nginx/conf.d) | |
TASK: [nginx | create nginx data dirs] **************************************** | |
changed: [localhost] => (item=/edx/var/nginx) | |
changed: [localhost] => (item=/edx/var/log/nginx) | |
changed: [localhost] => (item=/edx/var/nginx/server-static) | |
TASK: [nginx | Install nginx packages] **************************************** | |
changed: [localhost] | |
TASK: [nginx | Remove the default site] *************************************** | |
changed: [localhost] | |
TASK: [nginx | Server configuration file] ************************************* | |
changed: [localhost] | |
TASK: [nginx | Creating common nginx configuration] *************************** | |
changed: [localhost] | |
TASK: [nginx | Create robot rules] ******************************************** | |
skipping: [localhost] | |
TASK: [nginx | Creating link for common nginx configuration] ****************** | |
changed: [localhost] | |
TASK: [nginx | Copying nginx configs for ['cms', 'lms', 'forum', 'xqueue', 'certs']] *** | |
changed: [localhost] => (item=cms) | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=forum) | |
changed: [localhost] => (item=xqueue) | |
changed: [localhost] => (item=certs) | |
TASK: [nginx | Creating nginx config links for ['cms', 'lms', 'forum', 'xqueue', 'certs']] *** | |
changed: [localhost] => (item=cms) | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=forum) | |
changed: [localhost] => (item=xqueue) | |
changed: [localhost] => (item=certs) | |
TASK: [nginx | Copying nginx extra configs] *********************************** | |
skipping: [localhost] | |
TASK: [nginx | Creating links for nginx extra configs] ************************ | |
skipping: [localhost] | |
TASK: [nginx | Copying custom nginx config] *********************************** | |
skipping: [localhost] | |
TASK: [nginx | Copying nginx redirect configs for {{ nginx_redirects }}] ****** | |
skipping: [localhost] | |
TASK: [nginx | Creating nginx redirect links for {{ nginx_redirects }}] ******* | |
skipping: [localhost] | |
TASK: [nginx | Create NGINX server templates] ********************************* | |
changed: [localhost] => (item={'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:[email protected]">[email protected]</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'rate-limit.html', 'title': 'Rate limit exceeded'}) | |
changed: [localhost] => (item={'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:[email protected]">[email protected]</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'server-error.html', 'title': 'Server error'}) | |
TASK: [nginx | Write out htpasswd file] *************************************** | |
skipping: [localhost] | |
TASK: [nginx | Create nginx log file location (just in case)] ***************** | |
changed: [localhost] | |
TASK: [nginx | stat] ********************************************************** | |
ok: [localhost -> 127.0.0.1] | |
TASK: [nginx | stat] ********************************************************** | |
ok: [localhost -> 127.0.0.1] | |
TASK: [nginx | copy ssl cert] ************************************************* | |
skipping: [localhost] | |
TASK: [nginx | copy ssl key] ************************************************** | |
skipping: [localhost] | |
TASK: [nginx | Removing default nginx config and restart (enabled)] *********** | |
ok: [localhost] | |
TASK: [nginx | Set up nginx access log rotation] ****************************** | |
changed: [localhost] | |
TASK: [nginx | Set up nginx access log rotation] ****************************** | |
changed: [localhost] | |
TASK: [nginx | make sure nginx has started] *********************************** | |
changed: [localhost] | |
TASK: [edxlocal | install ppa key] ******************************************** | |
ok: [localhost] | |
TASK: [edxlocal | install apt repository] ************************************* | |
ok: [localhost] | |
TASK: [edxlocal | look for mysql 5.5] ***************************************** | |
failed: [localhost] => {"changed": true, "cmd": "dpkg -L mysql-server-5.5", "delta": "0:00:00.019127", "end": "2015-07-23 14:33:45.880758", "rc": 1, "start": "2015-07-23 14:33:45.861631", "warnings": []} | |
stderr: Package `mysql-server-5.5' is not installed. | |
Use dpkg --info (= dpkg-deb --info) to examine archive files, | |
and dpkg --contents (= dpkg-deb --contents) to list their contents. | |
...ignoring | |
TASK: [edxlocal | stop mysql] ************************************************* | |
skipping: [localhost] | |
TASK: [edxlocal | remove prior version of mysql] ****************************** | |
skipping: [localhost] | |
TASK: [edxlocal | install mysql 56 and dependencies] ************************** | |
ok: [localhost] => (item=software-properties-common,mysql-server) | |
TASK: [edxlocal | start mysql] ************************************************ | |
ok: [localhost] | |
TASK: [edxlocal | install packages needed for single server] ****************** | |
ok: [localhost] | |
TASK: [edxlocal | setup the edxapp db user] *********************************** | |
ok: [localhost] | |
TASK: [edxlocal | create a database for edxapp] ******************************* | |
ok: [localhost] | |
TASK: [edxlocal | setup the xqueue db user] *********************************** | |
changed: [localhost] | |
TASK: [edxlocal | create a database for xqueue] ******************************* | |
changed: [localhost] | |
TASK: [edxlocal | setup the ora db user] ************************************** | |
skipping: [localhost] | |
TASK: [edxlocal | create a database for ora] ********************************** | |
skipping: [localhost] | |
TASK: [edxlocal | create databases for analytics api] ************************* | |
ok: [localhost] => (item=analytics-api) | |
ok: [localhost] => (item=reports) | |
TASK: [edxlocal | create database for insights] ******************************* | |
skipping: [localhost] | |
TASK: [edxlocal | create database for ecommerce] ****************************** | |
skipping: [localhost] | |
TASK: [edxlocal | setup users for ecommerce] ********************************** | |
skipping: [localhost] | |
TASK: [edxlocal | create api user for the analytics api] ********************** | |
ok: [localhost] | |
TASK: [edxlocal | create read-only reports user for the analytics-api] ******** | |
ok: [localhost] | |
TASK: [edxlocal | setup the edx-notes-api db user] **************************** | |
skipping: [localhost] | |
TASK: [edxlocal | create a database for edx-notes-api] ************************ | |
skipping: [localhost] | |
TASK: [edxlocal | setup the migration db user] ******************************** | |
ok: [localhost] => (item=edxapp) | |
changed: [localhost] => (item=xqueue) | |
skipping: [localhost] => (item=None) | |
skipping: [localhost] => (item=None) | |
ok: [localhost] => (item=analytics-api) | |
ok: [localhost] => (item=reports) | |
skipping: [localhost] => (item=None) | |
skipping: [localhost] => (item=None) | |
TASK: [edxlocal | setup the read-only db user] ******************************** | |
ok: [localhost] | |
TASK: [edxlocal | setup the admin db user] ************************************ | |
ok: [localhost] | |
TASK: [edxlocal | install memcached] ****************************************** | |
ok: [localhost] | |
TASK: [mongo | check to see that MongoDB 2.4 is not installed] **************** | |
ok: [localhost] | |
TASK: [mongo | verify 2.4 not installed] ************************************** | |
skipping: [localhost] | |
TASK: [mongo | remove mongo 2.4 if present] *********************************** | |
skipping: [localhost] | |
TASK: [mongo | install python pymongo for mongo_user ansible module] ********** | |
ok: [localhost] | |
TASK: [mongo | add the mongodb signing key] *********************************** | |
ok: [localhost] | |
TASK: [mongo | add the mongodb repo to the sources list] ********************** | |
ok: [localhost] | |
TASK: [mongo | install mongo server and recommends] *************************** | |
ok: [localhost] | |
TASK: [mongo | create mongo dirs] ********************************************* | |
ok: [localhost] => (item=/edx/var/mongo) | |
ok: [localhost] => (item=/edx/var/mongo/mongodb) | |
ok: [localhost] => (item=/edx/var/log/mongo) | |
TASK: [mongo | stop mongod service] ******************************************* | |
changed: [localhost] | |
TASK: [mongo | move mongodb to {{ mongo_data_dir }}] ************************** | |
ok: [localhost] | |
TASK: [mongo | copy mongodb key file] ***************************************** | |
skipping: [localhost] | |
TASK: [mongo | copy configuration template] *********************************** | |
changed: [localhost] | |
TASK: [mongo | start mongo service] ******************************************* | |
changed: [localhost] | |
TASK: [mongo | wait for mongo server to start] ******************************** | |
ok: [localhost] | |
TASK: [mongo | drop super user script] **************************************** | |
changed: [localhost] | |
TASK: [mongo | create super user with js] ************************************* | |
changed: [localhost] | |
TASK: [mongo | delete super user script] ************************************** | |
changed: [localhost] | |
TASK: [mongo | Create the file to initialize the mongod replica set] ********** | |
skipping: [localhost] | |
TASK: [mongo | Initialize the replication set] ******************************** | |
skipping: [localhost] | |
TASK: [mongo | create a mongodb user] ***************************************** | |
ok: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'}) | |
ok: [localhost] => (item={'password': 'password', 'user': 'edxapp', 'roles': 'readWrite', 'database': 'edxapp'}) | |
TASK: [mongo | create a mongodb user] ***************************************** | |
skipping: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'}) | |
skipping: [localhost] => (item={'password': 'password', 'user': 'edxapp', 'roles': 'readWrite', 'database': 'edxapp'}) | |
TASK: [mongo | install s3cmd] ************************************************* | |
skipping: [localhost] | |
TASK: [mongo | configure s3cmd] *********************************************** | |
skipping: [localhost] | |
TASK: [mongo | install backup-mongo-to-s3 script] ***************************** | |
skipping: [localhost] | |
TASK: [mongo | schedule backup-mongo-to-3s crontab] *************************** | |
skipping: [localhost] | |
TASK: [edxapp_common | Install system packages] ******************************* | |
changed: [localhost] | |
TASK: [supervisor | create application user] ********************************** | |
ok: [localhost] | |
TASK: [supervisor | create supervisor service user] *************************** | |
ok: [localhost] | |
TASK: [supervisor | create supervisor directories] **************************** | |
ok: [localhost] => (item=/edx/app/supervisor) | |
ok: [localhost] => (item=/edx/app/supervisor/venvs/supervisor) | |
TASK: [supervisor | create service user accessible dirs] ********************** | |
ok: [localhost] => (item=/edx/app/supervisor/conf.d) | |
ok: [localhost] => (item=/edx/app/supervisor/conf.available.d) | |
TASK: [supervisor | create supervisor directories] **************************** | |
ok: [localhost] => (item=/edx/var/supervisor) | |
ok: [localhost] => (item=/edx/var/log/supervisor) | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
ok: [localhost] | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
ok: [localhost] => (item=boto=="2.34.0") | |
ok: [localhost] => (item=python-simple-hipchat) | |
TASK: [supervisor | create supervisor upstart job] **************************** | |
ok: [localhost] | |
TASK: [supervisor | create pre_supervisor upstart job] ************************ | |
skipping: [localhost] | |
TASK: [supervisor | write the pre_suprevisor python script] ******************* | |
skipping: [localhost] | |
TASK: [supervisor | create supervisor master config] ************************** | |
ok: [localhost] | |
TASK: [supervisor | create a symlink for supervisortctl] ********************** | |
changed: [localhost] | |
TASK: [supervisor | create a symlink for supervisor cfg] ********************** | |
ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf) | |
ok: [localhost] => (item=/edx/app/supervisor/conf.d) | |
TASK: [supervisor | create helper script for running supervisor] ************** | |
changed: [localhost] | |
TASK: [supervisor | start supervisor] ***************************************** | |
ok: [localhost] | |
TASK: [supervisor | wait for web port to be available] ************************ | |
skipping: [localhost] | |
TASK: [supervisor | update supervisor configuration] ************************** | |
ok: [localhost] | |
TASK: [rbenv | fail rbenv_user required for role] ***************************** | |
skipping: [localhost] | |
TASK: [rbenv | fail rbenv_dir required for role] ****************************** | |
skipping: [localhost] | |
TASK: [rbenv | fail rbenv_ruby_version required for role] ********************* | |
skipping: [localhost] | |
TASK: [rbenv | create rbenv user {{ edxapp_user }}] *************************** | |
changed: [localhost] | |
TASK: [rbenv | create rbenv dir if it does not exist] ************************* | |
ok: [localhost] | |
TASK: [rbenv | install build depends] ***************************************** | |
ok: [localhost] => (item=curl,build-essential,libcurl4-openssl-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev) | |
TASK: [rbenv | update rbenv repo] ********************************************* | |
ok: [localhost] | |
TASK: [rbenv | ensure ruby_env exists] **************************************** | |
changed: [localhost] | |
TASK: [rbenv | check ruby-build installed] ************************************ | |
changed: [localhost] | |
TASK: [rbenv | if ruby-build exists, which versions we can install] *********** | |
changed: [localhost] | |
TASK: [rbenv | create temporary directory] ************************************ | |
changed: [localhost] | |
TASK: [rbenv | clone ruby-build repo] ***************************************** | |
changed: [localhost] | |
TASK: [rbenv | install ruby-build] ******************************************** | |
changed: [localhost] | |
TASK: [rbenv | remove temporary directory] ************************************ | |
changed: [localhost] | |
TASK: [rbenv | check ruby {{ edxapp_ruby_version }} installed] **************** | |
changed: [localhost] | |
TASK: [rbenv | install ruby {{ edxapp_ruby_version }}] ************************ | |
skipping: [localhost] | |
TASK: [rbenv | set global ruby {{ edxapp_ruby_version }}] ********************* | |
changed: [localhost] | |
TASK: [rbenv | install bundler] *********************************************** | |
changed: [localhost] | |
TASK: [rbenv | remove rbenv version of rake] ********************************** | |
ok: [localhost] | |
TASK: [rbenv | install rake gem] ********************************************** | |
changed: [localhost] | |
TASK: [rbenv | rehash] ******************************************************** | |
changed: [localhost] | |
TASK: [supervisor | create application user] ********************************** | |
ok: [localhost] | |
TASK: [supervisor | create supervisor service user] *************************** | |
ok: [localhost] | |
TASK: [supervisor | create supervisor directories] **************************** | |
ok: [localhost] => (item=/edx/app/devpi/supervisor) | |
ok: [localhost] => (item=/edx/app/devpi/venvs/supervisor) | |
TASK: [supervisor | create service user accessible dirs] ********************** | |
ok: [localhost] => (item=/edx/app/devpi/supervisor/conf.d) | |
ok: [localhost] => (item=/edx/app/devpi/supervisor/conf.available.d) | |
TASK: [supervisor | create supervisor directories] **************************** | |
ok: [localhost] => (item=/edx/var/devpi/supervisor) | |
ok: [localhost] => (item=/edx/var/log/devpi/supervisor) | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
ok: [localhost] | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
ok: [localhost] => (item=boto=="2.34.0") | |
ok: [localhost] => (item=python-simple-hipchat) | |
TASK: [supervisor | create supervisor upstart job] **************************** | |
ok: [localhost] | |
TASK: [supervisor | create pre_supervisor upstart job] ************************ | |
skipping: [localhost] | |
TASK: [supervisor | write the pre_suprevisor python script] ******************* | |
skipping: [localhost] | |
TASK: [supervisor | create supervisor master config] ************************** | |
ok: [localhost] | |
TASK: [supervisor | create a symlink for supervisortctl] ********************** | |
skipping: [localhost] | |
TASK: [supervisor | create a symlink for supervisor cfg] ********************** | |
skipping: [localhost] => (item=/edx/app/devpi/supervisor/supervisord.conf) | |
skipping: [localhost] => (item=/edx/app/devpi/supervisor/conf.d) | |
TASK: [supervisor | create helper script for running supervisor] ************** | |
skipping: [localhost] | |
TASK: [supervisor | start supervisor] ***************************************** | |
ok: [localhost] | |
TASK: [supervisor | wait for web port to be available] ************************ | |
skipping: [localhost] | |
TASK: [supervisor | update supervisor configuration] ************************** | |
ok: [localhost] | |
TASK: [devpi | create devpi user] ********************************************* | |
ok: [localhost] | |
TASK: [devpi | create devpi application directories] ************************** | |
ok: [localhost] => (item=/edx/app/devpi) | |
ok: [localhost] => (item=/edx/app/devpi/venvs/devpi) | |
TASK: [devpi | create the devpi data directory, needs write access by the service user] *** | |
ok: [localhost] => (item=/edx/var/devpi) | |
ok: [localhost] => (item=/edx/var/devpi/data) | |
TASK: [devpi | install devpi pip pkgs] **************************************** | |
ok: [localhost] => (item=devpi-server) | |
ok: [localhost] => (item=eventlet) | |
TASK: [devpi | writing supervisor script] ************************************* | |
changed: [localhost] | |
TASK: [devpi | create a symlink for venv python, pip] ************************* | |
ok: [localhost] => (item=python) | |
ok: [localhost] => (item=pip) | |
TASK: [devpi | create a symlink for venv supervisor] ************************** | |
ok: [localhost] | |
TASK: [devpi | create a symlink for supervisor config] ************************ | |
ok: [localhost] | |
TASK: [devpi | update devpi supervisor configuration] ************************* | |
changed: [localhost] | |
TASK: [devpi | ensure devpi is started] *************************************** | |
ok: [localhost] | |
TASK: [nltk | Install unzip] ************************************************** | |
ok: [localhost] | |
TASK: [nltk | create the nltk data directory and subdirectories] ************** | |
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) | |
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) | |
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) | |
TASK: [nltk | download nltk data] ********************************************* | |
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) | |
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) | |
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) | |
TASK: [nltk | unarchive nltk data] ******************************************** | |
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) | |
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) | |
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) | |
TASK: [user | debug var=user_info] ******************************************** | |
skipping: [localhost] | |
TASK: [user | create the edxadmin group] ************************************** | |
skipping: [localhost] | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
skipping: [localhost] | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
skipping: [localhost] | |
TASK: [user | create the users] *********************************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | get github key[s]] ********************************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | update the authorized_keys file] ******************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create sudoers file from template] ****************************** | |
skipping: [localhost] | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [localhost] => (item=[{'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}, '/usr/bin/sudo']) | |
TASK: [edxapp | create application user] ************************************** | |
ok: [localhost] | |
TASK: [edxapp | create edxapp user dirs] ************************************** | |
ok: [localhost] => (item=/edx/app/edxapp) | |
ok: [localhost] => (item=/edx/app/edxapp/.ssh) | |
ok: [localhost] => (item=/edx/app/edxapp/venvs) | |
ok: [localhost] => (item=/edx/var/edxapp/themes) | |
ok: [localhost] => (item=/edx/var/edxapp/staticfiles) | |
ok: [localhost] => (item=/edx/var/edxapp/course_static) | |
changed: [localhost] => (item=/edx/var/edxapp/data) | |
TASK: [edxapp | create edxapp var dir] **************************************** | |
changed: [localhost] | |
TASK: [edxapp | make the course data dir] ************************************* | |
ok: [localhost] | |
TASK: [edxapp | create edxapp log dir] **************************************** | |
ok: [localhost] | |
TASK: [edxapp | create web-writable edxapp data dirs] ************************* | |
changed: [localhost] => (item=/edx/var/edxapp/data) | |
ok: [localhost] => (item=/edx/var/edxapp/uploads) | |
changed: [localhost] => (item=/edx/var/edxapp/media) | |
TASK: [edxapp | add ppas for current versions of nodejs] ********************** | |
ok: [localhost] | |
TASK: [edxapp | install system packages on which LMS and CMS rely] ************ | |
ok: [localhost] | |
TASK: [edxapp | set up edxapp .npmrc] ***************************************** | |
changed: [localhost] | |
TASK: [edxapp | create log directories for service variants] ****************** | |
ok: [localhost] => (item=lms) | |
ok: [localhost] => (item=cms) | |
TASK: [edxapp | code sandbox | Use libblas for 3gf] *************************** | |
changed: [localhost] | |
TASK: [edxapp | code sandbox | Use liblapac for 3gf] ************************** | |
changed: [localhost] | |
TASK: [edxapp | code sandbox | Create edxapp sandbox user] ******************** | |
ok: [localhost] | |
TASK: [edxapp | code sandbox | Install apparmor utils system pkg] ************* | |
ok: [localhost] | |
TASK: [edxapp | code sandbox | write out apparmor code sandbox config] ******** | |
ok: [localhost] | |
TASK: [edxapp | code sandbox | write out sandbox user sudoers config] ********* | |
changed: [localhost] | |
TASK: [edxapp | code sandbox | start apparmor service] ************************ | |
ok: [localhost] | |
TASK: [edxapp | code sandbox | (bootstrap) load code sandbox profile] ********* | |
changed: [localhost] | |
TASK: [edxapp | code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] *** | |
changed: [localhost] | |
TASK: [edxapp | setup the edxapp env] ***************************************** | |
changed: [localhost] | |
TASK: [edxapp | create edxapp configuration dir] ****************************** | |
ok: [localhost] | |
TASK: [edxapp | create ssh script for git (not authenticated)] **************** | |
changed: [localhost] | |
TASK: [edxapp | create ssh script for git (authenticated)] ******************** | |
skipping: [localhost] | |
TASK: [edxapp | install read-only ssh key] ************************************ | |
skipping: [localhost] | |
TASK: [edxapp | set git fetch.prune to ignore deleted remote refs] ************ | |
changed: [localhost] | |
TASK: [edxapp | checkout edx-platform repo into {{ edxapp_code_dir }}] ******** | |
changed: [localhost] | |
TASK: [edxapp | git clean after checking out edx-platform] ******************** | |
changed: [localhost] | |
TASK: [edxapp | checkout theme] *********************************************** | |
skipping: [localhost] | |
TASK: [edxapp | Updating requirement files for git mirror] ******************** | |
changed: [localhost] | |
TASK: [edxapp | gem install bundler] ****************************************** | |
changed: [localhost] | |
TASK: [edxapp | bundle install] *********************************************** | |
changed: [localhost] | |
TASK: [edxapp | Set the npm registry] ***************************************** | |
ok: [localhost] | |
TASK: [edxapp | Set the npm registry permissions] ***************************** | |
changed: [localhost] | |
TASK: [edxapp | Install edx-platform npm dependencies] ************************ | |
changed: [localhost] | |
TASK: [edxapp | install python pre-requirements] ****************************** | |
changed: [localhost] | |
TASK: [edxapp | install python base-requirements] ***************************** | |
changed: [localhost] | |
TASK: [edxapp | stat path="{{ post_requirements_file }}"] ********************* | |
ok: [localhost] | |
TASK: [edxapp | install python post-requirements] ***************************** | |
ok: [localhost] | |
TASK: [edxapp | install python paver-requirements] **************************** | |
changed: [localhost] | |
TASK: [edxapp | stat path="{{ custom_requirements_file }}"] ******************* | |
ok: [localhost] | |
TASK: [edxapp | install python custom-requirements] *************************** | |
skipping: [localhost] | |
TASK: [edxapp | install python post-post requirements] ************************ | |
changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt) | |
changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local.txt) | |
TASK: [edxapp | install python private requirements] ************************** | |
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt) | |
TASK: [edxapp | install python extra requirements] **************************** | |
skipping: [localhost] | |
TASK: [edxapp | install CAS attribute module] ********************************* | |
skipping: [localhost] | |
TASK: [edxapp | install sandbox requirements into regular venv] *************** | |
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt) | |
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt) | |
skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt) | |
TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] *** | |
changed: [localhost] | |
TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] *** | |
changed: [localhost] | |
TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] *** | |
changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt) | |
changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt) | |
TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] *** | |
changed: [localhost] | |
TASK: [edxapp | compiling all py files in the edx-platform repo] ************** | |
changed: [localhost] | |
TASK: [edxapp | give other read permissions to the virtualenv] **************** | |
changed: [localhost] | |
TASK: [edxapp | openid workaround] ******************************************** | |
changed: [localhost] | |
TASK: [edxapp | get s3 one time url] ****************************************** | |
skipping: [localhost] | |
TASK: [edxapp | download from one time url] *********************************** | |
skipping: [localhost] | |
TASK: [edxapp | unzip the data to the data dir] ******************************* | |
skipping: [localhost] | |
TASK: [edxapp | make the course data web user writable] *********************** | |
ok: [localhost] | |
TASK: [edxapp | create {{ item }} application config] ************************* | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | create {{ item }} auth file] ********************************** | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | create {{ item }} yaml application config] ******************** | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | create {{ item }} yaml auth file] ***************************** | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | writing {{ item }} supervisor script] ************************* | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | writing edxapp supervisor script] ***************************** | |
ok: [localhost] | |
TASK: [edxapp | add gunicorn configuration files] ***************************** | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | writing celery worker supervisor script] ********************** | |
changed: [localhost] | |
TASK: [edxapp | enable {{ item }} supervisor script] ************************** | |
skipping: [localhost] => (item=lms) | |
skipping: [localhost] => (item=cms) | |
TASK: [edxapp | enable edxapp supervisor script] ****************************** | |
skipping: [localhost] | |
TASK: [edxapp | enable celery worker supervisor script] *********************** | |
changed: [localhost] | |
TASK: [edxapp | create helper scripts for managing edxapp] ******************** | |
ok: [localhost] => (item=['edxapp-migrate', 'lms']) | |
ok: [localhost] => (item=['edxapp-migrate', 'cms']) | |
ok: [localhost] => (item=['edxapp-runserver', 'lms']) | |
ok: [localhost] => (item=['edxapp-runserver', 'cms']) | |
ok: [localhost] => (item=['edxapp-syncdb', 'lms']) | |
ok: [localhost] => (item=['edxapp-syncdb', 'cms']) | |
ok: [localhost] => (item=['edxapp-update-assets', 'lms']) | |
ok: [localhost] => (item=['edxapp-update-assets', 'cms']) | |
ok: [localhost] => (item=['edxapp-shell', 'lms']) | |
ok: [localhost] => (item=['edxapp-shell', 'cms']) | |
TASK: [edxapp | syncdb and migrate] ******************************************* | |
changed: [localhost] => (item=lms) | |
changed: [localhost] => (item=cms) | |
TASK: [edxapp | gather {{ item }} static assets with paver] ******************* | |
skipping: [localhost] => (item=lms) | |
skipping: [localhost] => (item=cms) | |
TASK: [edxapp | remove all course data before checkout] *********************** | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | make the course data updatable by the edxapp user] ************ | |
skipping: [localhost] | |
TASK: [edxapp | clone the xml course repo] ************************************ | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | update course.xml] ******************************************** | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | make symlinks for the static data] **************************** | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | make symlinks so code works] ********************************** | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | import courses with nostatic flag] **************************** | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | import courses including static data] ************************* | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | delete courses that were fully imported] ********************** | |
skipping: [localhost] => (item=EDXAPP_XML_COURSES) | |
TASK: [edxapp | create an archive of course data and course static dirs] ****** | |
skipping: [localhost] | |
TASK: [edxapp | upload archive to s3] ***************************************** | |
skipping: [localhost] | |
TASK: [edxapp | remove archive from disk] ************************************* | |
skipping: [localhost] | |
TASK: [edxapp | update supervisor configuration] ****************************** | |
changed: [localhost] | |
TASK: [edxapp | ensure edxapp has started] ************************************ | |
skipping: [localhost] => (item=lms) | |
skipping: [localhost] => (item=cms) | |
TASK: [edxapp | ensure edxapp_workers has started] **************************** | |
ok: [localhost] => (item={'queue': 'low', 'service_variant': 'cms', 'monitor': True, 'concurrency': 3}) | |
ok: [localhost] => (item={'queue': 'default', 'service_variant': 'cms', 'monitor': True, 'concurrency': 4}) | |
ok: [localhost] => (item={'queue': 'high', 'service_variant': 'cms', 'monitor': True, 'concurrency': 1}) | |
ok: [localhost] => (item={'queue': 'low', 'service_variant': 'lms', 'monitor': True, 'concurrency': 1}) | |
ok: [localhost] => (item={'queue': 'default', 'service_variant': 'lms', 'monitor': True, 'concurrency': 3}) | |
ok: [localhost] => (item={'queue': 'high', 'service_variant': 'lms', 'monitor': True, 'concurrency': 4}) | |
ok: [localhost] => (item={'queue': 'high_mem', 'service_variant': 'lms', 'monitor': False, 'concurrency': 2, 'max_tasks_per_child': 1}) | |
TASK: [edxapp | create symlinks from the venv bin dir] ************************ | |
ok: [localhost] => (item=python) | |
ok: [localhost] => (item=pip) | |
ok: [localhost] => (item=django-admin.py) | |
TASK: [edxapp | create symlinks from the repo dir] **************************** | |
ok: [localhost] => (item=manage.py) | |
TASK: [edxapp | remove read-only ssh key] ************************************* | |
skipping: [localhost] | |
TASK: [edxapp | get instance information] ************************************* | |
skipping: [localhost] | |
TASK: [edxapp | tag instance with edx_platform version] *********************** | |
skipping: [localhost] | |
TASK: [edxapp | tag instance with edxapp theme version] ********************** | |
skipping: [localhost] | |
TASK: [edxapp | set_fact edxapp_installed=true] ******************************* | |
ok: [localhost] | |
TASK: [edxapp | restart edxapp] *********************************************** | |
skipping: [localhost] => (item=lms) | |
skipping: [localhost] => (item=cms) | |
TASK: [edxapp | restart edxapp_workers] *************************************** | |
<ansible seems to be hung at this point> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment