openshift/ansible-service-broker

Some APBs failed validation and were unavailable

wenchma opened this issue · 1 comments

Bug: Some APBs failed validation and were unavailable

What happened:

"Spec [ postgresql-apb ] failed validation for the following reason: [ APB Spec version [1.0.0] out of bounds 1.0 <= 1.0 ]. It will not be made available."
"Spec [ mediawiki-apb ] failed validation for the following reason: [ APB Spec version [1.0.0] out of bounds 1.0 <= 1.0 ]. It will not be made available."
"Spec [ mysql-apb ] failed validation for the following reason: [ APB Spec version [1.0.0] out of bounds 1.0 <= 1.0 ]. It will not be made available."
"Spec [ mariadb-apb ] failed validation for the following reason: [ APB Spec version [1.0.0] out of bounds 1.0 <= 1.0 ]. It will not be made available."

What you expected to happen:
These APBs should be available.

How to reproduce it:

$ svcat sync broker ansible-service-broker

The latest APBs are now published with a semver compatible version field (that's why you see 1.0.0). The latest broker is able to handle these APBs (as well as appropriately discover older ones with version==1.0). The latest APBs will likely fail validation against older versions of the broker.