You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
When deploying clearwater images in docker swarm, the local_config file is updated by clearwater-auto-config-docker service (by the following code: ip=$(hostname -I | sed -e 's/\(^\|^[0-9A-Fa-f: ]* \)\([0-9.][0-9.]*\)\( .*$\|$\)/\2/g' -e 's/\(^\)\(^[0-9A-Fa-f:]*\)\( .*$\|$\)/\2/g')) with ingress network IPs instead of overlay network IP because of the position of the IP after running hostname -I command.
Impact
This prevents clearwater-cluster-manager and component services (e.g. ellis, bono, ...) from starting and communicating.
Release and environment
Environment: VMs in OpenStack environment, ubuntu 16.04 OS
Steps to reproduce
1- Initialize swarm and join nodes
2- Create an overlay network
3- Create docker services using the overlay network
4- Check /etc/clearwater/local_config file. It is updated with ingress network IPs because of its position in hostname -I command.
By manually changing the IPs in local_config files in each container and restarting services result in successful live tests.