Bug 1664574
Summary: | Console operator is setting wrong master public URL | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> |
Component: | Management Console | Assignee: | bpeterse |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | aos-bugs, hasha, jhadvig, jokerman, mmccomas, spadgett, yapei |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-18 13:17:55 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: |
Description
Yadan Pei
2019-01-09 08:08:36 UTC
So when I check the BC's webhook trigger through the development console, http://localhost:9000/k8s/ns/test/buildconfigs/ruby-ex I can see resolvable IP address -> https://jhadvig-api.devcluster.openshift.com:6443/apis/build.openshift.io/v1/namespaces/test/buildconfigs/ruby-ex/webhooks/<secret>/github In case I check the trigger directly through the cluster IP. https://console-openshift-console.apps.jhadvig.devcluster.openshift.com/k8s/ns/test/buildconfigs/ruby-ex I see un-resolvable address https://172.30.0.1:443/apis/build.openshift.io/v1/namespaces/test/buildconfigs/ruby-ex/webhooks/<secret>/github The operator needs to tell the console the master public URL in console config property `clusterInfo.masterPublicURL`. That's used to build the webhook URL. *** Bug 1676786 has been marked as a duplicate of this bug. *** This is causing other problems such as bug 1676786. It may be wise for the console itself to guard against a missing `masterPublicURL` as well. Console operator will now wait for infrastructure config to get the `apiServerURL` to use as `masterPublicURL`. The sync loop will error & fail until this config is available (which means the configmap will not be generated & the console will not deploy). $ git log b9a3350f96176c9b6291 | grep '#173' Merge pull request #173 from benjaminapetersen/bug/1664574/incorrect-master-public-url |