Unable to run a charm on KVM container
John Meinel
john at arbash-meinel.com
Sun Apr 3 07:19:29 UTC 2016
My initial thought is that we aren't getting KVM onto a bridge to the outer
network properly. One thought that you could try is to first deploy and
LXC/LXD container onto machine 26 and then do the KVM. This is simply
because I know we've spent a lot more time getting container networking
right, and we could have a bug where we are assuming a bridge that we only
set up for containers.
John
=:->
On Apr 2, 2016 11:57 PM, "phani shankar" <phanishankarpr at gmail.com> wrote:
> 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
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160403/695f6327/attachment.html>
More information about the Juju-dev
mailing list