Bug 1523168 - [APB] Provision the MySQL/MariaDB/Postgresql failed
Summary: [APB] Provision the MySQL/MariaDB/Postgresql failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.9.0
Assignee: David Zager
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On: 1534883
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-07 10:43 UTC by Jian Zhang
Modified: 2018-06-18 18:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-06-18 14:21:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 3 John Matthews 2018-01-05 16:52:25 UTC
Ideally we have 2 mechanisms to handle APB compatibility.

1) Tag APBs with a known tag, say v3.7 for downstream.  Then Broker is configured to use tag v3.7 with the registry configuration so it only pulls the desired images. (sprint141 for example with upstream)

2) Broker should be able to determine compatibility with an APB and skip the incompatible images during the bootstrap operation.  APB should have sufficient info in metadata so Broker can determine if it can execute.  

Sounds like we need to re-examine our approach for #2 and how we are handling it.  In the reported problem we would want the Broker to skip (and log it is skipping) the updated APBs if they are not compatible.

Comment 4 David Zager 2018-01-05 18:21:55 UTC
The problem in this bug is that you are using new APBs (runtime=2) with an old Service Broker. A Service Broker that 1) Does not pass along the POD_NAME/POD_NAMESPACE to the apb and 2) Does not know how to handle APBs of different runtimes.

We likely just need to update our downstream images. Once the downstream broker knows how to handle runtime=2 APBs, it will also be backwards compatible with older APBs (runtime=1).

Comment 5 David Zager 2018-01-31 13:23:53 UTC
Downstream builds for the broker and apbs should now be updated.


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