Bug 1574952

Summary: Add logging to TripleOCapabilitiesFilter
Product: Red Hat OpenStack Reporter: Dmitry Tantsur <dtantsur>
Component: openstack-tripleo-commonAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED ERRATA QA Contact: bjacot
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: aschultz, bfournie, bjacot, dtantsur, mburns, slinaber
Target Milestone: z9Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-5.4.7-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-17 16:54:55 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 Dmitry Tantsur 2018-05-04 12:09:33 UTC
When this filter fails, it's very hard to understand why. You need to manually compare every node to what is requested in the scheduler hints. We need to log why exactly a node did not pass the test in DEBUG mode.

The patch for this issue has already merged in master, this is a request to backport it to OSP 10.

Comment 9 bjacot 2018-08-09 19:04:45 UTC
Installed latest version of OSP10.  Verified that gerrit changes to the log messages are being captured in nova-scheduler.log.  Please reopen if this is still an issue.

cat /etc/yum.repos.d/latest-installed 
10   -p 2018-08-04.1

error message from nova-scheduler.log

2018-08-09 14:56:47.566 21966 DEBUG tripleo_common.filters.capabilities_filter [req-606af9c2-b4ca-4c19-ac03-423b71f6572a e2d0eb3d9ee242d5b125723a82f3de3d 8db333e06c6746b6bf370a509d4a0a15 - - -] Node tagged None does not match requested node cephstorage-1 host_passes /usr/lib/python2.7/site-packages/tripleo_common/filters/capabilities_filter.py:46

Comment 11 Alex McLeod 2018-09-03 07:59:07 UTC
Hi there,

If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Thanks,
Alex

Comment 13 errata-xmlrpc 2018-09-17 16:54:55 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/RHBA-2018:2670