Bug 1660588 - [OSP13] RamFilter, DiskFilter are deprecated and should not be enabled by default
Summary: [OSP13] RamFilter, DiskFilter are deprecated and should not be enabled by def...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z8
: 13.0 (Queens)
Assignee: Rajesh Tailor
QA Contact: Martin Schuppert
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-18 18:22 UTC by Dan Trainor
Modified: 2019-10-25 05:59 UTC (History)
9 users (show)

Fixed In Version: instack-undercloud-8.4.7-11.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-03 16:55:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 660023 0 'None' MERGED Remove deprecated Ram/Disk filters in NovaSchedulerDefaultFilters 2021-02-03 10:42:10 UTC
OpenStack gerrit 664524 0 'None' MERGED Remove deprecated Ram/Disk filters in scheduler_default_filters 2021-02-03 10:42:10 UTC
Red Hat Product Errata RHBA-2019:2624 0 None None None 2019-09-03 16:55:51 UTC

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


Note You need to log in before you can comment on or make changes to this bug.