← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: compute resize serviceability

-- 
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):
  New

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


Follow ups