Bug 1711390

Summary: Scheduler is dumping all instances on a compute host
Product: Red Hat OpenStack Reporter: Stephen Finucane <stephenfin>
Component: openstack-novaAssignee: Stephen Finucane <stephenfin>
Status: CLOSED ERRATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: low Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: dasmith, jhakimra, jschluet, kchamart, lyarwood, sbauza, sgordon, vromanso
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-14.1.0-51.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-03 16:36:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen Finucane 2019-05-17 16:46:50 UTC
Description of problem:
There is a log message in the scheduler which dumps all instances running on a compute host:


LOG.debug("Update host state with instances: %s", inst_dict)

There are at least 2 problems with this:
  1. it generates huge amount of logs which are not really useful
  2. it crashes when there is an instance with non-ascii name

We don't need to log these are shouldn't

Version-Release number of selected component (if applicable):

OSP 10

How reproducible:

Always

Steps to Reproduce:

Run nova-scheduler.

Actual results:

We see lot of blobs logged.

Expected results:

We should only see the instance UUIDs or some other identifier.

Additional info:

Comment 11 errata-xmlrpc 2019-09-03 16:36:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:2631