Bug 1475949 - Service Catalog does not poll on async deprovision
Service Catalog does not poll on async deprovision
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: 3.7.0
Assigned To: Paul Morie
Zhang Cheng
Depends On:
Blocks: 1475251
  Show dependency treegraph
Reported: 2017-07-27 11:31 EDT by Jesus M. Rodriguez
Modified: 2017-11-28 17:05 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-11-28 17:05:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Jesus M. Rodriguez 2017-07-27 11:31:36 EDT
Description of problem:
When deprovisioning an instance in the service catalog. An async deprovision is sent to the service-broker but there are no subsequent calls to the last_operation.

Version-Release number of selected component (if applicable):

How reproducible:
1) create (provision) a service instance
2) delete (deprovision) a service instance
3) look at the controller-manager logs you will see the Deprovision call, but no polling calls.

Additional info:

Upstream bug:

Upstream patch:
Comment 1 Erik Nelson 2017-07-27 16:53:31 EDT
It's been determined that *eventually* the catalog will recognize the deprovision is async and start to poll. The catalog needs to be patched with the attached PR to force an immediate polling of last_operation.
Comment 2 Paul Morie 2017-08-23 13:36:13 EDT
This is fixed in the version of the catalog currently in origin.
Comment 5 Zhang Cheng 2017-10-23 22:39:28 EDT
Paul, Could you help to confirm? Thanks.
Comment 6 Zhang Cheng 2017-10-26 04:59:54 EDT
Verified with latest image: v3.7.0-

Have below similar log in controller-manager while deprovisoning:
I1026 08:38:42.328380       1 controller_instance.go:1182] ServiceInstance "aaa/dh-rhscl-postgresql-apb-n4877": Polling last operation
I1026 08:38:42.339231       1 controller_instance.go:1315] ServiceInstance "aaa/dh-rhscl-postgresql-apb-n4877": Poll returned "in progress" : %!q(*string=<nil>)
I1026 08:38:42.339279       1 controller_instance.go:1414] ServiceInstance "aaa/dh-rhscl-postgresql-apb-n4877": Last operation not completed (still in progress)
I1026 08:38:43.079399       1 controller_instance.go:1077] ServiceInstance "aaa/dh-rhscl-postgresql-apb-n4877": Processing
Comment 9 errata-xmlrpc 2017-11-28 17:05:56 EST
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.


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