machine-0.log: 2013/06/17 18:42:12 INFO worker/provisioner: found machine "18" pending provisioning 2013/06/17 18:42:12 DEBUG worker/firewaller: started watching unit postgresql/0 2013/06/17 18:42:12 DEBUG worker/firewaller: started watching machine 18 2013/06/17 18:42:12 INFO environs: reading tools with major version 1 2013/06/17 18:42:12 DEBUG environs/tools: reading v1.* tools 2013/06/17 18:42:12 INFO environs: falling back to public bucket 2013/06/17 18:42:12 DEBUG environs/tools: reading v1.* tools 2013/06/17 18:42:12 DEBUG environs/tools: found 1.10.0-precise-amd64 [...] 2013/06/17 18:42:12 DEBUG environs/tools: found 1.9.14-raring-amd64 2013/06/17 18:42:12 INFO environs: filtering tools by version: 1.11.0 2013/06/17 18:42:12 INFO environs: filtering tools by series: precise 2013/06/17 18:42:16 DEBUG environs/openstack: openstack user data; 2780 bytes 2013/06/17 18:42:21 INFO environs/openstack: started instance "5f3fce1f-31db-4439-8a87-e471eec96fbb" 2013/06/17 18:42:21 NOTICE worker/provisioner: started machine 18 as instance 5f3fce1f-31db-4439-8a87-e471eec96fbb 2013/06/17 18:43:52 DEBUG worker/firewaller: stopped watching unit postgresql/0 2013/06/17 18:44:27 INFO worker/provisioner: removing dead machine "18" 2013/06/17 18:44:27 DEBUG worker/firewaller: stopped watching machine 18 2013/06/17 18:44:27 DEBUG environs/openstack: terminating instances [5f3fce1f-31db-4439-8a87-e471eec96fbb 5f3fce1f-31db-4439-8a87-e471eec96fbb] all-machines.log: juju-lcy2-machine-0:2013/06/17 18:42:12 INFO worker/provisioner: found machine "18" pending provisioning juju-lcy2-machine-0:2013/06/17 18:42:12 DEBUG worker/firewaller: started watching unit postgresql/0 juju-lcy2-machine-0:2013/06/17 18:42:12 DEBUG worker/firewaller: started watching machine 18 juju-lcy2-machine-0:2013/06/17 18:42:12 INFO environs: reading tools with major version 1 juju-lcy2-machine-0:2013/06/17 18:42:12 DEBUG environs/tools: reading v1.* tools juju-lcy2-machine-0:2013/06/17 18:42:12 INFO environs: falling back to public bucket juju-lcy2-machine-0:2013/06/17 18:42:12 DEBUG environs/tools: reading v1.* tools juju-lcy2-machine-0:2013/06/17 18:42:12 DEBUG environs/tools: found 1.10.0-precise-amd64 [...] juju-lcy2-machine-0:2013/06/17 18:42:12 DEBUG environs/tools: found 1.9.14-raring-amd64 juju-lcy2-machine-0:2013/06/17 18:42:12 INFO environs: filtering tools by version: 1.11.0 juju-lcy2-machine-0:2013/06/17 18:42:12 INFO environs: filtering tools by series: precise juju-lcy2-machine-0:2013/06/17 18:42:16 DEBUG environs/openstack: openstack user data; 2780 bytes juju-lcy2-machine-0:2013/06/17 18:42:21 INFO environs/openstack: started instance "5f3fce1f-31db-4439-8a87-e471eec96fbb" juju-lcy2-machine-0:2013/06/17 18:42:21 NOTICE worker/provisioner: started machine 18 as instance 5f3fce1f-31db-4439-8a87-e471eec96fbb juju-lcy2-machine-18:2013/06/17 18:43:24 NOTICE agent starting juju-lcy2-machine-18:2013/06/17 18:43:24 INFO state: opening state; mongo addresses: ["10.55.63.175:37017"]; entity "machine-18" juju-lcy2-machine-18:2013/06/17 18:43:24 NOTICE agent starting juju-lcy2-machine-18:2013/06/17 18:43:24 INFO state: connection established juju-lcy2-machine-18:2013/06/17 18:43:25 INFO state: opening state; mongo addresses: ["10.55.63.175:37017"]; entity "machine-18" juju-lcy2-machine-18:2013/06/17 18:43:25 INFO state: connection established juju-lcy2-machine-18:2013/06/17 18:43:25 INFO jobs for machine agent: [JobHostUnits] juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/deployer: checking unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/deployer: deploying unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/machiner: agent for machine "18" is now alive juju-lcy2-machine-18:2013/06/17 18:43:25 INFO environs/openstack: opening environment "lcy2" juju-lcy2-machine-18:2013/06/17 18:43:25 NOTICE worker/machiner: machine "18" started juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/deployer: checking unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:25 NOTICE agent starting juju-lcy2-machine-18:2013/06/17 18:43:25 INFO state: opening state; mongo addresses: ["10.55.63.175:37017"]; entity "unit-postgresql-0" juju-lcy2-machine-18:2013/06/17 18:43:25 INFO state: connection established juju-lcy2-machine-18:2013/06/17 18:43:25 NOTICE worker/uniter: unit "postgresql/0" started juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter: ModeInit starting juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter: updating unit addresses juju-lcy2-machine-18:2013/06/17 18:43:25 INFO environs/openstack: opening environment "lcy2" juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter/filter: charm check skipped, not yet installed. juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter/filter: got unit change juju-lcy2-machine-18:2013/06/17 18:43:25 NOTICE worker/uniter/filter: unit is dying juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter/filter: got relations change juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter/filter: got service change juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter/filter: charm check skipped, unit is dying juju-lcy2-machine-18:2013/06/17 18:43:25 INFO reconciling relation state juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter: ModeInit exiting juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter: ModeContinue starting juju-lcy2-machine-18:2013/06/17 18:43:25 INFO loading uniter state juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter: charm is not deployed juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/uniter: ModeContinue exiting juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter: ModeInstalling cs:precise/postgresql-27 starting juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter: fetching charm "cs:precise/postgresql-27" juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/uniter/charm: downloading cs:precise/postgresql-27 from https://swift.canonistack.canonical.com/v1/AUTH_b448eaffea0f41588b365395216bdd7b/juju-f00ffd9f32089fc871a9c71a00000001/cs_3a_precise_2f_postgresql-27 juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/charm: download complete juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/charm: download verified juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/filter: changing charm to "cs:precise/postgresql-27" juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/filter: charm check skipped, unit is dying juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter: deploying charm "cs:precise/postgresql-27" juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/filter: got config change juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/filter: preparing new config event juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/filter: got relations change juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/charm: preparing new charm deployment juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/charm: deploying charm juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/charm: charm deployment succeeded juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter: charm "cs:precise/postgresql-27" is deployed juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter: ModeInstalling cs:precise/postgresql-27 exiting juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter: ModeContinue starting juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter: found queued "install" hook juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter: running "install" hook juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/jujuc: running hook tool "config-get" ["--format=json"] juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "INFO" "Running install hook"] juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:26 INFO postgresql/0: Running install hook juju-lcy2-machine-18:2013/06/17 18:43:26 INFO worker/uniter/jujuc: running hook tool "config-get" ["extra_archives" "--format=json"] juju-lcy2-machine-18:2013/06/17 18:43:26 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:27 INFO worker/uniter: HOOK Preconfiguring packages ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package libxslt1.1. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK (Reading database ... 48096 files and directories currently installed.) juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1.3_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package libcrypt-passwdmd5-perl. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking libcrypt-passwdmd5-perl (from .../libcrypt-passwdmd5-perl_1.3-10_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package libossp-uuid16. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking libossp-uuid16 (from .../libossp-uuid16_1.6.2-1.1build3_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package libpq5. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking libpq5 (from .../libpq5_9.1.9-0ubuntu12.04_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package mtools. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking mtools (from .../mtools_4.0.12-1ubuntu0.12.04.1_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-client-common. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking postgresql-client-common (from .../postgresql-client-common_129ubuntu1_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-client-9.1. juju-lcy2-machine-18:2013/06/17 18:43:28 INFO worker/uniter: HOOK Unpacking postgresql-client-9.1 (from .../postgresql-client-9.1_9.1.9-0ubuntu12.04_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Selecting previously unselected package ssl-cert. juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Unpacking ssl-cert (from .../ssl-cert_1.0.28ubuntu0.1_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-common. juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Unpacking postgresql-common (from .../postgresql-common_129ubuntu1_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-9.1. juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Unpacking postgresql-9.1 (from .../postgresql-9.1_9.1.9-0ubuntu12.04_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Selecting previously unselected package postgresql. juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Unpacking postgresql (from .../postgresql_9.1+129ubuntu1_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-contrib-9.1. juju-lcy2-machine-18:2013/06/17 18:43:29 INFO worker/uniter: HOOK Unpacking postgresql-contrib-9.1 (from .../postgresql-contrib-9.1_9.1.9-0ubuntu12.04_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-contrib. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking postgresql-contrib (from .../postgresql-contrib_9.1+129ubuntu1_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 DEBUG worker/uniter/filter: got unit change juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-plpython-9.1. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking postgresql-plpython-9.1 (from .../postgresql-plpython-9.1_9.1.9-0ubuntu12.04_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package pwgen. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking pwgen (from .../pwgen_2.06-1ubuntu2_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package python-egenix-mxtools. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking python-egenix-mxtools (from .../python-egenix-mxtools_3.2.1-1ubuntu1_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package python-egenix-mxdatetime. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking python-egenix-mxdatetime (from .../python-egenix-mxdatetime_3.2.1-1ubuntu1_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package python-markupsafe. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking python-markupsafe (from .../python-markupsafe_0.15-1_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Selecting previously unselected package python-jinja2. juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/uniter: HOOK Unpacking python-jinja2 (from .../python-jinja2_2.6-1_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Selecting previously unselected package python-psycopg2. juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Unpacking python-psycopg2 (from .../python-psycopg2_2.4.5-1_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Selecting previously unselected package syslinux-common. juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Unpacking syslinux-common (from .../syslinux-common_2%3a4.05+dfsg-2_all.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Selecting previously unselected package syslinux. juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Unpacking syslinux (from .../syslinux_2%3a4.05+dfsg-2_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Selecting previously unselected package postgresql-9.1-debversion. juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Unpacking postgresql-9.1-debversion (from .../postgresql-9.1-debversion_1.0.6-1ubuntu2_amd64.deb) ... juju-lcy2-machine-18:2013/06/17 18:43:31 INFO worker/uniter: HOOK Processing triggers for man-db ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Processing triggers for install-info ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Processing triggers for ureadahead ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up libxslt1.1 (1.1.26-8ubuntu1.3) ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up libcrypt-passwdmd5-perl (1.3-10) ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up libossp-uuid16 (1.6.2-1.1build3) ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up libpq5 (9.1.9-0ubuntu12.04) ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up mtools (4.0.12-1ubuntu0.12.04.1) ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up postgresql-client-common (129ubuntu1) ... juju-lcy2-machine-18:2013/06/17 18:43:32 INFO worker/uniter: HOOK Setting up postgresql-client-9.1 (9.1.9-0ubuntu12.04) ... juju-lcy2-machine-18:2013/06/17 18:43:33 INFO worker/uniter: HOOK update-alternatives: using /usr/share/postgresql/9.1/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode. juju-lcy2-machine-18:2013/06/17 18:43:33 INFO worker/uniter: HOOK Setting up ssl-cert (1.0.28ubuntu0.1) ... juju-lcy2-machine-18:2013/06/17 18:43:33 INFO worker/uniter: HOOK Setting up postgresql-common (129ubuntu1) ... juju-lcy2-machine-18:2013/06/17 18:43:34 INFO worker/uniter: HOOK Adding user postgres to group ssl-cert juju-lcy2-machine-18:2013/06/17 18:43:34 INFO worker/uniter: HOOK Building PostgreSQL dictionaries from installed myspell/hunspell packages... juju-lcy2-machine-18:2013/06/17 18:43:34 INFO worker/uniter: HOOK Setting up postgresql-9.1 (9.1.9-0ubuntu12.04) ... juju-lcy2-machine-18:2013/06/17 18:43:34 INFO worker/uniter: HOOK Creating new cluster (configuration: /etc/postgresql/9.1/main, data: /var/lib/postgresql/9.1/main)... juju-lcy2-machine-18:2013/06/17 18:43:36 INFO worker/uniter: HOOK Moving configuration file /var/lib/postgresql/9.1/main/postgresql.conf to /etc/postgresql/9.1/main... juju-lcy2-machine-18:2013/06/17 18:43:36 INFO worker/uniter: HOOK Moving configuration file /var/lib/postgresql/9.1/main/pg_hba.conf to /etc/postgresql/9.1/main... juju-lcy2-machine-18:2013/06/17 18:43:36 INFO worker/uniter: HOOK Moving configuration file /var/lib/postgresql/9.1/main/pg_ident.conf to /etc/postgresql/9.1/main... juju-lcy2-machine-18:2013/06/17 18:43:36 INFO worker/uniter: HOOK Configuring postgresql.conf to use port 5432... juju-lcy2-machine-18:2013/06/17 18:43:36 INFO worker/uniter: HOOK update-alternatives: using /usr/share/postgresql/9.1/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode. juju-lcy2-machine-18:2013/06/17 18:43:36 INFO worker/uniter: HOOK * Starting PostgreSQL 9.1 database server juju-lcy2-machine-18:2013/06/17 18:43:39 INFO worker/uniter: HOOK ...done. juju-lcy2-machine-18:2013/06/17 18:43:39 INFO worker/uniter: HOOK Setting up postgresql (9.1+129ubuntu1) ... juju-lcy2-machine-18:2013/06/17 18:43:39 INFO worker/uniter: HOOK Setting up postgresql-contrib-9.1 (9.1.9-0ubuntu12.04) ... juju-lcy2-machine-18:2013/06/17 18:43:39 INFO worker/uniter: HOOK Setting up postgresql-contrib (9.1+129ubuntu1) ... juju-lcy2-machine-18:2013/06/17 18:43:39 INFO worker/uniter: HOOK Setting up postgresql-plpython-9.1 (9.1.9-0ubuntu12.04) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up pwgen (2.06-1ubuntu2) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up python-egenix-mxtools (3.2.1-1ubuntu1) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up python-egenix-mxdatetime (3.2.1-1ubuntu1) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up python-markupsafe (0.15-1) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up python-jinja2 (2.6-1) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up python-psycopg2 (2.4.5-1) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up syslinux-common (2:4.05+dfsg-2) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up syslinux (2:4.05+dfsg-2) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Setting up postgresql-9.1-debversion (1.0.6-1ubuntu2) ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK Processing triggers for libc-bin ... juju-lcy2-machine-18:2013/06/17 18:43:40 INFO worker/uniter: HOOK ldconfig deferred processing now taking place juju-lcy2-machine-18:2013/06/17 18:43:41 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "db"] juju-lcy2-machine-18:2013/06/17 18:43:41 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:41 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "db-admin"] juju-lcy2-machine-18:2013/06/17 18:43:41 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:41 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "master"] juju-lcy2-machine-18:2013/06/17 18:43:41 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:41 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "slave"] juju-lcy2-machine-18:2013/06/17 18:43:41 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:41 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "replication"] juju-lcy2-machine-18:2013/06/17 18:43:41 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:41 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "pg_dropcluster --stop 9.1 main"] juju-lcy2-machine-18:2013/06/17 18:43:41 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:41 INFO postgresql/0: pg_dropcluster --stop 9.1 main juju-lcy2-machine-18:2013/06/17 18:43:42 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "pg_createcluster --locale='C' --encoding='UTF-8' 9.1 main"] juju-lcy2-machine-18:2013/06/17 18:43:42 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:42 INFO postgresql/0: pg_createcluster --locale='C' --encoding='UTF-8' 9.1 main juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "/usr/bin/install -o postgres -g root -m 0755 -d /var/lib/postgresql/backups"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO postgresql/0: /usr/bin/install -o postgres -g root -m 0755 -d /var/lib/postgresql/backups juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "/usr/bin/install -o postgres -g root -m 0755 -d /var/lib/postgresql/scripts"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO postgresql/0: /usr/bin/install -o postgres -g root -m 0755 -d /var/lib/postgresql/scripts juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "/usr/bin/install -o postgres -g root -m 0755 -d /var/lib/postgresql/logs"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO postgresql/0: /usr/bin/install -o postgres -g root -m 0755 -d /var/lib/postgresql/logs juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "open-port" ["5432/TCP"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "config-get" ["extra_archives" "--format=json"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "free -m | grep Mem | awk '{print $2}'"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO postgresql/0: free -m | grep Mem | awk '{print $2}' juju-lcy2-machine-18:2013/06/17 18:43:43 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "sysctl -p /etc/sysctl.d/50-postgresql.conf"] juju-lcy2-machine-18:2013/06/17 18:43:43 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:43 INFO postgresql/0: sysctl -p /etc/sysctl.d/50-postgresql.conf juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "master"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "slave"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "replication"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "db"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "db-admin"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "INFO" "[]"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO postgresql/0: [] juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "master"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "slave"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "replication"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "replication"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "config-get" ["--format=json"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "juju-log" ["-l" "DEBUG" "Nagios user not set up. Exiting."] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO postgresql/0: Nagios user not set up. Exiting. juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "replication"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:44 INFO worker/uniter/jujuc: running hook tool "relation-ids" ["--format=json" "master"] juju-lcy2-machine-18:2013/06/17 18:43:44 DEBUG worker/uniter/jujuc: hook context id "postgresql/0:install:7082643639347082207"; dir "/var/lib/juju/agents/unit-postgresql-0/charm" juju-lcy2-machine-18:2013/06/17 18:43:24 NOTICE agent starting juju-lcy2-machine-18:2013/06/17 18:43:24 INFO state: opening state; mongo addresses: ["10.55.63.175:37017"]; entity "machine-18" juju-lcy2-machine-18:2013/06/17 18:43:24 NOTICE agent starting juju-lcy2-machine-18:2013/06/17 18:43:24 INFO state: connection established juju-lcy2-machine-18:2013/06/17 18:43:25 INFO state: opening state; mongo addresses: ["10.55.63.175:37017"]; entity "machine-18" juju-lcy2-machine-18:2013/06/17 18:43:25 INFO state: connection established juju-lcy2-machine-18:2013/06/17 18:43:25 INFO jobs for machine agent: [JobHostUnits] juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/deployer: checking unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:25 INFO worker/deployer: deploying unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:25 DEBUG worker/machiner: agent for machine "18" is now alive juju-lcy2-machine-18:2013/06/17 18:43:25 INFO environs/openstack: opening environment "lcy2" juju-lcy2-machine-18:2013/06/17 18:43:25 NOTICE worker/machiner: machine "18" started juju-lcy2-machine-18:2013/06/17 18:43:30 INFO worker/deployer: checking unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:55 INFO worker/deployer: checking unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:55 INFO worker/deployer: recalling unit "postgresql/0" juju-lcy2-machine-18:2013/06/17 18:43:55 INFO worker/deployer: removing unit "postgresql/0" juju-lcy2-machine-0:2013/06/17 18:43:52 DEBUG worker/firewaller: stopped watching unit postgresql/0 juju-lcy2-machine-18:2013/06/17 18:44:25 DEBUG worker/machiner: machine "18" is now dying juju-lcy2-machine-18:2013/06/17 18:44:25 NOTICE worker/machiner: machine "18" shutting down juju-lcy2-machine-18:2013/06/17 18:44:25 ERROR machiner 18: agent should be terminated juju-lcy2-machine-18:2013/06/17 18:44:25 NOTICE entity is terminated juju-lcy2-machine-18:2013/06/17 18:44:25 ERROR agent died with no error juju-lcy2-machine-18:2013/06/17 18:44:25 INFO command finished juju-lcy2-machine-0:2013/06/17 18:44:27 INFO worker/provisioner: removing dead machine "18" juju-lcy2-machine-0:2013/06/17 18:44:27 DEBUG worker/firewaller: stopped watching machine 18 juju-lcy2-machine-0:2013/06/17 18:44:27 DEBUG environs/openstack: terminating instances [5f3fce1f-31db-4439-8a87-e471eec96fbb 5f3fce1f-31db-4439-8a87-e471eec96fbb]