Skip to content

Instantly share code, notes, and snippets.

@dakl
Created October 21, 2015 06:16
Show Gist options
  • Save dakl/c5f7e09943fdf4d8acd8 to your computer and use it in GitHub Desktop.
Save dakl/c5f7e09943fdf4d8acd8 to your computer and use it in GitHub Desktop.
$ vagrant up
Bringing machine 'stackstorm-master' up with 'virtualbox' provider...
Bringing machine 'testarteria1' up with 'virtualbox' provider...
Bringing machine 'testuppmax' up with 'virtualbox' provider...
==> stackstorm-master: Importing base box 'ubuntu/trusty64'...
==> stackstorm-master: Matching MAC address for NAT networking...
==> stackstorm-master: Checking if box 'ubuntu/trusty64' is up to date...
==> stackstorm-master: Setting the name of the VM: arteria-provisioning_stackstorm-master_1445365324370_61846
==> stackstorm-master: Clearing any previously set forwarded ports...
==> stackstorm-master: Fixed port collision for 22 => 2222. Now on port 2201.
==> stackstorm-master: Clearing any previously set network interfaces...
==> stackstorm-master: Preparing network interfaces based on configuration...
stackstorm-master: Adapter 1: nat
stackstorm-master: Adapter 2: hostonly
==> stackstorm-master: Forwarding ports...
stackstorm-master: 22 => 2201 (adapter 1)
==> stackstorm-master: Running 'pre-boot' VM customizations...
==> stackstorm-master: Booting VM...
==> stackstorm-master: Waiting for machine to boot. This may take a few minutes...
stackstorm-master: SSH address: 127.0.0.1:2201
stackstorm-master: SSH username: vagrant
stackstorm-master: SSH auth method: private key
stackstorm-master: Warning: Connection timeout. Retrying...
stackstorm-master:
stackstorm-master: Vagrant insecure key detected. Vagrant will automatically replace
stackstorm-master: this with a newly generated keypair for better security.
stackstorm-master:
stackstorm-master: Inserting generated public key within guest...
stackstorm-master: Removing insecure key from the guest if its present...
stackstorm-master: Key inserted! Disconnecting and reconnecting using new SSH key...
==> stackstorm-master: Machine booted and ready!
==> stackstorm-master: Checking for guest additions in VM...
==> stackstorm-master: Setting hostname...
==> stackstorm-master: Configuring and enabling network interfaces...
==> stackstorm-master: Mounting shared folders...
stackstorm-master: /vagrant => /Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning
stackstorm-master: /arteria/arteria-core => /Users/dankle/vms/proj/b2010040/arteria/arteria-core
stackstorm-master: /arteria/arteria-packs => /Users/dankle/vms/proj/b2010040/arteria/arteria-packs
stackstorm-master: /arteria/arteria-siswrap => /Users/dankle/vms/proj/b2010040/arteria/arteria-siswrap
stackstorm-master: /arteria/arteria-bcl2fastq => /Users/dankle/vms/proj/b2010040/arteria/arteria-bcl2fastq
stackstorm-master: /arteria/arteria-runfolder => /Users/dankle/vms/proj/b2010040/arteria/arteria-runfolder
stackstorm-master: /arteria/arteria-provisioning => /Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning
stackstorm-master: /opt/stackstorm/packs/arteria-packs => /Users/dankle/vms/proj/b2010040/arteria/arteria-packs
==> stackstorm-master: Updating /etc/hosts file on active guest machines...
==> stackstorm-master: Updating /etc/hosts file on host machine (password may be required)...
==> stackstorm-master: Running provisioner: file...
==> stackstorm-master: Running provisioner: file...
==> stackstorm-master: Running provisioner: shell...
stackstorm-master: Running: inline script
==> stackstorm-master: stdin: is not a tty
==> stackstorm-master: Running provisioner: shell...
stackstorm-master: Running: inline script
==> stackstorm-master: stdin: is not a tty
==> stackstorm-master: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/.vagrant/machines/stackstorm-master/virtualbox/private_key --user=vagrant --connection=ssh --limit='stackstorm-master' --inventory-file=ansible-st2/inventories/test_inventory ansible-st2/playbooks/arteriaexpress.yaml
PLAY [Install st2 for arteria] ************************************************
GATHERING FACTS ***************************************************************
ok: [stackstorm-master]
TASK: [locale | copy src=locale dest=/etc/default/locale] *********************
changed: [stackstorm-master]
TASK: [locale | command locale-gen en_US.UTF-8] *******************************
changed: [stackstorm-master]
TASK: [locale | command dpkg-reconfigure locales] *****************************
changed: [stackstorm-master]
TASK: [mongodb | Install dependencies] ****************************************
changed: [stackstorm-master] => (item=mongodb,mongodb-server)
TASK: [rabbitmq | Ensure rabbitmq repo] ***************************************
changed: [stackstorm-master]
TASK: [rabbitmq | Ensure rabbitmq repo key] ***********************************
changed: [stackstorm-master]
TASK: [rabbitmq | Install rabbitmq packages] **********************************
changed: [stackstorm-master] => (item=rabbitmq-server)
TASK: [rabbitmq | Enable rabbitmq_management plugin] **************************
changed: [stackstorm-master]
NOTIFIED: [rabbitmq | restart rabbitmq] ***************************************
changed: [stackstorm-master]
TASK: [rabbitmq | Install rabbitmqadmin] **************************************
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Make sure the CA certificates are available] ***
ok: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Add PostgreSQL repository apt-key] ******
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Add PostgreSQL repository] **************
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Add PostgreSQL repository preferences] ***
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Make sure the dependencies are installed] ***
changed: [stackstorm-master] => (item=python-psycopg2,python-pycurl,locales)
TASK: [ANXS.postgresql | PostgreSQL | Install PostgreSQL] *********************
changed: [stackstorm-master] => (item=postgresql-9.3,postgresql-client-9.3,postgresql-contrib-9.3)
TASK: [ANXS.postgresql | PostgreSQL | PGTune] *********************************
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Extensions | Make sure the postgres contrib extensions are installed] ***
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Extensions | Make sure the development headers are installed] ***
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Extensions | Make sure the postgis extensions are installed] ***
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Make sure the postgres data directory exists] ***
ok: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Ensure the locale is generated] *********
ok: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Reset the cluster - drop the existing one] ***
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Reset the cluster - create a new one (with specified encoding and locale)] ***
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Update configuration - pt. 1 (pg_hba.conf)] ***
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Update configuration - pt. 2 (postgresql.conf)] ***
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Update configuration - pt. 3 (pgtune)] ***
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Create folder for additional configuration files] ***
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Restart PostgreSQL] *********************
changed: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Ensure PostgreSQL is running] ***********
ok: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Make sure the PostgreSQL users are present] ***
changed: [stackstorm-master] => (item={'encrypted': True, 'name': 'mistral', 'pass': 'StackStorm'})
TASK: [ANXS.postgresql | PostgreSQL | Ensure PostgreSQL is running] ***********
ok: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | Make sure the PostgreSQL databases are present] ***
changed: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | PostgreSQL | Add hstore to the databases with the requirement] ***
skipping: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | PostgreSQL | Add uuid-ossp to the database with the requirement] ***
skipping: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | PostgreSQL | Add postgis to the databases with the requirement] ***
skipping: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | postgresql | add cube to the database with the requirement] ***
skipping: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | PostgreSQL | Add plpgsql to the database with the requirement] ***
skipping: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | postgresql | add earthdistance to the database with the requirement] ***
skipping: [stackstorm-master] => (item={'name': 'mistral'})
TASK: [ANXS.postgresql | PostgreSQL | Update the user privileges] *************
skipping: [stackstorm-master]
TASK: [ANXS.postgresql | PostgreSQL | (Monit) Copy the postgresql monit service file] ***
skipping: [stackstorm-master]
TASK: [mistral | Pick Mistral branch] *****************************************
ok: [stackstorm-master] => (item={'then': 'st2-0.5.1', 'if': '0.0.0'})
ok: [stackstorm-master] => (item={'then': 'st2-0.8', 'if': '0.8.0'})
ok: [stackstorm-master] => (item={'then': 'st2-0.8.1', 'if': '0.8.1'})
ok: [stackstorm-master] => (item={'then': 'st2-0.9.0', 'if': '0.9.0'})
ok: [stackstorm-master] => (item={'then': 'st2-0.13.0', 'if': 0.13})
TASK: [mistral | Install dependencies] ****************************************
changed: [stackstorm-master] => (item=git,libssl-dev,libyaml-dev,libffi-dev,libxml2-dev,libxslt1-dev,libpq-dev,python-dev,python-pip)
TASK: [mistral | Install pip virtualenv] **************************************
changed: [stackstorm-master]
TASK: [mistral | Create directory] ********************************************
changed: [stackstorm-master]
TASK: [mistral | Clone Mistral repo] ******************************************
changed: [stackstorm-master]
TASK: [mistral | Install requirements] ****************************************
changed: [stackstorm-master]
TASK: [mistral | Install Mistral] *********************************************
changed: [stackstorm-master]
TASK: [mistral | Create mistral log dir] **************************************
changed: [stackstorm-master]
TASK: [mistral | Create actions directory] ************************************
changed: [stackstorm-master]
TASK: [mistral | Clone Mistral actions repo] **********************************
changed: [stackstorm-master]
TASK: [mistral | Install Mistral actions] *************************************
changed: [stackstorm-master]
TASK: [mistral | Copy Mistral config] *****************************************
changed: [stackstorm-master]
TASK: [mistral | Copy Mistral log config] *************************************
changed: [stackstorm-master]
TASK: [mistral | Change Mistral log path] *************************************
changed: [stackstorm-master]
TASK: [mistral | Change Mistral trace path] ***********************************
changed: [stackstorm-master]
TASK: [mistral | Create init config] ******************************************
changed: [stackstorm-master]
TASK: [mistral | Sync database] ***********************************************
changed: [stackstorm-master]
TASK: [mistral | Install Mistral client] **************************************
changed: [stackstorm-master]
TASK: [st2 | requirements | Check if there is enough memory] ******************
skipping: [stackstorm-master]
TASK: [st2 | requirements | Get available disk space] *************************
ok: [stackstorm-master]
TASK: [st2 | requirements | Check if there is enough disc space] **************
skipping: [stackstorm-master]
TASK: [st2 | version | Lookup literal version] ********************************
skipping: [stackstorm-master]
TASK: [st2 | version | Save version number to install] ************************
ok: [stackstorm-master]
TASK: [st2 | version | Check that specified st2 version is available] *********
ok: [stackstorm-master -> 127.0.0.1]
TASK: [st2 | version | Lookup StackStorm revision to install] *****************
ok: [stackstorm-master]
TASK: [st2 | version | Gather StackStorm package info] ************************
failed: [stackstorm-master] => {"changed": false, "cmd": ["dpkg", "-s", "st2common"], "delta": "0:00:00.020328", "end": "2015-10-20 18:28:31.752709", "rc": 1, "start": "2015-10-20 18:28:31.732381", "stdout_lines": [], "warnings": []}
stderr: dpkg-query: package 'st2common' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
...ignoring
TASK: [st2 | version | Check if StackStorm is already installed] **************
ok: [stackstorm-master]
TASK: [st2 | version | Get installed StackStorm version and revision] *********
skipping: [stackstorm-master]
TASK: [st2 | user | Create system user] ***************************************
changed: [stackstorm-master]
TASK: [st2 | user | Authorize key-based access for system user] ***************
changed: [stackstorm-master]
TASK: [st2 | user | Add system user to sudoers] *******************************
changed: [stackstorm-master]
TASK: [st2 | dependencies | Install system dependencies] **********************
changed: [stackstorm-master] => (item=git,python-dev,python-pip,realpath)
TASK: [st2 | dependencies | Upgrade pip] **************************************
changed: [stackstorm-master]
TASK: [st2 | dependencies | Install pip virtualenv] ***************************
ok: [stackstorm-master]
TASK: [st2 | dependencies | Install st2 pip dependencies] *********************
changed: [stackstorm-master]
TASK: [st2 | packages | Make temp directory] **********************************
changed: [stackstorm-master]
TASK: [st2 | packages | Download] *********************************************
changed: [stackstorm-master] => (item=st2common)
changed: [stackstorm-master] => (item=st2actions)
changed: [stackstorm-master] => (item=st2api)
changed: [stackstorm-master] => (item=st2auth)
changed: [stackstorm-master] => (item=st2client)
changed: [stackstorm-master] => (item=st2debug)
changed: [stackstorm-master] => (item=st2reactor)
TASK: [st2 | packages | Install] **********************************************
changed: [stackstorm-master] => (item={'md5sum': 'eea112fdac768a5b93005fb698664def', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2common_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (1497028 bytes)', 'owner': 'vagrant', 'size': 1497028, 'src': '/tmp/tmpGeaG6B', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2common_0.13.2-5_amd64.deb', 'checksum': '20af691187d1a4932c56762ef7b1a439a1b6cd50', 'changed': True, 'item': 'st2common', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2common_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2common_0.13.2-5_amd64.deb'}, 'module_args': ''}})
changed: [stackstorm-master] => (item={'md5sum': '9ce4910ff29f554dd44040172e30a402', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2actions_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (47670 bytes)', 'owner': 'vagrant', 'size': 47670, 'src': '/tmp/tmpt73r21', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2actions_0.13.2-5_amd64.deb', 'checksum': 'de386c1508e87b950eaf73405410f678732b91cb', 'changed': True, 'item': 'st2actions', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2actions_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2actions_0.13.2-5_amd64.deb'}, 'module_args': ''}})
changed: [stackstorm-master] => (item={'md5sum': '9ccede0e50b36528499f7d8bc6a5f64b', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2api_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (43106 bytes)', 'owner': 'vagrant', 'size': 43106, 'src': '/tmp/tmpeKORBV', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2api_0.13.2-5_amd64.deb', 'checksum': 'c0118f0bb40570ba871fb0aa6bcd2be63b1cda65', 'changed': True, 'item': 'st2api', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2api_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2api_0.13.2-5_amd64.deb'}, 'module_args': ''}})
changed: [stackstorm-master] => (item={'md5sum': '7aa2a2f0736d360b3ffe9c627f04110d', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2auth_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (8846 bytes)', 'owner': 'vagrant', 'size': 8846, 'src': '/tmp/tmphqPuTm', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2auth_0.13.2-5_amd64.deb', 'checksum': 'ea0b42a91cc09333bbea75cd4fd2aae1c1e53ece', 'changed': True, 'item': 'st2auth', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2auth_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2auth_0.13.2-5_amd64.deb'}, 'module_args': ''}})
changed: [stackstorm-master] => (item={'md5sum': '1dc291701ac99280a6e8562382f2eb25', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2client_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (31126 bytes)', 'owner': 'vagrant', 'size': 31126, 'src': '/tmp/tmpcpWDwh', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2client_0.13.2-5_amd64.deb', 'checksum': 'd5239a2f74ce6af8b1e67244497f80c6f3270a25', 'changed': True, 'item': 'st2client', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2client_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2client_0.13.2-5_amd64.deb'}, 'module_args': ''}})
changed: [stackstorm-master] => (item={'md5sum': '3e2ebcb9603d45e203c2b8c5641c5b13', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2debug_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (11342 bytes)', 'owner': 'vagrant', 'size': 11342, 'src': '/tmp/tmpfvgmTd', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2debug_0.13.2-5_amd64.deb', 'checksum': 'f2c4ec3fbba18d598ecafe98fb1d4e81c2b6cdba', 'changed': True, 'item': 'st2debug', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2debug_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2debug_0.13.2-5_amd64.deb'}, 'module_args': ''}})
changed: [stackstorm-master] => (item={'md5sum': '964b7dacd30bd6d1ccb20f89adeb2050', 'uid': 1000, 'dest': '/tmp/st2/0.13.2/debs/5/st2reactor_0.13.2-5_amd64.deb', 'sha256sum': u'', 'msg': 'OK (24424 bytes)', 'owner': 'vagrant', 'size': 24424, 'src': '/tmp/tmp3YdPEy', 'group': 'vagrant', 'url': 'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2reactor_0.13.2-5_amd64.deb', 'checksum': 'ffe25c987652f00b3644075409b52dc4944cf5de', 'changed': True, 'item': 'st2reactor', 'state': 'file', 'gid': 1000, 'mode': '0664', 'invocation': {'module_name': u'get_url', 'module_complex_args': {'url': u'https://downloads.stackstorm.net/releases/st2/0.13.2/debs/5/st2reactor_0.13.2-5_amd64.deb', 'dest': u'/tmp/st2/0.13.2/debs/5/st2reactor_0.13.2-5_amd64.deb'}, 'module_args': ''}})
TASK: [st2 | upstart | Create init configs from templates] ********************
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2actions/st2actionrunner.j2)
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2actions/st2notifier.j2)
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2actions/st2resultstracker.j2)
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2api/st2api.j2)
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2auth/st2auth.j2)
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2reactor/st2rulesengine.j2)
changed: [stackstorm-master] => (item=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/ansible-st2/roles/st2/templates/st2reactor/st2sensorcontainer.j2)
TASK: [st2 | upstart | Create st2actionrunner workers] ************************
changed: [stackstorm-master] => (item=1)
changed: [stackstorm-master] => (item=2)
TASK: [st2 | upstart | Create list of st2 services] ***************************
ok: [stackstorm-master]
TASK: [st2 | upstart | Enable st2 init services] ******************************
ok: [stackstorm-master] => (item=st2actionrunner)
ok: [stackstorm-master] => (item=st2notifier)
ok: [stackstorm-master] => (item=st2resultstracker)
ok: [stackstorm-master] => (item=st2api)
ok: [stackstorm-master] => (item=st2auth)
ok: [stackstorm-master] => (item=st2rulesengine)
ok: [stackstorm-master] => (item=st2sensorcontainer)
TASK: [st2 | Config proxy auth] ***********************************************
skipping: [stackstorm-master] => (item={'option': 'mode', 'value': 'proxy'})
TASK: [st2 | Config stanalone auth] *******************************************
changed: [stackstorm-master] => (item={'option': 'mode', 'value': 'standalone'})
ok: [stackstorm-master] => (item={'option': 'backend', 'value': 'flat_file'})
changed: [stackstorm-master] => (item={'option': 'backend_kwargs', 'value': '{"file_path": "/etc/st2/htpasswd"}'})
TASK: [st2 | Create htpasswd file] ********************************************
changed: [stackstorm-master]
TASK: [st2 | Register content] ************************************************
changed: [stackstorm-master]
TASK: [st2web | Download webui] ***********************************************
changed: [stackstorm-master]
TASK: [st2web | Create /opt/opt/stackstorm/static/] ***************************
changed: [stackstorm-master]
TASK: [st2web | Uncompress webui] *********************************************
changed: [stackstorm-master]
TASK: [st2web | Set config] ***************************************************
changed: [stackstorm-master]
TASK: [st2web | Change directory owner from default stanley to our local user] ***
changed: [stackstorm-master]
TASK: [st2web | Restart st2] **************************************************
changed: [stackstorm-master]
TASK: [arteria | apt-get purge sendmail] **************************************
ok: [stackstorm-master]
TASK: [arteria | apt-get purge sendmail-cf] ***********************************
ok: [stackstorm-master]
TASK: [arteria | Install postfix and dependencies] ****************************
changed: [stackstorm-master] => (item=postfix,mailutils,libsasl2-2,ca-certificates,libsasl2-modules)
TASK: [arteria | distribute gmail authentication file] ************************
changed: [stackstorm-master]
TASK: [arteria | distribute postfix configuration] ****************************
changed: [stackstorm-master]
TASK: [arteria | copy certificate to right place] *****************************
changed: [stackstorm-master]
TASK: [arteria | change file owner of postfix configurations] *****************
changed: [stackstorm-master]
TASK: [arteria | rebuild the hash] ********************************************
changed: [stackstorm-master]
TASK: [arteria | Change the system user from the default stanley to our provision user] ***
changed: [stackstorm-master]
TASK: [arteria | Change the system user's SSH key] ****************************
changed: [stackstorm-master]
TASK: [arteria | Create log dir for arteria] **********************************
changed: [stackstorm-master]
TASK: [arteria | Pause for 1 minute until stackstorm services are up and online] ***
(^C-c = continue early, ^C-a = abort)
[stackstorm-master]
Pausing for 60 seconds
ok: [stackstorm-master]
TASK: [arteria | Get st2 token] ***********************************************
changed: [stackstorm-master]
TASK: [arteria | Setup virtualenv for arteria-packs] **************************
changed: [stackstorm-master]
TASK: [arteria | Register arteria-packs] **************************************
changed: [stackstorm-master]
TASK: [arteria | Ensure api is reachable from web-ui] *************************
changed: [stackstorm-master]
NOTIFIED: [mistral | restart mistral] *****************************************
changed: [stackstorm-master]
NOTIFIED: [st2 | restart st2] *************************************************
changed: [stackstorm-master] => (item=st2actionrunner)
changed: [stackstorm-master] => (item=st2notifier)
changed: [stackstorm-master] => (item=st2resultstracker)
changed: [stackstorm-master] => (item=st2api)
changed: [stackstorm-master] => (item=st2auth)
changed: [stackstorm-master] => (item=st2rulesengine)
changed: [stackstorm-master] => (item=st2sensorcontainer)
NOTIFIED: [arteria | restart postfix] *****************************************
changed: [stackstorm-master]
PLAY [Setup the testarteria1 node] ********************************************
skipping: no hosts matched
PLAY [Setup test remote node] *************************************************
skipping: no hosts matched
PLAY RECAP ********************************************************************
stackstorm-master : ok=100 changed=74 unreachable=0 failed=0
==> testarteria1: Importing base box 'puppetlabs/centos-6.6-64-puppet'...
==> testarteria1: Matching MAC address for NAT networking...
==> testarteria1: Checking if box 'puppetlabs/centos-6.6-64-puppet' is up to date...
==> testarteria1: Setting the name of the VM: arteria-provisioning_testarteria1_1445365916100_91154
==> testarteria1: Fixed port collision for 22 => 2222. Now on port 2202.
==> testarteria1: Clearing any previously set network interfaces...
==> testarteria1: Preparing network interfaces based on configuration...
testarteria1: Adapter 1: nat
testarteria1: Adapter 2: hostonly
==> testarteria1: Forwarding ports...
testarteria1: 22 => 2202 (adapter 1)
==> testarteria1: Running 'pre-boot' VM customizations...
==> testarteria1: Booting VM...
==> testarteria1: Waiting for machine to boot. This may take a few minutes...
testarteria1: SSH address: 127.0.0.1:2202
testarteria1: SSH username: vagrant
testarteria1: SSH auth method: private key
testarteria1: Warning: Connection timeout. Retrying...
testarteria1: Warning: Remote connection disconnect. Retrying...
testarteria1: Warning: Remote connection disconnect. Retrying...
testarteria1:
testarteria1: Vagrant insecure key detected. Vagrant will automatically replace
testarteria1: this with a newly generated keypair for better security.
testarteria1:
testarteria1: Inserting generated public key within guest...
testarteria1: Removing insecure key from the guest if its present...
testarteria1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> testarteria1: Machine booted and ready!
==> testarteria1: Checking for guest additions in VM...
==> testarteria1: Setting hostname...
==> testarteria1: Configuring and enabling network interfaces...
==> testarteria1: Mounting shared folders...
testarteria1: /vagrant => /Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning
testarteria1: /arteria/arteria-core => /Users/dankle/vms/proj/b2010040/arteria/arteria-core
testarteria1: /arteria/arteria-packs => /Users/dankle/vms/proj/b2010040/arteria/arteria-packs
testarteria1: /arteria/arteria-siswrap => /Users/dankle/vms/proj/b2010040/arteria/arteria-siswrap
testarteria1: /arteria/arteria-runfolder => /Users/dankle/vms/proj/b2010040/arteria/arteria-runfolder
testarteria1: /arteria/arteria-bcl2fastq => /Users/dankle/vms/proj/b2010040/arteria/arteria-bcl2fastq
testarteria1: /arteria/arteria-provisioning => /Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning
==> testarteria1: Updating /etc/hosts file on active guest machines...
==> testarteria1: Updating /etc/hosts file on host machine (password may be required)...
Password:
==> testarteria1: Running provisioner: file...
==> testarteria1: Running provisioner: file...
==> testarteria1: Running provisioner: shell...
testarteria1: Running: inline script
==> testarteria1: Running provisioner: shell...
testarteria1: Running: inline script
==> testarteria1: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/.vagrant/machines/testarteria1/virtualbox/private_key --user=vagrant --connection=ssh --limit='testarteria1' --inventory-file=ansible-st2/inventories/test_inventory ansible-st2/playbooks/arteriaexpress.yaml
PLAY [Install st2 for arteria] ************************************************
skipping: no hosts matched
PLAY [Setup the testarteria1 node] ********************************************
GATHERING FACTS ***************************************************************
ok: [testarteria1]
TASK: [sisyphus | install sisyphus dependencies from centos repository] *******
changed: [testarteria1] => (item=epel-release,dos2unix,gnuplot,PyXML,ImageMagick,libxslt-devel,libxml2-devel,libxml2-devel,ncurses-devel,libtiff-devel,perl-XML-LibXML,perl-XML-LibXML-Common,perl-XML-NamespaceSupport,perl-XML-SAX,perl-XML-Simple,perl-Archive-Zip,perl-CPAN,git)
TASK: [sisyphus | install sisyphus dependencies from epel repository] *********
changed: [testarteria1] => (item=perl-PDL,perl-PerlIO-gzip)
TASK: [sisyphus | download cpanm] *********************************************
changed: [testarteria1]
TASK: [sisyphus | install cpanm] **********************************************
changed: [testarteria1]
TASK: [sisyphus | install File::NFSLock] **************************************
ok: [testarteria1]
TASK: [sisyphus | create sisyphus code folder] ********************************
changed: [testarteria1]
TASK: [sisyphus | get sisyphus code] ******************************************
changed: [testarteria1]
TASK: [sisyphus | get sisyphus version] ***************************************
changed: [testarteria1]
TASK: [sisyphus | check if latest sisyphus version folder exists] *************
ok: [testarteria1]
TASK: [sisyphus | copy latest version to correct named folder] ****************
changed: [testarteria1]
TASK: [sisyphus | remove sisyphus-tmp] ****************************************
changed: [testarteria1]
TASK: [sisyphus | ensure latest version is globally readable] *****************
changed: [testarteria1]
TASK: [sisyphus | setup link to sisyphus latest] ******************************
changed: [testarteria1]
TASK: [sisyphus | set acl permissions on sisyphus code folder] ****************
changed: [testarteria1]
TASK: [arteria_core | install the 'Development tools' package group] **********
changed: [testarteria1]
TASK: [arteria_core | Install python-compile pre-reqs] ************************
changed: [testarteria1] => (item=zlib-devel,openssl-devel,sqlite-devel,bzip2-devel,wget,tar)
TASK: [arteria_core | Get python sources] *************************************
changed: [testarteria1]
TASK: [arteria_core | Untar python sources] ***********************************
changed: [testarteria1]
TASK: [arteria_core | compile python] *****************************************
changed: [testarteria1]
TASK: [arteria_core | download python setup-tools] ****************************
changed: [testarteria1]
TASK: [arteria_core | Untar setup-tools] **************************************
changed: [testarteria1]
TASK: [arteria_core | install setup-tools] ************************************
changed: [testarteria1]
TASK: [arteria_core | install pip] ********************************************
changed: [testarteria1]
TASK: [arteria_core | install other packages] *********************************
changed: [testarteria1] => (item=virtualenv)
changed: [testarteria1] => (item=supervisor)
TASK: [arteria_core | create supervisor directories] **************************
changed: [testarteria1]
TASK: [arteria_core | create supervisor directories] **************************
changed: [testarteria1]
TASK: [arteria_core | deploy supervisord config] ******************************
changed: [testarteria1]
TASK: [arteria_core | deploy supervisord_init] ********************************
changed: [testarteria1]
TASK: [arteria_core | chkconfig --add supervisord] ****************************
changed: [testarteria1]
TASK: [arteria_core | start supervisord] **************************************
changed: [testarteria1]
TASK: [arteria_core | ensure /var/log/arteria dir exists] *********************
changed: [testarteria1]
TASK: [arteria_core | ensure /etc/arteria dir exists] *************************
changed: [testarteria1]
TASK: [arteria_core | disable iptables] ***************************************
changed: [testarteria1]
TASK: [arteria_node | install illumina bcl2fastq] *****************************
changed: [testarteria1]
TASK: [arteria_node | get arteria-bcl2fastq from github] **********************
changed: [testarteria1]
TASK: [arteria_node | install arteria-bcl2fastq requirements] *****************
changed: [testarteria1]
TASK: [arteria_node | install arteria-bcl2fastq] ******************************
changed: [testarteria1]
TASK: [arteria_node | ensure bcl2fastq log dir exists] ************************
changed: [testarteria1]
TASK: [arteria_node | ensure /etc/arteria/bcl2fastq dir exists] ***************
changed: [testarteria1]
TASK: [arteria_node | place arteria-bcl2fastq config file in "{{ arteria_bcl2fastq_app_config }}"] ***
changed: [testarteria1]
TASK: [arteria_node | place arteria-bcl2fastq config file in "{{ arteria_bcl2fastq_logger_config }}"] ***
changed: [testarteria1]
TASK: [arteria_node | deploy arteria-bcl2fastq supervisord config] ************
changed: [testarteria1]
TASK: [arteria_node | supervisorctl ] *****************************************
ok: [testarteria1]
TASK: [arteria_node | create bcl2fastq-ws-test for easy integration testing] ***
changed: [testarteria1]
TASK: [arteria_node | running integration tests for bcl2fastq...] *************
failed: [testarteria1] => {"changed": true, "cmd": "sleep 2 && /usr/local/bin/bcl2fastq-ws-test", "delta": "0:00:02.122869", "end": "2015-10-20 18:48:49.382895", "rc": 1, "start": "2015-10-20 18:48:47.260026", "warnings": []}
stderr: E
======================================================================
ERROR: Failure: OSError (No such file /arteria/arteria-bcl2fastq/tests/integration)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/arteria/arteria-bcl2fastq-env/lib/python2.7/site-packages/nose/failure.py", line 42, in runTest
raise self.exc_class(self.exc_val)
OSError: No such file /arteria/arteria-bcl2fastq/tests/integration
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
...ignoring
TASK: [arteria_node | create /srv/qc_config folder] ***************************
changed: [testarteria1]
TASK: [arteria_node | Deploy Sisyphus quality control config] *****************
changed: [testarteria1]
TASK: [arteria_node | get arteria-siswrap from github] ************************
changed: [testarteria1]
TASK: [arteria_node | install arteria-siswrap requirements] *******************
changed: [testarteria1]
TASK: [arteria_node | install arteria-siswrap] ********************************
changed: [testarteria1]
TASK: [arteria_node | ensure /etc/arteria/siswrap conf dir exists] ************
changed: [testarteria1]
TASK: [arteria_node | deploying arteria-siswrap app config] *******************
changed: [testarteria1]
TASK: [arteria_node | deploying arteria-siswrap logger config] ****************
changed: [testarteria1]
TASK: [arteria_node | deploy arteria-siswrap supervisord config] **************
changed: [testarteria1]
TASK: [arteria_node | supervisorctl ] *****************************************
ok: [testarteria1]
TASK: [arteria_node | create siswrap-ws-test for easy integration testing] ****
changed: [testarteria1]
TASK: [arteria_node | running integration tests for siswrap...] ***************
failed: [testarteria1] => {"changed": true, "cmd": "sleep 2 && /usr/local/bin/siswrap-ws-test", "delta": "0:00:02.422388", "end": "2015-10-20 18:49:10.802604", "rc": 1, "start": "2015-10-20 18:49:08.380216", "warnings": []}
stdout: ============================= test session starts ==============================
platform linux2 -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2
rootdir: /arteria/arteria-siswrap, inifile:
plugins: cov, flakes, cache, tornado
collected 0 items / 1 errors
==================================== ERRORS ====================================
_______________ ERROR collecting tests/integration/rest_tests.py _______________
/arteria/arteria-siswrap/tests/integration/rest_tests.py:5: in <module>
from siswrap.configuration import ConfigurationService
E ImportError: No module named configuration
=========================== 1 error in 0.17 seconds ============================
...ignoring
TASK: [arteria_node | copy src=hiseq.rsync dest=/etc/arteria/misc/] ***********
changed: [testarteria1]
TASK: [arteria_node | copy src=ngi.rsync dest=/etc/arteria/misc/] *************
changed: [testarteria1]
TASK: [arteria_node | copy src=summary.rsync dest=/etc/arteria/misc/] *********
changed: [testarteria1]
TASK: [runfolder | select git sources] ****************************************
ok: [testarteria1]
TASK: [runfolder | select mounted sources] ************************************
skipping: [testarteria1]
TASK: [runfolder | get arteria-core from git for runfolder] *******************
changed: [testarteria1]
TASK: [runfolder | get arteria-runfolder from git] ****************************
changed: [testarteria1]
TASK: [runfolder | install arteria-core for runfolder and requirements] *******
changed: [testarteria1]
TASK: [runfolder | install arteria-core for runfolder] ************************
changed: [testarteria1]
TASK: [runfolder | install arteria-runfolder requirements] ********************
changed: [testarteria1]
TASK: [runfolder | install arteria-runfolder] *********************************
changed: [testarteria1]
TASK: [runfolder | ensure /etc/arteria/runfolder dir exists] ******************
changed: [testarteria1]
TASK: [runfolder | deploy arteria-runfolder app config] ***********************
changed: [testarteria1]
TASK: [runfolder | deploy arteria-runfolder logger config] ********************
changed: [testarteria1]
TASK: [runfolder | deploy arteria-runfolder supervisord config] ***************
changed: [testarteria1]
TASK: [runfolder | supervisorctl ] ********************************************
ok: [testarteria1]
TASK: [runfolder | ensure a folder exists for integration tests] **************
changed: [testarteria1]
TASK: [runfolder | create runfolder-ws-test, script for executing integration tests] ***
changed: [testarteria1]
TASK: [runfolder | running integration tests for runfolder...] ****************
changed: [testarteria1]
NOTIFIED: [arteria_node | restart siswrap] ************************************
ok: [testarteria1]
PLAY [Setup test remote node] *************************************************
skipping: no hosts matched
PLAY RECAP ********************************************************************
testarteria1 : ok=77 changed=69 unreachable=0 failed=0
==> testuppmax: Importing base box 'puppetlabs/centos-6.6-64-puppet'...
==> testuppmax: Matching MAC address for NAT networking...
==> testuppmax: Checking if box 'puppetlabs/centos-6.6-64-puppet' is up to date...
==> testuppmax: Setting the name of the VM: arteria-provisioning_testuppmax_1445366995074_40405
==> testuppmax: Fixed port collision for 22 => 2222. Now on port 2203.
==> testuppmax: Clearing any previously set network interfaces...
==> testuppmax: Preparing network interfaces based on configuration...
testuppmax: Adapter 1: nat
testuppmax: Adapter 2: hostonly
==> testuppmax: Forwarding ports...
testuppmax: 22 => 2203 (adapter 1)
==> testuppmax: Booting VM...
==> testuppmax: Waiting for machine to boot. This may take a few minutes...
testuppmax: SSH address: 127.0.0.1:2203
testuppmax: SSH username: vagrant
testuppmax: SSH auth method: private key
testuppmax: Warning: Connection timeout. Retrying...
testuppmax: Warning: Remote connection disconnect. Retrying...
testuppmax:
testuppmax: Vagrant insecure key detected. Vagrant will automatically replace
testuppmax: this with a newly generated keypair for better security.
testuppmax:
testuppmax: Inserting generated public key within guest...
testuppmax: Removing insecure key from the guest if its present...
testuppmax: Key inserted! Disconnecting and reconnecting using new SSH key...
==> testuppmax: Machine booted and ready!
==> testuppmax: Checking for guest additions in VM...
==> testuppmax: Setting hostname...
==> testuppmax: Configuring and enabling network interfaces...
==> testuppmax: Mounting shared folders...
testuppmax: /vagrant => /Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning
==> testuppmax: Updating /etc/hosts file on active guest machines...
==> testuppmax: Updating /etc/hosts file on host machine (password may be required)...
Password:
==> testuppmax: Running provisioner: file...
==> testuppmax: Running provisioner: file...
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: shell...
testuppmax: Running: inline script
==> testuppmax: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/Users/dankle/vms/proj/b2010040/arteria/arteria-provisioning/.vagrant/machines/testuppmax/virtualbox/private_key --user=vagrant --connection=ssh --limit='testuppmax' --inventory-file=ansible-st2/inventories/test_inventory ansible-st2/playbooks/arteriaexpress.yaml
PLAY [Install st2 for arteria] ************************************************
skipping: no hosts matched
PLAY [Setup the testarteria1 node] ********************************************
skipping: no hosts matched
PLAY [Setup test remote node] *************************************************
GATHERING FACTS ***************************************************************
ok: [testuppmax]
TASK: [sisyphus | install sisyphus dependencies from centos repository] *******
changed: [testuppmax] => (item=epel-release,dos2unix,gnuplot,PyXML,ImageMagick,libxslt-devel,libxml2-devel,libxml2-devel,ncurses-devel,libtiff-devel,perl-XML-LibXML,perl-XML-LibXML-Common,perl-XML-NamespaceSupport,perl-XML-SAX,perl-XML-Simple,perl-Archive-Zip,perl-CPAN,git)
TASK: [sisyphus | install sisyphus dependencies from epel repository] *********
changed: [testuppmax] => (item=perl-PDL,perl-PerlIO-gzip)
TASK: [sisyphus | download cpanm] *********************************************
changed: [testuppmax]
TASK: [sisyphus | install cpanm] **********************************************
changed: [testuppmax]
TASK: [sisyphus | install File::NFSLock] **************************************
ok: [testuppmax]
TASK: [sisyphus | create sisyphus code folder] ********************************
changed: [testuppmax]
TASK: [sisyphus | get sisyphus code] ******************************************
changed: [testuppmax]
TASK: [sisyphus | get sisyphus version] ***************************************
changed: [testuppmax]
TASK: [sisyphus | check if latest sisyphus version folder exists] *************
ok: [testuppmax]
TASK: [sisyphus | copy latest version to correct named folder] ****************
changed: [testuppmax]
TASK: [sisyphus | remove sisyphus-tmp] ****************************************
changed: [testuppmax]
TASK: [sisyphus | ensure latest version is globally readable] *****************
changed: [testuppmax]
TASK: [sisyphus | setup link to sisyphus latest] ******************************
changed: [testuppmax]
TASK: [sisyphus | set acl permissions on sisyphus code folder] ****************
changed: [testuppmax]
PLAY RECAP ********************************************************************
testuppmax : ok=15 changed=12 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment