Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1534467 - Can not get expected response while using invalid bearer token
Can not get expected response while using invalid bearer token
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: Shawn Hurley
Zihan Tang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-15 05:21 EST by Zihan Tang
Modified: 2018-03-28 10:19 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:19:05 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:0489 None None None 2018-03-28 10:19 EDT

  None (edit)
Description Zihan Tang 2018-01-15 05:21:38 EST
openshift v3.9.0-0.19.0
kubernetes v1.9.0-beta1
ASB : 1.1.4

Description of problem:
Run curl command in client  with an invalid bearer tokern ,  the response is not readable  .
In v3.7 , the response is 'Unauthorized' 
in v3.9 the response is 'no kind is registered for the type v1.Status'

How reproducible:
always

Steps to Reproduce:
1. Get the asb route
2. Run command in client
curl -H Authorization: Bearer XXXXXXXXXXXX -sk https://asb-1338-openshift-ansible-service-broker.apps.0115-fre.qe.rhcloud.com/ansible-service-broker/v2/catalog

Actual results:
Curl response is 
     no kind is registered for the type v1.Status
Comment 1 Shawn Hurley 2018-01-18 10:26:33 EST
Updated with PR: https://github.com/openshift/ansible-service-broker/pull/647

With return a v1.Status object from kubernetes now. Example:
{"kind": "Status",
 "apiVersion": "v1",
 "metadata": {},
 "status": "Failure",
 "message": "Unauthorized",
 "reason": "Unauthorized",
 "code": 401
}
Comment 8 errata-xmlrpc 2018-03-28 10:19:05 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:0489

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