sharanf commented on pull request #50:
URL: https://github.com/apache/kibble/pull/50#issuecomment-713095485


   @turbaszek I did the the build setup and got a whole load of text followed 
by:
   
   **Successfully built 46142dc0a961
   Successfully tagged apache/kibble:latest**
   
   Then ran the   **docker-compose -f docker-compose-dev.yaml up setup**
   Starting kibble_elasticsearch_1 ... 
   Starting kibble_elasticsearch_1 ... done
   Recreating kibble_setup_1 ... 
   Recreating kibble_setup_1 ... done
   Attaching to kibble_setup_1
   setup_1          | Welcome to the Apache Kibble setup script!
   setup_1          | Configuring Apache Kibble elasticsearch instance with the 
following arguments:
   setup_1          | - hostname: elasticsearch
   setup_1          | - port: 9200
   setup_1          | - dbname: kibble
   setup_1          | - shards: 5
   setup_1          | - replicas: 1
   setup_1          | 
   setup_1          | Trying to create ES index...
   setup_1          | Trying to create ES index...
   setup_1          | Trying to create ES index...
   setup_1          | Trying to create ES index...
   setup_1          | Trying to create ES index...
   setup_1          | Traceback (most recent call last):
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 160, in 
_new_conn
   setup_1          |     (self._dns_host, self.port), self.timeout, **extra_kw
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 61, 
in create_connection
   setup_1          |     for res in socket.getaddrinfo(host, port, family, 
socket.SOCK_STREAM):
   setup_1          |   File "/usr/local/lib/python3.6/socket.py", line 745, in 
getaddrinfo
   setup_1          |     for res in _socket.getaddrinfo(host, port, family, 
type, proto, flags):
   setup_1          | socket.gaierror: [Errno -2] Name or service not known
   setup_1          | 
   setup_1          | During handling of the above exception, another exception 
occurred:
   setup_1          | 
   setup_1          | Traceback (most recent call last):
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py",
 line 246, in perform_request
   setup_1          |     method, url, body, retries=Retry(False), 
headers=request_headers, **kw
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 727, 
in urlopen
   setup_1          |     method, url, error=e, _pool=self, 
_stacktrace=sys.exc_info()[2]
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 386, in 
increment
   setup_1          |     raise six.reraise(type(error), error, _stacktrace)
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/packages/six.py", line 735, in 
reraise
   setup_1          |     raise value
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 677, 
in urlopen
   setup_1          |     chunked=chunked,
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 392, 
in _make_request
   setup_1          |     conn.request(method, url, **httplib_request_kw)
   setup_1          |   File "/usr/local/lib/python3.6/http/client.py", line 
1287, in request
   setup_1          |     self._send_request(method, url, body, headers, 
encode_chunked)
   setup_1          |   File "/usr/local/lib/python3.6/http/client.py", line 
1333, in _send_request
   setup_1          |     self.endheaders(body, encode_chunked=encode_chunked)
   setup_1          |   File "/usr/local/lib/python3.6/http/client.py", line 
1282, in endheaders
   setup_1          |     self._send_output(message_body, 
encode_chunked=encode_chunked)
   setup_1          |   File "/usr/local/lib/python3.6/http/client.py", line 
1042, in _send_output
   setup_1          |     self.send(msg)
   setup_1          |   File "/usr/local/lib/python3.6/http/client.py", line 
980, in send
   setup_1          |     self.connect()
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 187, in 
connect
   setup_1          |     conn = self._new_conn()
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 172, in 
_new_conn
   setup_1          |     self, "Failed to establish a new connection: %s" % e
   setup_1          | urllib3.exceptions.NewConnectionError: 
<urllib3.connection.HTTPConnection object at 0x7f74222474e0>: Failed to 
establish a new connection: [Errno -2] Name or service not known
   setup_1          | 
   setup_1          | During handling of the above exception, another exception 
occurred:
   setup_1          | 
   setup_1          | Traceback (most recent call last):
   setup_1          |   File "setup/setup.py", line 346, in <module>
   setup_1          |     main()
   setup_1          |   File "setup/setup.py", line 318, in main
   setup_1          |     reraise=True
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/tenacity/__init__.py", line 390, in 
__iter__
   setup_1          |     do = self.iter(retry_state=retry_state)
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/tenacity/__init__.py", line 368, in iter
   setup_1          |     raise retry_exc.reraise()
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/tenacity/__init__.py", line 186, in 
reraise
   setup_1          |     raise self.last_attempt.result()
   setup_1          |   File 
"/usr/local/lib/python3.6/concurrent/futures/_base.py", line 425, in result
   setup_1          |     return self.__get_result()
   setup_1          |   File 
"/usr/local/lib/python3.6/concurrent/futures/_base.py", line 384, in 
__get_result
   setup_1          |     raise self._exception
   setup_1          |   File "setup/setup.py", line 330, in main
   setup_1          |     skiponexist=args.skiponexist,
   setup_1          |   File "setup/setup.py", line 107, in create_es_index
   setup_1          |     es_version =es.info()['version']['number']
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 
152, in _wrapped
   setup_1          |     return func(*args, params=params, headers=headers, 
**kwargs)
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/elasticsearch/client/__init__.py", line 
285, in info
   setup_1          |     "GET", "/", params=params, headers=headers
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/elasticsearch/transport.py", line 390, 
in perform_request
   setup_1          |     raise e
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/elasticsearch/transport.py", line 365, 
in perform_request
   setup_1          |     timeout=timeout,
   setup_1          |   File 
"/usr/local/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py",
 line 258, in perform_request
   setup_1          |     raise ConnectionError("N/A", str(e), e)
   setup_1          | elasticsearch.exceptions.ConnectionError: 
ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f74222474e0>: 
Failed to establish a new connection: [Errno -2] Name or service not known) 
caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 
0x7f74222474e0>: Failed to establish a new connection: [Errno -2] Name or 
service not known)
   kibble_setup_1 exited with code 1
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to