How to make Juju High Availability work properly?
Marco Ceppi
marco at ondina.co
Sat Oct 17 23:16:53 UTC 2015
Hi Leon,
Sorry to hear you're having issues, I haven't seen this problem before but
I'm curious what version of Juju you're using (`juju version`) I know there
was recent work to make ensure-availability more robust. As to how to solve
the issue, could you run `juju ssh 0` then once on the zero node run:
sudo apt-get install pastebinit
pastebinit /var/log/juju/machine-0.log
This will provide a URL with the pastebin of the machine-0 log which would
be helpful in diagnosing this issue further and potentially ways to resolve
this.
Thanks,
Marco Ceppi
On Fri, Oct 16, 2015 at 3:56 AM 曾建銘 <godleon at gmail.com> wrote:
> Hi All,
>
> I got some problems when I was testing Juju High Availability after
> deploying OpenStack on my physical servers.
>
> I used "juju ensure-availability" to generate 3 state servers. Juju
> became unnormal after the bootstrap node was shutdown.
>
> When the bootstrap node was gone, the whole juju tasks seemed not switched
> to another state server successfully. I found agent-states of all services
> became "lost", workload-state of all services become unknown or error.
>
> I used "juju debug-log" to check the juju working status, a lot of
> messages passed by, they looked like there were many communications between
> services and the state server.
>
> I tried to wait for a while, I found that agent-states of services became
> idle again. But they will become lost again later. Then I try to wait for
> more a long time(more than 1 hour), I found the agent-state of all services
> were change from lost to executing, then to idle, then to lost finally.
>
> No matter how long I waited, I always found the same result I mentioned
> above. Then I could use juju commands normally.
>
> Did anyone get the same problem? I will be really appreciated if someone
> can tell me how to solve this issue.
>
> Thanks in advanced.
>
> Sincerely yours,
> Leon
>
> --
> 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/20151017/e877ed50/attachment.html>
More information about the Juju
mailing list