Ask Your Question
0

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

asked 2015-12-13 02:10:07 -0600

updated 2015-12-14 09:57:37 -0600

Dec 13 14:00:08 libcompute systemd: Unit openstack-nova-compute.service entered failed state.
Dec 13 14:00:08 libcompute systemd: openstack-nova-compute.service holdoff time over, scheduling restart.
Dec 13 14:00:10 libcompute nova-compute: No handlers could be found for logger "oslo_config.cfg"
Dec 13 14:00:11 libcompute systemd: openstack-nova-compute.service: main process exited, code=exited, status=1/FAILURE

2015-12-13 14:00:11.354 8823 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2015-12-13 14:00:11.475 8823 CRITICAL nova [-] ValueError: keymgr.fixed_key not defined
2015-12-13 14:00:11.475 8823 ERROR nova Traceback (most recent call last):
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/bin/nova-compute", line 10, in <module>
2015-12-13 14:00:11.475 8823 ERROR nova     sys.exit(main())
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/cmd/compute.py", line 72, in main
2015-12-13 14:00:11.475 8823 ERROR nova     db_allowed=CONF.conductor.use_local)
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 271, in create
2015-12-13 14:00:11.475 8823 ERROR nova     db_allowed=db_allowed)
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 148, in __init__
2015-12-13 14:00:11.475 8823 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 687, in __init__
2015-12-13 14:00:11.475 8823 ERROR nova     self.compute_api = compute.API()
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/compute/__init__.py", line 39, in API
2015-12-13 14:00:11.475 8823 ERROR nova     return importutils.import_object(class_name, *args, **kwargs)
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 38, in import_object
2015-12-13 14:00:11.475 8823 ERROR nova     return import_class(import_str)(*args, **kwargs)
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 292, in __init__
2015-12-13 14:00:11.475 8823 ERROR nova     self.key_manager = keymgr.API()
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/keymgr/__init__.py", line 33, in API
2015-12-13 14:00:11.475 8823 ERROR nova     return cls()
2015-12-13 14:00:11.475 8823 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/keymgr/conf_key_mgr.py", line 58, in __init__
2015-12-13 14:00:11.475 8823 ERROR nova     raise ValueError(_('keymgr.fixed_key not defined'))
2015-12-13 14:00:11.475 8823 ERROR nova ValueError: keymgr.fixed_key not defined
2015-12-13 14:00:11.475 8823 ERROR nova

UPDATE:

[root@libcompute ~]# grep ^[^#] /etc/nova/nova.conf
[DEFAULT]
rpc_backend=rabbit
my_ip=10.0.0.116
enabled_apis=ec2,osapi_compute,metadata
auth_strategy=keystone
network_api_class = nova.network.neutronv2.api.API
linuxnet_interface_driver = nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver
security_group_api=neutron
verbose=true
firewall_driver = nova ...
(more)
edit retag flag offensive close merge delete

Comments

Please provide, /etc/nova/nova-compute.conf

Bipin gravatar imageBipin ( 2015-12-13 22:28:55 -0600 )edit

do you mean /etc/nova/nova.conf right?

vaibhavhyd2014 gravatar imagevaibhavhyd2014 ( 2015-12-14 00:16:58 -0600 )edit

Yes, from the compute node.

Bipin gravatar imageBipin ( 2015-12-14 01:07:46 -0600 )edit

Hi Bipin,

please find the output..

vaibhavhyd2014 gravatar imagevaibhavhyd2014 ( 2015-12-14 09:42:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-14 12:11:20 -0600

aksan gravatar image

see the 19th comment https://bugs.launchpad.net/nova/+bug/... It may solve the problem

edit flag offensive delete link more

Comments

already checked the suggestion in 19th comment and its log_dir only but let me check it again..

vaibhavhyd2014 gravatar imagevaibhavhyd2014 ( 2015-12-15 00:23:28 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-13 02:10:07 -0600

Seen: 1,717 times

Last updated: Dec 14 '15