Ask Your Question

Senlin-api fails to bind to bind_host

asked 2019-11-01 15:59:45 -0500

Daryl gravatar image

updated 2019-11-01 16:00:04 -0500

Having learned that the Senlin installation instructions mean what they say :) I've also learned that I made an error installing Senlin, which I think I've cleared up. Now when I open a new console and launch senlin-api, it fails to bind to I understand the to be interpreted as "whatever my IP address is just now". So I ran 'lsof' and discovered there are many listeners on 8778. Where is the best place to look for the cause of that failure?

edit retag flag offensive close merge delete


Not only does senlin-api fail as described, but none of the "openstack cluster ..." commands are recognized. If Apache is listening on 8778, should I even be trying to run the senlin-api command?

Daryl gravatar imageDaryl ( 2019-11-04 14:48:59 -0500 )edit

Bug 1743959 ( seems to relate to this. Can I just pick another port for Senlin? I'm not too proud to replace the 32 occurrences of '8778' with, say '8779'. I'm on the Stein release. Is there any advice available on this question?

Daryl gravatar imageDaryl ( 2019-11-04 15:11:25 -0500 )edit

After discovering that this is a two-year-old problem, I modified the Apache placement-api.conf file to use port 8780. Now Senlin binds just fine and there seems to be a periodic GET in the senlin-api console window. Now to pursue the question of why the "openstack cluster ..." commands don't work

Daryl gravatar imageDaryl ( 2019-11-04 16:10:13 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-11-05 12:46:11 -0500

Daryl gravatar image

The binding to host turns out to be an old, apparently unsolved problem. I patched a workaround in /etc/apache2/sites-available/placement-api.conf by redirecting that service to port 8780, following the lead proposed in and other bug reports and posts on this subject. And then the three placement endpoints had to be re-created as well.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-11-01 15:59:45 -0500

Seen: 99 times

Last updated: Nov 05 '19