Bug 1548313 - Need more error details for serviceinstance events
Summary: Need more error details for serviceinstance events
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.9.z
Assignee: Todd Sanders
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-23 07:15 UTC by XiuJuan Wang
Modified: 2018-04-30 12:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-23 16:45:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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