Quantcast

long node name issue in docker container

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

long node name issue in docker container

vmadhipatla
This post has NOT been accepted by the mailing list yet.
I keep getting this error.
{error_logger,{{2016,2,25},{20,11,29}},"Can't set long node name!\nPlease check your configuration\n",[]}

My docker configuration works fine with 3.6.0 version of RabbitMQ. But never works with 3.3.5.
Looks like in 3.6.0, it defaults to -sname when calling erlang script. In 3.3.5, it's always -name.
Any workaround? This works fine outside of container. It just doesn't work in the container.
hostname -f and hostname will give only the shortname.
rabbitmq-env.config has NODENAME=rabbit@172.17.0.5
I tried change rabbitmq-server script to use -sname. It works fine. But rabbitmqctl is not able to connect.
Loading...