Ask Your Question
0

Senlin unsupported version

asked 2019-10-23 16:28:54 -0600

Daryl gravatar image

I think I got Senlin installed by throwing away the entire system and starting from scratch with DevStack. However, when I ran the "Verify" step (at the Senlin installation guide https://docs.openstack.org/senlin/lat..., I got this:

$ openstack cluster build info
Failed to contact the endpoint at http://192.168.56.3:8778 for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://192.168.56.3:8778 for discovery. Fallback to using that endpoint as the base url.
The clustering service for :RegionOne exists but does not have any supported versions.

The command "openstack endpoint list --service senlin" returns three enpoints with that URL, for public, admin, and internal interfaces.

I looked in stack.sh.log and near the end I see this:

2019-10-23 21:06:39.551 | [Call Trace]
2019-10-23 21:06:39.552 | ./stack.sh:1293:start_glance
2019-10-23 21:06:39.554 | /opt/stack/devstack/lib/glance:335:die
2019-10-23 21:06:39.557 | [ERROR] /opt/stack/devstack/lib/glance:335 g-api did not start

Beyond that, I can't think of anything diagnostic to add. So my questions are:

  1. Is this a sign of an installation error?
  2. If the error is in Glance, where do I start on the diagnosis?

As always, any help is appreciated.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-10-29 14:00:42 -0600

Daryl gravatar image

Thanks to dtruong, I decided that perhaps not being able to figure out how to use Senlin directly was not so bad, since my objective was and is to evaluate Heat. So I proceeded with the Heat installation, which actually seems to work. So it appears that Senlin is working correctly, I just didn't interpret correctly the behavior of the senlin-engine command.

edit flag offensive delete link more
0

answered 2019-10-24 16:03:54 -0600

Is your senlin-api service running? If you are using devstack, you should be able to see the status for it like this:

sudo systemctl status devstack@sl-api

If the output says that it is inactive (dead), then start it using:

sudo systemctl start devstack@sl-api
edit flag offensive delete link more

Comments

Thanks for your responses. I have been struggling and you are like a light at the end of the tunnel. These two commands both failed with the "could not be found" message:

$ sudo systemctl status devstack@sl-api
Unit devstack@sl-api.service could not be found.
Daryl gravatar imageDaryl ( 2019-10-28 10:36:17 -0600 )edit

I noticed that in my DevStack version, Glance does not appear to be running. With your comment on my other question, I launched senlin-engin in one console window. In another I launched senlin-api, but it failed to bind on 0.0.0.0:8778. (more on next comment)

Daryl gravatar imageDaryl ( 2019-10-28 14:17:33 -0600 )edit

Now all my 'openstack cluster ...' commands fail with "request() got an unexpected keyword argument 'global_request_id'". The tutorial at https://docs.openstack.org/senlin/ste... doesn't tell me what I need to do to have Senlin ready for commands. I believe that's what I need.

Daryl gravatar imageDaryl ( 2019-10-28 14:20:59 -0600 )edit

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-10-23 16:28:54 -0600

Seen: 60 times

Last updated: Oct 29