Ubuntu Pastebin

Paste from Ryan Beisner at Mon, 9 Feb 2015 23:04:01 +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
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
A simplified reproducer:
#!/bin/bash -e
juju bootstrap --constraints arch=amd64 || true
juju deploy --to 0 quantum-gateway neutron-gateway
juju deploy --constraints arch=ppc64el mongodb
juju deploy --to lxc:1 rabbitmq-server
juju deploy --to lxc:1 mysql
juju deploy --to lxc:1 keystone
# and just for kicks
juju deploy --to lxc:0 nfs
juju deploy --to lxc:1 nfs nfs-gregory


# juju stat
environment: maas
machines:
  "0":
    agent-state: started
    agent-version: 1.21.1
    dns-name: international-steam.dellstack
    instance-id: /MAAS/api/1.0/nodes/node-d84b4b3c-8228-11e4-8078-d4bed9a84493/
    series: trusty
    containers:
      0/lxc/0:
        agent-state: started
        agent-version: 1.21.1
        dns-name: 10.245.171.139
        instance-id: juju-machine-0-lxc-0
        series: trusty
        hardware: arch=amd64
    hardware: arch=amd64 cpu-cores=8 mem=8192M
    state-server-member-status: has-vote
  "1":
    agent-state: started
    agent-version: 1.21.1
    dns-name: gregory-ppc64.dellstack
    instance-id: /MAAS/api/1.0/nodes/node-11c03686-9d7f-11e4-91da-d4bed9a84493/
    series: trusty
    containers:
      1/lxc/0:
        agent-state: pending
        instance-id: juju-machine-1-lxc-0
        series: trusty
        hardware: arch=ppc64el
      1/lxc/1:
        agent-state: pending
        instance-id: juju-machine-1-lxc-1
        series: trusty
        hardware: arch=ppc64el
      1/lxc/2:
        agent-state: pending
        instance-id: juju-machine-1-lxc-2
        series: trusty
        hardware: arch=ppc64el
      1/lxc/3:
        agent-state: pending
        instance-id: juju-machine-1-lxc-3
        series: trusty
        hardware: arch=ppc64el
    hardware: arch=ppc64el cpu-cores=152 mem=130552M
services:
  keystone:
    charm: cs:trusty/keystone-13
    exposed: false
    relations:
      cluster:
      - keystone
    units:
      keystone/0:
        agent-state: pending
        machine: 1/lxc/2
  mongodb:
    charm: cs:trusty/mongodb-16
    exposed: false
    relations:
      replica-set:
      - mongodb
    units:
      mongodb/0:
        agent-state: started
        agent-version: 1.21.1
        machine: "1"
        open-ports:
        - 27017/tcp
        - 27019/tcp
        - 27021/tcp
        - 28017/tcp
        public-address: gregory-ppc64.dellstack
  mysql:
    charm: cs:trusty/mysql-16
    exposed: false
    relations:
      cluster:
      - mysql
    units:
      mysql/0:
        agent-state: pending
        machine: 1/lxc/1
  neutron-gateway:
    charm: cs:trusty/quantum-gateway-10
    exposed: false
    relations:
      cluster:
      - neutron-gateway
    units:
      neutron-gateway/0:
        agent-state: started
        agent-version: 1.21.1
        machine: "0"
        public-address: international-steam.dellstack
  nfs:
    charm: cs:trusty/nfs-0
    exposed: false
    units:
      nfs/0:
        agent-state: started
        agent-version: 1.21.1
        machine: 0/lxc/0
        public-address: 10.245.171.139
  nfs-gregory:
    charm: cs:trusty/nfs-0
    exposed: false
    units:
      nfs-gregory/0:
        agent-state: pending
        machine: 1/lxc/3
  rabbitmq-server:
    charm: cs:trusty/rabbitmq-server-26
    exposed: false
    relations:
      cluster:
      - rabbitmq-server
    units:
      rabbitmq-server/0:
        agent-state: pending
        machine: 1/lxc/0
