Ask Your Question
0

Port 5000 not bound after devstack install

asked 2017-06-17 02:24:22 -0600

Ricardo Silva gravatar image

Hi guys,

I've just installed devstack using the following procedure https://docs.openstack.org/developer/devstack/index.html (https://docs.openstack.org/developer/...). Everything works fine through horizon, but I can't access the API through port 5000. After netstat I realised that apache2 server is not even listening on port 5000.

I then tried to install keystone and I it worked partially, i .e, I could then use the API but horizon was no longer working properly.

Do you have any idea about what's going on?

Thanks in advance.

Ricardo Silva

edit retag flag offensive close merge delete

Comments

Hello, where you able to solve this problem

bozzfedz gravatar imagebozzfedz ( 2019-09-11 07:11:27 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-26 03:28:56 -0600

Hello,

The port 5000 for identity API seems a "common use" for Openstack (https://docs.openstack.org/mitaka/config-reference/firewalls-default-ports.html (mitaka docs)).

On Openstack Dashboard, in admin > system > system information, the keystone - identityURL is displayed => http://x.x.x.x/identity

Currently with last https://docs.openstack.org/devstack/latest/ (Openstack - devstack), you can retrieve a token with (using demo account):

curl --request POST --include --header "Content-Type: application/json" \
     --data '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"demo","domain":{"name":"default"},"password":"theCorrectPassword"}}},"scope":{"project":{"name":"demo","domain":{"name":"default"}}}}}' \
     https://theOpenstackUrl/identity/v3/auth/tokens

--> HTTP/1.1 201 Created

Best regards

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

Stats

Asked: 2017-06-17 02:24:22 -0600

Seen: 173 times

Last updated: Jun 17 '17