Description of problem: Update parameters are all appearing as strings Version-Release number of selected component (if applicable): ansible-service-broker-1.0.11-1 How reproducible: Always Steps to Reproduce: 1. Run catasb and install OCP 2. curl -k -XGET -H "Authorization: Bearer $(oc whoami -t)" -H 'Content-Type: application/json' https://asb-1338-ansible-service-broker.172.18.0.1.nip.io/ansible-service-broker/v2/catalog Actual results: Type for all update params appears as strings Expected results: Types are set correctly Additional info:
https://github.com/openshift/ansible-service-broker/pull/517
Not in latest image openshift3/ose-ansible-service-broker/images/v3.7.0-0.185.0.0 will check it later. "update": { "parameters": { "$schema": "http://json-schema.org/draft-04/schema", "additionalProperties": false, "properties": { "postgresql_version": { "default": "9.5", "title": "PostgreSQL Version", "type": "string" } }, "required": [ "postgresql_version" ], "type": "object" } }
Can you recheck this with v3.7.0-0.189.0.0?
Not in ansible-service-broker-1.0.13-1.el7.x86_64 openshift3/ose-ansible-service-broker:v3.7.0-0.189.0.0 "update": { "parameters": { "$schema": "http://json-schema.org/draft-04/schema", "additionalProperties": false, "properties": { "postgresql_version": { "default": "9.5", "enum": [ "9.5", "9.4" ], "title": "PostgreSQL Version", "type": "string" } }, "required": [ "postgresql_version" ], "type": "object" } }
"enum": [ "9.5", "9.4" ], means it is fixed, right?
Correct
Fixed in ansible-service-broker-1.0.13-1.el7.x86_64 openshift3/ose-ansible-service-broker:v3.7.0-0.189.0.0 Thanks, Jason
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