networks:
  dellstack:
    provider-id: dellstack
    cidr: 10.245.168.0/21



# from unit 0 amd64
ubuntu@international-steam:/var/log/juju$ sudo lxc-ls -f
NAME                      STATE    IPV4            IPV6  AUTOSTART  
------------------------------------------------------------------
juju-machine-0-lxc-0      RUNNING  10.245.171.139  -     YES        
juju-trusty-lxc-template  STOPPED  -               -     NO         
ubuntu@international-steam:/var/log/juju$ ll
total 508
drwxr-xr-x  2 syslog adm      4096 Feb  9 22:44 ./
drwxrwxr-x 13 root   syslog   4096 Feb  9 22:43 ../
-rw-------  1 syslog adm    272753 Feb  9 22:52 all-machines.log
-rw-r--r--  1 root   root      883 Feb  9 22:44 ca-cert.pem
-rw-------  1 syslog syslog    589 Feb  9 22:37 logrotate.conf
-rwx------  1 syslog syslog     83 Feb  9 22:37 logrotate.run*
-rw-------  1 syslog syslog  37170 Feb  9 22:45 machine-0.log
-rw-------  1 syslog syslog   3773 Feb  9 22:44 machine-0-lxc-0.log
-rw-------  1 syslog syslog    928 Feb  9 22:37 rsyslog-cert.pem
-rw-------  1 syslog syslog    887 Feb  9 22:37 rsyslog-key.pem
-rw-------  1 syslog syslog 163164 Feb  9 22:43 unit-neutron-gateway-0.log
-rw-------  1 syslog syslog   8037 Feb  9 22:45 unit-nfs-0.log

# things on unit 0 deployed and started successfully
# but unit 1 has the parenthesis issue...

# from unit 1 ppc64el
ubuntu@gregory-ppc64:/var/log/juju$ sudo service mongodb status
mongodb start/running, process 8829
ubuntu@gregory-ppc64:/var/log/juju$ sudo lxc-ls -f
NAME                      STATE    IPV4            IPV6  AUTOSTART  
------------------------------------------------------------------
juju-machine-1-lxc-0      RUNNING  10.245.171.141  -     YES        
juju-machine-1-lxc-1      RUNNING  10.245.171.142  -     YES        
juju-machine-1-lxc-2      RUNNING  10.245.171.143  -     YES        
juju-machine-1-lxc-3      RUNNING  10.245.171.144  -     YES        
juju-trusty-lxc-template  STOPPED  -               -     NO         
ubuntu@gregory-ppc64:/var/log/juju$ ll
total 60
drwxr-xr-x  2 syslog adm     4096 Feb  9 22:53 ./
drwxrwxr-x 11 root   syslog  4096 Feb  9 22:52 ../
-rw-r--r--  1 root   root     883 Feb  9 22:51 ca-cert.pem
-rw-------  1 syslog syslog  3265 Feb  9 22:51 machine-1.log
-rw-------  1 syslog syslog  1485 Feb  9 22:53 machine-1-lxc-0.log
-rw-------  1 syslog syslog  1485 Feb  9 22:53 machine-1-lxc-1.log
-rw-------  1 syslog syslog  1485 Feb  9 22:53 machine-1-lxc-2.log
-rw-------  1 syslog syslog  1485 Feb  9 22:53 machine-1-lxc-3.log
-rw-------  1 syslog syslog 26600 Feb  9 22:52 unit-mongodb-0.log
ubuntu@gregory-ppc64:/var/log/juju$ sudo cat machine-1-lxc-3.log 
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
/var/lib/juju/tools/machine-1-lxc-3/jujud: 1: /var/lib/juju/tools/machine-1-lxc-3/jujud: Syntax error: word unexpected (expecting ")")
ubuntu@gregory-ppc64:/var/log/juju$ 
Download as text