Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1548313

Summary: Need more error details for serviceinstance events
Product: OpenShift Container Platform Reporter: XiuJuan Wang <xiuwang>
Component: Service BrokerAssignee: Todd Sanders <tsanders>
Status: CLOSED NOTABUG QA Contact: XiuJuan Wang <xiuwang>
Severity: low Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, jaboyd, pmorie
Target Milestone: ---   
Target Release: 3.9.z   
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: 2018-02-23 16:45:16 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 XiuJuan Wang 2018-02-23 07:15:24 UTC
Description of problem:
When describe serviceinstance, some error events show "ErrorMessage: <nil>; Description: <nil>; ResponseError: <nil>".
It's better to add more details for these errors.

Version-Release number of selected component (if applicable):
openshift v3.9.0-0.47.0
kubernetes v1.9.1+a0ce1bc657

How reproducible:
always

Steps to Reproduce:
1.Describe a serviceinstance
2.
3.

Actual results:
some error events show "ErrorMessage: <nil>; Description: <nil>; ResponseError: <nil>"

 Warning  ErrorWithParameters                  3m    service-catalog-controller-manager  failed to prepare parameters nil: secrets "mysql-ephemeral-parameters4alxx" not found
  Normal   Provisioning                         3m    service-catalog-controller-manager  The instance is being provisioned asynchronously
  Warning  ProvisionCallFailed                  3m    service-catalog-controller-manager  Error provisioning ServiceInstance of ClusterServiceClass (K8S: "5028e5a5-1776-11e8-b8ae-fa163e82662b" ExternalName: "mysql-ephemeral") at ClusterServiceBroker "template-service-broker": Status: 409; ErrorMessage: <nil>; Description: <nil>; ResponseError: <nil>
  Warning  ClusterServiceBrokerReturnedFailure  3m    service-catalog-controller-manager  Error provisioning ServiceInstance of ClusterServiceClass (K8S: "5028e5a5-1776-11e8-b8ae-fa163e82662b" ExternalName: "mysql-ephemeral") at ClusterServiceBroker "template-service-broker": Status: 409; ErrorMessage: <nil>; Description: <nil>; ResponseError: <nil>
  Normal   ProvisionedSuccessfully              2m    service-catalog-controller-manager  The instance was provisioned successfully

Expected results:
It's better to add more details for these errors.

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1507429

Comment 1 Paul Morie 2018-02-23 16:45:16 UTC
This text is generated from the information the broker returns, so there's no information we can add to this in the catalog - the broker has to send it.

For that reason, I'm closing this as NOTABUG - let me know if there are any questions.

Comment 2 Jay Boyd 2018-04-27 13:07:04 UTC
Alternatively file this bug against Template Service Broker (or Ansible Service Broker)...  The 409 indicates a conflict, my guess is Catalog sent multiple provision requests to the broker and the broker doesn't like that but that is really a guess.

Comment 3 XiuJuan Wang 2018-04-28 01:55:39 UTC
@Jay So do you plan to fix the conflict error?

Comment 4 Jay Boyd 2018-04-30 12:40:11 UTC
we plant to fix the cause of the conflict error.  See https://bugzilla.redhat.com/show_bug.cgi?id=1567847