Bug 1845825

Summary: thanos-ruler route is not removed after disabled techPreviewUserWorkload
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Sergiusz Urbaniak <surbania>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: alegrand, anpicker, erooth, juzhao, kakkoyun, lcosic, mloibl, pkrupa, surbania
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1853257 (view as bug list) Environment:
Last Closed: 2020-10-27 16:06: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:    
Bug Blocks: 1853257, 1853496    

Description hongyan li 2020-06-10 07:34:16 UTC
Description of problem:
resoure route.route.openshift.io/thanos-ruler exists under openshift-user-workload-monitoring after disable techPreviewUserWorkload 

# oc get all -n openshift-user-workload-monitoring
NAME                                    HOST/PORT                                                                                            PATH   SERVICES       PORT   TERMINATION          WILDCARD
route.route.openshift.io/thanos-ruler   thanos-ruler-openshift-user-workload-monitoring.apps.hongyali-aws-6-10.qe.devcluster.openshift.com          thanos-ruler   web    reencrypt/Redirect   None

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-06-09-223121

How reproducible:
always

Steps to Reproduce:
1.Enable techPreviewUserWorkload
2.Disable techPreviewUserWorkload by edit configmap and set techPreviewUserWorkload "enabled: false" or delete the whole configmap
3. execute 'oc get all -n openshift-user-workload-monitoring'

Actual results:
thanos-rule route exists

Expected results:
No route exist under name space openshift-user-workload-monitoring

Additional info:

Comment 6 hongyan li 2020-06-29 07:05:42 UTC
Set up environment with payload:
1.Enable techPreviewUserWorkload
2.Disable techPreviewUserWorkload by edit configmap and set techPreviewUserWorkload "enabled: false" or delete the whole configmap
3. execute 'oc get all -n openshift-user-workload-monitoring', get message "No resources found in openshift-user-workload-monitoring namespace."

Comment 7 hongyan li 2020-06-29 07:07:31 UTC
verified with payload: 4.6.0-0.nightly-2020-06-26-035408

Comment 10 errata-xmlrpc 2020-10-27 16:06: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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196