Bug 1660588

Summary: [OSP13] RamFilter, DiskFilter are deprecated and should not be enabled by default
Product: Red Hat OpenStack Reporter: Dan Trainor <dtrainor>
Component: instack-undercloudAssignee: Rajesh Tailor <ratailor>
Status: CLOSED ERRATA QA Contact: Martin Schuppert <mschuppe>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: amodi, aschultz, dtrainor, lyarwood, mbooth, mburns, mschuppe, ratailor, slinaber
Target Milestone: z8Keywords: Patch, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: instack-undercloud-8.4.7-11.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-03 16:55:32 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 Dan Trainor 2018-12-18 18:22:04 UTC
Description of problem:

RamFilter and DiskFilter are deprecated scheduling filters since OSP10.  Placement now uses scheduling based on resource classes.  RamFilter and DiskFilter should be removed from the default list of filters used for scheduling.  As of OSP14, these filters are completely removed[0].

Deployments fail with the following type of error:

ResourceInError: resources.Controller: Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Code: 500"


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

At least openstack-tripleo-heat-templates-8.0.7-4.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Tag nodes in to roles
2. Match the Flavor parameter on a per-role basis
3. Attempt deployment

Actual results:

"No valid host was found" error due to nova-scheduler filtering out nodes based on RamFilter, DiskFilter which provide results for nodes that are filtered using resource scheduling.


Expected results:

Successful deployments of nodes using resource scheduling.


Additional info:

[0] https://review.openstack.org/#/c/611286/

Comment 2 Dan Trainor 2019-01-04 17:33:11 UTC
Although removing the depcreated filters is necessary, prior to the containerized Undercloud in OSP14, this change should be applied to /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.yaml.template and not to /usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml.

Comment 18 errata-xmlrpc 2019-09-03 16:55:32 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-2019:2624