Conflicts between keystone and apache2

asked 2016-04-28 03:54:32 -0600

sudharsan gravatar image

updated 2016-04-28 12:24:22 -0600

All,

If someone can help me out to understand the conflicts between keystone and apache2. Both keystone & apache2 uses same ports 35357 & 5000.

When I execute token issue command;

openstack --os-auth-url http://controller:35357/v3  --os-project-domain-id default --os-user-domain-id default  --os-project-name admin --os-username admin --os-auth-type password token issue

I get this error:

An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-ca782978-cc44-41b4-ab4a-ef082bac2d77)

Some has posted in the same forum to stop the apache2 & start keystone alone. Tried even that but in vain.

root@COE-Controller:/var/log/keystone# !net
netstat -nltp | grep 5000
tcp6       0      0 :::5000                 :::*                    LISTEN      49418/apache2
root@COE-Controller:/var/log/keystone# service apache2 stop
 * Stopping web server apache2                                                                                                                                   *
root@COE-Controller:/var/log/keystone# !net
netstat -nltp | grep 5000
root@COE-Controller:/var/log/keystone# service keystone start
keystone start/running, process 49678
root@COE-Controller:/var/log/keystone# !ne
netstat -nltp | grep 5000
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      49678/python
root@COE-Controller:/var/log/keystone# netstat -nltp | grep 35357
tcp        0      0 0.0.0.0:35357           0.0.0.0:*               LISTEN      49678/python
root@COE-Controller:/var/log/keystone#

Now only keystone is running & not apache2. When I execute the same command,

root@COE-Controller:/home/infics# openstack --os-auth-url http://controller:35357/v3 --os-project-domain-id default --os-user-domain-id default --os-project-name admin --os-username admin --os-auth-type password token issue
Password:
An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-8ea8d9d0-8c6c-4306-b9b0-47f3b962d1d8)
root@COE-Controller:/home/infics#

Can anyone help me on this issue.

Thanks, Sudharsan

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-28 11:25:55 -0600

soumitrakarmakar gravatar image

Are you using the Kilo version, if so it does happen so in this case you need to comment the ports in the apache wsgi you created if you want to use keystone as a service, else stop keystone service and restart httpd.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-04-28 03:54:32 -0600

Seen: 316 times

Last updated: Apr 28 '16