Juju-Vagrant boxes: Flaky API connections shortly after booting

Andrew Wilkins andrew.wilkins at canonical.com
Thu Jul 10 13:32:15 UTC 2014


On Thu, Jul 10, 2014 at 9:06 AM, Abel Deuring <abel.deuring at canonical.com>
wrote:

> Recent versions of the Juju-Vagrant images (see
> https://juju.ubuntu.com/docs/config-vagrant.html ) do not work after a
> reboot because a script that is invoked to configure NAT has
> difficulties to access the state server; the web server for
> http://127.0.0.1:6080 (mention in the web page above), who also wants to
> connect to the state server, fails quite often too.
>
> Comparing MongoDB logs, Juju logs and logs from the script, it turns out
> that the errors occur shortly after the mongo server is restarted.
>
> More precisely, the mongo server is always started _three_ times when
> the machine boots. Example log output:
>
> machine-0: 2014-07-10 13:00:00 INFO juju.mongo mongo.go:147 Ensuring
> mongo server is running; data directory /home/vagrant/.juju/local; port
> 37017
> machine-0: 2014-07-10 13:00:06 INFO juju.mongo mongo.go:147 Ensuring
> mongo server is running; data directory /home/vagrant/.juju/local; port
> 37017
> machine-0: 2014-07-10 13:00:13 INFO juju.mongo mongo.go:147 Ensuring
> mongo server is running; data directory /home/vagrant/.juju/local; port
> 37017
>
> I have a workaround for the Vargant boxes nearly ready for this problem
> (patiently try to query the server), but I'm wondering if it is
> necessary to restart the server two times -- and I'm wondering if only
> the Vagrant images are affected by this problem.
>

Sounds like you're hitting https://bugs.launchpad.net/juju-core/+bug/1338511
(Fixed on trunk and in 1.20.1)


> cheers
> Abel
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140710/d482a0d0/attachment.html>


More information about the Juju mailing list