Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created January 7, 2016 16:17
Show Gist options
  • Save singingwolfboy/06b7bdfe5cd57c9c5f30 to your computer and use it in GitHub Desktop.
Save singingwolfboy/06b7bdfe5cd57c9c5f30 to your computer and use it in GitHub Desktop.
nightly build fails on mongo startup
[db@mastodon:~/devstack]
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'nightly-2016-01-07'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: devstack_default_1452182942723_66014
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 8000 (guest) => 8000 (host) (adapter 1)
default: 8001 (guest) => 8001 (host) (adapter 1)
default: 8002 (guest) => 8002 (host) (adapter 1)
default: 8003 (guest) => 8003 (host) (adapter 1)
default: 8031 (guest) => 8031 (host) (adapter 1)
default: 8120 (guest) => 8120 (host) (adapter 1)
default: 8765 (guest) => 8765 (host) (adapter 1)
default: 9200 (guest) => 9200 (host) (adapter 1)
default: 18080 (guest) => 18080 (host) (adapter 1)
default: 8100 (guest) => 8100 (host) (adapter 1)
default: 8110 (guest) => 8110 (host) (adapter 1)
default: 9876 (guest) => 9876 (host) (adapter 1)
default: 50070 (guest) => 50070 (host) (adapter 1)
default: 8088 (guest) => 8088 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
GuestAdditions versions on your host (5.0.12) and guest (4.3.30) do not match.
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-3.2.0-23-generic is already the newest version.
The following packages will be upgraded:
dkms
1 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
Need to get 73.3 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.6 [73.3 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 73.3 kB in 0s (1,502 kB/s)
(Reading database ... 85315 files and directories currently installed.)
Preparing to replace dkms 2.2.0.3-1ubuntu3 (using .../dkms_2.2.0.3-1ubuntu3.6_all.deb) ...
Unpacking replacement dkms ...
Processing triggers for man-db ...
Setting up dkms (2.2.0.3-1ubuntu3.6) ...
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
stdin: is not a tty
mount: warning: /mnt seems to be mounted read-only.
Installing Virtualbox Guest Additions 5.0.12 - guest version is 4.3.30
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.12 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.30 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 5.0.12. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty
Restarting VM to apply changes...
==> default: Attempting graceful shutdown of VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Checking for host entries
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
==> default: Mounting NFS shared folders...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default:
==> default: PLAY [all] ********************************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [{{role}} | create application user] ************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [{{role}} | create edx_ansible app and venv dir] ************************
==> default: ok: [localhost] => (item=/edx/app/edx_ansible)
==> default: ok: [localhost] => (item=/edx/var/edx_ansible)
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
==> default:
==> default: TASK: [{{role}} | install a bunch of system packages on which edx_ansible relies] ***
==> default: ok: [localhost]
==> default:
==> default: TASK: [{{role}} | git checkout edx_ansible repo into edx_ansible_code_dir] ****
==> default: changed: [localhost]
==> default:
==> default: TASK: [{{role}} | install edx_ansible venv requirements] **********************
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
==> default:
==> default: TASK: [{{role}} | create update script] ***************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [{{role}} | create a symlink for update.sh] *****************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [{{role}} | create a symlink for ansible-playbook] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [{{role}} | create a symlink for the playbooks dir] *********************
==> default: ok: [localhost]
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | install a bunch of system packages on which edx_ansible relies ------- 14.43s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | git checkout edx_ansible repo into edx_ansible_code_dir --------------- 6.24s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | install edx_ansible venv requirements --------------------------------- 1.67s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | create edx_ansible app and venv dir ----------------------------------- 0.23s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | create update script -------------------------------------------------- 0.12s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | create application user ----------------------------------------------- 0.11s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | create a symlink for ansible-playbook --------------------------------- 0.08s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | create a symlink for update.sh ---------------------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:{{role}} | create a symlink for the playbooks dir -------------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:
==> default: Playbook run_role finished: Thu Jan 7 16:11:09 2016, 9 total tasks. 0:00:23 elapsed.
==> default: localhost : ok=10 changed=2 unreachable=0 failed=0
==> default:
==> default: PLAY [Configure instance(s)] **************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | debug ] *********************************************************
==> default: ok: [localhost] => {
==> default: "var": {
==> default: "user_info": []
==> default: }
==> default: }
==> default:
==> default: TASK: [user | create the edxadmin group] **************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | ensure sudoers.d is read] ***************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | grant full sudo access to the edxadmin group] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | create the users] ***********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | assign admin role to admin users] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | get github key(s) and update the authorized_keys file] **********
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create bashrc file for normal users] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create .profile for all users] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | modify shell for restricted users] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create bashrc file for restricted users] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create sudoers file from template] ******************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [user | change home directory ownership to root for restricted users] ***
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create ~/bin directory] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [user | create allowed command links] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | install security packages] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | update all system packages] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | configure periodic unattended-upgrades] *********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | disable unattended-upgrades] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | only unattended-upgrade from security repo] *****************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | disable security only updates on unattended-upgrades] *******
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Check if we are vulnerable] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Apply bash security update if we are vulnerable] ************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Check again and fail if we are still vulnerable] ************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | GHOST.c] ****************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | compile GHOST] **********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Check if we are vulnerable] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [security | Apply glibc security update if we are vulnerable] ***********
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | Update CA Certificates] ***************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [common | Add user www-data] ********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | check if instance is vagrant] *********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | add edx ppa apt key] ******************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Add git apt repository] ***************************************
==> default: ok: [localhost] => (item=ppa:git-core/ppa)
==> default: ok: [localhost] => (item=deb http://ppa.edx.org precise main)
==> default:
==> default: TASK: [common | Install role-independent useful system packages] **************
==> default: ok: [localhost] => (item=ntp,lynx-cur,logrotate,rsyslog,git,unzip,python2.7=2.7.10-0+precise1,python-pip,python2.7-dev)
==> default:
==> default: TASK: [common | Create common directories] ************************************
==> default: changed: [localhost] => (item={'path': u'/edx/var'})
==> default: ok: [localhost] => (item={'path': u'/edx/app'})
==> default: ok: [localhost] => (item={'path': u'/edx/bin'})
==> default: ok: [localhost] => (item={'path': u'/edx/etc'})
==> default: ok: [localhost] => (item={'owner': u'syslog', 'path': u'/edx/var/log', 'group': u'syslog'})
==> default: ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
==> default: ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
==> default:
==> default: TASK: [common | upload sudo config for key forwarding as root] ****************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | pip install virtualenv] ***************************************
==> default: ok: [localhost] => (item=pip==7.1.2)
==> default: ok: [localhost] => (item=setuptools==18.3.2)
==> default: ok: [localhost] => (item=virtualenv==13.1.2)
==> default: ok: [localhost] => (item=virtualenvwrapper)
==> default:
==> default: TASK: [common | update /etc/hosts] ********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | update /etc/hostname] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | run hostname] *************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | Copy the templates to their respestive destination] ***********
==> default: ok: [localhost] => (item={'dest': '/etc/rsyslog.d/99-edx.conf', 'src': 'edx_rsyslog.j2'})
==> default: ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/edx-services', 'src': 'etc/logrotate.d/hourly/edx_logrotate.j2'})
==> default: ok: [localhost] => (item={'dest': '/etc/cron.hourly/logrotate', 'src': 'etc/cron.hourly/logrotate.j2', 'mode': '555'})
==> default: ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/tracking.log', 'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
==> default:
==> default: TASK: [common | restart rsyslogd] *********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server_utils | Install system packages] ********************************
==> default: ok: [localhost] => (item=ack-grep,mosh,curl,tree,screen,tmux,curl,vim-tiny,dnsutils,inetutils-telnet,netcat)
==> default:
==> default: TASK: [common | Update CA Certificates] ***************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [common | Add user www-data] ********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | check if instance is vagrant] *********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | add edx ppa apt key] ******************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Add git apt repository] ***************************************
==> default: ok: [localhost] => (item=ppa:git-core/ppa)
==> default: ok: [localhost] => (item=deb http://ppa.edx.org precise main)
==> default:
==> default: TASK: [common | Install role-independent useful system packages] **************
==> default: ok: [localhost] => (item=ntp,lynx-cur,logrotate,rsyslog,git,unzip,python2.7=2.7.10-0+precise1,python-pip,python2.7-dev)
==> default:
==> default: TASK: [common | Create common directories] ************************************
==> default: ok: [localhost] => (item={'path': u'/edx/var'})
==> default: ok: [localhost] => (item={'path': u'/edx/app'})
==> default: ok: [localhost] => (item={'path': u'/edx/bin'})
==> default: ok: [localhost] => (item={'path': u'/edx/etc'})
==> default: ok: [localhost] => (item={'owner': u'syslog', 'path': u'/edx/var/log', 'group': u'syslog'})
==> default: ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
==> default: ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
==> default:
==> default: TASK: [common | upload sudo config for key forwarding as root] ****************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | pip install virtualenv] ***************************************
==> default: ok: [localhost] => (item=pip==7.1.2)
==> default: ok: [localhost] => (item=setuptools==18.3.2)
==> default: ok: [localhost] => (item=virtualenv==13.1.2)
==> default: ok: [localhost] => (item=virtualenvwrapper)
==> default:
==> default: TASK: [common | update /etc/hosts] ********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | update /etc/hostname] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | run hostname] *************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | Copy the templates to their respestive destination] ***********
==> default: ok: [localhost] => (item={'dest': '/etc/rsyslog.d/99-edx.conf', 'src': 'edx_rsyslog.j2'})
==> default: ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/edx-services', 'src': 'etc/logrotate.d/hourly/edx_logrotate.j2'})
==> default: ok: [localhost] => (item={'dest': '/etc/cron.hourly/logrotate', 'src': 'etc/cron.hourly/logrotate.j2', 'mode': '555'})
==> default: ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/tracking.log', 'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
==> default:
==> default: TASK: [common | restart rsyslogd] *********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [vhost | Copy the templates to their respestive destination] ************
==> default: ok: [localhost] => (item={'dest': '/etc/motd.tail', 'src': u'etc/devstack_motd.tail.j2', 'mode': '755'})
==> default: ok: [localhost] => (item={'dest': '/etc/ssh/sshd_config', 'src': 'etc/ssh/sshd_config.j2'})
==> default:
==> default: TASK: [vhost | restart ssh] ***************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edx_ansible | create application user] *********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create edx_ansible app and venv dir] *********************
==> default: ok: [localhost] => (item=/edx/app/edx_ansible)
==> default: ok: [localhost] => (item=/edx/var/edx_ansible)
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
==> default:
==> default: TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] ***
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | install edx_ansible venv requirements] *******************
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
==> default:
==> default: TASK: [edx_ansible | create update script] ************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for update.sh] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mysql | Add MySQL experimental apt key] ********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mysql | Install apt repository] ****************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mysql | install mysql 56 and dependencies] *****************************
==> default: ok: [localhost] => (item=software-properties-common,python-mysqldb,mysql-server)
==> default:
==> default: TASK: [mysql | start mysql] ***************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mysql | Ensure Anonymous user(s) does not exist] ***********************
==> default: ok: [localhost] => (item=localhost)
==> default: ok: [localhost] => (item=precise64)
==> default:
==> default: TASK: [edxlocal | install packages needed for single server] ******************
==> default: ok: [localhost] => (item=postfix,libjpeg-dev)
==> default:
==> default: TASK: [edxlocal | create databases] *******************************************
==> default: ok: [localhost] => (item=ecommerce)
==> default: skipping: [localhost]
==> default: skipping: [localhost]
==> default: skipping: [localhost]
==> default: ok: [localhost] => (item=edxapp)
==> default: skipping: [localhost]
==> default: ok: [localhost] => (item=programs)
==> default: skipping: [localhost]
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create database users] **************************************
==> default: ok: [localhost] => (item={'db': u'ecommerce', 'user': u'ecomm001', 'pass': u'password'})
==> default: skipping: [localhost] => (item={'db': u'', 'user': u'{# INSIGHTS_DATABASES.default.USER | default(None) #}', 'pass': u'{# INSIGHTS_DATABASES.default.PASSWORD | default(None) #}'})
==> default: skipping: [localhost] => (item={'db': u'', 'user': u'', 'pass': u''})
==> default: skipping: [localhost] => (item={'db': u'', 'user': u'', 'pass': u''})
==> default: ok: [localhost] => (item={'db': u'edxapp', 'user': u'edxapp001', 'pass': u'password'})
==> default: ok: [localhost] => (item={'db': u'programs', 'user': u'programs001', 'pass': u'password'})
==> default: skipping: [localhost] => (item={'db': u'', 'user': u'{# ANALYTICS_PIPELINE_OUTPUT_DATABASE.username #}', 'pass': u'{# ANALYTICS_PIPELINE_OUTPUT_DATABASE.password #}'})
==> default: skipping: [localhost] => (item={'db': u'', 'user': u'{# HIVE_METASTORE_DATABASE.user | default(None) #}', 'pass': u'{# HIVE_METASTORE_DATABASE.password | default(None) #}'})
==> default:
==> default: TASK: [edxlocal | setup the migration db user] ********************************
==> default: ok: [localhost] => (item=ecommerce)
==> default: skipping: [localhost]
==> default: skipping: [localhost]
==> default: skipping: [localhost]
==> default: ok: [localhost] => (item=edxapp)
==> default: skipping: [localhost]
==> default: ok: [localhost] => (item=programs)
==> default: skipping: [localhost]
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create api user for the analytics api] **********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create read-only reports user for the analytics-api] ********
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | create a database for the hive metastore] *******************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the edx-notes-api db user] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the read-only db user] ********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | setup the admin db user] ************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxlocal | install memcached] ******************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | check to see that MongoDB 2.4 is not installed] ****************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | verify 2.4 not installed] **************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | remove mongo 2.4 if present] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | install python pymongo for mongo_user ansible module] **********
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | add the mongodb signing key] ***********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | add the mongodb repo to the sources list] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | install mongo server and recommends] ***************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | create mongo dirs] *********************************************
==> default: ok: [localhost] => (item=/edx/var/mongo)
==> default: ok: [localhost] => (item=/edx/var/mongo/mongodb)
==> default: ok: [localhost] => (item=/edx/var/log/mongo)
==> default: ok: [localhost] => (item=/edx/var/mongo/mongodb/journal)
==> default:
==> default: TASK: [mongo | stop mongod service] *******************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | move mongodb to {{ mongo_data_dir }}] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | copy mongodb key file] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mongo | copy configuration template] ***********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [mongo | start mongo service] *******************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [mongo | wait for mongo server to start] ********************************
==> default: failed: [localhost] => {"elapsed": 300, "failed": true}
==> default: msg: Timeout when waiting for 127.0.0.1:27017
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | wait for mongo server to start ----------------------------------------- 300.82s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir ------------ 7.79s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | install mongo server and recommends -------------------------------------- 3.29s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | install a bunch of system packages on which edx_ansible relies ----- 2.91s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | Install role-independent useful system packages ------------------------- 2.77s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:server_utils | Install system packages ------------------------------------------- 2.74s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | pip install virtualenv -------------------------------------------------- 2.39s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | install edx_ansible venv requirements ------------------------------ 1.66s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | Update CA Certificates -------------------------------------------------- 0.97s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | install memcached ----------------------------------------------------- 0.71s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | install mysql 56 and dependencies ---------------------------------------- 0.70s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | install packages needed for single server ----------------------------- 0.68s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | install python pymongo for mongo_user ansible module --------------------- 0.60s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | Create common directories ----------------------------------------------- 0.51s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | Copy the templates to their respestive destination ---------------------- 0.38s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | create database users ------------------------------------------------- 0.33s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | setup the migration db user ------------------------------------------- 0.31s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | create databases ------------------------------------------------------ 0.30s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | create mongo dirs -------------------------------------------------------- 0.28s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | Add git apt repository -------------------------------------------------- 0.25s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | create edx_ansible app and venv dir -------------------------------- 0.22s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | Ensure Anonymous user(s) does not exist ---------------------------------- 0.20s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:vhost | Copy the templates to their respestive destination ----------------------- 0.20s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | Add user www-data ------------------------------------------------------- 0.16s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | start mysql -------------------------------------------------------------- 0.13s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | Install apt repository --------------------------------------------------- 0.13s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | add the mongodb repo to the sources list --------------------------------- 0.12s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | add the mongodb signing key ---------------------------------------------- 0.11s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | add edx ppa apt key ----------------------------------------------------- 0.11s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mysql | Add MySQL experimental apt key ------------------------------------------- 0.11s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | create update script ----------------------------------------------- 0.11s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create sudoers file from template ----------------------------------------- 0.10s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | start mongo service ------------------------------------------------------ 0.10s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | create application user -------------------------------------------- 0.10s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | copy configuration template ---------------------------------------------- 0.10s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | stop mongod service ------------------------------------------------------ 0.10s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | setup the admin db user ----------------------------------------------- 0.10s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | grant full sudo access to the edxadmin group ------------------------------ 0.09s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | setup the read-only db user ------------------------------------------- 0.09s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | upload sudo config for key forwarding as root --------------------------- 0.09s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create the edxadmin group ------------------------------------------------- 0.08s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | check if instance is vagrant -------------------------------------------- 0.08s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | create a symlink for ansible-playbook ------------------------------ 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | create a symlink for update.sh ------------------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | check to see that MongoDB 2.4 is not installed --------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | ensure sudoers.d is read -------------------------------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edx_ansible | create a symlink for the playbooks dir ----------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | move mongodb to {{ mongo_data_dir }} ------------------------------------- 0.07s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | change home directory ownership to root for restricted users -------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | verify 2.4 not installed ------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | debug -------------------------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | install security packages --------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create bashrc file for normal users --------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create allowed command links ---------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create .profile for all users --------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | modify shell for restricted users ----------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | update /etc/hosts ------------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create bashrc file for restricted users ----------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:vhost | restart ssh -------------------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create the users ---------------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | remove mongo 2.4 if present ---------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | restart rsyslogd -------------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | run hostname ------------------------------------------------------------ 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | create a database for the hive metastore ------------------------------ 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | create ~/bin directory ---------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | setup the edx-notes-api db user --------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | get github key(s) and update the authorized_keys file --------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | create read-only reports user for the analytics-api ------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:common | update /etc/hostname ---------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:mongo | copy mongodb key file ---------------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:edxlocal | create api user for the analytics api --------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:user | assign admin role to admin users ------------------------------------------ 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | only unattended-upgrade from security repo ---------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | disable unattended-upgrades ------------------------------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | Check again and fail if we are still vulnerable ----------------------- 0.01s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | Apply glibc security update if we are vulnerable ---------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | update all system packages -------------------------------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | Check if we are vulnerable -------------------------------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | disable security only updates on unattended-upgrades ------------------ 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | GHOST.c --------------------------------------------------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | Apply bash security update if we are vulnerable ----------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | compile GHOST --------------------------------------------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:security | configure periodic unattended-upgrades -------------------------------- 0.00s
==> default: INFO:ansible.callback_plugins.datadog_tasks_timing:
==> default: Playbook vagrant-devstack finished: Thu Jan 7 16:16:54 2016, 83 total tasks. 0:05:33 elapsed.
==> default: to retry, use: --limit @/root/vagrant-devstack.retry
==> default:
==> default: localhost : ok=59 changed=5 unreachable=0 failed=1
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
[db@mastodon:~/devstack]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment