Created
October 7, 2014 15:05
-
-
Save singingwolfboy/a3006e6954d0c33dde8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:54:50 Started by user David Baumgold | |
14:54:50 Building in workspace /var/lib/jenkins/jobs/ansible-provision/workspace | |
14:54:50 [ssh-agent] Using credentials continuous-integration | |
14:54:50 [ssh-agent] Looking for ssh-agent implementation... | |
14:54:50 [ssh-agent] Java/JNR ssh-agent | |
14:54:50 [ssh-agent] Started. | |
14:54:50 Checkout:workspace / /var/lib/jenkins/jobs/ansible-provision/workspace - hudson.remoting.LocalChannel@67771b9b | |
14:54:50 Using strategy: Default | |
14:54:50 Last Built Revision: Revision 2190b81c75c4d96bdbbac556fe9aec9a2dc2a3f0 (origin/release) | |
14:54:50 Fetching changes from 1 remote Git repository | |
14:54:51 Fetching upstream changes from origin | |
14:54:52 Commencing build of Revision 7d97dda7821230912498b68ab3a451968f6c089c (origin/master) | |
14:54:52 Checking out Revision 7d97dda7821230912498b68ab3a451968f6c089c (origin/master) | |
14:54:54 Checkout:workspace / /var/lib/jenkins/jobs/ansible-provision/workspace - hudson.remoting.LocalChannel@67771b9b | |
14:54:54 Using strategy: Default | |
14:54:54 Last Built Revision: Revision a605f0802c90ff6ab91419ccfe4daa7389348516 (origin/master) | |
14:54:55 Fetching changes from 1 remote Git repository | |
14:54:55 Fetching upstream changes from origin | |
14:54:57 Commencing build of Revision a605f0802c90ff6ab91419ccfe4daa7389348516 (origin/master) | |
14:54:57 Checking out Revision a605f0802c90ff6ab91419ccfe4daa7389348516 (origin/master) | |
14:54:59 [workspace] $ /bin/bash -xe /tmp/shiningpanda3364581903369846754.sh | |
14:54:59 + cd configuration | |
14:54:59 + pip install -r requirements.txt | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): ansible==1.5.5 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 1)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.11 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 2)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.7.2 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 3)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): MarkupSafe==0.23 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 4)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): argparse==1.2.1 in /usr/lib/python2.7 (from -r requirements.txt (line 5)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): boto==2.29.1 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 6)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): ecdsa==0.11 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 7)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): paramiko==1.14.0 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 8)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.6.1 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 9)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 10)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): docopt==0.6.1 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 11)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): python-simple-hipchat==0.2 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 12)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): prettytable==0.7.2 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 13)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): awscli==1.4.2 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from -r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): botocore>=0.62.0,<0.63.0 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): bcdoc>=0.12.0,<0.13.0 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): six>=1.1.0 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): colorama==0.2.5 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): docutils>=0.10 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): rsa==3.1.2 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): jmespath==0.4.1 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from botocore>=0.62.0,<0.63.0->awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2.1 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from botocore>=0.62.0,<0.63.0->awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.3 in /vol/ebs-01/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib/python2.7/site-packages (from rsa==3.1.2->awscli==1.4.2->-r requirements.txt (line 14)) | |
14:54:59 Cleaning up... | |
14:54:59 + bash util/jenkins/ansible-provision.sh | |
14:54:59 + env | |
14:54:59 certs=false | |
14:54:59 auth_pass=vanrossum | |
14:54:59 BUILD_URL=http://jenkins.edx.org:8080/job/ansible-provision/787/ | |
14:54:59 recreate=true | |
14:54:59 configuration_version=origin/master | |
14:54:59 forum=true | |
14:54:59 TERM=xterm-256color | |
14:54:59 SHELL=/bin/bash | |
14:54:59 HUDSON_SERVER_COOKIE=b39c618de3de36da | |
14:54:59 XDG_SESSION_COOKIE=72e37b21672796c2f6bb9c6c000000b9-1405428287.39383-1810661152 | |
14:54:59 PYTHON_EXE=/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/bin/python | |
14:54:59 certs_version=master | |
14:54:59 BUILD_TAG=jenkins-ansible-provision-787 | |
14:54:59 edxapp=true | |
14:54:59 environment=sandbox | |
14:54:59 GIT_PREVIOUS_COMMIT=a605f0802c90ff6ab91419ccfe4daa7389348516 | |
14:54:59 JOB_URL=http://jenkins.edx.org:8080/job/ansible-provision/ | |
14:54:59 WORKSPACE=/var/lib/jenkins/jobs/ansible-provision/workspace | |
14:54:59 USER=jenkins | |
14:54:59 testcourses=true | |
14:54:59 LD_LIBRARY_PATH=/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64 | |
14:54:59 SSH_AUTH_SOCK=/tmp/jenkins549483131367670120.jnr | |
14:54:59 edx_internal=true | |
14:54:59 discern=false | |
14:54:59 LIBPATH=/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib | |
14:54:59 ora_version=master | |
14:54:59 VIRTUAL_ENV=/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9 | |
14:54:59 start_services=true | |
14:54:59 JENKINS_HOME=/var/lib/jenkins | |
14:54:59 GIT_COMMIT=a605f0802c90ff6ab91419ccfe4daa7389348516 | |
14:54:59 xqueue_version=master | |
14:54:59 demo_version=origin/master | |
14:54:59 demo=false | |
14:54:59 xqueue=false | |
14:54:59 MAIL=/var/mail/jenkins | |
14:54:59 PATH=/var/lib/jenkins/tools/hudson.model.JDK/Oracle_Java_7/bin:/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/bin:/var/lib/jenkins/tools/hudson.model.JDK/Oracle_Java_7/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games | |
14:54:59 enable_monitoring=false | |
14:54:59 edxapp_version=master | |
14:54:59 auth_user=guido | |
14:54:59 PWD=/vol/ebs-01/jenkins/jobs/ansible-provision/workspace/configuration | |
14:54:59 xserver=false | |
14:54:59 JAVA_HOME=/var/lib/jenkins/tools/hudson.model.JDK/Oracle_Java_7 | |
14:54:59 HUDSON_URL=http://jenkins.edx.org:8080/ | |
14:54:59 LANG=en_US.UTF-8 | |
14:54:59 JOB_NAME=ansible-provision | |
14:54:59 BUILD_USER_ID=singingwolfboy | |
14:54:59 BUILD_DISPLAY_NAME=#787 | |
14:54:59 JENKINS_URL=http://jenkins.edx.org:8080/ | |
14:54:59 xserver_version=master | |
14:54:59 BUILD_ID=2014-10-07_14-54-50 | |
14:54:59 forum_version=master | |
14:54:59 region=us-east-1 | |
14:54:59 reconfigure=false | |
14:54:59 SHLVL=3 | |
14:54:59 HOME=/var/lib/jenkins | |
14:54:59 GIT_BRANCH=origin/master | |
14:54:59 BUILD_USER_LAST_NAME=Baumgold | |
14:54:59 DYLD_LIBRARY_PATH=/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib | |
14:54:59 EXECUTOR_NUMBER=4 | |
14:54:59 JENKINS_SERVER_COOKIE=b39c618de3de36da | |
14:54:59 dns_zone=m.sandbox.edx.org | |
14:54:59 NODE_LABELS=master | |
14:54:59 [email protected]:edx-ops/sandbox-secure | |
14:54:59 LOGNAME=jenkins | |
14:54:59 aws_account=sandbox | |
14:54:59 HUDSON_HOME=/var/lib/jenkins | |
14:54:59 keypair=continuous-integration | |
14:54:59 NODE_NAME=master | |
14:54:59 security_group=sandbox-vpc | |
14:54:59 basic_auth=true | |
14:54:59 BUILD_NUMBER=787 | |
14:54:59 SHLIB_PATH=/var/lib/jenkins/shiningpanda/jobs/be565cb2/virtualenvs/d41d8cd9/lib | |
14:54:59 HUDSON_COOKIE=25b9c11b-193e-4939-8304-f26257997521 | |
14:54:59 root_ebs_size=50 | |
14:54:59 server_type=full_edx_installation | |
14:54:59 ora=false | |
14:54:59 BUILD_USER_FIRST_NAME=David | |
14:54:59 discern_version=master | |
14:54:59 BUILD_USER=David Baumgold | |
14:54:59 _=/usr/bin/env | |
14:54:59 + export PYTHONUNBUFFERED=1 | |
14:54:59 + PYTHONUNBUFFERED=1 | |
14:54:59 + export BOTO_CONFIG=/var/lib/jenkins/sandbox.boto | |
14:54:59 + BOTO_CONFIG=/var/lib/jenkins/sandbox.boto | |
14:54:59 + [[ -z David Baumgold ]] | |
14:54:59 + [[ -z singingwolfboy ]] | |
14:54:59 + [[ -z /var/lib/jenkins/jobs/ansible-provision/workspace ]] | |
14:54:59 + source /var/lib/jenkins/jobs/ansible-provision/workspace/configuration/util/jenkins/ascii-convert.sh | |
14:54:59 +++ ascii_convert Baumgold | |
14:54:59 +++ echo Baumgold | |
14:54:59 +++ iconv -f utf8 -t ascii//TRANSLIT//IGNORE | |
14:54:59 ++ BUILD_USER_LAST_NAME=Baumgold | |
14:54:59 +++ ascii_convert David | |
14:54:59 +++ echo David | |
14:54:59 +++ iconv -f utf8 -t ascii//TRANSLIT//IGNORE | |
14:54:59 ++ BUILD_USER_FIRST_NAME=David | |
14:54:59 +++ ascii_convert singingwolfboy | |
14:54:59 +++ echo singingwolfboy | |
14:54:59 +++ iconv -f utf8 -t ascii//TRANSLIT//IGNORE | |
14:54:59 ++ BUILD_USER_ID=singingwolfboy | |
14:54:59 +++ ascii_convert David Baumgold | |
14:54:59 +++ echo David | |
14:54:59 +++ iconv -f utf8 -t ascii//TRANSLIT//IGNORE | |
14:54:59 ++ BUILD_USER=David | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + static_url_base=/static | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + github_username=singingwolfboy | |
14:54:59 + [[ ! -f /var/lib/jenkins/sandbox.boto ]] | |
14:54:59 + extra_vars_file=/var/tmp/extra-vars-23593.yml | |
14:54:59 + extra_var_arg=-e@/var/tmp/extra-vars-23593.yml | |
14:54:59 + [[ true == \t\r\u\e ]] | |
14:54:59 + extra_var_arg='-e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml' | |
14:54:59 + [[ -z us-east-1 ]] | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + zone=us-east-1c | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + vpc_subnet_id=subnet-cd867aba | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + elb=false | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + dns_name=singingwolfboy | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + name_tag=singingwolfboy-sandbox | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + [[ full_edx_installation == \f\u\l\l\_\e\d\x\_\i\n\s\t\a\l\l\a\t\i\o\n ]] | |
14:54:59 + ami=ami-f213ba9a | |
14:54:59 + [[ -z '' ]] | |
14:54:59 + instance_type=t2.medium | |
14:54:59 + [[ -z false ]] | |
14:54:59 + deploy_host=singingwolfboy.m.sandbox.edx.org | |
14:54:59 + ssh-keygen -f /var/lib/jenkins/.ssh/known_hosts -R singingwolfboy.m.sandbox.edx.org | |
14:55:02 /var/lib/jenkins/.ssh/known_hosts updated. | |
14:55:02 Original contents retained as /var/lib/jenkins/.ssh/known_hosts.old | |
14:55:02 + cd playbooks/edx-east | |
14:55:02 + cat | |
14:55:02 + [[ true == \t\r\u\e ]] | |
14:55:02 + cat | |
14:55:02 + [[ true == \t\r\u\e ]] | |
14:55:02 + cat | |
14:55:02 + [[ true == \t\r\u\e ]] | |
14:55:02 + cat | |
14:55:02 + cat /var/tmp/extra-vars-23593.yml | |
14:55:02 --- | |
14:55:02 ansible_ssh_private_key_file: /var/lib/jenkins/continuous-integration.pem | |
14:55:02 edx_platform_version: master | |
14:55:02 forum_version: master | |
14:55:02 xqueue_version: master | |
14:55:02 xserver_version: master | |
14:55:02 ora_version: master | |
14:55:02 ease_version: | |
14:55:02 certs_version: master | |
14:55:02 discern_version: master | |
14:55:02 EDXAPP_STATIC_URL_BASE: /static | |
14:55:02 EDXAPP_LMS_NGINX_PORT: 80 | |
14:55:02 EDXAPP_LMS_PREVIEW_NGINX_PORT: 80 | |
14:55:02 EDX_ANSIBLE_DUMP_VARS: true | |
14:55:02 migrate_db: "yes" | |
14:55:02 openid_workaround: True | |
14:55:02 rabbitmq_ip: "127.0.0.1" | |
14:55:02 rabbitmq_refresh: True | |
14:55:02 COMMON_HOSTNAME: singingwolfboy | |
14:55:02 COMMON_DEPLOYMENT: edx | |
14:55:02 COMMON_ENVIRONMENT: sandbox | |
14:55:02 # User provided extra vars | |
14:55:02 | |
14:55:02 COMMON_ENABLE_BASIC_AUTH: True | |
14:55:02 COMMON_HTPASSWD_USER: guido | |
14:55:02 COMMON_HTPASSWD_PASS: vanrossum | |
14:55:02 XQUEUE_BASIC_AUTH_USER: guido | |
14:55:02 XQUEUE_BASIC_AUTH_PASSWORD: vanrossum | |
14:55:02 EDXAPP_PREVIEW_LMS_BASE: preview.singingwolfboy.m.sandbox.edx.org | |
14:55:02 EDXAPP_LMS_BASE: singingwolfboy.m.sandbox.edx.org | |
14:55:02 EDXAPP_CMS_BASE: studio.singingwolfboy.m.sandbox.edx.org | |
14:55:02 EDXAPP_SITE_NAME: singingwolfboy.m.sandbox.edx.org | |
14:55:02 CERTS_DOWNLOAD_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
14:55:02 CERTS_VERIFY_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
14:55:02 edx_internal: True | |
14:55:02 COMMON_USER_INFO: | |
14:55:02 - name: singingwolfboy | |
14:55:02 github: true | |
14:55:02 type: admin | |
14:55:02 USER_CMD_PROMPT: '[singingwolfboy-sandbox] ' | |
14:55:02 COMMON_ENABLE_NEWRELIC_APP: false | |
14:55:02 COMMON_ENABLE_DATADOG: false | |
14:55:02 FORUM_NEW_RELIC_ENABLE: false | |
14:55:02 EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-singingwolfboy-edxapp-lms | |
14:55:02 EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-singingwolfboy-edxapp-cms | |
14:55:02 XQUEUE_NEWRELIC_APPNAME: sandbox-singingwolfboy-xqueue | |
14:55:02 FORUM_NEW_RELIC_APP_NAME: sandbox-singingwolfboy-forums | |
14:55:02 SANDBOX_USERNAME: singingwolfboy | |
14:55:02 dns_name: singingwolfboy | |
14:55:02 keypair: continuous-integration | |
14:55:02 instance_type: t2.medium | |
14:55:02 security_group: sandbox-vpc | |
14:55:02 ami: ami-f213ba9a | |
14:55:02 region: us-east-1 | |
14:55:02 zone: us-east-1c | |
14:55:02 instance_tags: | |
14:55:02 environment: sandbox | |
14:55:02 github_username: singingwolfboy | |
14:55:02 Name: singingwolfboy-sandbox | |
14:55:02 source: jenkins | |
14:55:02 owner: David | |
14:55:02 datadog: monitored | |
14:55:02 root_ebs_size: 50 | |
14:55:02 name_tag: singingwolfboy-sandbox | |
14:55:02 dns_zone: m.sandbox.edx.org | |
14:55:02 rabbitmq_refresh: True | |
14:55:02 elb: false | |
14:55:02 + ansible-playbook edx_provision.yml -i inventory.ini -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu | |
14:55:04 | |
14:55:04 PLAY [Create ec2 instance] **************************************************** | |
14:55:04 | |
14:55:04 TASK: [launch_ec2 | lookup tags for terminating existing instance] ************ | |
14:55:04 ok: [127.0.0.1] | |
14:55:04 | |
14:55:04 TASK: [launch_ec2 | checking for other instances] ***************************** | |
14:55:04 skipping: [127.0.0.1] | |
14:55:04 | |
14:55:04 TASK: [launch_ec2 | terminating single instance] ****************************** | |
14:55:05 changed: [127.0.0.1] | |
14:55:05 | |
14:55:05 TASK: [launch_ec2 | deregister instance from an an elb if it was in one] ****** | |
14:55:05 skipping: [127.0.0.1] | |
14:55:05 | |
14:55:05 TASK: [launch_ec2 | Launch ec2 instance] ************************************** | |
14:55:38 changed: [127.0.0.1] | |
14:55:38 | |
14:55:38 TASK: [launch_ec2 | Add DNS name] ********************************************* | |
14:55:39 changed: [127.0.0.1] => (item={u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-192-168-0-221.ec2.internal', u'public_ip': u'54.172.115.0', u'private_ip': u'192.168.0.221', u'id': u'i-2497cecf', u'state': u'running', u'virtualization_type': u'hvm', u'architecture': u'x86_64', u'ramdisk': None, u'key_name': u'continuous-integration', u'image_id': u'ami-f213ba9a', u'public_dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'state_code': 16, u'placement': u'us-east-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'region': u'us-east-1', u'launch_time': u'2014-10-07T14:55:06.000Z', u'instance_type': u't2.medium', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen'}) | |
14:55:39 | |
14:55:39 TASK: [launch_ec2 | Add DNS name studio] ************************************** | |
14:55:40 changed: [127.0.0.1] => (item={u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-192-168-0-221.ec2.internal', u'public_ip': u'54.172.115.0', u'private_ip': u'192.168.0.221', u'id': u'i-2497cecf', u'state': u'running', u'virtualization_type': u'hvm', u'architecture': u'x86_64', u'ramdisk': None, u'key_name': u'continuous-integration', u'image_id': u'ami-f213ba9a', u'public_dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'state_code': 16, u'placement': u'us-east-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'region': u'us-east-1', u'launch_time': u'2014-10-07T14:55:06.000Z', u'instance_type': u't2.medium', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen'}) | |
14:55:40 | |
14:55:40 TASK: [launch_ec2 | Add DNS name preview] ************************************* | |
14:55:40 changed: [127.0.0.1] => (item={u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-192-168-0-221.ec2.internal', u'public_ip': u'54.172.115.0', u'private_ip': u'192.168.0.221', u'id': u'i-2497cecf', u'state': u'running', u'virtualization_type': u'hvm', u'architecture': u'x86_64', u'ramdisk': None, u'key_name': u'continuous-integration', u'image_id': u'ami-f213ba9a', u'public_dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'state_code': 16, u'placement': u'us-east-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'region': u'us-east-1', u'launch_time': u'2014-10-07T14:55:06.000Z', u'instance_type': u't2.medium', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen'}) | |
14:55:40 | |
14:55:40 TASK: [launch_ec2 | Add new instance to host group] *************************** | |
14:55:41 ok: [127.0.0.1] => (item={u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-192-168-0-221.ec2.internal', u'public_ip': u'54.172.115.0', u'private_ip': u'192.168.0.221', u'id': u'i-2497cecf', u'state': u'running', u'virtualization_type': u'hvm', u'architecture': u'x86_64', u'ramdisk': None, u'key_name': u'continuous-integration', u'image_id': u'ami-f213ba9a', u'public_dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'state_code': 16, u'placement': u'us-east-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'region': u'us-east-1', u'launch_time': u'2014-10-07T14:55:06.000Z', u'instance_type': u't2.medium', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen'}) | |
14:55:41 | |
14:55:41 TASK: [launch_ec2 | Wait for SSH to come up] ********************************** | |
14:56:41 ok: [127.0.0.1] => (item={u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-192-168-0-221.ec2.internal', u'public_ip': u'54.172.115.0', u'private_ip': u'192.168.0.221', u'id': u'i-2497cecf', u'state': u'running', u'virtualization_type': u'hvm', u'architecture': u'x86_64', u'ramdisk': None, u'key_name': u'continuous-integration', u'image_id': u'ami-f213ba9a', u'public_dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'state_code': 16, u'placement': u'us-east-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-172-115-0.compute-1.amazonaws.com', u'region': u'us-east-1', u'launch_time': u'2014-10-07T14:55:06.000Z', u'instance_type': u't2.medium', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen'}) | |
14:56:41 | |
14:56:41 PLAY [Configure instance(s)] ************************************************** | |
14:56:41 | |
14:56:41 TASK: [Wait for cloud-init to finish] ***************************************** | |
14:57:16 ok: [54.172.115.0] | |
14:57:16 | |
14:57:16 TASK: [user | debug var=user_info] ******************************************** | |
14:57:16 ok: [54.172.115.0] => { | |
14:57:16 "item": "", | |
14:57:16 "user_info": [ | |
14:57:16 { | |
14:57:16 "github": true, | |
14:57:16 "name": "singingwolfboy", | |
14:57:16 "type": "admin" | |
14:57:16 } | |
14:57:16 ] | |
14:57:16 } | |
14:57:16 | |
14:57:16 TASK: [user | create the edxadmin group] ************************************** | |
14:57:16 ok: [54.172.115.0] | |
14:57:16 | |
14:57:16 TASK: [user | ensure sudoers.d is read] *************************************** | |
14:57:17 ok: [54.172.115.0] | |
14:57:17 | |
14:57:17 TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
14:57:18 ok: [54.172.115.0] | |
14:57:18 | |
14:57:18 TASK: [user | create the users] *********************************************** | |
14:57:18 changed: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:18 | |
14:57:18 TASK: [user | create .ssh directory] ****************************************** | |
14:57:19 changed: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:19 | |
14:57:19 TASK: [user | assign admin role to admin users] ******************************* | |
14:57:20 changed: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:20 | |
14:57:20 TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
14:57:22 changed: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:22 | |
14:57:22 TASK: [user | copy additional authorized keys] ******************************** | |
14:57:22 skipping: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:22 | |
14:57:22 TASK: [user | create bashrc file for normal users] **************************** | |
14:57:23 changed: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:23 | |
14:57:23 TASK: [user | create .profile for all users] ********************************** | |
14:57:24 changed: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:24 | |
14:57:24 TASK: [user | modify shell for restricted users] ****************************** | |
14:57:24 skipping: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:24 | |
14:57:24 TASK: [user | create bashrc file for restricted users] ************************ | |
14:57:24 skipping: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:24 | |
14:57:24 TASK: [user | create sudoers file from template] ****************************** | |
14:57:25 ok: [54.172.115.0] | |
14:57:25 | |
14:57:25 TASK: [user | change home directory ownership to root for restricted users] *** | |
14:57:25 skipping: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:25 | |
14:57:25 TASK: [user | create ~/bin directory] ***************************************** | |
14:57:25 skipping: [54.172.115.0] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:25 | |
14:57:25 TASK: [user | create allowed command links] *********************************** | |
14:57:25 skipping: [54.172.115.0] => (item=[{'github': True, 'type': 'admin', 'name': 'singingwolfboy'}, '/usr/bin/sudo']) | |
14:57:25 | |
14:57:25 TASK: [security | install security packages] ********************************** | |
14:57:26 fatal: [54.172.115.0] => error while evaluating conditional: ansible_distribution == 'Ubuntu' | |
14:57:26 | |
14:57:26 FATAL: all hosts have already failed -- aborting | |
14:57:26 | |
14:57:26 PLAY RECAP ******************************************************************** | |
14:57:26 to retry, use: --limit @/var/lib/jenkins/edx_provision.retry | |
14:57:26 | |
14:57:26 127.0.0.1 : ok=8 changed=5 unreachable=0 failed=0 | |
14:57:26 54.172.115.0 : ok=18 changed=6 unreachable=1 failed=0 | |
14:57:26 | |
14:57:26 + [[ full_edx_installation == \f\u\l\l\_\e\d\x\_\i\n\s\t\a\l\l\a\t\i\o\n ]] | |
14:57:26 + ansible-playbook rabbitmq.yml -i singingwolfboy.m.sandbox.edx.org, -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu | |
14:57:26 | |
14:57:26 PLAY [Deploy rabbitmq] ******************************************************** | |
14:57:26 | |
14:57:26 GATHERING FACTS *************************************************************** | |
14:57:30 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:30 | |
14:57:30 TASK: [ec2_facts] ************************************************************* | |
14:57:30 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:30 | |
14:57:30 TASK: [debug var="{{ansible_ec2_instance_id}}"] ******************************* | |
14:57:30 ok: [singingwolfboy.m.sandbox.edx.org] => { | |
14:57:30 "i-2497cecf": "{{ i-2497cecf }}" | |
14:57:30 } | |
14:57:30 | |
14:57:30 TASK: [Instance De-register] ************************************************** | |
14:57:30 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:30 | |
14:57:30 TASK: [user | debug var=user_info] ******************************************** | |
14:57:30 ok: [singingwolfboy.m.sandbox.edx.org] => { | |
14:57:30 "item": "", | |
14:57:30 "user_info": [ | |
14:57:30 { | |
14:57:30 "github": true, | |
14:57:30 "name": "singingwolfboy", | |
14:57:30 "type": "admin" | |
14:57:30 } | |
14:57:30 ] | |
14:57:30 } | |
14:57:30 | |
14:57:30 TASK: [user | create the edxadmin group] ************************************** | |
14:57:31 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:31 | |
14:57:31 TASK: [user | ensure sudoers.d is read] *************************************** | |
14:57:31 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:31 | |
14:57:31 TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
14:57:32 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:32 | |
14:57:32 TASK: [user | create the users] *********************************************** | |
14:57:32 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:32 | |
14:57:32 TASK: [user | create .ssh directory] ****************************************** | |
14:57:32 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:32 | |
14:57:32 TASK: [user | assign admin role to admin users] ******************************* | |
14:57:33 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:33 | |
14:57:33 TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
14:57:33 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:33 | |
14:57:33 TASK: [user | copy additional authorized keys] ******************************** | |
14:57:33 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:33 | |
14:57:33 TASK: [user | create bashrc file for normal users] **************************** | |
14:57:34 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:34 | |
14:57:34 TASK: [user | create .profile for all users] ********************************** | |
14:57:34 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:34 | |
14:57:34 TASK: [user | modify shell for restricted users] ****************************** | |
14:57:34 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:34 | |
14:57:34 TASK: [user | create bashrc file for restricted users] ************************ | |
14:57:34 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:34 | |
14:57:34 TASK: [user | create sudoers file from template] ****************************** | |
14:57:35 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [user | change home directory ownership to root for restricted users] *** | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:35 | |
14:57:35 TASK: [user | create ~/bin directory] ***************************************** | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
14:57:35 | |
14:57:35 TASK: [user | create allowed command links] *********************************** | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=[{'github': True, 'type': 'admin', 'name': 'singingwolfboy'}, '/usr/bin/sudo']) | |
14:57:35 | |
14:57:35 TASK: [security | install security packages] ********************************** | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | update all system packages] ********************************* | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | configure periodic unattended-upgrades] ********************* | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | disable unattended-upgrades] ******************************** | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | only unattended-upgrade from security repo] ***************** | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | disable security only updates on unattended-upgrades] ******* | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | Check if we are vulnerable] ********************************* | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | Apply bash security update if we are vulnerable] ************ | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [security | Check again and fail if we are still vulnerable] ************ | |
14:57:35 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [common | Add user www-data] ******************************************** | |
14:57:35 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:35 | |
14:57:35 TASK: [common | Create common directories] ************************************ | |
14:57:36 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/var) | |
14:57:36 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app) | |
14:57:36 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/bin) | |
14:57:36 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/etc) | |
14:57:36 | |
14:57:36 TASK: [common | check if instance is vagrant] ********************************* | |
14:57:37 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:37 | |
14:57:37 TASK: [common | Install python-pycurl] **************************************** | |
14:57:55 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:55 | |
14:57:55 TASK: [common | Add git apt repository] *************************************** | |
14:57:57 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:57:57 | |
14:57:57 TASK: [common | Install role-independent useful system packages] ************** | |
14:58:00 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:01 | |
14:58:01 TASK: [common | Create common log directory] ********************************** | |
14:58:01 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:01 | |
14:58:01 TASK: [common | upload sudo config for key forwarding as root] **************** | |
14:58:01 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:01 | |
14:58:01 TASK: [common | pip install virtualenv] *************************************** | |
14:58:02 ok: [singingwolfboy.m.sandbox.edx.org] => (item=pip==1.5.6) | |
14:58:03 ok: [singingwolfboy.m.sandbox.edx.org] => (item=setuptools==3.6) | |
14:58:03 ok: [singingwolfboy.m.sandbox.edx.org] => (item=virtualenv==1.11.6) | |
14:58:04 ok: [singingwolfboy.m.sandbox.edx.org] => (item=virtualenvwrapper) | |
14:58:04 | |
14:58:04 TASK: [common | Install rsyslog configuration for edX] ************************ | |
14:58:04 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:04 | |
14:58:04 TASK: [common | Remove the default rsyslog configuration] ********************* | |
14:58:05 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:05 | |
14:58:05 TASK: [common | Create hourly subdirectory in logrotate.d] ******************** | |
14:58:05 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:05 | |
14:58:05 TASK: [common | Install logrotate configuration for edX] ********************** | |
14:58:05 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:05 | |
14:58:05 TASK: [common | Install logrotate configuration for tracking file] ************ | |
14:58:06 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:06 | |
14:58:06 TASK: [common | Add logrotate for tracking.log to cron.hourly] **************** | |
14:58:06 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:06 | |
14:58:06 TASK: [common | update /etc/hosts] ******************************************** | |
14:58:07 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:07 | |
14:58:07 TASK: [common | update /etc/hostname] ***************************************** | |
14:58:08 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:08 | |
14:58:08 TASK: [common | run hostname] ************************************************* | |
14:58:08 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:08 | |
14:58:08 TASK: [common | update /etc/dhcp/dhclient.conf] ******************************* | |
14:58:08 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:58:08 | |
14:58:08 TASK: [common | update the ssh motd on Ubuntu] ******************************** | |
14:58:08 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/etc/update-motd.d/10-help-text) | |
14:58:09 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/usr/share/landscape/landscape-sysinfo.wrapper) | |
14:58:09 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/etc/update-motd.d/51-cloudguest) | |
14:58:09 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/etc/update-motd.d/91-release-upgrade) | |
14:58:09 | |
14:58:09 TASK: [common | add ssh-warning banner motd] ********************************** | |
14:58:10 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:10 | |
14:58:10 TASK: [common | update ssh config] ******************************************** | |
14:58:10 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:10 | |
14:58:10 TASK: [aws | create data directories] ***************************************** | |
14:58:11 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/var/aws) | |
14:58:11 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/var/log/aws) | |
14:58:11 | |
14:58:11 TASK: [aws | create app directory] ******************************************** | |
14:58:11 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/aws) | |
14:58:11 | |
14:58:11 TASK: [aws | install system packages] ***************************************** | |
14:58:14 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:14 | |
14:58:14 TASK: [aws | install aws python packages] ************************************* | |
14:58:16 ok: [singingwolfboy.m.sandbox.edx.org] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz) | |
14:58:17 ok: [singingwolfboy.m.sandbox.edx.org] => (item=awscli==1.4.2) | |
14:58:17 ok: [singingwolfboy.m.sandbox.edx.org] => (item=boto==2.32.0) | |
14:58:17 | |
14:58:17 TASK: [aws | get s3cmd] ******************************************************* | |
14:58:18 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:18 | |
14:58:18 TASK: [aws | untar s3cmd] ***************************************************** | |
14:58:18 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:58:18 | |
14:58:18 TASK: [aws | create symlink for s3cmd] **************************************** | |
14:58:19 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:19 | |
14:58:19 TASK: [aws | create s3 log sync script] *************************************** | |
14:58:19 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:19 | |
14:58:19 TASK: [aws | create symlink for s3 log sync script] *************************** | |
14:58:20 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:20 | |
14:58:20 TASK: [aws | force logrotate on supervisor stop] ****************************** | |
14:58:20 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:20 | |
14:58:20 TASK: [aws | cronjob for s3 log sync] ***************************************** | |
14:58:20 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:20 | |
14:58:20 TASK: [rabbitmq | trust rabbit repository] ************************************ | |
14:58:21 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:21 | |
14:58:21 TASK: [rabbitmq | install python-software-properties if debian] *************** | |
14:58:22 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:22 | |
14:58:22 TASK: [rabbitmq | add rabbit repository] ************************************** | |
14:58:22 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:22 | |
14:58:22 TASK: [rabbitmq | fetch the rabbitmq server deb] ****************************** | |
14:58:22 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:22 | |
14:58:22 TASK: [rabbitmq | check if rabbit is installed] ******************************* | |
14:58:23 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:23 | |
14:58:23 TASK: [rabbitmq | install rabbit package using gdebi] ************************* | |
14:58:23 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:58:23 | |
14:58:23 TASK: [rabbitmq | stop rabbit cluster] **************************************** | |
14:58:23 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:23 | |
14:58:23 TASK: [rabbitmq | send sigterm to any running rabbitmq processes] ************* | |
14:58:24 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:24 | |
14:58:24 TASK: [rabbitmq | create rabbitmq edx directories] **************************** | |
14:58:24 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/rabbitmq) | |
14:58:24 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/var/log/rabbitmq) | |
14:58:24 | |
14:58:24 TASK: [rabbitmq | add queue monitoring script] ******************************** | |
14:58:25 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:25 | |
14:58:25 TASK: [rabbitmq | set up a cron job to run the script] ************************ | |
14:58:25 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:25 | |
14:58:25 TASK: [rabbitmq | create cookie directory] ************************************ | |
14:58:25 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:25 | |
14:58:25 TASK: [rabbitmq | add rabbitmq erlang cookie] ********************************* | |
14:58:26 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:26 | |
14:58:26 TASK: [rabbitmq | create rabbitmq config directory] *************************** | |
14:58:26 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:26 | |
14:58:26 TASK: [rabbitmq | add rabbitmq environment configuration] ********************* | |
14:58:27 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:27 | |
14:58:27 TASK: [rabbitmq | add rabbitmq cluster configuration] ************************* | |
14:58:27 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:27 | |
14:58:27 TASK: [rabbitmq | install plugins] ******************************************** | |
14:58:28 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:28 | |
14:58:28 TASK: [rabbitmq | remove mnesia configuration] ******************************** | |
14:58:28 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:28 | |
14:58:28 TASK: [rabbitmq | start rabbit nodes] ***************************************** | |
14:58:30 failed: [singingwolfboy.m.sandbox.edx.org] => {"failed": true, "item": ""} | |
14:58:30 msg: * Stopping message broker rabbitmq-server | |
14:58:30 * message broker already stopped | |
14:58:30 ...done. | |
14:58:30 * Starting message broker rabbitmq-server | |
14:58:30 * FAILED - check /var/log/rabbitmq/startup_\{log, _err\} | |
14:58:30 ...fail! | |
14:58:30 | |
14:58:30 | |
14:58:30 FATAL: all hosts have already failed -- aborting | |
14:58:30 | |
14:58:30 PLAY RECAP ******************************************************************** | |
14:58:30 to retry, use: --limit @/var/lib/jenkins/rabbitmq.retry | |
14:58:30 | |
14:58:30 singingwolfboy.m.sandbox.edx.org : ok=69 changed=11 unreachable=0 failed=1 | |
14:58:30 | |
14:58:30 + ansible-playbook restart_supervisor.yml -i singingwolfboy.m.sandbox.edx.org, -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu | |
14:58:31 | |
14:58:31 PLAY [restarts supervisor] **************************************************** | |
14:58:31 | |
14:58:31 TASK: [supervisor | restart supervisor] *************************************** | |
14:58:33 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:33 | |
14:58:33 PLAY RECAP ******************************************************************** | |
14:58:33 singingwolfboy.m.sandbox.edx.org : ok=1 changed=1 unreachable=0 failed=0 | |
14:58:33 | |
14:58:33 + declare -A deploy | |
14:58:33 + roles='edxapp forum xqueue xserver ora discern certs demo testcourses' | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=true | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=true | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=false | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=false | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=false | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=false | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=false | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=false | |
14:58:33 + for role in '$roles' | |
14:58:33 + deploy[$role]=true | |
14:58:33 + [[ false == \t\r\u\e ]] | |
14:58:33 + [[ full_edx_installation == \f\u\l\l\_\e\d\x\_\i\n\s\t\a\l\l\a\t\i\o\n\_\f\r\o\m\_\s\c\r\a\t\c\h ]] | |
14:58:33 + [[ false != \t\r\u\e ]] | |
14:58:33 + [[ full_edx_installation == \f\u\l\l\_\e\d\x\_\i\n\s\t\a\l\l\a\t\i\o\n ]] | |
14:58:33 + for i in '$roles' | |
14:58:33 + [[ true == \t\r\u\e ]] | |
14:58:33 + cat /var/tmp/extra-vars-23593.yml | |
14:58:33 --- | |
14:58:33 ansible_ssh_private_key_file: /var/lib/jenkins/continuous-integration.pem | |
14:58:33 edx_platform_version: master | |
14:58:33 forum_version: master | |
14:58:33 xqueue_version: master | |
14:58:33 xserver_version: master | |
14:58:33 ora_version: master | |
14:58:33 ease_version: | |
14:58:33 certs_version: master | |
14:58:33 discern_version: master | |
14:58:33 EDXAPP_STATIC_URL_BASE: /static | |
14:58:33 EDXAPP_LMS_NGINX_PORT: 80 | |
14:58:33 EDXAPP_LMS_PREVIEW_NGINX_PORT: 80 | |
14:58:33 EDX_ANSIBLE_DUMP_VARS: true | |
14:58:33 migrate_db: "yes" | |
14:58:33 openid_workaround: True | |
14:58:33 rabbitmq_ip: "127.0.0.1" | |
14:58:33 rabbitmq_refresh: True | |
14:58:33 COMMON_HOSTNAME: singingwolfboy | |
14:58:33 COMMON_DEPLOYMENT: edx | |
14:58:33 COMMON_ENVIRONMENT: sandbox | |
14:58:33 # User provided extra vars | |
14:58:33 | |
14:58:33 COMMON_ENABLE_BASIC_AUTH: True | |
14:58:33 COMMON_HTPASSWD_USER: guido | |
14:58:33 COMMON_HTPASSWD_PASS: vanrossum | |
14:58:33 XQUEUE_BASIC_AUTH_USER: guido | |
14:58:33 XQUEUE_BASIC_AUTH_PASSWORD: vanrossum | |
14:58:33 EDXAPP_PREVIEW_LMS_BASE: preview.singingwolfboy.m.sandbox.edx.org | |
14:58:33 EDXAPP_LMS_BASE: singingwolfboy.m.sandbox.edx.org | |
14:58:33 EDXAPP_CMS_BASE: studio.singingwolfboy.m.sandbox.edx.org | |
14:58:33 EDXAPP_SITE_NAME: singingwolfboy.m.sandbox.edx.org | |
14:58:33 CERTS_DOWNLOAD_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
14:58:33 CERTS_VERIFY_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
14:58:33 edx_internal: True | |
14:58:33 COMMON_USER_INFO: | |
14:58:33 - name: singingwolfboy | |
14:58:33 github: true | |
14:58:33 type: admin | |
14:58:33 USER_CMD_PROMPT: '[singingwolfboy-sandbox] ' | |
14:58:33 COMMON_ENABLE_NEWRELIC_APP: false | |
14:58:33 COMMON_ENABLE_DATADOG: false | |
14:58:33 FORUM_NEW_RELIC_ENABLE: false | |
14:58:33 EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-singingwolfboy-edxapp-lms | |
14:58:33 EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-singingwolfboy-edxapp-cms | |
14:58:33 XQUEUE_NEWRELIC_APPNAME: sandbox-singingwolfboy-xqueue | |
14:58:33 FORUM_NEW_RELIC_APP_NAME: sandbox-singingwolfboy-forums | |
14:58:33 SANDBOX_USERNAME: singingwolfboy | |
14:58:33 dns_name: singingwolfboy | |
14:58:33 keypair: continuous-integration | |
14:58:33 instance_type: t2.medium | |
14:58:33 security_group: sandbox-vpc | |
14:58:33 ami: ami-f213ba9a | |
14:58:33 region: us-east-1 | |
14:58:33 zone: us-east-1c | |
14:58:33 instance_tags: | |
14:58:33 environment: sandbox | |
14:58:33 github_username: singingwolfboy | |
14:58:33 Name: singingwolfboy-sandbox | |
14:58:33 source: jenkins | |
14:58:33 owner: David | |
14:58:33 datadog: monitored | |
14:58:33 root_ebs_size: 50 | |
14:58:33 name_tag: singingwolfboy-sandbox | |
14:58:33 dns_zone: m.sandbox.edx.org | |
14:58:33 rabbitmq_refresh: True | |
14:58:33 elb: false | |
14:58:33 + ansible-playbook edxapp.yml -i singingwolfboy.m.sandbox.edx.org, -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu --tags deploy | |
14:58:35 [WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop | |
14:58:35 expressions bare. | |
14:58:35 | |
14:58:35 | |
14:58:35 PLAY [Deploy edxapp] ********************************************************** | |
14:58:35 | |
14:58:35 GATHERING FACTS *************************************************************** | |
14:58:36 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:36 | |
14:58:36 TASK: [nltk | create the nltk data directory and subdirectories] ************** | |
14:58:36 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) | |
14:58:37 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) | |
14:58:37 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) | |
14:58:37 | |
14:58:37 TASK: [nltk | download nltk data] ********************************************* | |
14:58:37 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) | |
14:58:38 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) | |
14:58:38 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) | |
14:58:38 | |
14:58:38 TASK: [nltk | unarchive nltk data] ******************************************** | |
14:58:38 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) | |
14:58:38 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) | |
14:58:38 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) | |
14:58:38 | |
14:58:38 TASK: [edxapp | code sandbox | Use libblas for 3gf] *************************** | |
14:58:38 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:38 | |
14:58:38 TASK: [edxapp | code sandbox | Use liblapac for 3gf] ************************** | |
14:58:39 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:39 | |
14:58:39 TASK: [edxapp | code sandbox | Create edxapp sandbox user] ******************** | |
14:58:39 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:39 | |
14:58:39 TASK: [edxapp | code sandbox | Install apparmor utils system pkg] ************* | |
14:58:40 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:40 | |
14:58:40 TASK: [edxapp | code sandbox | write out apparmor code sandbox config] ******** | |
14:58:41 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:41 | |
14:58:41 TASK: [edxapp | code sandbox | write out sandbox user sudoers config] ********* | |
14:58:41 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:41 | |
14:58:41 TASK: [edxapp | code sandbox | start apparmor service] ************************ | |
14:58:42 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:42 | |
14:58:42 TASK: [edxapp | code sandbox | (bootstrap) load code sandbox profile] ********* | |
14:58:42 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:42 | |
14:58:42 TASK: [edxapp | code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] *** | |
14:58:44 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:44 | |
14:58:44 TASK: [edxapp | setup the edxapp env] ***************************************** | |
14:58:45 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:58:45 | |
14:58:45 TASK: [edxapp | create ssh script for git (not authenticated)] **************** | |
14:58:45 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:58:45 | |
14:58:45 TASK: [edxapp | create ssh script for git (authenticated)] ******************** | |
14:58:45 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:45 | |
14:58:45 TASK: [edxapp | install read-only ssh key] ************************************ | |
14:58:46 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:58:46 | |
14:58:46 TASK: [edxapp | checkout edx-platform repo into {{edxapp_code_dir}}] ********** | |
14:59:01 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:01 | |
14:59:01 TASK: [edxapp | git clean after checking out edx-platform] ******************** | |
14:59:02 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:02 | |
14:59:02 TASK: [edxapp | checkout theme] *********************************************** | |
14:59:02 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:59:02 | |
14:59:02 TASK: [edxapp | create checksum for requirements, package.json and Gemfile] *** | |
14:59:02 failed: [singingwolfboy.m.sandbox.edx.org] => {"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.001959", "end": "2014-10-07 14:59:02.706173", "item": "", "rc": 1, "start": "2014-10-07 14:59:02.704214"} | |
14:59:02 ...ignoring | |
14:59:02 | |
14:59:02 TASK: [edxapp | stat path=/var/tmp/edxapp.req.new] **************************** | |
14:59:03 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:59:03 | |
14:59:03 TASK: [edxapp | stat path=/var/tmp/edxapp.req.installed] ********************** | |
14:59:04 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:59:04 | |
14:59:04 TASK: [edxapp | Updating requirement files for git mirror] ******************** | |
14:59:05 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:05 | |
14:59:05 TASK: [edxapp | gem install bundler] ****************************************** | |
14:59:11 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:11 | |
14:59:11 TASK: [edxapp | bundle install] *********************************************** | |
14:59:12 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:12 | |
14:59:12 TASK: [edxapp | Set the npm registry] ***************************************** | |
14:59:18 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:18 | |
14:59:18 TASK: [edxapp | Set the npm registry permissions] ***************************** | |
14:59:18 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:59:18 | |
14:59:18 TASK: [edxapp | Install edx-platform npm dependencies] ************************ | |
14:59:20 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:20 | |
14:59:20 TASK: [edxapp | install python pre-requirements] ****************************** | |
14:59:21 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:59:21 | |
14:59:21 TASK: [edxapp | install python base-requirements] ***************************** | |
14:59:25 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:25 | |
14:59:25 TASK: [edxapp | install python post-requirements] ***************************** | |
14:59:26 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:59:26 | |
14:59:26 TASK: [edxapp | install python paver-requirements] **************************** | |
14:59:30 changed: [singingwolfboy.m.sandbox.edx.org] | |
14:59:30 | |
14:59:30 TASK: [edxapp | stat path="{{custom_requirements_file}}"] ********************* | |
14:59:31 ok: [singingwolfboy.m.sandbox.edx.org] | |
14:59:31 | |
14:59:31 TASK: [edxapp | install python custom-requirements] *************************** | |
14:59:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
14:59:31 | |
14:59:31 TASK: [edxapp | install python post-post requirements] ************************ | |
15:00:10 changed: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt) | |
15:00:15 changed: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local.txt) | |
15:00:15 | |
15:00:15 TASK: [edxapp | install python private requirements] ************************** | |
15:00:20 changed: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt) | |
15:00:20 | |
15:00:20 TASK: [edxapp | install CAS attribute module] ********************************* | |
15:00:20 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:00:20 | |
15:00:20 TASK: [edxapp | install sandbox requirements into regular venv] *************** | |
15:00:20 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt) | |
15:00:20 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt) | |
15:00:20 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt) | |
15:00:20 | |
15:00:20 TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] *** | |
15:00:21 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:21 | |
15:00:21 TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] *** | |
15:00:23 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:00:23 | |
15:00:23 TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] *** | |
15:00:25 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt) | |
15:00:26 ok: [singingwolfboy.m.sandbox.edx.org] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt) | |
15:00:26 | |
15:00:26 TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] *** | |
15:00:26 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:26 | |
15:00:26 TASK: [edxapp | compiling all py files in the edx-platform repo] ************** | |
15:00:29 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:29 | |
15:00:29 TASK: [edxapp | give other read permissions to the virtualenv] **************** | |
15:00:31 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:31 | |
15:00:31 TASK: [edxapp | create checksum for installed requirements] ******************* | |
15:00:32 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:32 | |
15:00:32 TASK: [edxapp | openid workaround] ******************************************** | |
15:00:33 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:33 | |
15:00:33 TASK: [edxapp | get s3 one time url] ****************************************** | |
15:00:33 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:00:33 | |
15:00:33 TASK: [edxapp | download from one time url] *********************************** | |
15:00:33 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:00:33 | |
15:00:33 TASK: [edxapp | unzip the data to the data dir] ******************************* | |
15:00:33 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:00:33 | |
15:00:33 TASK: [edxapp | make the course data web user writable] *********************** | |
15:00:34 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:00:34 | |
15:00:34 TASK: [edxapp | create application config] *********************************** | |
15:00:35 changed: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:00:36 changed: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:00:36 | |
15:00:36 TASK: [edxapp | create auth file] ******************************************** | |
15:00:37 changed: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:00:37 ok: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:00:37 | |
15:00:37 TASK: [edxapp | writing supervisor script] *********************************** | |
15:00:38 ok: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:00:39 ok: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:00:39 | |
15:00:39 TASK: [edxapp | writing edxapp supervisor script] ***************************** | |
15:00:39 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:00:39 | |
15:00:39 TASK: [edxapp | writing celery worker supervisor script] ********************** | |
15:00:40 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:00:40 | |
15:00:40 TASK: [edxapp | enable supervisor script] ************************************ | |
15:00:41 ok: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:00:41 ok: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:00:41 | |
15:00:41 TASK: [edxapp | enable edxapp supervisor script] ****************************** | |
15:00:42 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:00:42 | |
15:00:42 TASK: [edxapp | enable celery worker supervisor script] *********************** | |
15:00:42 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:00:42 | |
15:00:42 TASK: [edxapp | syncdb and migrate] ******************************************* | |
15:00:48 changed: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:00:51 changed: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:00:51 | |
15:00:51 TASK: [edxapp | gather static assets with paver] ***************************** | |
15:01:41 changed: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:02:09 changed: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:02:09 | |
15:02:09 TASK: [edxapp | make the course data updatable by the edxapp user] ************ | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:09 | |
15:02:09 TASK: [edxapp | clone the xml course repo] ************************************ | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | update course.xml] ******************************************** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | make symlinks for the static data] **************************** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | make symlinks so code works] ********************************** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | import courses with nostatic flag] **************************** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | import courses including static data] ************************* | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | delete courses that were fully imported] ********************** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=EDXAPP_XML_COURSES) | |
15:02:09 | |
15:02:09 TASK: [edxapp | create an archive of course data and course static dirs] ****** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:09 | |
15:02:09 TASK: [edxapp | upload archive to s3] ***************************************** | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:09 | |
15:02:09 TASK: [edxapp | remove archive from disk] ************************************* | |
15:02:09 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:09 | |
15:02:09 TASK: [edxapp | update supervisor configuration] ****************************** | |
15:02:13 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:13 | |
15:02:13 TASK: [edxapp | ensure edxapp has started] ************************************ | |
15:02:14 ok: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:02:15 ok: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:02:15 | |
15:02:15 TASK: [edxapp | ensure edxapp_workers has started] **************************** | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'low', 'service_variant': 'cms', 'concurrency': 3}) | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'default', 'service_variant': 'cms', 'concurrency': 4}) | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'high', 'service_variant': 'cms', 'concurrency': 1}) | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'low', 'service_variant': 'lms', 'concurrency': 1}) | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'default', 'service_variant': 'lms', 'concurrency': 3}) | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'high', 'service_variant': 'lms', 'concurrency': 4}) | |
15:02:15 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'high_mem', 'service_variant': 'lms', 'concurrency': 2}) | |
15:02:15 | |
15:02:15 TASK: [edxapp | create symlinks from the venv bin dir] ************************ | |
15:02:15 ok: [singingwolfboy.m.sandbox.edx.org] => (item=python) | |
15:02:16 ok: [singingwolfboy.m.sandbox.edx.org] => (item=pip) | |
15:02:16 ok: [singingwolfboy.m.sandbox.edx.org] => (item=django-admin.py) | |
15:02:16 | |
15:02:16 TASK: [edxapp | create symlinks from the repo dir] **************************** | |
15:02:17 ok: [singingwolfboy.m.sandbox.edx.org] => (item=manage.py) | |
15:02:17 | |
15:02:17 TASK: [edxapp | remove read-only ssh key] ************************************* | |
15:02:17 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [edxapp | get instance information] ************************************* | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [edxapp | tag instance with edx_platform version] *********************** | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [edxapp | tag instance with edxapp theme version] ********************** | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [edxapp | set_fact edxapp_installed=true] ******************************* | |
15:02:17 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [newrelic | Install newrelic plugin related packages] ******************* | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [newrelic | check out the newrelic logwatcher plugin] ******************* | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [newrelic | bundle install] ********************************************* | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [newrelic | create agent configuration] ********************************* | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 TASK: [newrelic | template ] ************************************************** | |
15:02:17 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:17 | |
15:02:17 NOTIFIED: [edxapp | restart edxapp] ******************************************* | |
15:02:20 changed: [singingwolfboy.m.sandbox.edx.org] => (item=lms) | |
15:02:23 changed: [singingwolfboy.m.sandbox.edx.org] => (item=cms) | |
15:02:23 | |
15:02:23 NOTIFIED: [edxapp | restart edxapp_workers] *********************************** | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'low', 'service_variant': 'cms', 'concurrency': 3}) | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'default', 'service_variant': 'cms', 'concurrency': 4}) | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'high', 'service_variant': 'cms', 'concurrency': 1}) | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'low', 'service_variant': 'lms', 'concurrency': 1}) | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'default', 'service_variant': 'lms', 'concurrency': 3}) | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'high', 'service_variant': 'lms', 'concurrency': 4}) | |
15:02:23 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'queue': 'high_mem', 'service_variant': 'lms', 'concurrency': 2}) | |
15:02:23 | |
15:02:23 PLAY RECAP ******************************************************************** | |
15:02:23 singingwolfboy.m.sandbox.edx.org : ok=69 changed=33 unreachable=0 failed=0 | |
15:02:23 | |
15:02:23 + for i in '$roles' | |
15:02:23 + [[ true == \t\r\u\e ]] | |
15:02:23 + cat /var/tmp/extra-vars-23593.yml | |
15:02:23 --- | |
15:02:23 ansible_ssh_private_key_file: /var/lib/jenkins/continuous-integration.pem | |
15:02:23 edx_platform_version: master | |
15:02:23 forum_version: master | |
15:02:23 xqueue_version: master | |
15:02:23 xserver_version: master | |
15:02:23 ora_version: master | |
15:02:23 ease_version: | |
15:02:23 certs_version: master | |
15:02:23 discern_version: master | |
15:02:23 EDXAPP_STATIC_URL_BASE: /static | |
15:02:23 EDXAPP_LMS_NGINX_PORT: 80 | |
15:02:23 EDXAPP_LMS_PREVIEW_NGINX_PORT: 80 | |
15:02:23 EDX_ANSIBLE_DUMP_VARS: true | |
15:02:23 migrate_db: "yes" | |
15:02:23 openid_workaround: True | |
15:02:23 rabbitmq_ip: "127.0.0.1" | |
15:02:23 rabbitmq_refresh: True | |
15:02:23 COMMON_HOSTNAME: singingwolfboy | |
15:02:23 COMMON_DEPLOYMENT: edx | |
15:02:23 COMMON_ENVIRONMENT: sandbox | |
15:02:23 # User provided extra vars | |
15:02:23 | |
15:02:23 COMMON_ENABLE_BASIC_AUTH: True | |
15:02:23 COMMON_HTPASSWD_USER: guido | |
15:02:23 COMMON_HTPASSWD_PASS: vanrossum | |
15:02:23 XQUEUE_BASIC_AUTH_USER: guido | |
15:02:23 XQUEUE_BASIC_AUTH_PASSWORD: vanrossum | |
15:02:23 EDXAPP_PREVIEW_LMS_BASE: preview.singingwolfboy.m.sandbox.edx.org | |
15:02:23 EDXAPP_LMS_BASE: singingwolfboy.m.sandbox.edx.org | |
15:02:23 EDXAPP_CMS_BASE: studio.singingwolfboy.m.sandbox.edx.org | |
15:02:23 EDXAPP_SITE_NAME: singingwolfboy.m.sandbox.edx.org | |
15:02:23 CERTS_DOWNLOAD_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
15:02:23 CERTS_VERIFY_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
15:02:23 edx_internal: True | |
15:02:23 COMMON_USER_INFO: | |
15:02:23 - name: singingwolfboy | |
15:02:23 github: true | |
15:02:23 type: admin | |
15:02:23 USER_CMD_PROMPT: '[singingwolfboy-sandbox] ' | |
15:02:23 COMMON_ENABLE_NEWRELIC_APP: false | |
15:02:23 COMMON_ENABLE_DATADOG: false | |
15:02:23 FORUM_NEW_RELIC_ENABLE: false | |
15:02:23 EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-singingwolfboy-edxapp-lms | |
15:02:23 EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-singingwolfboy-edxapp-cms | |
15:02:23 XQUEUE_NEWRELIC_APPNAME: sandbox-singingwolfboy-xqueue | |
15:02:23 FORUM_NEW_RELIC_APP_NAME: sandbox-singingwolfboy-forums | |
15:02:23 SANDBOX_USERNAME: singingwolfboy | |
15:02:23 dns_name: singingwolfboy | |
15:02:23 keypair: continuous-integration | |
15:02:23 instance_type: t2.medium | |
15:02:23 security_group: sandbox-vpc | |
15:02:23 ami: ami-f213ba9a | |
15:02:23 region: us-east-1 | |
15:02:23 zone: us-east-1c | |
15:02:23 instance_tags: | |
15:02:23 environment: sandbox | |
15:02:23 github_username: singingwolfboy | |
15:02:23 Name: singingwolfboy-sandbox | |
15:02:23 source: jenkins | |
15:02:23 owner: David | |
15:02:23 datadog: monitored | |
15:02:23 root_ebs_size: 50 | |
15:02:23 name_tag: singingwolfboy-sandbox | |
15:02:23 dns_zone: m.sandbox.edx.org | |
15:02:23 rabbitmq_refresh: True | |
15:02:23 elb: false | |
15:02:23 + ansible-playbook forum.yml -i singingwolfboy.m.sandbox.edx.org, -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu --tags deploy | |
15:02:24 | |
15:02:24 PLAY [Deploy forum] *********************************************************** | |
15:02:24 | |
15:02:24 GATHERING FACTS *************************************************************** | |
15:02:25 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:25 | |
15:02:25 TASK: [forum | create the supervisor config] ********************************** | |
15:02:26 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:26 | |
15:02:26 TASK: [forum | enable the supervisor config] ********************************** | |
15:02:26 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:26 | |
15:02:26 TASK: [forum | create the supervisor wrapper] ********************************* | |
15:02:27 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:27 | |
15:02:27 TASK: [forum | git checkout forum repo into {{forum_code_dir}}] *************** | |
15:02:28 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:02:28 | |
15:02:28 TASK: [forum | install comments service bundle] ******************************* | |
15:02:30 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:02:30 | |
15:02:30 TASK: [forum | update supervisor configuration] ******************************* | |
15:02:30 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:30 | |
15:02:30 TASK: [forum | ensure forum is started] *************************************** | |
15:02:31 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [forum | test that the required service are listening] ****************** | |
15:02:31 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'host': u'localhost', 'port': u'9200', 'service': 'elasticsearch'}) | |
15:02:31 | |
15:02:31 TASK: [forum | test that mongo replica set members are listing] *************** | |
15:02:31 ok: [singingwolfboy.m.sandbox.edx.org] => (item=localhost) | |
15:02:31 | |
15:02:31 TASK: [forum | get instance information] ************************************** | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [forum | tag instance] ************************************************** | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [forum | set_fact forum_installed=true] ********************************* | |
15:02:31 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [newrelic | Install newrelic plugin related packages] ******************* | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [newrelic | check out the newrelic logwatcher plugin] ******************* | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [newrelic | bundle install] ********************************************* | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [newrelic | create agent configuration] ********************************* | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 TASK: [newrelic | template ] ************************************************** | |
15:02:31 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:31 | |
15:02:31 NOTIFIED: [forum | restart the forum service] ********************************* | |
15:02:34 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:02:34 | |
15:02:34 PLAY RECAP ******************************************************************** | |
15:02:34 singingwolfboy.m.sandbox.edx.org : ok=12 changed=3 unreachable=0 failed=0 | |
15:02:34 | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ false == \t\r\u\e ]] | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ false == \t\r\u\e ]] | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ false == \t\r\u\e ]] | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ false == \t\r\u\e ]] | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ false == \t\r\u\e ]] | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ false == \t\r\u\e ]] | |
15:02:34 + for i in '$roles' | |
15:02:34 + [[ true == \t\r\u\e ]] | |
15:02:34 + cat /var/tmp/extra-vars-23593.yml | |
15:02:34 --- | |
15:02:34 ansible_ssh_private_key_file: /var/lib/jenkins/continuous-integration.pem | |
15:02:34 edx_platform_version: master | |
15:02:34 forum_version: master | |
15:02:34 xqueue_version: master | |
15:02:34 xserver_version: master | |
15:02:34 ora_version: master | |
15:02:34 ease_version: | |
15:02:34 certs_version: master | |
15:02:34 discern_version: master | |
15:02:34 EDXAPP_STATIC_URL_BASE: /static | |
15:02:34 EDXAPP_LMS_NGINX_PORT: 80 | |
15:02:34 EDXAPP_LMS_PREVIEW_NGINX_PORT: 80 | |
15:02:34 EDX_ANSIBLE_DUMP_VARS: true | |
15:02:34 migrate_db: "yes" | |
15:02:34 openid_workaround: True | |
15:02:34 rabbitmq_ip: "127.0.0.1" | |
15:02:34 rabbitmq_refresh: True | |
15:02:34 COMMON_HOSTNAME: singingwolfboy | |
15:02:34 COMMON_DEPLOYMENT: edx | |
15:02:34 COMMON_ENVIRONMENT: sandbox | |
15:02:34 # User provided extra vars | |
15:02:34 | |
15:02:34 COMMON_ENABLE_BASIC_AUTH: True | |
15:02:34 COMMON_HTPASSWD_USER: guido | |
15:02:34 COMMON_HTPASSWD_PASS: vanrossum | |
15:02:34 XQUEUE_BASIC_AUTH_USER: guido | |
15:02:34 XQUEUE_BASIC_AUTH_PASSWORD: vanrossum | |
15:02:34 EDXAPP_PREVIEW_LMS_BASE: preview.singingwolfboy.m.sandbox.edx.org | |
15:02:34 EDXAPP_LMS_BASE: singingwolfboy.m.sandbox.edx.org | |
15:02:34 EDXAPP_CMS_BASE: studio.singingwolfboy.m.sandbox.edx.org | |
15:02:34 EDXAPP_SITE_NAME: singingwolfboy.m.sandbox.edx.org | |
15:02:34 CERTS_DOWNLOAD_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
15:02:34 CERTS_VERIFY_URL: "http://singingwolfboy.m.sandbox.edx.org:18090" | |
15:02:34 edx_internal: True | |
15:02:34 COMMON_USER_INFO: | |
15:02:34 - name: singingwolfboy | |
15:02:34 github: true | |
15:02:34 type: admin | |
15:02:34 USER_CMD_PROMPT: '[singingwolfboy-sandbox] ' | |
15:02:34 COMMON_ENABLE_NEWRELIC_APP: false | |
15:02:34 COMMON_ENABLE_DATADOG: false | |
15:02:34 FORUM_NEW_RELIC_ENABLE: false | |
15:02:34 EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-singingwolfboy-edxapp-lms | |
15:02:34 EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-singingwolfboy-edxapp-cms | |
15:02:34 XQUEUE_NEWRELIC_APPNAME: sandbox-singingwolfboy-xqueue | |
15:02:34 FORUM_NEW_RELIC_APP_NAME: sandbox-singingwolfboy-forums | |
15:02:34 SANDBOX_USERNAME: singingwolfboy | |
15:02:34 dns_name: singingwolfboy | |
15:02:34 keypair: continuous-integration | |
15:02:34 instance_type: t2.medium | |
15:02:34 security_group: sandbox-vpc | |
15:02:34 ami: ami-f213ba9a | |
15:02:34 region: us-east-1 | |
15:02:34 zone: us-east-1c | |
15:02:34 instance_tags: | |
15:02:34 environment: sandbox | |
15:02:34 github_username: singingwolfboy | |
15:02:34 Name: singingwolfboy-sandbox | |
15:02:34 source: jenkins | |
15:02:34 owner: David | |
15:02:34 datadog: monitored | |
15:02:34 root_ebs_size: 50 | |
15:02:34 name_tag: singingwolfboy-sandbox | |
15:02:34 dns_zone: m.sandbox.edx.org | |
15:02:34 rabbitmq_refresh: True | |
15:02:34 elb: false | |
15:02:34 + ansible-playbook testcourses.yml -i singingwolfboy.m.sandbox.edx.org, -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu --tags deploy | |
15:02:34 | |
15:02:34 PLAY [Create courses for testing] ********************************************* | |
15:02:34 | |
15:02:34 GATHERING FACTS *************************************************************** | |
15:02:35 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:35 | |
15:02:35 TASK: [demo | check out the demo course] ************************************** | |
15:02:39 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:02:39 | |
15:02:39 TASK: [demo | import demo course] ********************************************* | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:39 | |
15:02:39 TASK: [demo | create some test users and enroll them in the course] *********** | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}) | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}) | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}) | |
15:02:39 | |
15:02:39 TASK: [demo | create staff user] ********************************************** | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:02:39 | |
15:02:39 TASK: [demo | add test users to the certificate whitelist] ******************** | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}) | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}) | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}) | |
15:02:39 | |
15:02:39 TASK: [demo | seed the forums for the demo course] **************************** | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}) | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}) | |
15:02:39 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}) | |
15:02:39 | |
15:02:39 TASK: [testcourses | create temporary directories] **************************** | |
15:02:40 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:40 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:41 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:41 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:42 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:42 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:42 | |
15:02:42 TASK: [testcourses | Get the test courses] ************************************ | |
15:02:45 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:47 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:48 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:49 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:51 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:52 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:52 | |
15:02:52 TASK: [testcourses | Untar the test courses] ********************************** | |
15:02:52 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:53 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:54 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:54 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:55 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:55 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:02:55 | |
15:02:55 TASK: [testcourses | import the test courses] ********************************* | |
15:03:00 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}) | |
15:03:05 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}) | |
15:03:08 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}) | |
15:03:12 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:03:15 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:03:18 changed: [singingwolfboy.m.sandbox.edx.org] => (item={'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}) | |
15:03:18 | |
15:03:18 TASK: [testcourses | shell chdir={{demo_edxapp_code_dir}} echo "from student.models import CourseEnrollment; from django.contrib.auth.models import User; from opaque_keys.edx.locations import SlashSeparatedCourseKey; course = SlashSeparatedCourseKey.from_deprecated_string('{{item[0].course_id}}'); user = User.objects.get(email='{{item[1].email}}'); CourseEnrollment.enroll(user, course, mode='{{item[1].mode}}');" | {{demo_edxapp_venv_bin}}/python ./manage.py lms shell --settings=aws | |
15:03:18 ] *** | |
15:03:20 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}]) | |
15:03:22 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}]) | |
15:03:25 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ArbisoftX/BulkyEmail101/2014-15', 'path': '/course_exports/arbisoftx-bulkyemail101-2014-15.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}]) | |
15:03:27 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}]) | |
15:03:29 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}]) | |
15:03:32 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'asset/cache/fall', 'path': '/course_exports/asset-cache-fall.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}]) | |
15:03:34 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}]) | |
15:03:36 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}]) | |
15:03:38 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'edX/ORA201/2014_T1', 'path': '/course_exports/edx-ora201-2014t1.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}]) | |
15:03:40 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}]) | |
15:03:43 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}]) | |
15:03:45 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest1/2014', 'path': '/course_exports/mantestx-mantest1-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}]) | |
15:03:47 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}]) | |
15:03:49 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}]) | |
15:03:52 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest2/2014', 'path': '/course_exports/mantestx-mantest2-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}]) | |
15:03:54 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'honor'}]) | |
15:03:56 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'audit'}]) | |
15:03:58 changed: [singingwolfboy.m.sandbox.edx.org] => (item=[{'course_id': 'ManTestX/ManTest3/2014', 'path': '/course_exports/mantestx-mantest3-2014.tar.gz', 'bucket': 'edx-ansible'}, {'password': 'edx', 'email': '[email protected]', 'mode': 'verified'}]) | |
15:03:58 | |
15:03:58 TASK: [newrelic | Install newrelic plugin related packages] ******************* | |
15:03:58 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:03:58 | |
15:03:58 TASK: [newrelic | check out the newrelic logwatcher plugin] ******************* | |
15:03:58 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:03:58 | |
15:03:58 TASK: [newrelic | bundle install] ********************************************* | |
15:03:58 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:03:58 | |
15:03:58 TASK: [newrelic | create agent configuration] ********************************* | |
15:03:58 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:03:58 | |
15:03:58 TASK: [newrelic | template ] ************************************************** | |
15:03:58 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:03:58 | |
15:03:58 PLAY RECAP ******************************************************************** | |
15:03:58 singingwolfboy.m.sandbox.edx.org : ok=10 changed=4 unreachable=0 failed=0 | |
15:03:58 | |
15:03:58 + ansible-playbook edx_ansible.yml -i singingwolfboy.m.sandbox.edx.org, -e@/var/tmp/extra-vars-23593.yml -e@/var/lib/jenkins/jobs/ansible-provision/workspace/configuration-secure/ansible/vars/developer-sandbox.yml --user ubuntu | |
15:03:59 | |
15:03:59 PLAY [Deploy the edx_ansible role] ******************************************** | |
15:03:59 | |
15:03:59 TASK: [user | debug var=user_info] ******************************************** | |
15:03:59 ok: [singingwolfboy.m.sandbox.edx.org] => { | |
15:03:59 "item": "", | |
15:03:59 "user_info": [ | |
15:03:59 { | |
15:03:59 "github": true, | |
15:03:59 "name": "singingwolfboy", | |
15:03:59 "type": "admin" | |
15:03:59 } | |
15:03:59 ] | |
15:03:59 } | |
15:03:59 | |
15:03:59 TASK: [user | create the edxadmin group] ************************************** | |
15:03:59 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:03:59 | |
15:03:59 TASK: [user | ensure sudoers.d is read] *************************************** | |
15:04:00 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:04:00 | |
15:04:00 TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
15:04:00 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:04:00 | |
15:04:00 TASK: [user | create the users] *********************************************** | |
15:04:01 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:01 | |
15:04:01 TASK: [user | create .ssh directory] ****************************************** | |
15:04:01 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:01 | |
15:04:01 TASK: [user | assign admin role to admin users] ******************************* | |
15:04:01 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:01 | |
15:04:01 TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
15:04:02 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:02 | |
15:04:02 TASK: [user | copy additional authorized keys] ******************************** | |
15:04:02 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:02 | |
15:04:02 TASK: [user | create bashrc file for normal users] **************************** | |
15:04:02 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:02 | |
15:04:02 TASK: [user | create .profile for all users] ********************************** | |
15:04:03 ok: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:03 | |
15:04:03 TASK: [user | modify shell for restricted users] ****************************** | |
15:04:03 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:03 | |
15:04:03 TASK: [user | create bashrc file for restricted users] ************************ | |
15:04:03 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:03 | |
15:04:03 TASK: [user | create sudoers file from template] ****************************** | |
15:04:03 ok: [singingwolfboy.m.sandbox.edx.org] | |
15:04:03 | |
15:04:03 TASK: [user | change home directory ownership to root for restricted users] *** | |
15:04:03 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:03 | |
15:04:03 TASK: [user | create ~/bin directory] ***************************************** | |
15:04:03 skipping: [singingwolfboy.m.sandbox.edx.org] => (item={'github': True, 'type': 'admin', 'name': 'singingwolfboy'}) | |
15:04:03 | |
15:04:03 TASK: [user | create allowed command links] *********************************** | |
15:04:03 skipping: [singingwolfboy.m.sandbox.edx.org] => (item=[{'github': True, 'type': 'admin', 'name': 'singingwolfboy'}, '/usr/bin/sudo']) | |
15:04:03 | |
15:04:03 TASK: [security | install security packages] ********************************** | |
15:04:03 fatal: [singingwolfboy.m.sandbox.edx.org] => error while evaluating conditional: ansible_distribution == 'Ubuntu' | |
15:04:03 | |
15:04:03 FATAL: all hosts have already failed -- aborting | |
15:04:03 | |
15:04:03 PLAY RECAP ******************************************************************** | |
15:04:03 to retry, use: --limit @/var/lib/jenkins/edx_ansible.retry | |
15:04:03 | |
15:04:03 singingwolfboy.m.sandbox.edx.org : ok=17 changed=0 unreachable=1 failed=0 | |
15:04:03 | |
15:04:03 + ansible-playbook set_hostname.yml -i singingwolfboy.m.sandbox.edx.org, -e hostname_fqdn=singingwolfboy.m.sandbox.edx.org --user ubuntu | |
15:04:04 | |
15:04:04 PLAY [Set hostname] *********************************************************** | |
15:04:04 | |
15:04:04 TASK: [fail msg="you must pass a hostname_fqdn var into this play"] *********** | |
15:04:04 skipping: [singingwolfboy.m.sandbox.edx.org] | |
15:04:04 | |
15:04:04 TASK: [Set hostname] ********************************************************** | |
15:04:04 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:04:04 | |
15:04:04 TASK: [Update /etc/hosts] ***************************************************** | |
15:04:04 changed: [singingwolfboy.m.sandbox.edx.org] | |
15:04:04 | |
15:04:04 PLAY RECAP ******************************************************************** | |
15:04:04 singingwolfboy.m.sandbox.edx.org : ok=2 changed=2 unreachable=0 failed=0 | |
15:04:04 | |
15:04:04 + rm -f /var/tmp/extra-vars-23593.yml | |
15:04:04 [ssh-agent] Stopped. | |
15:04:04 Finished: SUCCESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment