ERROR: openstack Service Unavailable (HTTP 503)

asked 2016-05-17 01:47:44 -0500

arunkurse gravatar image

updated 2016-05-17 05:23:37 -0500

Hi All

I have installed Fedora 23 and configuring open stack Kilo . I have configured open stack keystone and started the services successfully.

Involing "openstack project list" is displaying the below error. Any help in sorting out the problem is really appreciated

[root@vnsk1 keystone]# openstack project list
ERROR: openstack Service Unavailable (HTTP 503)

I have started apache services successfully.rabbitmq and memcached services are started successfully.

[root@vnsk1 conf.d]# cat wsgi-keystone.conf
Listen 5000
Listen 35357

<VirtualHost *:5000>
    WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-public
    WSGIScriptAlias / /var/www/cgi-bin/keystone/main
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    LogLevel info
    ErrorLog /var/log/httpd/keystone-error.log
    CustomLog /var/log/httpd/keystone-access.log combined
</VirtualHost>

<VirtualHost *:35357>
    WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-admin
    WSGIScriptAlias / /var/www/cgi-bin/keystone/admin
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    LogLevel info
    ErrorLog /var/log/httpd/keystone-error.log
    CustomLog /var/log/httpd/keystone-access.log combined
</VirtualHost>

Keystone Configuration file. Open stack Keystone service has started successfully

 cat /etc/keystone/keystone.conf 

 admin_token = 9063cbed1af56a1600d0
 connection = mysql://keystone:password@<ip>/keystone
[memcache]
 servers = localhost:11211
[token]
provider = keystone.token.providers.uuid.Provider
driver = keystone.token.persistence.backends.memcache.Token
[revoke]
driver = keystone.contrib.revoke.backends.sql.Revoke
edit retag flag offensive close merge delete

Comments

Getting this error while syncing with database

[root@vnsk1 keystone]# keystone-manage db_sync
[root@vnsk1 keystone]# keystone-manage db_sync keystone
2016-05-17 11:03:29.465 4365 CRITICAL keystone [-] ValueError: invalid literal for int() with base 10: 'keystone'
2016-05-17 11:03:29.465 4365 TRACE
arunkurse gravatar imagearunkurse ( 2016-05-17 02:07:55 -0500 )edit

Check if memcached is properly running, if selinux blocks some connection to it

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-05-17 05:24:49 -0500 )edit