Ask Your Question
0

An unexpected error prevented the server from fulfilling your request. (HTTP 500) [closed]

asked 2014-05-23 06:18:17 -0500

Nikhil Bedare gravatar image

Hi, I am installing the openstack for the first time. I am using the openstack guide and following the exact steps. While creating the admin user, I am getting the below error :

[root@controller ~]# keystone user-create --name=admin --pass=qlogic --email=myemail@mycompany.com Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

The log file shows the below error : 2014-05-23 07:05:17.295 3986 TRACE keystone.common.wsgi OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on 'controller' (111)") None None

Can someone please help me out ?

Thanks, Nikhil.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by smaffulli
close date 2014-05-23 16:58:45.064559

2 answers

Sort by ยป oldest newest most voted
-1

answered 2014-05-23 12:19:27 -0500

dbaxps gravatar image
edit flag offensive delete link more
-1

answered 2014-05-23 11:08:29 -0500

dbaxps gravatar image

updated 2014-05-23 11:09:52 -0500

Looks like firwall issue
On Controller run:
$iptables-save | grep mysq $netstat -lntp | grep mysqld
$netstat -antp | grep mysqld
Like this :-

[root@dallas1 ~]# netstat -antp | grep mysqld<br>
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130:50319     ESTABLISHED 1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130:50257     ESTABLISHED 1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130:50261     ESTABLISHED 1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130:50256     ESTABLISHED 1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130:50271     ESTABLISHED 1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130:50255     ESTABLISHED 1794/mysqld         
tcp        0      0 192.168.1.130:3306      192.168.1.130 ...
(more)
edit flag offensive delete link more

Comments

Thanks a lot for your help. Please find below the output of netstat : [root@controller ~]# netstat -antp | grep mysqld tcp 0 0 172.28.18.71:3306 0.0.0.0:* LISTEN 4379/mysqld tcp 0 0 172.28.18.71:3306 172.28.18.71:45903 ESTABLISHED 4379/mysqld [root@controller ~]# netstat -lntp | grep mysqld tcp 0 0 172.28.18.71:3306 0.0.0.0:* LISTEN 4379/mysqld

Right now, I am getting the below message in the keystone logfile :

2014-05-26 01:58:58.927 3902 WARNING keystone.openstack.common.versionutils [-] Deprecated: keystone.middleware.core.XmlBodyMiddleware is deprecated as of Icehouse in favor of support for "application/json" only and may be removed in K. 2014-05-26 02:00:02.402 4254 CRITICAL keystone [-] OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on 'controller' (111)") None None

2014-05-26 02:23:06.403 3817 WARNING keystone.openstack.common ...(more)

Nikhil Bedare gravatar imageNikhil Bedare ( 2014-05-26 01:32:09 -0500 )edit

After trying couple of things, now I am getting only the below error each time : 2014-05-26 02:54:36.688 3817 WARNING keystone.common.wsgi [-] The request you have made requires authentication. 2014-05-26 02:55:41.909 3817 WARNING keystone.middleware.core [-] RBAC: Invalid token 2014-05-26 02:55:41.910 3817 WARNING keystone.common.wsgi [-] The request you have made requires authentication. 2014-05-26 03:01:45.556 3817 WARNING keystone.middleware.core [-] RBAC: Invalid token 2014-05-26 03:01:45.558 3817 WARNING keystone.common.wsgi [-] The request you have made requires authentication. 2014-05-26 03:05:17.059 3817 WARNING keystone.middleware.core [-] RBAC: Invalid token 2014-05-26 03:05:17.060 3817 WARNING keystone.common.wsgi [-] The request you have made requires authentication.

Really appreciate your help.

Thanks, Nikhil.

Nikhil Bedare gravatar imageNikhil Bedare ( 2014-05-26 02:12:40 -0500 )edit

Please, open another question with the most recent issue, this one has been closed

dbaxps gravatar imagedbaxps ( 2014-05-26 02:36:23 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-23 06:18:17 -0500

Seen: 7,228 times

Last updated: May 23 '14