Unable to run a charm on KVM container
phani shankar
phanishankarpr at gmail.com
Sat Apr 2 19:57:35 UTC 2016
Hi,
We are trying to use Juju Charms to deploy a network. We require each of
the charm to run in its own KVM. We are using Juju GUI (running on another
machine) to create a KVM container on the node and start the charm.
However, we observe that charm is stuck at agent initialization. We are
able to bring up the charm in the root container. Can you please guide us
on how we can debug it further.
juju-debug-log indicates that there was an error fetching public address
and there was a broken pipe. Juju GUI is running on 10.214.2.61 and node on
which we are installing the charm is in 10.214.2.127
juju-debug-log
==========
machine-0: message repeated 3 times: [2016-04-02 19:29:05 ERROR juju.rpc
server.go:573 error writing response: write tcp 10.214.2.127:53794: broken
pipe]
machine-0: 2016-04-02 19:38:50 WARNING juju.state allwatcher.go:351 getting
a public address for unit "oai-hss/7" failed: "public no address"
machine-0: 2016-04-02 19:38:50 WARNING juju.state allwatcher.go:355 getting
a private address for unit "oai-hss/7" failed: "private no address"
machine-0: 2016-04-02 19:39:37 WARNING juju.apiserver.client status.go:465
error fetching public address: "public no address"
machine-0: 2016-04-02 19:39:37 WARNING juju.apiserver.client status.go:677
error fetching public address: public no address
Outcome of juju status:
=================
crossmobile at cm-mainserver-juju:~$ juju status --format=tabular
[Services]
NAME STATUS EXPOSED CHARM
juju-gui unknown true cs:trusty/juju-gui-52
mysql unknown false cs:trusty/mysql-36
oai-enb blocked false local:trusty/oai-enb-23
oai-hss unknown false local:trusty/oai-hss-5
[Units]
ID WORKLOAD-STATE AGENT-STATE VERSION MACHINE PORTS
PUBLIC-ADDRESS MESSAGE
juju-gui/0 unknown idle 1.25.3 0 80/tcp,443/tcp
cm-mainserver-juju
mysql/1 unknown idle 1.25.3 5 3306/tcp
10.214.2.125
oai-enb/10 blocked idle 1.25.3 21 2152/udp
10.214.2.135 Waiting for EPC relation
oai-hss/7 unknown allocating 26/kvm/1
Waiting for agent initialization to finish
[Machines]
ID STATE VERSION DNS INS-ID SERIES
HARDWARE
0 started 1.25.3 cm-mainserver-juju manual: trusty
arch=amd64 cpu-cores=1 mem=3942M
5 started 1.25.3 10.214.2.125 manual:10.214.2.125 trusty
arch=amd64 cpu-cores=1 mem=3942M
21 started 1.25.3 10.214.2.135 manual:10.214.2.135 trusty
arch=amd64 cpu-cores=4 mem=15677M
26 started 1.25.3 10.214.2.127 manual:10.214.2.127 trusty
arch=amd64 cpu-cores=1 mem=3942M
Please let me know your thoughts.
PHANI SHANKAR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160402/17eae72e/attachment.html>
More information about the Juju-dev
mailing list