Ask Your Question
0

Senlin-api fails to bind to bind_host

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

Daryl gravatar image

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

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 0.0.0.0:8778. I understand the 0.0.0.0 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

Comments

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 -0600 )edit

Bug 1743959 (https://bugs.launchpad.net/senlin/+bu...) 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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

Daryl gravatar image

The binding to host 0.0.0.0:8778 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 https://ask.openstack.org/en/question... 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 23 times

Last updated: Nov 05