Fails to run cluster-init and bucket-create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
couchbase (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
When running the install script it fails every time to run the cluster-init and bucket-create using precise and with default settings:
2012-11-02 12:33:02,757: hook.output@INFO: + /opt/couchbase/
2012-11-02 12:33:02,827: hook.output@INFO: ERROR: command: cluster-init: 10.0.3.202:8091, [Errno 111] Connection refused
2012-11-02 12:33:02,837: hook.output@INFO: + /opt/couchbase/
2012-11-02 12:33:02,883: hook.output@INFO: ERROR: command: bucket-create: 10.0.3.202:8091, [Errno 111] Connection refused
2012-11-02 12:33:02,890: hook.output@DEBUG: hook install exited, exit code Traceback (most recent call last):
Failure: juju.errors.
If I ssh into the machine and run the exact same commands manually it works just fine....Any ideas?
Related branches
- José Antonio Rey (community): Approve
- Review Queue (community): Needs Fixing (automated testing)
-
Diff: 41 lines (+17/-3)1 file modifiedhooks/install (+17/-3)
- Matt Bruzek: Pending requested
-
Diff: 41 lines (+17/-3)1 file modifiedhooks/install (+17/-3)
BTW I tried to add a short sleep after the couchbase service start command, just before calling cluster-init, and that worked. So seems like the couchbase is not 100% ready by the time cluster-init is called...