← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1719714] Re: Excessive logging of "We're on a Pike compute host in a deployment with all Pike compute hosts."

 

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Changed in: nova/pike
       Status: New => Confirmed

** Changed in: nova/pike
   Importance: Undecided => Medium

-- 
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/1719714

Title:
  Excessive logging of "We're on a Pike compute host in a deployment
  with all Pike compute hosts."

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) pike series:
  Confirmed

Bug description:
  There are two issues with this log message from the resource tracker:

  Sep 26 18:44:37 devstack nova-compute[30351]: DEBUG
  nova.compute.resource_tracker [None req-992d494e-d328-4204-bcfe-
  80d926cf0a65 demo demo] We're on a Pike compute host in a deployment
  with all Pike compute hosts. Skipping auto-correction of allocations.
  {{(pid=30351) _update_usage_from_instance
  /opt/stack/nova/nova/compute/resource_tracker.py:1071}}

  1. If you're in Queens, you don't have Pike compute hosts. So the
  message is misleading.

  2. The message gets logged once per instance on a given compute host
  every minute when the update_instance_allocation periodic task runs.

  We should fix the message in #1 to say something else than Pike
  specifically, and fix #2 to only log that once per periodic, rather
  than once per instance per periodic.

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


References