← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1822917] Re: "Overwriting current allocation" warnings in logs during move operations although there are no failures

 

Reviewed:  https://review.openstack.org/649788
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d955ce42cc16149cc9ffe7f698210d85792b63a0
Submitter: Zuul
Branch:    master

commit d955ce42cc16149cc9ffe7f698210d85792b63a0
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Thu Apr 4 11:17:06 2019 +0900

    Change a log level for overwriting allocation
    
    Change a log level for overwriting allocation
    to debug instead of warning
    because the log message is output in the normal case
    of reverting resize.
    
    Change-Id: I4f2ee3f420b4c78385eeb56c7e8c343af894e75c
    Closes-Bug: #1822917


** 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/1822917

Title:
  "Overwriting current allocation" warnings in logs during move
  operations although there are no failures

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  I'm not sure why this is a warning:

  https://github.com/openstack/nova/blob/b33fa1c054ba4b7d4e789aa51250ad5c8325da2d/nova/scheduler/client/report.py#L1880

  Because it shows up in normal operations during a resize where
  allocations are moved from the instance to the migration record as of
  this blueprint in queens:

  https://specs.openstack.org/openstack/nova-
  specs/specs/queens/implemented/migration-allocations.html

  This ends up being a lot of log spam:

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Overwriting%20current%20allocation%5C%22%20AND%20tags%3A%5C%22screen%5C%22&from=7d

  The warning was added in this change:

  https://github.com/openstack/nova/commit/53ca096750685b7bb88c2a5062db19d92facc548

  But I'm not sure why. It should probably be INFO or DEBUG.

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


References