← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1642589] Re: Resource tracker logs at too high level

 

Reviewed:  https://review.openstack.org/399073
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a586b6d9678c96cc9a3a1151140ed38d11a210a1
Submitter: Jenkins
Branch:    master

commit a586b6d9678c96cc9a3a1151140ed38d11a210a1
Author: Bob Ball <bob.ball@xxxxxxxxxx>
Date:   Thu Nov 17 15:09:05 2016 +0000

    INFO level logging should be useful in resource tracker
    
    Rather than log messages such as "Starting to do work" at INFO level,
    these should be logged at DEBUG level.  Useful information, such as the
    final resource view, should continue to be logged at INFO.
    
    Change-Id: Ib69fb8df4c6bcdb813852ecbad9cda039b27f0b1
    Closes-bug: #1642589


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1642589

Title:
  Resource tracker logs at too high level

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  There are very few INFO messages logged by periodic tasks, but every
  minute the resource tracker logs 4 lines, for example:

  <182>Nov 17 13:26:24 node-4 nova-compute: 2016-11-17 13:26:24.942 1143 INFO nova.compute.resource_tracker [req-85a43595-8d23-4f5f-bfb2-59689d3b873f - - - - -] Auditing locally available compute resources for node xrtmia-03-01
  <182>Nov 17 13:26:25 node-4 nova-compute: 2016-11-17 13:26:25.749 1143 INFO nova.compute.resource_tracker [req-85a43595-8d23-4f5f-bfb2-59689d3b873f - - - - -] Total usable vcpus: 24, total allocated vcpus: 4
  <182>Nov 17 13:26:25 node-4 nova-compute: 2016-11-17 13:26:25.749 1143 INFO nova.compute.resource_tracker [req-85a43595-8d23-4f5f-bfb2-59689d3b873f - - - - -] Final resource view: name=xrtmia-03-01 phys_ram=98293MB used_ram=12905MB phys_disk=450GB used_disk=40GB total_vcpus=24 used_vcpus=4 pci_stats=[]
  <182>Nov 17 13:26:25 node-4 nova-compute: 2016-11-17 13:26:25.789 1143 INFO nova.compute.resource_tracker [req-85a43595-8d23-4f5f-bfb2-59689d3b873f - - - - -] Compute_service record updated for node-4.domain.tld:xrtmia-03-01

  Of these 4 lines, only one is useful at the INFO level; the one reporting the final resource view.
  The other three log lines should be reduced to DEBUG level as they are generally not useful to be logged in normal operation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1642589/+subscriptions


References