Bug 1503091 - Need to update apiservice from v1alpha1 to v1beta1 for servicecatalog.k8s.io
Summary: Need to update apiservice from v1alpha1 to v1beta1 for servicecatalog.k8s.io
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.0
Assignee: Jay Boyd
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-17 11:02 UTC by Weihua Meng
Modified: 2017-11-28 22:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:17:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Weihua Meng 2017-10-17 11:02:45 UTC
Description of problem:
the latest image does not support v1alpha1, leading to errors
open this bug to track progress

Version-Release number of selected component (if applicable):
latest openshift3/ose-service-catalog:v3.7
v3.7.0-0.158.0.0

How reproducible:
Always

Steps to Reproduce:
1. install OCP cluster with service catalog enabled using image openshift3/ose-service-catalog:v3.7
2. check pods status when installation finished
$ oc get pods -n kube-service-catalog
$ oc logs controller-manager-gqgkz -n kube-service-catalog

Actual results: 
$ oc get pods
NAME                       READY     STATUS             RESTARTS   AGE
apiserver-qfwz8            1/1       Running            0          11h
controller-manager-gqgkz   0/1       CrashLoopBackOff   143        11h

$ oc logs controller-manager-gqgkz -n kube-service-catalog
F1017 10:34:48.790238       1 controller_manager.go:198] error running controllers: failed to get supported resources from server: unable to retrieve the complete list of server APIs: servicecatalog.k8s.io/v1alpha1: the server could not find the requested resource


Expected results:
pods running, no errors

Additional info:
if update apiservice from v1alpha1 to v1beta1, pods will be running.

Comment 1 Paul Morie 2017-10-17 19:28:42 UTC
https://github.com/openshift/origin/pull/16908 fixes this; will move to ON_QA when that merges

Comment 2 Jay Boyd 2017-10-18 13:32:30 UTC
Please ensure you are using a current build to pick up the alpha compatibility (see comment #1).

If you are still experiencing issues, please provide more details on step 1 in the setup as I'm not experienced with using the mentioned images.

Thanks.

Comment 4 Jay Boyd 2017-10-19 15:54:33 UTC
I found out today that the Ansible installer is very out of date and missing key configuration items.  That is about to be fixed by https://bugzilla.redhat.com/show_bug.cgi?id=1496694

I believe you are testing with the proper builds - most customers will be installing with Ansible.  Please retry once 1486694 has been fixed.

Comment 5 Weihua Meng 2017-10-20 01:28:17 UTC
Got it.
Thanks.
Will check it when https://bugzilla.redhat.com/show_bug.cgi?id=1496694 verified.

Comment 6 Zhang Cheng 2017-10-29 16:18:14 UTC
Verified with ose-ansible-service-broker:v3.7.0-0.185.0.0 and ose-service-catalog:v3.7.0-0.185.0.0 LGTM.

Comment 9 errata-xmlrpc 2017-11-28 22:17:38 UTC
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/RHSA-2017:3188


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