-
Notifications
You must be signed in to change notification settings - Fork 280
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
External redis crash fix #571
Comments
@simon-mo Is it fixed in the current develop? |
@rkooo567 I had this issue today while working with a fresh install from develop. I fixed it by simply performing a key check before the assignment. This is what I got at line 312 of if CLIPPER_DOCKER_PORT_LABELS['redis'] in all_labels:
self.redis_port = all_labels[CLIPPER_DOCKER_PORT_LABELS['redis']] By doing this the |
@DNCoelho Good point. I think it's missed check. Would you please create a new PR? |
@withsmilo Done 👍 |
When specifying the
redis_ip
for the DockerContainerManager constructor, then connecting to Clipper an exception will be thrown similiar to the following.The fix for this is to skip port look up and use the value of
self.redis_port
by replacing line 261 of clipper/clipper_admin/clipper_admin/docker/docker_container_manager.py with the following:The text was updated successfully, but these errors were encountered: