Internal server error 500

asked 2019-10-13 22:03:29 -0600

Hi Guys,

Command "Openstack Image list" giving error "Internal server error 500". All other openstack commands are working fine. For example, "openstack endpoint list". Looks like some issues between keystone and glance communication but unable to figure out, what? Please help here. Command "openstack token issue" is also giving desired output.

Below is the keystone.conf database setting

[database] connection = mysql+pymysql://keystone:openstack@controller/keystone

Below is "admin.openrc" configuration

export OS_PROJECT_DOMAIN_NAME=Default export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=openstack export OS_AUTH_URL=http://controller:35357/v3 export OS_IDENTITY_API_VERSION=3 export OS_IMAGE_API_VERSION=2

in /var/log/glance/glance-registry.log, I can see multiple warnings as below +++++++++ 2019-10-14 01:49:30.079 2079 WARNING keystonemiddleware._common.config [-] The option "__file__" in conf is not known to auth_token 2019-10-14 01:49:30.080 2079 WARNING keystonemiddleware._common.config [-] The option "here" in conf is not known to auth_token 2019-10-14 01:49:30.083 2079 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True. 2019-10-14 01:49:30.091 2079 WARNING oslo_config.cfg [-] Option "auth_uri" from group "keystone_authtoken" is deprecated. Use option "www_authenticate_uri" from group "keystone_authtoken". +++++++ Not sure if it has some relevance..

Please let me know if you need any additional information from my side.

Thanks in Advance.

edit retag flag offensive close merge delete

Comments

The messages about __file__ and here options indicate that your glance configuration file is a bit confused.

Bernd Bausch gravatar imageBernd Bausch ( 2019-10-14 00:55:44 -0600 )edit