Couchbase On Openshift

I’ve been trying to get a single Couchbase node up and running on Openshift and have come up against a brick wall. My use case is to create a Couchbase node that will be part of a development environment.

I’ve been following the instructions here :

And I keep getting exceptions. On startup the Couchbase server spits messages like :

0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* connect to 127.0.0.1 port 8091 failed: Connection refused

And when running the CBQ example in the tutorial the following exception is thrown :

ERROR 100 : N1QL: Connection failed Post http://10.153.8.231:8093/query/service: dial tcp 10.153.8.231:8093: connection refused
N1QL: Unable to connect to cluster endpoint http://10.153.8.231:8093/. Error Get http://10.153.8.231:8093/pools: dial tcp 10.153.8.231:8093: connection refused

ERROR 118 : Unable to open file open //.cbq_history: permission denied
Can anyone help?

Many thanks.

Dave.

Hi David,

We’ve recently updated our documentation on best practices to get started with couchbase in OpenShift:
http://docs.couchbase.com/prerelease/couchbase-operator/beta/installOpenShift.html

I’m not exactly sure what is causing the issue you’re having, but the images referenced in that old write up are no longer being maintained.

Hopefully this helps you out with getting your cluster up and running.