2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 08:46:38 ERROR juju.worker.uniter.filter filter.go:137 connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:212 fatal "rsyslog": connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:212 fatal "proxyupdater": connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:212 fatal "apiaddressupdater": connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:212 fatal "logger": connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:212 fatal "upgrader": connection is shut down 2015-12-09 08:46:38 ERROR juju.worker.uniter modes.go:44 updating agent status: connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:212 fatal "uniter": connection is shut down 2015-12-09 08:46:38 ERROR juju.worker runner.go:223 exited "api": connection is shut down 2015-12-09 08:46:41 ERROR juju.worker runner.go:223 exited "api": login for "unit-dtag-postgresql-0" blocked because upgrade in progress 2015-12-09 08:46:47 ERROR juju.worker runner.go:223 exited "rsyslog": read tcp 10.33.17.192:6514: connection reset by peer 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:18:38 ERROR juju.worker.uniter.filter filter.go:137 connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:212 fatal "apiaddressupdater": connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:212 fatal "logger": connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:212 fatal "proxyupdater": connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:212 fatal "rsyslog": connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:212 fatal "upgrader": connection is shut down 2015-12-09 09:18:38 ERROR juju.worker.uniter modes.go:44 updating agent status: connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:212 fatal "uniter": connection is shut down 2015-12-09 09:18:38 ERROR juju.worker runner.go:223 exited "api": connection is shut down 2015-12-09 09:18:41 ERROR juju.worker runner.go:223 exited "api": unable to connect to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:18:44 ERROR juju.worker runner.go:223 exited "api": unable to connect to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:18:47 ERROR juju.worker runner.go:223 exited "api": unable to connect to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:18:50 ERROR juju.worker runner.go:223 exited "api": unable to connect to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:18:53 ERROR juju.worker runner.go:223 exited "api": unable to connect to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:18:56 ERROR juju.worker runner.go:223 exited "api": unable to connect to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:18:59 ERROR juju.worker runner.go:223 exited "api": login for "unit-dtag-postgresql-0" blocked because upgrade in progress 2015-12-09 09:19:02 ERROR juju.worker runner.go:223 exited "api": try again 2015-12-09 09:19:05 ERROR juju.worker runner.go:223 exited "api": try again 2015-12-09 09:19:08 ERROR juju.worker runner.go:223 exited "api": try again 2015-12-09 09:45:03 INFO juju.cmd supercommand.go:37 running jujud [1.24.7-precise-amd64 gc] 2015-12-09 09:45:03 DEBUG juju.agent agent.go:432 read agent config, format "1.18" 2015-12-09 09:45:03 INFO juju.jujud unit.go:135 unit agent unit-dtag-postgresql-0 start (1.24.7-precise-amd64 [gc]) 2015-12-09 09:45:03 INFO juju.network network.go:214 setting prefer-ipv6 to false 2015-12-09 09:45:03 INFO juju.worker runner.go:269 start "api" 2015-12-09 09:45:03 INFO juju.api apiclient.go:331 dialing "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:45:03 INFO juju.api apiclient.go:263 connection established to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-09 09:45:04 INFO juju.worker runner.go:269 start "proxyupdater" 2015-12-09 09:45:04 DEBUG juju.worker.proxyupdater proxyupdater.go:69 write system files: false 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "proxyupdater" started 2015-12-09 09:45:04 INFO juju.worker runner.go:269 start "upgrader" 2015-12-09 09:45:04 INFO juju.worker runner.go:269 start "logger" 2015-12-09 09:45:04 DEBUG juju.worker.logger logger.go:35 initial log config: "=DEBUG" 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "upgrader" started 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "logger" started 2015-12-09 09:45:04 DEBUG juju.worker.logger logger.go:60 logger setup 2015-12-09 09:45:04 INFO juju.worker runner.go:269 start "uniter" 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "uniter" started 2015-12-09 09:45:04 INFO juju.worker runner.go:269 start "apiaddressupdater" 2015-12-09 09:45:04 INFO juju.worker runner.go:269 start "rsyslog" 2015-12-09 09:45:04 DEBUG juju.worker.rsyslog worker.go:106 starting rsyslog worker mode 1 for "unit-dtag-postgresql-0" "" 2015-12-09 09:45:04 DEBUG juju.worker.leadership tracker.go:123 dtag-postgresql/0 making initial claim for dtag-postgresql leadership 2015-12-09 09:45:04 DEBUG juju.worker.leadership tracker.go:165 checking dtag-postgresql/0 for dtag-postgresql leadership 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "apiaddressupdater" started 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "rsyslog" started 2015-12-09 09:45:04 DEBUG juju.worker runner.go:196 "api" started 2015-12-09 09:45:04 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "=DEBUG" to "=WARNING;unit=DEBUG" 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:46:12 ERROR juju.worker.uniter.filter filter.go:137 connection is shut down 2015-12-09 09:46:12 ERROR juju.worker runner.go:212 fatal "upgrader": connection is shut down 2015-12-09 09:46:12 ERROR juju.worker runner.go:212 fatal "rsyslog": connection is shut down 2015-12-09 09:46:12 ERROR juju.worker runner.go:212 fatal "logger": connection is shut down 2015-12-09 09:46:12 ERROR juju.worker runner.go:212 fatal "apiaddressupdater": connection is shut down 2015-12-09 09:46:12 ERROR juju.worker runner.go:212 fatal "proxyupdater": connection is shut down 2015-12-09 09:46:13 ERROR juju.worker.uniter modes.go:44 updating agent status: connection is shut down 2015-12-09 09:46:13 ERROR juju.worker runner.go:212 fatal "uniter": connection is shut down 2015-12-09 09:46:13 ERROR juju.worker runner.go:223 exited "api": connection is shut down 2015-12-09 09:46:22 ERROR juju.worker runner.go:223 exited "rsyslog": read tcp 10.33.17.192:6514: connection reset by peer 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-09 09:51:14 ERROR juju.worker.uniter.filter filter.go:137 connection is shut down 2015-12-09 09:51:14 ERROR juju.worker runner.go:212 fatal "rsyslog": connection is shut down 2015-12-09 09:51:14 ERROR juju.worker runner.go:212 fatal "apiaddressupdater": connection is shut down 2015-12-09 09:51:14 ERROR juju.worker runner.go:212 fatal "upgrader": connection is shut down 2015-12-09 09:51:14 ERROR juju.worker runner.go:212 fatal "logger": connection is shut down 2015-12-09 09:51:14 ERROR juju.worker runner.go:212 fatal "proxyupdater": connection is shut down 2015-12-09 09:51:15 ERROR juju.worker.uniter modes.go:44 updating agent status: connection is shut down 2015-12-09 09:51:15 ERROR juju.worker runner.go:212 fatal "uniter": connection is shut down 2015-12-09 09:51:15 ERROR juju.worker runner.go:223 exited "api": connection is shut down 2015-12-09 09:51:18 ERROR juju.worker runner.go:223 exited "api": login for "unit-dtag-postgresql-0" blocked because upgrade in progress 2015-12-09 09:51:23 ERROR juju.worker runner.go:223 exited "rsyslog": read tcp 10.33.17.192:6514: connection reset by peer 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:18:17 ERROR juju.worker.uniter.filter filter.go:137 watcher iteration error: EOF 2015-12-10 19:18:17 ERROR juju.worker runner.go:212 fatal "logger": watcher iteration error: EOF 2015-12-10 19:18:17 ERROR juju.worker runner.go:212 fatal "rsyslog": watcher has been stopped 2015-12-10 19:18:17 ERROR juju.worker runner.go:212 fatal "proxyupdater": watcher iteration error: EOF 2015-12-10 19:18:17 ERROR juju.worker runner.go:212 fatal "upgrader": watcher iteration error: EOF 2015-12-10 19:18:17 ERROR juju.worker runner.go:212 fatal "apiaddressupdater": watcher iteration error: EOF 2015-12-10 19:18:18 ERROR juju.worker.uniter modes.go:44 updating agent status: connection is shut down 2015-12-10 19:18:18 ERROR juju.worker runner.go:212 fatal "uniter": watcher iteration error: EOF 2015-12-10 19:18:18 ERROR juju.worker runner.go:223 exited "api": watcher iteration error: EOF 2015-12-10 19:18:22 ERROR juju.worker runner.go:223 exited "rsyslog": read tcp 10.33.17.192:6514: connection reset by peer 2015-12-10 19:18:25 ERROR juju.worker runner.go:223 exited "rsyslog": dial tcp 10.33.17.192:6514: connection refused 2015-12-10 19:28:03 INFO juju.cmd supercommand.go:37 running jujud [1.24.7-precise-amd64 gc] 2015-12-10 19:28:03 DEBUG juju.agent agent.go:432 read agent config, format "1.18" 2015-12-10 19:28:03 INFO juju.jujud unit.go:135 unit agent unit-dtag-postgresql-0 start (1.24.7-precise-amd64 [gc]) 2015-12-10 19:28:03 INFO juju.network network.go:214 setting prefer-ipv6 to false 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "api" 2015-12-10 19:28:03 INFO juju.api apiclient.go:331 dialing "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-10 19:28:03 INFO juju.api apiclient.go:263 connection established to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "proxyupdater" 2015-12-10 19:28:03 DEBUG juju.worker.proxyupdater proxyupdater.go:69 write system files: false 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "proxyupdater" started 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "upgrader" 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "logger" 2015-12-10 19:28:03 DEBUG juju.worker.logger logger.go:35 initial log config: "=DEBUG" 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "upgrader" started 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "logger" started 2015-12-10 19:28:03 DEBUG juju.worker.logger logger.go:60 logger setup 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "uniter" 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "uniter" started 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "apiaddressupdater" 2015-12-10 19:28:03 INFO juju.worker runner.go:269 start "rsyslog" 2015-12-10 19:28:03 DEBUG juju.worker.rsyslog worker.go:106 starting rsyslog worker mode 1 for "unit-dtag-postgresql-0" "" 2015-12-10 19:28:03 DEBUG juju.worker.leadership tracker.go:123 dtag-postgresql/0 making initial claim for dtag-postgresql leadership 2015-12-10 19:28:03 DEBUG juju.worker.leadership tracker.go:165 checking dtag-postgresql/0 for dtag-postgresql leadership 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "apiaddressupdater" started 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "rsyslog" started 2015-12-10 19:28:03 DEBUG juju.worker runner.go:196 "api" started 2015-12-10 19:28:03 DEBUG juju.worker.proxyupdater proxyupdater.go:151 new proxy settings proxy.Settings{Http:"", Https:"", Ftp:"", NoProxy:""} 2015-12-10 19:28:03 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "=DEBUG" to "=WARNING;unit=DEBUG" 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.api.watcher watcher.go:84 error trying to stop watcher: connection is shut down 2015-12-10 19:29:53 ERROR juju.worker.uniter.filter filter.go:137 connection is shut down 2015-12-10 19:29:53 ERROR juju.worker runner.go:212 fatal "proxyupdater": connection is shut down 2015-12-10 19:29:53 ERROR juju.worker runner.go:212 fatal "upgrader": connection is shut down 2015-12-10 19:29:53 ERROR juju.worker runner.go:212 fatal "apiaddressupdater": connection is shut down 2015-12-10 19:29:53 ERROR juju.worker runner.go:212 fatal "logger": connection is shut down 2015-12-10 19:29:53 ERROR juju.worker runner.go:212 fatal "rsyslog": connection is shut down 2015-12-10 19:29:54 ERROR juju.worker.uniter modes.go:44 updating agent status: connection is shut down 2015-12-10 19:29:54 ERROR juju.worker runner.go:212 fatal "uniter": connection is shut down 2015-12-10 19:29:54 ERROR juju.worker runner.go:223 exited "api": connection is shut down 2015-12-10 19:29:57 ERROR juju.worker runner.go:223 exited "api": login for "unit-dtag-postgresql-0" blocked because upgrade in progress 2015-12-10 19:30:00 ERROR juju.worker runner.go:223 exited "api": try again 2015-12-10 19:30:03 ERROR juju.worker runner.go:223 exited "api": try again 2015-12-10 19:42:19 INFO juju.cmd supercommand.go:37 running jujud [1.24.7-precise-amd64 gc] 2015-12-10 19:42:19 DEBUG juju.agent agent.go:432 read agent config, format "1.18" 2015-12-10 19:42:19 INFO juju.jujud unit.go:135 unit agent unit-dtag-postgresql-0 start (1.24.7-precise-amd64 [gc]) 2015-12-10 19:42:19 INFO juju.network network.go:214 setting prefer-ipv6 to false 2015-12-10 19:42:19 INFO juju.worker runner.go:269 start "api" 2015-12-10 19:42:19 INFO juju.api apiclient.go:331 dialing "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-10 19:42:19 INFO juju.api apiclient.go:263 connection established to "wss://10.33.17.192:17070/environment/b30436e9-b5b8-401b-834c-0ee9be7e2224/api" 2015-12-10 19:42:20 INFO juju.worker runner.go:269 start "proxyupdater" 2015-12-10 19:42:20 DEBUG juju.worker.proxyupdater proxyupdater.go:69 write system files: false 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "proxyupdater" started 2015-12-10 19:42:20 INFO juju.worker runner.go:269 start "upgrader" 2015-12-10 19:42:20 INFO juju.worker runner.go:269 start "logger" 2015-12-10 19:42:20 DEBUG juju.worker.logger logger.go:35 initial log config: "=DEBUG" 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "upgrader" started 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "logger" started 2015-12-10 19:42:20 DEBUG juju.worker.logger logger.go:60 logger setup 2015-12-10 19:42:20 INFO juju.worker runner.go:269 start "uniter" 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "uniter" started 2015-12-10 19:42:20 INFO juju.worker runner.go:269 start "apiaddressupdater" 2015-12-10 19:42:20 INFO juju.worker runner.go:269 start "rsyslog" 2015-12-10 19:42:20 DEBUG juju.worker.rsyslog worker.go:106 starting rsyslog worker mode 1 for "unit-dtag-postgresql-0" "" 2015-12-10 19:42:20 DEBUG juju.worker.leadership tracker.go:123 dtag-postgresql/0 making initial claim for dtag-postgresql leadership 2015-12-10 19:42:20 DEBUG juju.worker.leadership tracker.go:165 checking dtag-postgresql/0 for dtag-postgresql leadership 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "apiaddressupdater" started 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "rsyslog" started 2015-12-10 19:42:20 DEBUG juju.worker runner.go:196 "api" started 2015-12-10 19:42:20 DEBUG juju.worker.proxyupdater proxyupdater.go:151 new proxy settings proxy.Settings{Http:"", Https:"", Ftp:"", NoProxy:""} 2015-12-10 19:42:20 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "=DEBUG" to "=WARNING;unit=DEBUG" 2015-12-10 19:46:59 INFO juju-log Running config-changed hook Reading package lists... Doneig-changed Building dependency tree -changed Reading state information... Donehanged 2015-12-10 19:47:00 INFO juju-log Installing [] with options: ['--option=Dpkg::Options::=--force-confold'] 2015-12-10 19:47:00 INFO config-changed Reading package lists... 2015-12-10 19:47:00 INFO config-changed Building dependency tree... 2015-12-10 19:47:00 INFO config-changed Reading state information... 2015-12-10 19:47:01 INFO config-changed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2015-12-10 19:47:01 DEBUG juju-log Running 'scripts/volume-common.sh call volume_init_and_mount cts-dtag-postgresql' 2015-12-10 19:47:01 INFO juju-log NOTICE: mntpoint=/srv/juju/cts-dtag-postgresql already mounted, skipping volume_init_and_mount 2015-12-10 19:47:01 INFO juju-log postgresql data dir '%s' already points to /var/lib/postgresql/9.1/main, skipping storage changes. 2015-12-10 19:47:01 INFO juju-log existing-symlink: to fix/avoid UID changes from previous units, doing: chown -R postgres:postgres /srv/juju/cts-dtag-postgresql/postgresql 2015-12-10 19:47:01 DEBUG juju-log Running 'chown -R postgres:postgres /srv/juju/cts-dtag-postgresql/postgresql' 2015-12-10 19:47:01 INFO juju-log Enabling PostgreSQL startup in /etc/postgresql/9.1/main/start.conf 2015-12-10 19:47:01 INFO juju-log Writing file /etc/postgresql/9.1/main/start.conf postgres:postgres 644 2015-12-10 19:47:01 DEBUG juju-log Running 'getconf PAGE_SIZE' 2015-12-10 19:47:01 INFO juju-log Writing file /etc/sysctl.d/50-postgresql.conf root:root 600 2015-12-10 19:47:01 DEBUG juju-log Running 'sysctl -p /etc/sysctl.d/50-postgresql.conf' 2015-12-10 19:47:01 INFO juju-log Writing file /etc/postgresql/9.1/main/postgresql.conf postgres:postgres 600 2015-12-10 19:47:02 DEBUG juju-log Running ['pgtune', '-i', u'/etc/postgresql/9.1/main/postgresql.conf', '-o', '/tmp/tmpD7T_tB', '-T', u'mixed', '-c', '100'] 2015-12-10 19:47:02 INFO juju-log Writing file /etc/postgresql/9.1/main/postgresql.conf postgres:postgres 600 2015-12-10 19:47:02 INFO juju-log Writing file /etc/postgresql/9.1/main/pg_ident.conf postgres:postgres 600 2015-12-10 19:47:02 INFO juju-log [{'database': u'dtag-gerrit', 'relation-id': u'db:22', u'user_authed': u'True', 'schema_user': u'db_22_dtag_gerrit_schema', u'private-address': u'10.33.17.197/32', 'user': u'db_22_dtag_gerrit', 'unit': u'dtag-gerrit/0'}] 2015-12-10 19:47:02 INFO juju-log Writing file /etc/postgresql/9.1/main/pg_hba.conf postgres:postgres 600 2015-12-10 19:47:02 DEBUG juju-log PostgreSQL is running 2015-12-10 19:47:02 INFO juju-log PostgreSQL configuration reloaded 2015-12-10 19:47:02 DEBUG juju-log PostgreSQL is running 2015-12-10 19:47:03 INFO juju-log Updating nagios user 2015-12-10 19:47:03 INFO config-changed * Reloading nagios-nrpe configuration files nagios-nrpe 2015-12-10 19:47:03 INFO config-changed ...done. 2015-12-10 19:47:03 DEBUG juju-log PostgreSQL is running 2015-12-10 19:47:03 DEBUG juju-log PostgreSQL is running 2015-12-10 19:47:03 INFO juju-log PostgreSQL configuration reloaded 2015-12-10 19:47:03 DEBUG juju-log PostgreSQL is running 2015-12-10 19:47:03 INFO config-changed 4096 2015-12-10 19:47:03 INFO config-changed 2015-12-10 19:47:03 INFO config-changed kernel.sem = 250 32000 100 1024 2015-12-10 19:47:03 INFO config-changed 2015-12-10 19:47:03 INFO config-changed kernel.shmall = 1012225 2015-12-10 19:47:03 INFO config-changed 2015-12-10 19:47:03 INFO config-changed kernel.shmmax = 4146070528 2015-12-10 19:47:03 INFO config-changed