Bug 1826628
| Summary: | Custom route not deleted after it is unset from console operator config | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jakub Hadvig <jhadvig> |
| Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | aos-bugs, hasha, jokerman, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Console operator is not checking for removing of the custom route from the console operator config.
Consequence: After the hostname for the console's custom route is unset from console operator config, the custom route is still available
Fix: Console operator checks for the presence of the custom route in its config.
Result: Custom route is removed after its unset in the console operator's config
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:29:58 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: | |||
1. Set the spec of the console operator config with the custom hostname
```
spec:
managementState: Managed
route:
hostname: consolecustom-openshift-console.apps.<cluster-domain>
```
2. Wait for the custom route to be created
3. Remove the `route` field from the console operator config spec
The custom console route has been deleted
4.5.0-0.ci-2020-04-22-212726
*** Bug 1826689 has been marked as a duplicate of this bug. *** 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-2020:2409 |
Description of problem: After the hostname for the console's custom route is unset from console operator config, the custom route is still available Version-Release number of selected component (if applicable): 4.5.0-0.ci-2020-04-21-234936 How reproducible: Always Steps to Reproduce: 1. Set the spec of the console operator config with the custom hostname ``` spec: managementState: Managed route: hostname: consolecustom-openshift-console.apps.<cluster-domain> ``` 2. Wait for the custom route to be created 3. Remove the `route` field from the console operator config spec Actual results: The custom route for the console is still available. Expected results: The custom route for the console should be removed. Additional info: