Some logs from Openstack services are not collected by Syslog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Low
|
Bogdan Dobrelya |
Bug Description
Environment:
Fuel 4.0 HA 5 nodes (3 controller nodes 2 compute nodes). CentOS with Neutron+VLAN segmentation.
But anyway I think this bug also affect many configurations.
Steps to reproduce:
- Deploy environment with default settings.
- Check that everything is working well. (Launch instance etc)
- Restart nova-compute service on compute node.
- Check log files on masternode. /var/log/
Expected result:
Strings like following will appear in log files:
2014-02-25 21:31:42.479 27508 INFO nova.openstack.
2014-02-25 21:31:42.541 27508 INFO nova.virt.driver [-] Loading compute driver 'libvirt.
2014-02-25 21:31:42.602 27508 INFO nova.openstack.
2014-02-25 21:31:42.623 27508 INFO nova.openstack.
2014-02-25 21:31:42.653 27508 AUDIT nova.service [-] Starting compute node (version 2013.2.
Actual result:
Strings like following will never appear in log files.
Workaround:
- Edit /etc/nova/nova.conf on compute node.
Disable syslog logging.
use_syslog=false
Comment following strings:
#log_config=
#syslog_
- Restart nova-compute service.
- Check local nova log /var/log/
Strings like following will appear in log files:
2014-02-25 21:31:42.479 27508 INFO nova.openstack.
2014-02-25 21:31:42.541 27508 INFO nova.virt.driver [-] Loading compute driver 'libvirt.
2014-02-25 21:31:42.602 27508 INFO nova.openstack.
2014-02-25 21:31:42.623 27508 INFO nova.openstack.
2014-02-25 21:31:42.653 27508 AUDIT nova.service [-] Starting compute node (version 2013.2.
Impact:
- Some useful information has been lost.
- Not sure what information will be lost during instance provisioning tasks and so on.
Changed in fuel: | |
status: | Confirmed → Incomplete |
information type: | Public → Private |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Attaching compute.log.
This file from compute node appeared after I disabled Syslog.