Created
February 5, 2015 20:31
-
-
Save singingwolfboy/1ada2aed52ac0664a5ca to your computer and use it in GitHub Desktop.
another migration failure
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
[db@mastodon:~/fullstack-migrate] | |
% vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'aspen-fullstack-1'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: fullstack-migrate_default_1423166159990_55615 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 22 => 2200 (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 127.0.0.1:2200 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Connection timeout. Retrying... | |
default: | |
default: Vagrant insecure key detected. Vagrant will automatically replace | |
default: this with a newly generated keypair for better security. | |
default: | |
default: Inserting generated public key within guest... | |
default: Removing insecure key from the guest if its present... | |
default: Key inserted! Disconnecting and reconnecting using new SSH key... | |
==> default: Machine booted and ready! | |
Got different reports about installed GuestAdditions version: | |
Virtualbox on your host claims: 4.2.0 | |
VBoxService inside the vm claims: 4.3.16 | |
Going on, assuming VBoxService is correct... | |
GuestAdditions versions on your host (4.3.20) and guest (4.3.16) do not match. | |
Got different reports about installed GuestAdditions version: | |
Virtualbox on your host claims: 4.2.0 | |
VBoxService inside the vm claims: 4.3.16 | |
Going on, assuming VBoxService is correct... | |
stdin: is not a tty | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
linux-headers-3.2.0-23-generic is already the newest version. | |
The following packages will be upgraded: | |
dkms | |
1 upgraded, 0 newly installed, 0 to remove and 154 not upgraded. | |
Need to get 72.6 kB of archives. | |
After this operation, 1,024 B of additional disk space will be used. | |
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.2 [72.6 kB] | |
dpkg-preconfigure: unable to re-open stdin: No such file or directory | |
Fetched 72.6 kB in 0s (103 kB/s) | |
(Reading database ... 96847 files and directories currently installed.) | |
Preparing to replace dkms 2.2.0.3-1ubuntu3 (using .../dkms_2.2.0.3-1ubuntu3.2_all.deb) ... | |
Unpacking replacement dkms ... | |
Processing triggers for man-db ... | |
Setting up dkms (2.2.0.3-1ubuntu3.2) ... | |
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso | |
stdin: is not a tty | |
mount: warning: /mnt seems to be mounted read-only. | |
Installing Virtualbox Guest Additions 4.3.20 - guest version is 4.3.16 | |
stdin: is not a tty | |
Verifying archive integrity... All good. | |
Uncompressing VirtualBox 4.3.20 Guest Additions for Linux............ | |
VirtualBox Guest Additions installer | |
Removing installed version 4.3.16 of VirtualBox Guest Additions... | |
Copying additional installer modules ... | |
Installing additional modules ... | |
Removing existing VirtualBox DKMS kernel modules ...done. | |
Removing existing VirtualBox non-DKMS kernel modules ...done. | |
Building the VirtualBox Guest Additions kernel modules ...done. | |
Doing non-kernel setup of the Guest Additions ...done. | |
You should restart your guest to make sure the new modules are actually used | |
Installing the Window System drivers | |
Could not find the X.Org or XFree86 Window System, skipping. | |
An error occurred during installation of VirtualBox Guest Additions 4.3.20. Some functionality may not work as intended. | |
In most cases it is OK that the "Window System drivers" installation failed. | |
stdin: is not a tty | |
==> default: Checking for guest additions in VM... | |
==> default: Checking for host entries | |
==> default: adding to (/etc/hosts) : 192.168.33.10 preview.localhost # VAGRANT: e0cb5f24750be35c8cc36d9e44d2323c (default) / ae61be6f-08e3-48be-ab1a-fe0d397dbac1 | |
==> default: Configuring and enabling network interfaces... | |
[db@mastodon:~/fullstack-migrate] | |
% 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. | |
******************************************************************* | |
* _ __ __ * | |
* _ _| |\ \/ / This system is for the use of authorized * | |
* / -_) _` | > < users only. Usage of this system may be * | |
* \___\__,_|/_/\_\ monitored and recorded by system personnel. * | |
* * | |
* Anyone using this system expressly consents to such monitoring * | |
* and is advised that if such monitoring reveals possible * | |
* evidence of criminal activity, system personnel may provide the * | |
* evidence from such monitoring to law enforcement officials. * | |
* * | |
******************************************************************* | |
Last login: Tue Oct 28 18:26:42 2014 from 10.0.2.2 | |
vagrant@precise64:~$ TEMPDIR=`mktemp -d` | |
vagrant@precise64:~$ chmod 777 $TEMPDIR | |
vagrant@precise64:~$ cd $TEMPDIR | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ git clone https://github.com/edx/configuration.git --depth=1 --single-branch --branch=named-release/birch/rc | |
Cloning into 'configuration'... | |
remote: Counting objects: 1182, done. | |
remote: Compressing objects: 100% (798/798), done. | |
remote: Total 1182 (delta 126), reused 867 (delta 49) | |
Receiving objects: 100% (1182/1182), 634.03 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (126/126), done. | |
Checking connectivity... done. | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ echo "edx_platform_version: named-release/birch.rc1" >> vars.yml | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ echo "ora2_version: named-release/birch.rc1" >> vars.yml | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ echo "certs_version: named-release/birch.rc1" >> vars.yml | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ echo "forum_version: named-release/birch.rc1" >> vars.yml | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ echo "xqueue_version: named-release/birch.rc1" >> vars.yml | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os$ cd configuration | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ /edx/bin/supervisorctl stop all | |
error: <class 'socket.error'>, [Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 224 | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local playbooks/vagrant-fullstack.yml -e "@/edx/app/edx_ansible/server-vars.yml" -e "@../vars.yml" | |
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"item": "", | |
"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 | Install python-pycurl] **************************************** | |
ok: [localhost] | |
TASK: [common | Add git apt repository] *************************************** | |
ok: [localhost] | |
TASK: [common | Install role-independent useful system packages] ************** | |
changed: [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 | 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: [common | add ssh-warning banner motd] ********************************** | |
ok: [localhost] | |
TASK: [common | update ssh config] ******************************************** | |
changed: [localhost] | |
TASK: [aws | create all service directories] ********************************** | |
ok: [localhost] => (item={'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}, 'key': 'home'}) | |
ok: [localhost] => (item={'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}, 'key': 'data'}) | |
changed: [localhost] => (item={'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}, 'key': 'logs'}) | |
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) | |
changed: [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: [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] ******************* | |
^CERROR: interrupted | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ cd /tmp | |
vagrant@precise64:/tmp$ /edx/bin/supervisorctl stop all | |
error: <class 'socket.error'>, [Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 224 | |
vagrant@precise64:/tmp$ /edx/bin/supervisorctl stop all | |
error: <class 'socket.error'>, [Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 224 | |
vagrant@precise64:/tmp$ sudo /edx/bin/supervisorctl stop all | |
xqueue_consumer: stopped | |
forum: stopped | |
certs: stopped | |
xqueue: stopped | |
edxapp:lms: stopped | |
edxapp:cms: stopped | |
edxapp_worker:cms_low_3: stopped | |
edxapp_worker:lms_high_mem_2: stopped | |
edxapp_worker:lms_default_3: stopped | |
edxapp_worker:cms_high_1: stopped | |
edxapp_worker:lms_low_1: stopped | |
edxapp_worker:cms_default_4: stopped | |
edxapp_worker:lms_high_4: stopped | |
vagrant@precise64:/tmp$ sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local playbooks/vagrant-fullstack.yml -e "@/edx/app/edx_ansible/server-vars.yml" -e "@../vars.yml" | |
ERROR: file could not read: ../vars.yml | |
vagrant@precise64:/tmp$ cd - | |
/tmp/tmp.s3sP5Rt5Os/configuration | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local playbooks/vagrant-fullstack.yml -e "@/edx/app/edx_ansible/server-vars.yml" -e "@../vars.yml" | |
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"item": "", | |
"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 | Install python-pycurl] **************************************** | |
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 | 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: [common | add ssh-warning banner motd] ********************************** | |
ok: [localhost] | |
TASK: [common | update ssh config] ******************************************** | |
ok: [localhost] | |
TASK: [aws | create all service directories] ********************************** | |
ok: [localhost] => (item={'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}, 'key': 'home'}) | |
ok: [localhost] => (item={'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}, 'key': 'data'}) | |
ok: [localhost] => (item={'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}, 'key': 'logs'}) | |
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: [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] *** | |
ok: [localhost] | |
TASK: [edx_ansible | install edx_ansible venv requirements] ******************* | |
failed: [localhost] => {"cmd": "/edx/app/edx_ansible/venvs/edx_ansible/bin/pip install -i https://pypi.python.org/simple -r /edx/app/edx_ansible/edx_ansible/requirements.txt", "failed": true, "item": ""} | |
msg: stdout: Requirement already satisfied (use --upgrade to upgrade): ansible==1.5.5 in /edx/app/edx_ansible/venvs/edx_ansible/lib/python2.7/site-packages (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 1)) | |
Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.11 in /edx/app/edx_ansible/venvs/edx_ansible/lib/python2.7/site-packages (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 2)) | |
Downloading/unpacking Jinja2==2.7.3 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 3)) | |
pip can't proceed with requirement 'Jinja2==2.7.3 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 3))' due to a pre-existing build directory. | |
location: /edx/app/edx_ansible/venvs/edx_ansible/build/Jinja2 | |
This is likely due to a previous installation that failed. | |
pip is being responsible and not assuming it can delete this. | |
Please delete it and try again. | |
Storing debug log for failure in /edx/app/edx_ansible/.pip/pip.log | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/home/vagrant/vagrant-fullstack.retry | |
localhost : ok=35 changed=2 unreachable=0 failed=1 | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ sudo rm -rf /edx/app/edx_ansible/venvs/edx_ansible/build | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local playbooks/vagrant-fullstack.yml -e "@/edx/app/edx_ansible/server-vars.yml" -e "@../vars.yml" | |
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"item": "", | |
"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 | Install python-pycurl] **************************************** | |
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 | 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: [common | add ssh-warning banner motd] ********************************** | |
ok: [localhost] | |
TASK: [common | update ssh config] ******************************************** | |
ok: [localhost] | |
TASK: [aws | create all service directories] ********************************** | |
ok: [localhost] => (item={'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}, 'key': 'home'}) | |
ok: [localhost] => (item={'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}, 'key': 'data'}) | |
ok: [localhost] => (item={'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}, 'key': 'logs'}) | |
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: [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] *** | |
ok: [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: [edx_ansible | dump all vars to yaml] *********************************** | |
changed: [localhost] | |
TASK: [edx_ansible | create symlink for config file] ************************** | |
ok: [localhost] | |
TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible vars (anything not caps)] *** | |
changed: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"item": "", | |
"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] ***************************************** | |
ok: [localhost] => (item=/edx/app/nginx) | |
ok: [localhost] => (item=/edx/app/nginx/sites-available) | |
changed: [localhost] => (item=/etc/nginx/sites-enabled) | |
ok: [localhost] => (item=/edx/app/nginx/conf.d) | |
TASK: [nginx | create nginx data dirs] **************************************** | |
ok: [localhost] => (item=/edx/var/nginx) | |
changed: [localhost] => (item=/edx/var/log/nginx) | |
ok: [localhost] => (item=/edx/var/nginx/server-static) | |
TASK: [nginx | Install nginx packages] **************************************** | |
ok: [localhost] | |
TASK: [nginx | Remove the default site] *************************************** | |
changed: [localhost] | |
TASK: [nginx | Server configuration file] ************************************* | |
changed: [localhost] | |
TASK: [nginx | Creating common nginx configuration] *************************** | |
ok: [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) | |
ok: [localhost] => (item=xqueue) | |
ok: [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] ********************************* | |
ok: [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>', 'file': 'rate-limit.html', 'heading': 'Uh oh, we are having some server issues..', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'title': 'Rate limit exceeded'}) | |
ok: [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>', 'file': 'server-error.html', 'heading': 'Uh oh, we are having some server issues..', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', '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] | |
TASK: [nginx | stat] ********************************************************** | |
ok: [localhost] | |
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] ****************************** | |
ok: [localhost] | |
TASK: [nginx | Set up nginx access log rotation] ****************************** | |
ok: [localhost] | |
TASK: [nginx | make sure nginx has started] *********************************** | |
ok: [localhost] | |
TASK: [edxlocal | install ppa key] ******************************************** | |
changed: [localhost] | |
TASK: [edxlocal | install apt repository] ************************************* | |
changed: [localhost] | |
TASK: [edxlocal | look for mysql 5.5] ***************************************** | |
changed: [localhost] | |
TASK: [edxlocal | stop mysql] ************************************************* | |
changed: [localhost] | |
TASK: [edxlocal | remove prior version of mysql] ****************************** | |
changed: [localhost] => (item=mysql-server-5.5,mysql-server) | |
TASK: [edxlocal | install mysql 56 and dependencies] ************************** | |
changed: [localhost] => (item=software-properties-common,mysql-server) | |
TASK: [edxlocal | start mysql] ************************************************ | |
ok: [localhost] | |
TASK: [edxlocal | install packages needed for single server] ****************** | |
changed: [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] *********************************** | |
ok: [localhost] | |
TASK: [edxlocal | create a database for xqueue] ******************************* | |
ok: [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 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 migration db user] ******************************** | |
ok: [localhost] => (item=edxapp) | |
ok: [localhost] => (item=xqueue) | |
skipping: [localhost] => (item=None) | |
TASK: [edxlocal | setup the migration db user for analytics] ****************** | |
ok: [localhost] => (item=analytics-api) | |
ok: [localhost] => (item=reports) | |
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] *********************************** | |
changed: [localhost] | |
TASK: [mongo | install python pymongo for mongo_user ansible module] ********** | |
changed: [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] *************************** | |
changed: [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}}] **************************** | |
skipping: [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] ***************************************** | |
changed: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'}) | |
changed: [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] ******************************* | |
ok: [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] ********************** | |
changed: [localhost] => (item=/edx/app/supervisor/supervisord.conf) | |
changed: [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}}] ***************************** | |
ok: [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] ********************************************* | |
changed: [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] ************************************* | |
ok: [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] ************************* | |
ok: [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/var/edxapp) | |
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 | 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) | |
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] ********* | |
ok: [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] ****************************** | |
changed: [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 | check if git repo exists before pruning] ********************** | |
ok: [localhost] | |
TASK: [edxapp | git prune before checking out] ******************************** | |
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 | create checksum for requirements, package.json and Gemfile] *** | |
failed: [localhost] => {"changed": true, "cmd": "/usr/bin/md5sum /edx/app/edxapp/edx-platform/requirements/edx/pre.txt /edx/app/edxapp/edx-platform/requirements/edx/post.txt /edx/app/edxapp/edx-platform/requirements/edx/base.txt /edx/app/edxapp/edx-platform/requirements/edx/custom.txt /edx/app/edxapp/edx-platform/requirements/edx/paver.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt 2>/dev/null > /var/tmp/edxapp.req.new ", "delta": "0:00:00.005883", "end": "2015-02-05 20:04:09.606807", "item": "", "rc": 1, "start": "2015-02-05 20:04:09.600924"} | |
...ignoring | |
TASK: [edxapp | stat path=/var/tmp/edxapp.req.new] **************************** | |
ok: [localhost] | |
TASK: [edxapp | stat path=/var/tmp/edxapp.req.installed] ********************** | |
ok: [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] ***************************************** | |
skipping: [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] ****************************** | |
ok: [localhost] | |
TASK: [edxapp | install python base-requirements] ***************************** | |
changed: [localhost] | |
TASK: [edxapp | install python post-requirements] ***************************** | |
ok: [localhost] | |
TASK: [edxapp | install python paver-requirements] **************************** | |
ok: [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] *** | |
ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt) | |
ok: [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 | create checksum for installed requirements] ******************* | |
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] *********************** | |
changed: [localhost] | |
TASK: [edxapp | create application config] *********************************** | |
fatal: [localhost] => {'msg': "file: /tmp/tmp.s3sP5Rt5Os/configuration/playbooks/roles/edxapp/templates/lms.env.json.j2, line number: 1, error: Encountered unknown tag 'do'.", 'failed': True} | |
fatal: [localhost] => {'msg': 'One or more items failed.', 'failed': True, 'changed': False, 'results': [{'msg': "file: /tmp/tmp.s3sP5Rt5Os/configuration/playbooks/roles/edxapp/templates/lms.env.json.j2, line number: 1, error: Encountered unknown tag 'do'.", 'failed': True}]} | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/home/vagrant/vagrant-fullstack.retry | |
localhost : ok=221 changed=76 unreachable=1 failed=0 | |
vagrant@precise64:/tmp/tmp.s3sP5Rt5Os/configuration$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment