Bug 1964986

Summary: [FFU OSP13 to 16.2] During FFU in overcloud enabled, nova scheduler failed to start after the upgrade due to RamFilter, DiskFilter got removed in 16
Product: Red Hat OpenStack Reporter: David Vallee Delisle <dvd>
Component: openstack-tripleo-validationsAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: alifshit, jjoyce, jpodivin, jpretori, jschluet, mburns, mschuppe, nlevinki, pbabbar, slinaber, tvignaud
Target Milestone: z2Keywords: Patch, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-11.6.1-2.20210714004810.dc72a3b Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1940815 Environment:
Last Closed: 2022-03-23 22:10:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version: Train
Embargoed:
Bug Depends On: 1940815    
Bug Blocks:    

Description David Vallee Delisle 2021-05-26 13:30:49 UTC
+++ This bug was initially created as a clone of Bug #1940815 +++

Description of problem:
At the time of FFU upgrade if we have enabled RamFilter, DiskFilter in OSP13 and tried doing to upgrade to 16.1, the overcloud upgrade will failed as nova scheduler won't be able to start due to 

./nova-scheduler.log:2021-03-19 00:36:23.794 7 ERROR nova nova.exception.SchedulerHostFilterNotFound: Scheduler Host Filter RamFilter, DiskFilter could not be found.
./nova-scheduler.log:2021-03-19 00:36:23.794 7 ERROR nova

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


How reproducible:
everytime

Steps to Reproduce:
1. deploy OSP13 With RamFilter, DiskFilter
2. run the FFU 
3. overcloud FFU controller failed 

Actual results:
FFU failed

Expected results:
FFU should pass

Additional info:

--- Additional comment from Paras Babbar on 2021-03-19 05:31:38 EDT ---

 Deployment Logs: http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/staging/DFG-enterprise-upgrade-13_16.1_director-3control_2compute_externalceph-bm-workload-titan-cluster/3/titan101.lab.eng.tlv2.redhat.com/home/stack/

Scheduler logs: http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/staging/DFG-enterprise-upgrade-13_16.1_director-3control_2compute_externalceph-bm-workload-titan-cluster/3/controller-0/var/log/containers/nova/nova-scheduler.log.gz

--- Additional comment from Martin Schuppert on 2021-03-19 05:39:35 EDT ---

DiskFilter and RamFilter was removed in train, NovaSchedulerDefaultFilters in the environment file needs to be updated to remove those.

https://docs.openstack.org/releasenotes/nova/train.html#relnotes-20-0-0-stable-train-upgrade-notes "The CoreFilter, DiskFilter and RamFilter, which were deprecated in Stein (19.0.0), are now removed. "

This BZ should be used to track a tripleo-validations check for that.

--- Additional comment from Martin Schuppert on 2021-03-19 09:50:12 EDT ---

For reference, documented here in the upgrades doc [1]

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index#deprecated-and-removed-filters-for-the-novaschedulerdefaultfilters-parameter-composable-services

--- Additional comment from RHEL Program Management on 2021-05-26 09:19:20 EDT ---

This item has been properly Triaged and planned for the release, and Target Release is now set to match the release flag. For details, see https://mojo.redhat.com/docs/DOC-1195410

--- Additional comment from RHEL Program Management on 2021-05-26 09:28:14 EDT ---

This item has been properly Triaged and planned for the release, and Target Release is now set to match the release flag. For details, see https://mojo.redhat.com/docs/DOC-1195410

Comment 6 Jiri Podivin 2022-02-11 13:43:02 UTC
New validation now available and working as intended. Potential issues with it will be resolved in separate BZs.

Comment 13 errata-xmlrpc 2022-03-23 22:10:09 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 (Release of components for Red Hat OpenStack Platform 16.2.2), 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-2022:1001