Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No handlers could be found for logger "oslo_config.cfg"

Hi all,

I am installing Openstack Liberty by following Openstack guide on Ubuntu 14.04 LTS.

I followed all steps, then issue following command for populating identity database.

Command----------------------------

su -s /bin/sh -c "keystone-manage db_sync" keystone

Output------------------------------ Password: su: Authentication failure

     It gives error of authentication failure as there is no 'su' user in ubuntu.

Then I tried command with sudo.

Command---------------------------

sudo -s /bin/sh -c "keystone-manage db_sync" keystone

Output-------------------------------

     No handlers could be found for logger "oslo_config.cfg"

It gives error like above.

My '/etc/keystone/keystone.conf' file. Removed most of commented line for ease.

[DEFAULT]

admin_token = 86bf3388725d3fc837f6

verbose = True

log_dir = /var/log/keystone

amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN

[assignment]

[auth]

[cache]

[catalog]

[cors]

[cors.subdomain]

[credential]

[database]

{commented line:- connection = mysql+pymysql://keystone:Passwd@controller/keystone}

connection = mysql://keystone:Passwd@controller/keystone

{commented line:- connection = sqlite:////var/lib/keystone/keystone.db}

[domain_config]

[endpoint_filter]

[endpoint_policy]

[eventlet_server]

[eventlet_server_ssl]

[federation]

[fernet_tokens]

[identity]

[identity_mapping]

[kvs]

[ldap]

[matchmaker_redis]

[matchmaker_ring]

[memcache]

servers = localhost:11211

[oauth1]

[os_inherit]

[oslo_messaging_amqp]

[oslo_messaging_qpid]

[oslo_messaging_rabbit]

[oslo_middleware]

[oslo_policy]

[paste_deploy]

[policy]

[resource]

[revoke]

driver = sql

[role]

[saml]

[signing]

[ssl]

[token]

provider = uuid

driver = memcache

[tokenless_auth]

[trust]

[extra_headers]

Distribution = Ubuntu

I am at beginning of installation so there is no nova or anything else. I have searched through forums most people facing same issue but no answer is there.

If I ignore error and go ahead to create endpoints it gives error like "error 500 when creating identity endpoint"

Command-------------------------------------

openstack service create --name keystone --description "OpenStack Identity" identity

Output----------------------------------------- Internal Server Error (HTTP 500)

I have stuck at first step itself. Any help would be appreciated. Thanks in advance

No handlers could be found for logger "oslo_config.cfg"

Hi all,

I am installing Openstack Liberty by following Openstack guide on Ubuntu 14.04 LTS.

I followed all steps, then issue following command for populating identity database.

Command----------------------------

su -s /bin/sh -c "keystone-manage db_sync" keystone

Output------------------------------ Password: su: Authentication failure

     It gives error of authentication failure as there is no 'su' user in ubuntu.

Then I tried command with sudo.

Command---------------------------

sudo -s /bin/sh -c "keystone-manage db_sync" keystone

Output-------------------------------

     No handlers could be found for logger "oslo_config.cfg"

It gives error like above.

My '/etc/keystone/keystone.conf' file. Removed most of commented line for ease.

[DEFAULT]

admin_token = 86bf3388725d3fc837f6

verbose = True

log_dir = /var/log/keystone

amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN

[assignment]

[auth]

[cache]

[catalog]

[cors]

[cors.subdomain]

[credential]

[database]

{commented line:- connection = mysql+pymysql://keystone:Passwd@controller/keystone}

connection = mysql://keystone:Passwd@controller/keystone

{commented line:- connection = sqlite:////var/lib/keystone/keystone.db}

[domain_config]

[endpoint_filter]

[endpoint_policy]

[eventlet_server]

[eventlet_server_ssl]

[federation]

[fernet_tokens]

[identity]

[identity_mapping]

[kvs]

[ldap]

[matchmaker_redis]

[matchmaker_ring]

[memcache]

servers = localhost:11211

[oauth1]

[os_inherit]

[oslo_messaging_amqp]

[oslo_messaging_qpid]

[oslo_messaging_rabbit]

[oslo_middleware]

[oslo_policy]

[paste_deploy]

[policy]

[resource]

[revoke]

driver = sql

[role]

[saml]

[signing]

[ssl]

[token]

provider = uuid

driver = memcache

[tokenless_auth]

[trust]

[extra_headers]

Distribution = Ubuntu

I am at beginning of installation so there is no nova or anything else. I have searched through forums most people facing same issue but no answer is there.

If I ignore error and go ahead to create endpoints it gives error like "error 500 when creating identity endpoint"

Command-------------------------------------

openstack service create --name keystone --description "OpenStack Identity" identity

Output----------------------------------------- Internal Server Error (HTTP 500)

I have stuck at first step itself. Any help would be appreciated. Thanks in advance

Hello, I already trying searching in the forums but no valid solutions were provided.

Basic OpenStack Liberty installation on Ubuntu 14.04 LTS on a VM. Followed all the steps, then I got stucked at Add the Identity Service - Install and configure section. Inside Install and configure components section I sent the following command:

 ln -s /etc/apache2/sites-available/wsgi-keystone.conf /etc/apache2/sites-enabled

But then the system says

No handlers could be found for logger "oslo_config.cfg"

What he's talking about ? I am at the beginning of the installation so till now there's no nova, nor anything else, just setting up keystone. Any help would be appreciated.

No handlers could be found for logger "oslo_config.cfg"

Hi all,

I am installing Openstack Liberty by following Openstack guide on Ubuntu 14.04 LTS.

. I followed all steps, then issue following command for populating identity database.

Command----------------------------

su
#su -s /bin/sh -c "keystone-manage db_sync" keystone

Output------------------------------ keystone Password: su: Authentication failure

 failure

It gives error of authentication failure as there is no 'su' user in ubuntu.

ubuntu. Then I tried command with sudo.

Command---------------------------

sudo
#sudo -s /bin/sh -c "keystone-manage db_sync" keystone

Output-------------------------------

keystone

     No handlers could be found for logger "oslo_config.cfg"

It gives error like above.

My '/etc/keystone/keystone.conf' file. Removed most of commented line for ease.

[DEFAULT]

admin_token = 86bf3388725d3fc837f6

verbose = True

log_dir = /var/log/keystone

amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN

[assignment]

[auth]

[cache]

[catalog]

[cors]

[cors.subdomain]

[credential]

[database]

{commented line:- connection = mysql+pymysql://keystone:Passwd@controller/keystone}

connection = mysql://keystone:Passwd@controller/keystone

{commented line:- connection = sqlite:////var/lib/keystone/keystone.db}

[domain_config]

[endpoint_filter]

[endpoint_policy]

[eventlet_server]

[eventlet_server_ssl]

[federation]

[fernet_tokens]

[identity]

[identity_mapping]

[kvs]

[ldap]

[matchmaker_redis]

[matchmaker_ring]

[memcache]

servers = localhost:11211

[oauth1]

[os_inherit]

[oslo_messaging_amqp]

[oslo_messaging_qpid]

[oslo_messaging_rabbit]

[oslo_middleware]

[oslo_policy]

[paste_deploy]

[policy]

[resource]

[revoke]

driver = sql

[role]

[saml]

[signing]

[ssl]

[token]

provider = uuid

driver = memcache

[tokenless_auth]

[trust]

[extra_headers]

Distribution = Ubuntu

above. I am at beginning of installation so there is no nova or anything else. I have searched through forums most people facing same issue but no answer is there.

If I ignore error and go ahead to create endpoints it gives error like "error 500 when creating identity endpoint"

Command-------------------------------------

openstack
#openstack service create --name keystone --description "OpenStack Identity" identity

Output----------------------------------------- identity Internal Server Error (HTTP 500)

I have stuck at first step itself. Any help would be appreciated. Thanks in advance

Hello, I already trying searching in the forums but no valid solutions were provided.

Basic OpenStack Liberty installation on Ubuntu 14.04 LTS on a VM. 500)

Followed all the steps, then I got stucked at Add the Identity Service - Install and configure configure section. Inside Install and configure components section I sent the following command:

 ln -s /etc/apache2/sites-available/wsgi-keystone.conf /etc/apache2/sites-enabled

But then the system says

No handlers could be found for logger "oslo_config.cfg"

What he's talking about ? I am at the beginning of the installation so till now there's no nova, nor anything else, just setting up keystone. Any help would be appreciated.keystone.