Bug 1543823

Summary: Improve Capacity filter logging
Product: Red Hat OpenStack Reporter: Gorka Eguileor <geguileo>
Component: openstack-cinderAssignee: Gorka Eguileor <geguileo>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: medium Docs Contact: Kim Nylander <knylande>
Priority: medium    
Version: 10.0 (Newton)CC: aavraham, dmacpher, knylande, pgrist, srevivo, tshefi
Target Milestone: z8Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-9.1.4-25.el7ost Doc Type: Enhancement
Doc Text:
This update improves the debug log messages the scheduler outputs. This provides more information on scheduler decision making and the data used in the decision making process.
Story Points: ---
Clone Of: 1543820
: 1543831 (view as bug list) Environment:
Last Closed: 2018-05-17 15:49:07 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:
Bug Depends On: 1543820    
Bug Blocks: 1543831, 1543838    

Comment 10 Avi Avraham 2018-05-10 12:32:02 UTC
Verified 
RPM package version:
openstack-cinder-9.1.4-33.el7ost.noarch
The following lines where added to scheduler log 
2018-05-09 13:15:18.333 242651 DEBUG cinder.scheduler.filters.capacity_filter [req-c4439a36-319b-4893-9a3d-3a9c72beaf1f 20fcf7e923ce4cbab3d9c37bc98e1497 b89d217602654dfc92b51ceaf17e19b4 - default default] Checking provisioning for request of 1 GB. Backend: host 'hostgroup@xtremio#xtremio':free_capacity_gb: 285040.0, total_capacity_gb: 7801,allocated_capacity_gb: 0, max_over_subscription_ratio: 80.0,reserved_percentage: 0, provisioned_capacity_gb: 365843,thin_provisioning_support: True, thick_provisioning_support: False,pools: None,updated at: 2018-05-09 13:15:01.345768 host_passes /usr/lib/python2.7/site-packages/cinder/scheduler/filters/capacity_filter.py:107

Comment 13 errata-xmlrpc 2018-05-17 15:49:07 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:1602