Bug 1470047
Summary: | Can't login catalog console if service-catalog enable secure and authorization | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | DeShuai Ma <dma> | ||||||
Component: | Management Console | Assignee: | Jessica Forrester <jforrest> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | XiaochuanWang <xiaocwan> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 3.6.0 | CC: | aos-bugs, dma, jforrest, jmatthew, jokerman, mmccomas, spadgett, xxia | ||||||
Target Milestone: | --- | Keywords: | TestBlocker | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||||
Doc Text: |
undefined
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-09-13 11:54:03 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: | |||||||||
Attachments: |
|
Description
DeShuai Ma
2017-07-12 10:45:28 UTC
It blocker our test of ansible-service-broker & apb testing in console. If you are using the service catalog that is installed by the ansible installer you should not be including this in the extension anymore: window.OPENSHIFT_CONFIG.additionalServers = [{ hostPort: "apiserver-kube-service-catalog.***.com", prefix: "/apis" }]; This was temporary until the service catalog was aggregated under the main API server. Please remove this from your extension and let us know if you are still having a problem accessing the console. Yes, After remove this I can login the catalog console, but can't see the serviceclass in catalog console. In backend, I can see below. [root@host-8-174-68 dma]# oc create -f broker.yaml broker "ansible-service-broker" created [root@host-8-174-68 dma]# [root@host-8-174-68 dma]# oc describe broker ansible-service-broker Name: ansible-service-broker Namespace: Labels: <none> Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 11s 11s 1 service-catalog-controller-manager Normal FetchedCatalog Successfully fetched catalog entries from broker. [root@host-8-174-68 dma]# oc get serviceclass NAME KIND mediawiki-apb ServiceClass.v1alpha1.servicecatalog.k8s.io postgresql-apb ServiceClass.v1alpha1.servicecatalog.k8s.io [root@host-8-174-68 dma]# [root@host-8-174-68 dma]# [root@host-8-174-68 dma]# [root@host-8-174-68 dma]# cat broker.yaml apiVersion: servicecatalog.k8s.io/v1alpha1 kind: Broker metadata: finalizers: - kubernetes-incubator/service-catalog name: ansible-service-broker spec: url: http://asb.openshift-ansible-service-broker.svc:1338 Created attachment 1297037 [details]
catalog-ui.jpeg
Can you check the Network tab of the browser console and check for a request for serviceclasses? Also if you check the /apis request that is going to the master API this should appear as part of the response { "name": "servicecatalog.k8s.io", "versions": [ { "groupVersion": "servicecatalog.k8s.io/v1alpha1", "version": "v1alpha1" } ], "preferredVersion": { "groupVersion": "servicecatalog.k8s.io/v1alpha1", "version": "v1alpha1" }, "serverAddressByClientCIDRs": null } Or if you can provide the URL and login info for this server we can take a look. If things are configured correctly you should also see a request to <master-hostname>/apis/servicecatalog.k8s.io/v1alpha1 Is this related? Need enable apis/servicecatalog.k8s.io/v1alpha1 in master-config.yaml ? https://github.com/openshift/origin/pull/14984/files Not related, the change in that PR is necessary to test PodPresets are actually working as part of Binding (i.e. the environment variable actually get injected into the pods). But I just hit the server and I see the serviceclasses including mediawiki. Maybe you were getting something cached? Try clearing your browser cache and see if you still do not see the service classes. Adding attachment to show it working for me. Created attachment 1297059 [details]
working serviceclasses
Yes, Now i can get it, thanks for your help, I'll close the bug. |