Ubuntu Pastebin

Paste from Marco Ceppi at Sat, 4 Apr 2015 15:09:34 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
environment: local
machines:
  "6":
    agent-state: started
    agent-version: 1.23-beta3.1
    dns-name: 10.0.3.112
    instance-id: marco-local-machine-6
    series: trusty
    hardware: arch=amd64
  "7":
    agent-state: started
    agent-version: 1.23-beta3.1
    dns-name: 10.0.3.71
    instance-id: marco-local-machine-7
    series: trusty
    hardware: arch=amd64
services:
  cassandra:
    charm: local:trusty/cassandra-5
    exposed: false
    relations:
      cluster:
      - cassandra
      juju-info:
      - collectd
    units:
      cassandra/0:
        agent-state: started
        agent-version: 1.23-beta3.1
        machine: "6"
        open-ports:
        - 7199/tcp
        - 9160/tcp
        public-address: 10.0.3.112
        subordinates:
          collectd/4:
            upgrading-from: local:trusty/collectd-0
            agent-state: started
            agent-version: 1.23-beta3.1
            public-address: 10.0.3.112
      cassandra/1:
        agent-state: started
        agent-version: 1.23-beta3.1
        machine: "7"
        open-ports:
        - 7199/tcp
        - 9160/tcp
        public-address: 10.0.3.71
        subordinates:
          collectd/5:
            upgrading-from: local:trusty/collectd-0
            agent-state: started
            agent-version: 1.23-beta3.1
            public-address: 10.0.3.71
  collectd:
    charm: local:trusty/collectd-0
    exposed: false
    relations:
      benchmark:
      - cassandra
      - pts
      collector:
      - cabs
    subordinate-to:
    - cassandra
    - pts


--

$ juju-run cassandra/0 "relation-ids juju-info"
juju-info:3
$ juju-run cassandra/0 "relation-list -r juju-info:3"

^ Can not list units attached in relation? How can I determine this?
Download as text