Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created November 13, 2015 18:45
Show Gist options
  • Save singingwolfboy/5cbe13e305528dae7fc9 to your computer and use it in GitHub Desktop.
Save singingwolfboy/5cbe13e305528dae7fc9 to your computer and use it in GitHub Desktop.
Modified the Vagrantfile so that configuration points to the `django18-support` branch, and edx-platform points to the `comp-theme-django-18` branch.
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'cypress-devstack'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: devstack-theming_default_1447438732078_90326
==> 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: 8000 => 8000 (adapter 1)
default: 8001 => 8001 (adapter 1)
default: 8002 => 8002 (adapter 1)
default: 8003 => 8003 (adapter 1)
default: 8031 => 8031 (adapter 1)
default: 8120 => 8120 (adapter 1)
default: 8765 => 8765 (adapter 1)
default: 9200 => 9200 (adapter 1)
default: 18080 => 18080 (adapter 1)
default: 8100 => 8100 (adapter 1)
default: 8110 => 8110 (adapter 1)
default: 50070 => 50070 (adapter 1)
default: 8088 => 8088 (adapter 1)
default: 22 => 2222 (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:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
GuestAdditions versions on your host (5.0.0) and guest (4.3.30) do not match.
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 167 not upgraded.
Need to get 72.6 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.2
404 Not Found [IP: 91.189.91.23 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/d/dkms/dkms_2.2.0.3-1ubuntu3.2_all.deb 404 Not Found [IP: 91.189.91.23 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
stdin: is not a tty
Get:1 http://security.ubuntu.com precise-security InRelease [54.5 kB]
Ign http://us.archive.ubuntu.com precise InRelease
Get:2 http://us.archive.ubuntu.com precise-updates InRelease [196 kB]
Ign http://downloads-distro.mongodb.org dist InRelease
Ign http://dl.google.com stable InRelease
Get:3 http://us.archive.ubuntu.com precise-backports InRelease [54.5 kB]
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Get:4 http://downloads-distro.mongodb.org dist Release.gpg [490 B]
Get:5 http://security.ubuntu.com precise-security/main Sources [136 kB]
Get:6 http://dl.google.com stable Release.gpg [198 B]
Get:7 http://downloads-distro.mongodb.org dist Release [2,040 B]
Get:8 http://us.archive.ubuntu.com precise-updates/main Sources [493 kB]
Get:9 http://dl.google.com stable Release [1,347 B]
Get:10 http://security.ubuntu.com precise-security/restricted Sources [4,464 B]
Get:11 http://security.ubuntu.com precise-security/universe Sources [43.8 kB]
Ign http://ppa.launchpad.net precise InRelease
Get:12 http://ppa.launchpad.net precise InRelease [13.3 kB]
Get:13 http://security.ubuntu.com precise-security/multiverse Sources [2,198 B]
Get:14 http://security.ubuntu.com precise-security/main amd64 Packages [563 kB]
Ign http://ppa.launchpad.net precise InRelease
Get:15 http://security.ubuntu.com precise-security/restricted amd64 Packages [11.6 kB]
Get:16 http://downloads-distro.mongodb.org dist/10gen amd64 Packages [29.2 kB]
Get:17 http://security.ubuntu.com precise-security/universe amd64 Packages [125 kB]
Get:18 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,693 B]
Get:19 http://security.ubuntu.com precise-security/main i386 Packages [620 kB]
Hit http://ppa.launchpad.net precise Release.gpg
Get:20 http://downloads-distro.mongodb.org dist/10gen i386 Packages [28.6 kB]
Get:21 http://dl.google.com stable/main amd64 Packages [1,212 B]
Ign http://downloads-distro.mongodb.org dist/10gen TranslationIndex
Get:22 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:23 http://security.ubuntu.com precise-security/restricted i386 Packages [11.6 kB]
Get:24 http://security.ubuntu.com precise-security/universe i386 Packages [133 kB]
Get:25 http://dl.google.com stable/main i386 Packages [1,198 B]
Get:26 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,860 B]
Get:27 http://security.ubuntu.com precise-security/main TranslationIndex [208 B]
Get:28 http://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]
Get:29 http://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]
Get:30 http://security.ubuntu.com precise-security/universe TranslationIndex [205 B]
Get:31 http://security.ubuntu.com precise-security/main Translation-en [240 kB]
Ign http://dl.google.com stable/main TranslationIndex
Get:32 http://security.ubuntu.com precise-security/multiverse Translation-en [1,408 B]
Get:33 http://security.ubuntu.com precise-security/restricted Translation-en [2,979 B]
Hit http://ppa.launchpad.net precise Release
Get:34 http://ppa.launchpad.net precise/main amd64 Packages [5,094 B]
Get:35 http://ppa.launchpad.net precise/main i386 Packages [5,092 B]
Get:36 http://ppa.launchpad.net precise/main TranslationIndex [202 B]
Get:37 http://security.ubuntu.com precise-security/universe Translation-en [79.8 kB]
Get:38 http://ppa.launchpad.net precise Release [12.9 kB]
Get:39 http://ppa.launchpad.net precise/main Translation-en [2,645 B]
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en
Get:40 http://ppa.launchpad.net precise/main amd64 Packages [2,664 B]
Get:41 http://ppa.launchpad.net precise/main i386 Packages [2,721 B]
Get:42 http://ppa.launchpad.net precise/main TranslationIndex [199 B]
Hit http://ppa.launchpad.net precise/main Translation-en
Get:43 http://ppa.launchpad.net precise/main Translation-en [1,335 B]
Get:44 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,723 B]
Get:45 http://us.archive.ubuntu.com precise-updates/universe Sources [122 kB]
Get:46 http://us.archive.ubuntu.com precise-updates/multiverse Sources [9,740 B]
Get:47 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [954 kB]
Get:48 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [16.1 kB]
Get:49 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [270 kB]
Get:50 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [16.5 kB]
Get:51 http://us.archive.ubuntu.com precise-updates/main i386 Packages [1,008 kB]
Get:52 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [16.1 kB]
Get:53 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [279 kB]
Get:54 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [16.7 kB]
Get:55 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [10.6 kB]
Get:56 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [7,613 B]
Get:57 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [7,297 B]
Get:58 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [8,333 B]
Get:59 http://us.archive.ubuntu.com precise-backports/main Sources [5,922 B]
Get:60 http://us.archive.ubuntu.com precise-backports/restricted Sources [28 B]
Get:61 http://us.archive.ubuntu.com precise-backports/universe Sources [42.8 kB]
Get:62 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,750 B]
Get:63 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [6,477 B]
Get:64 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [28 B]
Get:65 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [44.2 kB]
Get:66 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [5,419 B]
Get:67 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,478 B]
Get:68 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [28 B]
Get:69 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [44.0 kB]
Get:70 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,413 B]
Get:71 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [202 B]
Get:72 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [202 B]
Get:73 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [193 B]
Get:74 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [205 B]
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:75 http://us.archive.ubuntu.com precise-updates/main Translation-en [407 kB]
Get:76 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [9,603 B]
Get:77 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [3,857 B]
Get:78 http://us.archive.ubuntu.com precise-updates/universe Translation-en [162 kB]
Ign http://dl.google.com stable/main Translation-en_US
Get:79 http://us.archive.ubuntu.com precise-backports/main Translation-en [5,737 B]
Get:80 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,838 B]
Get:81 http://us.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:82 http://us.archive.ubuntu.com precise-backports/universe Translation-en [35.0 kB]
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Fetched 6,436 kB in 3s (1,787 kB/s)
Reading package lists...
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 204 not upgraded.
Need to get 73.3 kB of archives.
After this operation, 3,072 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.6 [73.3 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 73.3 kB in 0s (1,776 kB/s)
(Reading database ... 103729 files and directories currently installed.)
Preparing to replace dkms 2.2.0.3-1ubuntu3 (using .../dkms_2.2.0.3-1ubuntu3.6_all.deb) ...
Unpacking replacement dkms ...
Processing triggers for man-db ...
Setting up dkms (2.2.0.3-1ubuntu3.6) ...
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 5.0.0 - guest version is 4.3.30
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.0 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.30 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
Installing X.Org Server 1.11 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the the Window System (or just restart the guest system)
to enable the Guest Additions.
Installing graphics libraries and desktop services components ...done.
An error occurred during installation of VirtualBox Guest Additions 5.0.0. 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
Restarting VM to apply changes...
==> default: Attempting graceful shutdown of VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 5.0
==> default: Checking for host entries
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
==> default: Mounting NFS shared folders...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default:
==> default: PLAY [Configure instance(s)] **************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | debug var=user_info] ********************************************
==> default: ok: [localhost] => {
==> default: "var": {
==> default: "user_info": []
==> default: }
==> default: }
==> default:
==> default: TASK: [user | create the edxadmin group] **************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | ensure sudoers.d is read] ***************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | grant full sudo access to the edxadmin group] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | create the users] ***********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create .ssh directory] ******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | assign admin role to admin users] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | get github key[s]] **********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | update the authorized_keys file] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create bashrc file for normal users] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create .profile for all users] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | modify shell for restricted users] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create bashrc file for restricted users] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create sudoers file from template] ******************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | change home directory ownership to root for restricted users] ***
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create ~/bin directory] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create allowed command links] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | install security packages] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | update all system packages] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | configure periodic unattended-upgrades] *********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | disable unattended-upgrades] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | only unattended-upgrade from security repo] *****************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | disable security only updates on unattended-upgrades] *******
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Check if we are vulnerable] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Apply bash security update if we are vulnerable] ************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Check again and fail if we are still vulnerable] ************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | GHOST.c] ****************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | compile GHOST] **********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Check if we are vulnerable] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Apply glibc security update if we are vulnerable] ***********
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | Update CA Certificates] ***************************************
==> default: changed: [localhost]
==> default:
==> default:
==> default: TASK: [common | Add user www-data] ********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Create common directories] ************************************
==> default: changed: [localhost] => (item=/edx/var)
==> default: ok: [localhost] => (item=/edx/app)
==> default: ok: [localhost] => (item=/edx/bin)
==> default: ok: [localhost] => (item=/edx/etc)
==> default:
==> default: TASK: [common | check if instance is vagrant] *********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Add git apt repository] ***************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Install role-independent useful system packages] **************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Create common log directory] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | upload sudo config for key forwarding as root] ****************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | pip install virtualenv] ***************************************
==> default: ok: [localhost] => (item=pip==1.5.6)
==> default: ok: [localhost] => (item=setuptools==3.6)
==> default: ok: [localhost] => (item=virtualenv==1.11.6)
==> default: ok: [localhost] => (item=virtualenvwrapper)
==> default:
==> default: TASK: [common | Install rsyslog configuration for edX] ************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Remove the default rsyslog configuration] *********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Create hourly subdirectory in logrotate.d] ********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Install logrotate configuration for edX] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Install logrotate configuration for tracking file] ************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Add logrotate for tracking.log to cron.hourly] ****************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | update /etc/hosts] ********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | update /etc/hostname] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | run hostname] *************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | update /etc/dhcp/dhclient.conf] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | add ssh-warning banner motd] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | update ssh config] ********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [aws | gather ec2 facts for use in other roles] *************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [aws | shell /sbin/ifconfig eth0 mtu 1500 up
==> default: ] **************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [aws | lineinfile dest=/etc/dhcp/dhclient.conf regexp="^supercede interfact-mtu" line="supercede interface-mtu 1500;" insertbefore="^request"
==> default: ] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [aws | create all service directories] **********************************
==> default: ok: [localhost] => (item={'key': 'home', 'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}})
==> default: ok: [localhost] => (item={'key': 'data', 'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}})
==> default: ok: [localhost] => (item={'key': 'logs', 'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}})
==> default:
==> default: TASK: [aws | install system packages] *****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [aws | install aws python packages] *************************************
==> default: ok: [localhost] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz)
==> default: ok: [localhost] => (item=awscli==1.4.2)
==> default: ok: [localhost] => (item=boto=="2.34.0")
==> default:
==> default: TASK: [aws | get s3cmd] *******************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [aws | untar s3cmd] *****************************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [aws | create symlink for s3cmd] ****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [aws | create s3 log sync script] ***************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [aws | create symlink for s3 log sync script] ***************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [aws | force logrotate on supervisor stop] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [aws | cronjob for s3 log sync] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [aws | update the ssh motd on Ubuntu] ***********************************
==> default: skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
==> default: skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
==> default: skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
==> default: skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
==> default:
==> default: TASK: [edx_ansible | create application user] *********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create edx_ansible app and venv dir] *********************
==> default: ok: [localhost] => (item=/edx/app/edx_ansible)
==> default: ok: [localhost] => (item=/edx/var/edx_ansible)
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
==> default:
==> default: TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] ***
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [edx_ansible | install edx_ansible venv requirements] *******************
==> default: changed: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
==> default:
==> default: TASK: [edx_ansible | create update script] ************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for update.sh] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | install ppa key] ********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | install apt repository] *************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | look for mysql 5.5] *****************************************
==> default: failed: [localhost] => {"changed": true, "cmd": "dpkg -L mysql-server-5.5", "delta": "0:00:00.017397", "end": "2015-11-13 18:22:52.277586", "rc": 1, "start": "2015-11-13 18:22:52.260189", "warnings": []}
==> default: stderr: Package `mysql-server-5.5' is not installed.
==> default: Use dpkg --info (= dpkg-deb --info) to examine archive files,
==> default: and dpkg --contents (= dpkg-deb --contents) to list their contents.
==> default: ...ignoring
==> default:
==> default: TASK: [edxlocal | stop mysql] *************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | remove prior version of mysql] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | install mysql 56 and dependencies] **************************
==> default: ok: [localhost] => (item=software-properties-common,mysql-server)
==> default:
==> default: TASK: [edxlocal | start mysql] ************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | install packages needed for single server] ******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the edxapp db user] ***********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | create a database for edxapp] *******************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the xqueue db user] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create a database for xqueue] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the ora db user] **************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | create a database for ora] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | create databases for analytics api] *************************
==> default: ok: [localhost] => (item=analytics-api)
==> default: ok: [localhost] => (item=reports)
==> default:
==> default: TASK: [edxlocal | create database for insights] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create database for ecommerce] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | setup users for ecommerce] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create api user for the analytics api] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | create read-only reports user for the analytics-api] ********
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the edx-notes-api db user] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create a database for edx-notes-api] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the migration db user] ********************************
==> default: ok: [localhost] => (item=edxapp)
==> default: skipping: [localhost] => (item=None)
==> default: ok: [localhost] => (item=ora)
==> default: skipping: [localhost] => (item=None)
==> default: ok: [localhost] => (item=analytics-api)
==> default: ok: [localhost] => (item=reports)
==> default: skipping: [localhost] => (item=None)
==> default: skipping: [localhost] => (item=None)
==> default:
==> default: TASK: [edxlocal | setup the read-only db user] ********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the admin db user] ************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | install memcached] ******************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | check to see that MongoDB 2.4 is not installed] ****************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | verify 2.4 not installed] **************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | remove mongo 2.4 if present] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | install python pymongo for mongo_user ansible module] **********
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | add the mongodb signing key] ***********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | add the mongodb repo to the sources list] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | install mongo server and recommends] ***************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | create mongo dirs] *********************************************
==> default: ok: [localhost] => (item=/edx/var/mongo)
==> default: ok: [localhost] => (item=/edx/var/mongo/mongodb)
==> default: ok: [localhost] => (item=/edx/var/log/mongo)
==> default:
==> default: TASK: [mongo | stop mongod service] *******************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [mongo | move mongodb to {{ mongo_data_dir }}] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | copy mongodb key file] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | copy configuration template] ***********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | start mongo service] *******************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [mongo | wait for mongo server to start] ********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | drop super user script] ****************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [mongo | create super user with js] *************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [mongo | delete super user script] **************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [mongo | Create the file to initialize the mongod replica set] **********
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | Initialize the replication set] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | create a mongodb user] *****************************************
==> default: ok: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'})
==> default: ok: [localhost] => (item={'password': 'password', 'user': 'edxapp', 'roles': 'readWrite', 'database': 'edxapp'})
==> default:
==> default: TASK: [mongo | create a mongodb user] *****************************************
==> default: skipping: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'})
==> default: skipping: [localhost] => (item={'password': 'password', 'user': 'edxapp', 'roles': 'readWrite', 'database': 'edxapp'})
==> default:
==> default: TASK: [mongo | install s3cmd] *************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | configure s3cmd] ***********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | install backup-mongo-to-s3 script] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | schedule backup-mongo-to-3s crontab] ***************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp_common | Install system packages] *******************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create application user] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create supervisor service user] ***************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create supervisor directories] ****************************
==> default: ok: [localhost] => (item=/edx/app/supervisor)
==> default: ok: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
==> default:
==> default: TASK: [supervisor | create service user accessible dirs] **********************
==> default: ok: [localhost] => (item=/edx/app/supervisor/conf.d)
==> default: ok: [localhost] => (item=/edx/app/supervisor/conf.available.d)
==> default:
==> default: TASK: [supervisor | create supervisor directories] ****************************
==> default: ok: [localhost] => (item=/edx/var/supervisor)
==> default: ok: [localhost] => (item=/edx/var/log/supervisor)
==> default:
==> default: TASK: [supervisor | install supervisor in its venv] ***************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | install supervisor in its venv] ***************************
==> default: ok: [localhost] => (item=boto=="2.34.0")
==> default: ok: [localhost] => (item=python-simple-hipchat)
==> default:
==> default: TASK: [supervisor | create supervisor upstart job] ****************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create pre_supervisor upstart job] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [supervisor | write the pre_suprevisor python script] *******************
==> default: changed: [localhost]
==> default:
==> default: TASK: [supervisor | create supervisor master config] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create a symlink for supervisortctl] **********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [supervisor | create a symlink for supervisor cfg] **********************
==> default: ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
==> default: ok: [localhost] => (item=/edx/app/supervisor/conf.d)
==> default:
==> default: TASK: [supervisor | create helper script for running supervisor] **************
==> default: changed: [localhost]
==> default:
==> default: TASK: [supervisor | start supervisor] *****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | wait for web port to be available] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [supervisor | update supervisor configuration] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [rbenv | fail rbenv_user required for role] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [rbenv | fail rbenv_dir required for role] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [rbenv | fail rbenv_ruby_version required for role] *********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [rbenv | create rbenv user {{ edxapp_user }}] ***************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | create rbenv dir if it does not exist] *************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [rbenv | install build depends] *****************************************
==> default: ok: [localhost] => (item=curl,build-essential,libcurl4-openssl-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev)
==> default:
==> default: TASK: [rbenv | update rbenv repo] *********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [rbenv | ensure ruby_env exists] ****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [rbenv | check ruby-build installed] ************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | if ruby-build exists, which versions we can install] ***********
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | create temporary directory] ************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | clone ruby-build repo] *****************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | install ruby-build] ********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | remove temporary directory] ************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | check ruby {{ edxapp_ruby_version }} installed] ****************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | install ruby {{ edxapp_ruby_version }}] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [rbenv | set global ruby {{ edxapp_ruby_version }}] *********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | install bundler] ***********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | remove rbenv version of rake] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [rbenv | install rake gem] **********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [rbenv | rehash] ********************************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [supervisor | create application user] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create supervisor service user] ***************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create supervisor directories] ****************************
==> default: ok: [localhost] => (item=/edx/app/devpi/supervisor)
==> default: ok: [localhost] => (item=/edx/app/devpi/venvs/supervisor)
==> default:
==> default: TASK: [supervisor | create service user accessible dirs] **********************
==> default: ok: [localhost] => (item=/edx/app/devpi/supervisor/conf.d)
==> default: ok: [localhost] => (item=/edx/app/devpi/supervisor/conf.available.d)
==> default:
==> default: TASK: [supervisor | create supervisor directories] ****************************
==> default: ok: [localhost] => (item=/edx/var/devpi/supervisor)
==> default: ok: [localhost] => (item=/edx/var/log/devpi/supervisor)
==> default:
==> default: TASK: [supervisor | install supervisor in its venv] ***************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | install supervisor in its venv] ***************************
==> default: ok: [localhost] => (item=boto=="2.34.0")
==> default: ok: [localhost] => (item=python-simple-hipchat)
==> default:
==> default: TASK: [supervisor | create supervisor upstart job] ****************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create pre_supervisor upstart job] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [supervisor | write the pre_suprevisor python script] *******************
==> default: changed: [localhost]
==> default:
==> default: TASK: [supervisor | create supervisor master config] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | create a symlink for supervisortctl] **********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [supervisor | create a symlink for supervisor cfg] **********************
==> default: skipping: [localhost] => (item=/edx/app/devpi/supervisor/supervisord.conf)
==> default: skipping: [localhost] => (item=/edx/app/devpi/supervisor/conf.d)
==> default:
==> default: TASK: [supervisor | create helper script for running supervisor] **************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [supervisor | start supervisor] *****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [supervisor | wait for web port to be available] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [supervisor | update supervisor configuration] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [devpi | create devpi user] *********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [devpi | create devpi application directories] **************************
==> default: ok: [localhost] => (item=/edx/app/devpi)
==> default: ok: [localhost] => (item=/edx/app/devpi/venvs/devpi)
==> default:
==> default: TASK: [devpi | create the devpi data directory, needs write access by the service user] ***
==> default: ok: [localhost] => (item=/edx/var/devpi)
==> default: ok: [localhost] => (item=/edx/var/devpi/data)
==> default:
==> default: TASK: [devpi | install devpi pip pkgs] ****************************************
==> default: ok: [localhost] => (item=devpi-server)
==> default: ok: [localhost] => (item=eventlet)
==> default:
==> default: TASK: [devpi | writing supervisor script] *************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [devpi | create a symlink for venv python, pip] *************************
==> default: ok: [localhost] => (item=python)
==> default: ok: [localhost] => (item=pip)
==> default:
==> default: TASK: [devpi | create a symlink for venv supervisor] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [devpi | create a symlink for supervisor config] ************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [devpi | update devpi supervisor configuration] *************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [devpi | ensure devpi is started] ***************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [nltk | Install unzip] **************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [nltk | create the nltk data directory and subdirectories] **************
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [nltk | download nltk data] *********************************************
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [nltk | unarchive nltk data] ********************************************
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [user | debug var=user_info] ********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create the edxadmin group] **************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | ensure sudoers.d is read] ***************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | grant full sudo access to the edxadmin group] *******************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create the users] ***********************************************
==> default: 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': []})
==> default:
==> default: TASK: [user | create .ssh directory] ******************************************
==> default: 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': []})
==> default:
==> default: TASK: [user | assign admin role to admin users] *******************************
==> default: 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': []})
==> default:
==> default: TASK: [user | get github key[s]] **********************************************
==> default: 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': []})
==> default:
==> default: TASK: [user | update the authorized_keys file] ********************************
==> default: 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': []})
==> default:
==> default: TASK: [user | create bashrc file for normal users] ****************************
==> default: 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': []})
==> default:
==> default: TASK: [user | create .profile for all users] **********************************
==> default: 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': []})
==> default:
==> default: TASK: [user | modify shell for restricted users] ******************************
==> default: 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': []})
==> default:
==> default: TASK: [user | create bashrc file for restricted users] ************************
==> default: 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': []})
==> default:
==> default: TASK: [user | create sudoers file from template] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | change home directory ownership to root for restricted users] ***
==> default: 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': []})
==> default:
==> default: TASK: [user | create ~/bin directory] *****************************************
==> default: 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': []})
==> default:
==> default: TASK: [user | create allowed command links] ***********************************
==> default: 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'])
==> default:
==> default: TASK: [edxapp | create application user] **************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | create edxapp user dirs] **************************************
==> default: ok: [localhost] => (item=/edx/app/edxapp)
==> default: ok: [localhost] => (item=/edx/app/edxapp/.ssh)
==> default: ok: [localhost] => (item=/edx/app/edxapp/venvs)
==> default: ok: [localhost] => (item=/edx/var/edxapp/themes)
==> default: ok: [localhost] => (item=/edx/var/edxapp/staticfiles)
==> default: ok: [localhost] => (item=/edx/var/edxapp/course_static)
==> default: changed: [localhost] => (item=/edx/var/edxapp/data)
==> default:
==> default: TASK: [edxapp | create edxapp var dir] ****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | make the course data dir] *************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | create edxapp log dir] ****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | create web-writable edxapp data dirs] *************************
==> default: changed: [localhost] => (item=/edx/var/edxapp/data)
==> default: ok: [localhost] => (item=/edx/var/edxapp/uploads)
==> default: ok: [localhost] => (item=/edx/var/edxapp/media)
==> default:
==> default: TASK: [edxapp | add ppas for current versions of nodejs] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | install system packages on which LMS and CMS rely] ************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | set up edxapp .npmrc] *****************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | create log directories for service variants] ******************
==> default: ok: [localhost] => (item=lms)
==> default: ok: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | code sandbox | Use libblas for 3gf] ***************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | Use liblapac for 3gf] **************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | Create edxapp sandbox user] ********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | Install apparmor utils system pkg] *************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | write out apparmor code sandbox config] ********
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | write out sandbox user sudoers config] *********
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | start apparmor service] ************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | (bootstrap) load code sandbox profile] *********
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | setup the edxapp env] *****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | create edxapp configuration dir] ******************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | create ssh script for git (not authenticated)] ****************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | create ssh script for git (authenticated)] ********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | install read-only ssh key] ************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | set git fetch.prune to ignore deleted remote refs] ************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | checkout edx-platform repo into {{ edxapp_code_dir }}] ********
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | git clean after checking out edx-platform] ********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | checkout theme] ***********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | Updating requirement files for git mirror] ********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | gem install bundler] ******************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | bundle install] ***********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | Set the npm registry] *****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | Set the npm registry permissions] *****************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | Install edx-platform npm dependencies] ************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | install python pre-requirements] ******************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | install python base-requirements] *****************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | stat path="{{ post_requirements_file }}"] *********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | install python post-requirements] *****************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | install python paver-requirements] ****************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | stat path="{{ custom_requirements_file }}"] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | install python custom-requirements] ***************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | install python post-post requirements] ************************
==> default: changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt)
==> default: changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local.txt)
==> default:
==> default: TASK: [edxapp | install python private requirements] **************************
==> default: skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
==> default:
==> default: TASK: [edxapp | install python extra requirements] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | install CAS attribute module] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | install sandbox requirements into regular venv] ***************
==> default: skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
==> default: skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
==> default: skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
==> default:
==> default: TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] ***
==> default: changed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
==> default: ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
==> default:
==> default: TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | compiling all py files in the edx-platform repo] **************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | give other read permissions to the virtualenv] ****************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | openid workaround] ********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | get s3 one time url] ******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | download from one time url] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | unzip the data to the data dir] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | make the course data web user writable] ***********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | create {{ item }} application config] *************************
==> default: ok: [localhost] => (item=lms)
==> default: ok: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | create {{ item }} auth file] **********************************
==> default: ok: [localhost] => (item=lms)
==> default: ok: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | create {{ item }} yaml application config] ********************
==> default: ok: [localhost] => (item=lms)
==> default: ok: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | create {{ item }} yaml auth file] *****************************
==> default: ok: [localhost] => (item=lms)
==> default: ok: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | writing {{ item }} supervisor script] *************************
==> default: ok: [localhost] => (item=lms)
==> default: ok: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | writing edxapp supervisor script] *****************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | add gunicorn configuration files] *****************************
==> default: changed: [localhost] => (item=lms)
==> default: changed: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | writing celery worker supervisor script] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | enable {{ item }} supervisor script] **************************
==> default: skipping: [localhost] => (item=lms)
==> default: skipping: [localhost] => (item=cms)
==> default:
==> default: TASK: [edxapp | enable edxapp supervisor script] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | enable celery worker supervisor script] ***********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | create helper scripts for managing edxapp] ********************
==> default: ok: [localhost] => (item=['edxapp-migrate', 'lms'])
==> default: ok: [localhost] => (item=['edxapp-migrate', 'cms'])
==> default: ok: [localhost] => (item=['edxapp-runserver', 'lms'])
==> default: ok: [localhost] => (item=['edxapp-runserver', 'cms'])
==> default: ok: [localhost] => (item=['edxapp-syncdb', 'lms'])
==> default: ok: [localhost] => (item=['edxapp-syncdb', 'cms'])
==> default: ok: [localhost] => (item=['edxapp-update-assets', 'lms'])
==> default: ok: [localhost] => (item=['edxapp-update-assets', 'cms'])
==> default: ok: [localhost] => (item=['edxapp-shell', 'lms'])
==> default: ok: [localhost] => (item=['edxapp-shell', 'cms'])
==> default:
==> default: TASK: [edxapp | syncdb and migrate] *******************************************
==> default: failed: [localhost] => (item=lms) => {"changed": true, "cmd": ["/edx/bin/edxapp-syncdb-lms"], "delta": "0:00:02.188607", "end": "2015-11-13 18:36:07.000935", "item": "lms", "rc": 1, "start": "2015-11-13 18:36:04.812328", "warnings": []}
==> default: stderr: warning: unable to access '/root/.config/git/attributes': Permission denied
==> default: Traceback (most recent call last):
==> default: File "manage.py", line 111, in <module>
==> default: startup = importlib.import_module(edx_args.startup)
==> default: File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
==> default: __import__(name)
==> default: File "/edx/app/edxapp/edx-platform/lms/startup.py", line 11, in <module>
==> default: settings.INSTALLED_APPS # pylint: disable=pointless-statement
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__
==> default: self._setup(name)
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup
==> default: self._wrapped = Settings(settings_module)
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/__init__.py", line 113, in __init__
==> default: raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
==> default: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
==> default: failed: [localhost] => (item=cms) => {"changed": true, "cmd": ["/edx/bin/edxapp-syncdb-cms"], "delta": "0:00:01.416550", "end": "2015-11-13 18:36:08.534236", "item": "cms", "rc": 1, "start": "2015-11-13 18:36:07.117686", "warnings": []}
==> default: stderr: Traceback (most recent call last):
==> default: File "manage.py", line 111, in <module>
==> default: startup = importlib.import_module(edx_args.startup)
==> default: File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
==> default: __import__(name)
==> default: File "/edx/app/edxapp/edx-platform/cms/startup.py", line 8, in <module>
==> default: settings.INSTALLED_APPS # pylint: disable=pointless-statement
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__
==> default: self._setup(name)
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup
==> default: self._wrapped = Settings(settings_module)
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/__init__.py", line 113, in __init__
==> default: raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
==> default: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: to retry, use: --limit @/root/vagrant-devstack.retry
==> default: localhost : ok=205 changed=58 unreachable=0 failed=1
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
% vagrant ssh 1 ↵
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*******************************************************************
* ___ _ __ __ *
* / _ \ _ __ ___ _ _ ___ __| |\ \/ / *
* | |_| | '_ \ -_) ' \ / -_) _` | > < *
* \___/| .__/___|_|_| \___\__,_|/_/\_\ *
* |_| *
* *
* Instructions and troubleshooting: *
* https://github.com/edx/configuration/wiki/edX-Developer-Stack *
*******************************************************************
Last login: Thu Aug 6 22:43:01 2015 from 10.0.2.2
/usr/bin/xauth: file /home/vagrant/.Xauthority does not exist
vagrant@precise64:~$ sudo vim /etc/passwd # change edxapp shell from /bin/false to /bin/bash
vagrant@precise64:~$ sudo su edxapp
edxapp@precise64:~/edx-platform$ git branch
* comp-theme-django-18
edxapp@precise64:~/edx-platform$ exit
exit
vagrant@precise64:~$ cd /edx/app/edx_ansible/edx_ansible
vagrant@precise64:/edx/app/edx_ansible/edx_ansible$ git branch
* django18-support
vagrant@precise64:/edx/app/edx_ansible/edx_ansible$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment