Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Same issue, why no replies still? Also cent7 x86_64, I've done literally everything that could potentially come to your mind or is google'able, would require several hours to describe all I did including code modification attempts.

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

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

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

Internal Server Error (HTTP 500)

logs do not provide any useful info, even increasing level to its maximum:

2015-11-26 15:13:43.973796 No handlers could be found for logger "oslo_config.cfg" 2015-11-26 15:13:44.094941 mod_wsgi (pid=4278): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module. 2015-11-26 15:13:44.095023 mod_wsgi (pid=4278): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'. 2015-11-26 15:13:44.095042 Traceback (most recent call last): 2015-11-26 15:13:44.095076 File "/usr/bin/keystone-wsgi-admin", line 36, in <module> 2015-11-26 15:13:44.095096 application = initialize_admin_application() 2015-11-26 15:13:44.095103 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 78, in initialize_admin_application 2015-11-26 15:13:44.095115 return initialize_application('admin') 2015-11-26 15:13:44.095122 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 64, in initialize_application 2015-11-26 15:13:44.095147 startup_application_fn=loadapp) 2015-11-26 15:13:44.095155 File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 51, in setup_backends 2015-11-26 15:13:44.095165 res = startup_application_fn() 2015-11-26 15:13:44.095174 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 61, in loadapp 2015-11-26 15:13:44.095184 'config:%s' % config.find_paste_config(), name) 2015-11-26 15:13:44.095191 File "/usr/lib/python2.7/site-packages/keystone/config.py", line 91, in find_paste_config 2015-11-26 15:13:44.095247 raise exception.ConfigFileNotFound(config_file=paste_config_value) 2015-11-26 15:13:44.095470 ConfigFileNotFound: An unexpected error prevented the server from fulfilling your request.

Same issue, why no replies still? Also cent7 x86_64, I've done literally everything that could potentially come to your mind or is google'able, would require several hours to describe all I did including code modification attempts.

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

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

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

Internal Server Error (HTTP 500)

logs do not provide any useful info, even increasing level to its maximum:

2015-11-26 15:13:43.973796 No handlers could be found for logger "oslo_config.cfg" 2015-11-26 15:13:44.094941 mod_wsgi (pid=4278): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module. 2015-11-26 15:13:44.095023 mod_wsgi (pid=4278): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'. 2015-11-26 15:13:44.095042 Traceback (most recent call last): 2015-11-26 15:13:44.095076 File "/usr/bin/keystone-wsgi-admin", line 36, in <module> 2015-11-26 15:13:44.095096 application = initialize_admin_application() 2015-11-26 15:13:44.095103 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 78, in initialize_admin_application 2015-11-26 15:13:44.095115 return initialize_application('admin') 2015-11-26 15:13:44.095122 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 64, in initialize_application 2015-11-26 15:13:44.095147 startup_application_fn=loadapp) 2015-11-26 15:13:44.095155 File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 51, in setup_backends 2015-11-26 15:13:44.095165 res = startup_application_fn() 2015-11-26 15:13:44.095174 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 61, in loadapp 2015-11-26 15:13:44.095184 'config:%s' % config.find_paste_config(), name) 2015-11-26 15:13:44.095191 File "/usr/lib/python2.7/site-packages/keystone/config.py", line 91, in find_paste_config 2015-11-26 15:13:44.095247 raise exception.ConfigFileNotFound(config_file=paste_config_value) 2015-11-26 15:13:44.095470 ConfigFileNotFound: An unexpected error prevented the server from fulfilling your request.

30.10.2015: Ok, reinstalled minimal CentOS Linux release 7.1.1503 (Core). Disabled/removed all "useless" services/pckgs, such as postfix and alikes, just in case. Followed fresh install guide for liberty release. On the database population step still got "No handlers could be found for logger "oslo_config.cfg"" even tho the DB itself got populated successfully, just as before. But this time service reation went all well and I expect the upcoming procedures to succeed as well, will keep you up to date, since developers don't seem to be trying to produce problematic environments and test it for us. What else I did prior to install: added secondary addresses to whichever you preferable i-face is, such as "ifcfg-enp2s0f0:1" for ex; added route-iface with all routes I need; configured /etc/hosts ofc; implicitly specified "GATEWAYDEV=enp2s0f0" @network file; disabled selinux completely; didn't install openstack-selinux at all; used ntpdate and cron instead of chrony(I still think you'd be better off using chrony tho); disabled NM !!! additionally set "nm controlled" to OFF just to be supersure for all i-faces, *uck NM really. Hope it helps someone.

Same issue, why no replies still? Also cent7 x86_64, I've done literally everything that could potentially come to your mind or is google'able, would require several hours to describe all I did including code modification attempts.

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

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

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

Internal Server Error (HTTP 500)

logs do not provide any useful info, even increasing level to its maximum:

2015-11-26 15:13:43.973796 No handlers could be found for logger "oslo_config.cfg" 2015-11-26 15:13:44.094941 mod_wsgi (pid=4278): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module. 2015-11-26 15:13:44.095023 mod_wsgi (pid=4278): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'. 2015-11-26 15:13:44.095042 Traceback (most recent call last): 2015-11-26 15:13:44.095076 File "/usr/bin/keystone-wsgi-admin", line 36, in <module> 2015-11-26 15:13:44.095096 application = initialize_admin_application() 2015-11-26 15:13:44.095103 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 78, in initialize_admin_application 2015-11-26 15:13:44.095115 return initialize_application('admin') 2015-11-26 15:13:44.095122 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 64, in initialize_application 2015-11-26 15:13:44.095147 startup_application_fn=loadapp) 2015-11-26 15:13:44.095155 File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 51, in setup_backends 2015-11-26 15:13:44.095165 res = startup_application_fn() 2015-11-26 15:13:44.095174 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 61, in loadapp 2015-11-26 15:13:44.095184 'config:%s' % config.find_paste_config(), name) 2015-11-26 15:13:44.095191 File "/usr/lib/python2.7/site-packages/keystone/config.py", line 91, in find_paste_config 2015-11-26 15:13:44.095247 raise exception.ConfigFileNotFound(config_file=paste_config_value) 2015-11-26 15:13:44.095470 ConfigFileNotFound: An unexpected error prevented the server from fulfilling your request.

30.10.2015: Ok, reinstalled minimal CentOS Linux release 7.1.1503 (Core). Disabled/removed all "useless" services/pckgs, such as postfix and alikes, just in case. Followed fresh install guide for liberty release. On the database population step still got "No handlers could be found for logger "oslo_config.cfg"" even tho the DB itself got populated successfully, just as before. But this time service reation creation went all well and I expect the upcoming procedures to succeed as well, will keep you up to date, since developers don't seem to be trying to produce problematic environments and test it for us. What else I did prior to install: added secondary addresses to whichever you preferable i-face is, such as "ifcfg-enp2s0f0:1" for ex; added route-iface with all routes I need; configured /etc/hosts ofc; implicitly specified "GATEWAYDEV=enp2s0f0" @network file; disabled selinux completely; didn't install openstack-selinux at all; used ntpdate and cron instead of chrony(I still think you'd be better off using chrony tho); disabled NM !!! additionally set "nm controlled" to OFF just to be supersure for all i-faces, *uck NM really. Hope it helps someone.

Same issue, why no replies still? Also cent7 x86_64, I've done literally everything that could potentially come to your mind or is google'able, would require several hours to describe all I did including code modification attempts.

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

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

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

Internal Server Error (HTTP 500)

logs do not provide any useful info, even increasing level to its maximum:

2015-11-26 15:13:43.973796 No handlers could be found for logger "oslo_config.cfg" 2015-11-26 15:13:44.094941 mod_wsgi (pid=4278): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module. 2015-11-26 15:13:44.095023 mod_wsgi (pid=4278): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'. 2015-11-26 15:13:44.095042 Traceback (most recent call last): 2015-11-26 15:13:44.095076 File "/usr/bin/keystone-wsgi-admin", line 36, in <module> 2015-11-26 15:13:44.095096 application = initialize_admin_application() 2015-11-26 15:13:44.095103 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 78, in initialize_admin_application 2015-11-26 15:13:44.095115 return initialize_application('admin') 2015-11-26 15:13:44.095122 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 64, in initialize_application 2015-11-26 15:13:44.095147 startup_application_fn=loadapp) 2015-11-26 15:13:44.095155 File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 51, in setup_backends 2015-11-26 15:13:44.095165 res = startup_application_fn() 2015-11-26 15:13:44.095174 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 61, in loadapp 2015-11-26 15:13:44.095184 'config:%s' % config.find_paste_config(), name) 2015-11-26 15:13:44.095191 File "/usr/lib/python2.7/site-packages/keystone/config.py", line 91, in find_paste_config 2015-11-26 15:13:44.095247 raise exception.ConfigFileNotFound(config_file=paste_config_value) 2015-11-26 15:13:44.095470 ConfigFileNotFound: An unexpected error prevented the server from fulfilling your request.

30.10.2015: Ok, reinstalled minimal CentOS Linux release 7.1.1503 (Core). Disabled/removed all "useless" services/pckgs, such as postfix and alikes, just in case. Followed fresh install guide for liberty release. On the database population step still got "No handlers could be found for logger "oslo_config.cfg"" even tho the DB itself got populated successfully, just as before. But this time service creation went all well and I expect the upcoming procedures to succeed as well, will keep you up to date, since developers don't seem to be trying to produce problematic environments and test it for us. What else I did prior to install: added secondary addresses to whichever you your preferable i-face is, name happen to be, such as "ifcfg-enp2s0f0:1" for ex; added route-iface with all routes I need; configured /etc/hosts ofc; implicitly specified "GATEWAYDEV=enp2s0f0" @network file; disabled selinux completely; didn't install openstack-selinux at all; used ntpdate and cron instead of chrony(I still think you'd be better off using chrony tho); disabled NM !!! additionally set "nm controlled" to OFF just to be supersure for all i-faces, *uck NM really. Hope it helps someone.