$ juju status environment: local machines: "0": agent-state: started agent-version: 1.20.5.1 dns-name: localhost instance-id: localhost series: trusty state-server-member-status: has-vote "1": agent-state: started agent-version: 1.20.5.1 dns-name: 10.0.3.118 instance-id: esnow-local-machine-1 series: trusty hardware: arch=amd64 "2": agent-state: started agent-version: 1.20.5.1 dns-name: 10.0.3.94 instance-id: esnow-local-machine-2 series: precise hardware: arch=amd64 services: postgresql: charm: cs:trusty/postgresql-3 exposed: false relations: db: - reviewboard replication: - postgresql units: postgresql/0: agent-state: started agent-version: 1.20.5.1 machine: "1" open-ports: - 5432/tcp public-address: 10.0.3.118 reviewboard: charm: cs:precise/reviewboard-1 exposed: false relations: db: - postgresql units: reviewboard/0: agent-state: error agent-state-info: 'hook failed: "db-relation-changed" for postgresql:db' agent-version: 1.20.5.1 machine: "2" open-ports: - 80/tcp public-address: 10.0.3.94
$ juju status server- member- status: has-vote machine- 1 machine- 2 postgresql- 3
agent- state: started
agent- version: 1.20.5.1
public- address: 10.0.3.118 reviewboard- 1 rd/0:
agent- state: error
agent- state-info: 'hook failed: "db-relation- changed" for postgresql:db'
agent- version: 1.20.5.1
public- address: 10.0.3.94
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.5.1
dns-name: localhost
instance-id: localhost
series: trusty
state-
"1":
agent-state: started
agent-version: 1.20.5.1
dns-name: 10.0.3.118
instance-id: esnow-local-
series: trusty
hardware: arch=amd64
"2":
agent-state: started
agent-version: 1.20.5.1
dns-name: 10.0.3.94
instance-id: esnow-local-
series: precise
hardware: arch=amd64
services:
postgresql:
charm: cs:trusty/
exposed: false
relations:
db:
- reviewboard
replication:
- postgresql
units:
postgresql/0:
machine: "1"
open-ports:
- 5432/tcp
reviewboard:
charm: cs:precise/
exposed: false
relations:
db:
- postgresql
units:
reviewboa
machine: "2"
open-ports:
- 80/tcp