Hey There,
i am trying to use the cbdocloader tool to create some seed data on a remote couchbase server. Unfortunately, there seems to be some problems to establish the connection at some python code:
root@5b3bf3ddba49:/# cbdocloader -u Administrator -p SECURE -b dev -n OUR.SERVER.COM /seedData/910d771c-b685-4004-92e4-bde7aa5ec3de.json
bucket creation is successful
Exception in thread s0:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/couchbase/lib/python/pump_mc.py", line 91, in run
rv, batch, need_backoff = self.scatter_gather(mconns, batch)
File "/opt/couchbase/lib/python/pump_cb.py", line 72, in scatter_gather
rv, conn = self.find_conn(mconns, vbucket_id, msgs)
File "/opt/couchbase/lib/python/pump_cb.py", line 325, in find_conn
rv, conn = CBSink.connect_mc(host, port, user, pswd)
File "/opt/couchbase/lib/python/pump_mc.py", line 329, in connect_mc
mc = cb_bin_client.MemcachedClient(host, int(port))
File "/opt/couchbase/lib/python/cb_bin_client.py", line 46, in __init__
self.s.connect_ex((host, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known
We have not idea what is the probleme here, we already checket that all Ports are available the the couchbase server and it is also possible to connect to the Ports 8091, 11210 and 11211. The cbdocloader is installed inside of a docker container, running Ubuntu 14.04 and using python 2.7.6. Any clues and further ideas for research are welcome.
Thanks in advance and best regards,
Daniel