Bug 1506551 - Forbidden error shows up when provision service on web console
Summary: Forbidden error shows up when provision service on web console
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-26 10:12 UTC by Yanping Zhang
Modified: 2017-10-30 12:07 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-30 12:07:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yanping Zhang 2017-10-26 10:12:09 UTC
Description of problem:
When provision service on web console, it always failed with such error:
serviceinstances.servicecatalog.k8s.io "jenkins-ephemeral-" is forbidden: resource name may not be empty 

Version-Release number of selected component (if applicable):
openshift v3.7.0-alpha.1+8f5b7ae-1335
kubernetes v1.7.6+a08f5eeb62

Image version clustered up by oc cluster up --service-catalog:
docker.io/openshift/origin-service-catalog   latest              05b1361e402a        2 hours ago         278.4 MB

How reproducible:
Always

Steps to Reproduce:
1.The env is set up by oc cluster up. On web console, select a clusterserviceclass, eg "Jenkins (Ephemeral)", fill all needed items, click "Create". 
2.
3.

Actual results:
1.The provision failed, and error info show on "Results" stage:
serviceinstances.servicecatalog.k8s.io "jenkins-ephemeral-" is forbidden: resource name may not be empty 

Expected results:
1.Should complete provision without error.

Additional info:

Comment 1 Samuel Padgett 2017-10-26 10:23:38 UTC
Can you make sure you have this commit?

https://github.com/openshift/origin/commit/adce86e584c62dd0989fe63f733a2175af713726

You are seeing this error because you're testing the newer service catalog image without the corresponding console changes. (Since console is only vendored to origin once a day, there was a small window when this was broken.)

Comment 2 Yanping Zhang 2017-10-27 05:16:47 UTC
openshift v3.7.0-rc.0+e92d5c5
kubernetes v1.7.6+a08f5eeb62
docker.io/openshift/origin-service-catalog   latest              fd7680cae3bd        3 hours ago         278.4 MB
Tried with newer version on origin env which contains the commit in Comment 1, 
now provision is successful without error. So move the bug to Verified.

Comment 5 Zhang Cheng 2017-10-28 15:20:45 UTC
The bug have been fixed in ocp v3.7.0-0.184.0. Thanks.

Comment 7 Yanping Zhang 2017-10-30 07:12:43 UTC
Checked on OCP env with version:
OpenShift Master:
    v3.7.0-0.185.0
Kubernetes Master:
    v1.7.6+a08f5eeb62 
When provision service, it could pass the procedure on the panel without error now. 
The bug is fixed. Move it to Verified.


Note You need to log in before you can comment on or make changes to this bug.