Bug 1500615
Summary: | should see serviceclass relist by RelistDuration setting while setting RelistDuration greater than 5mins | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Zhang Cheng <chezhang> |
Component: | Service Broker | Assignee: | Jay Boyd <jaboyd> |
Status: | CLOSED ERRATA | QA Contact: | Zhang Cheng <chezhang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | aos-bugs, ernelson, jmatthew |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:15:54 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: |
Comment 1
Erik Nelson
2017-10-17 18:46:07 UTC
Reopened this as a bug because I was able to confirm the relist requests are hitting brokers on 5 minute intervals despite having RelistDuration settings of greater than 5 minutes. The root cause is that lastTransitionTime is not updated for every successful service reconciliation, so the interval appears to have elapsed since the *initial* setting of lastTransitionTime, causing the catalog to relist on the default resync duration of 5m. The fix for this is to make sure lastTransitionTime is updated after every successful relist. NOTE: "resync" messages, as seen in the logs, are not themselves and indicator that a "relist" has occurred. I updated title of this bug base on Erik's comments. Also tried with latest image again, and confirmed with: 1. No any serviceclass relists(/catalog requests) on an interval with relistBehavior set to Manual 2. When setting RelistDuration greater than 5mins, can get /catalog requests, but always using 5mins, I hope to use this bug to trace this problem. Config in broker: relistBehavior: Duration relistDuration: 15m0s Log of asb pod: [2017-11-02T08:27:31.306Z] [INFO] AnsibleBroker::Catalog 10.129.0.1 - - [02/Nov/2017:08:27:31 +0000] "GET /ansible-service-broker/v2/catalog HTTP/1.1" 200 74264 [2017-11-02T08:32:31.305Z] [INFO] AnsibleBroker::Catalog 10.129.0.1 - - [02/Nov/2017:08:32:31 +0000] "GET /ansible-service-broker/v2/catalog HTTP/1.1" 200 74264 I've reproduced the issue and see the problem. Thanks Erik, good info in comment #3. We're addressing upstream and should have this fixed today. fixed upstream by https://github.com/kubernetes-incubator/service-catalog/issues/1513 and merged into OpenShift by https://github.com/openshift/origin/pull/17166 Test images should be v3.7.0-0.191.0.0 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 |