Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.ini for github plugin wrong in docker image #37

Closed
epaulson opened this issue Feb 7, 2017 · 2 comments
Closed

config.ini for github plugin wrong in docker image #37

epaulson opened this issue Feb 7, 2017 · 2 comments

Comments

@epaulson
Copy link

epaulson commented Feb 7, 2017

The getting started wiki page makes it pretty easy to get started with - however, there's a slight hiccup with the docker images and the github plugin image (the one that runs 'python parsegitlog.py')

the config.ini file for kafka and ground services both point to localhost, but in the docker setup they're linked to 'kafka' and 'ground' for hostnames. Once I exec'ed into the image and fixed the config file it worked.

Without it, you'll get an error like so:

docker logs ea212d2e6ad9
Traceback (most recent call last):
File "parsegitlog.py", line 121, in
bootstrap_servers=[config['Kafka']['url'] + ":" + config['Kafka']['port']])
File "/usr/local/lib/python3.5/site-packages/kafka/consumer/group.py", line 284, in init
self._client = KafkaClient(metrics=self._metrics, **self.config)
File "/usr/local/lib/python3.5/site-packages/kafka/client_async.py", line 202, in init
self.config['api_version'] = self.check_version(timeout=check_timeout)
File "/usr/local/lib/python3.5/site-packages/kafka/client_async.py", line 791, in check_version
raise Errors.NoBrokersAvailable()
kafka.errors.NoBrokersAvailable: NoBrokersAvailable

@tarpdalton
Copy link
Contributor

I updated the docker image on dockerhub. I must have pushed an image with the wrong configs. I am working on testing it right now to make sure its working right.
https://hub.docker.com/r/groundcontext/git/tags/

@epaulson
Copy link
Author

Thanks. I pulled the latest docker image and it's not immediately exiting, so I think that's a good sign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants