Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1555390 - [APB] --broker flag fails if the broker route's suffix is not specified
[APB] --broker flag fails if the broker route's suffix is not specified
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.7.z
Assigned To: Dylan Murray
Jian Zhang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-14 11:20 EDT by Dylan Murray
Modified: 2018-06-27 03:59 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The --broker flag misbehaved with improper suffixes/prefixes. Consequence: Commands like `apb list --broker <route_with_no_suffix>` did not behave as expected. Fix: Backported some newer fixes to 3.7 so that the tooling automatically will append/prepend proper suffix/prefix. Result: `apb list` should just work, --broker flag not even needed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 03:59:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 RHBA-2018:2009 None None None 2018-06-27 03:59 EDT

  None (edit)
Description Dylan Murray 2018-03-14 11:20:55 EDT
Description of problem:
In versions 1.0.4 and prior of the APB tooling specifying the correct broker route with the --broker flag would still fail if the user did not specify the proper suffix to the route such as:
<broker_route>/ansible-service-broker/v2/catalog

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

How reproducible:
100%

Steps to Reproduce:
1. apb list --broker <broker_route_with_no_suffix>


Actual results:
Error: Attempt to list APBs in the broker returned status: 404
Unable to list APBs in Ansible Service Broker.

Expected results:
Return the list of APBs because the tooling appends the suffix for me.
Comment 3 Zhang Cheng 2018-04-08 01:48:32 EDT
Changing status to ON_QA since errata image ready for test.
Comment 4 Jian Zhang 2018-04-08 22:01:20 EDT
It works well as we expected, LGTM, verified.

[root@host-172-16-120-59 ~]# rpm -qa | grep apb
apb-1.0.5-1.el7.noarch
Comment 6 errata-xmlrpc 2018-06-27 03:59:11 EDT
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/RHBA-2018:2009

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