juju bootstrap doesn't report result of zookeepr install
Bug #954350 reported by
Francis J. Lacoste
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned |
Bug Description
While developping the MaaS provider, we found out during testing that a juju bootstrap would succed, but the juju deploy would fail with Juju not being able to connect to zookeeper.
On closer examination, it appears that zookeeper isn't installed on the node which is something we need to fix on our side. But it would be nice if bootstrap made sure that everything is setup properly with zookeeper. Reporting errors early makes things easier to debug.
Changed in juju: | |
importance: | Wishlist → Low |
tags: | added: improvement |
To post a comment you must log in.
There's been some discussion in the past of this idea.. that bootstrap should poll and wait for the instance to come up before it returns. I agree with this, but the concern of others was that users would think juju was slow when in actuality EC2, ubuntu mirrors, or the slowness of the install on bare metal would all contribute to the process taking a long time.
One way to combat this misconception would be to instrument more stages of the process. So we could poll the provider to see if the machine state is known yet, and make it clear in the messages.. "Waiting for machine to be provisioned by [maas|ec2|etc]" makes it clear that juju is at a point where it can't do anything else.