Bug 1779289
| Summary: | Simultaneous CORS configuration for OCP4.1 and OCP4.2 in CAM Operator causes UI failure | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Erik Nelson <ernelson> |
| Component: | Migration Tooling | Assignee: | Danil Grigorev <dgrigore> |
| Status: | CLOSED ERRATA | QA Contact: | Xin jiang <xjiang> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.0 | CC: | apinnick, chezhang, dgrigore, ernelson, jmatthew, sregidor, tapatel |
| Target Milestone: | --- | ||
| Target Release: | 4.2.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1762938 | Environment: | |
| Last Closed: | 2019-12-19 15:44:27 UTC | Type: | --- |
| 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: | 1762938 | ||
| Bug Blocks: | |||
|
Description
Erik Nelson
2019-12-03 16:58:26 UTC
Verified in 1.0.1 osbs images.
We get the Critical condition in the MigrationController resource claiming that the CORS has inconsistent configuration.
apiVersion: v1
items:
- apiVersion: migration.openshift.io/v1alpha1
kind: MigrationController
metadata:
creationTimestamp: "2019-12-18T19:22:23Z"
generation: 2
name: migration-controller
namespace: openshift-migration
resourceVersion: "645117"
selfLink: /apis/migration.openshift.io/v1alpha1/namespaces/openshift-migration/migrationcontrollers/migration-controller
uid: b7b04e40-21cb-11ea-9610-02b229d0f822
spec:
azure_resource_group: ""
cluster_name: host
mig_namespace_limit: "10"
mig_pod_limit: "100"
mig_pv_limit: "100"
migration_controller: true
migration_ui: true
migration_velero: true
olm_managed: true
restic_timeout: 1h
version: 1.0 (OLM)
status:
conditions:
- message: Unexpected CORS configuration for kubeapiserver
reason: CorsMisConfigured
status: "True"
type: Critical
phase: Reconciling
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/RHEA-2019:4304 |