Bug 1540487 - [APB] apb remove --all fail with 404
Summary: [APB] apb remove --all fail with 404
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Dylan Murray
QA Contact: Zihan Tang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-31 08:17 UTC by Zihan Tang
Modified: 2018-03-28 14:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-03-28 14:23:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:24:35 UTC

Description Zihan Tang 2018-01-31 08:17:23 UTC
Description of problem:
apb remove --all failed with 404 error.
openshift: v3.9.0-0.31.0
asb : 1.1.7
apb : apb-1.1.6-1.

How reproducible:
always

Steps to Reproduce:
1. set broker-config:
    broker:
      dev_broker: true
2.. login to openshift;
3. list the apb 
[root@dhcp-140-42 apb2]# apb list --broker https://asb-1338-openshift-ansible-service-broker.apps.0130-tkd.qe.rhcloud.com
Contacting the ansible-service-broker at: https://asb-1338-openshift-ansible-service-broker.apps.0130-tkd.qe.rhcloud.com/ansible-service-broker/v2/catalog
ID                                NAME               DESCRIPTION                        
2c259ddd8059b9bc65081e07bf20058f  rh-mariadb-apb     Mariadb apb implementation         
03b69500305d9859bb9440d9f9023784  rh-mediawiki-apb   Mediawiki apb implementation       
73ead67495322cc462794387fa9884f5  rh-mysql-apb       Software Collections MySQL APB     
d5915e05b253df421efe6e41fb6a66ba  rh-postgresql-apb  SCL PostgreSQL apb implementation 
4. run apb remove --all

Actual results:
remove all failed:

[root@dhcp-140-42 apb2]# apb remove --all --broker https://asb-1338-openshift-ansible-service-broker.apps.0130-tkd.qe.rhcloud.com
Contacting the ansible-service-broker at: https://asb-1338-openshift-ansible-service-broker.apps.0130-tkd.qe.rhcloud.com/ansible-service-broker/v2/apb/
Error: Attempt to remove an APB from Broker returned status: 404
Unable to remove APB from Ansible Service Broke

Asb Log: 
10.2.8.1 - - [31/Jan/2018:06:54:01 +0000] "DELETE /ansible-service-broker/v2/apb/ HTTP/1.1" 404 19

Expected results:
Remove all successfully.

Additional info:
bug 1534895 : apb remove --id failed.

Comment 3 Zihan Tang 2018-02-05 02:59:05 UTC
verified 
apb-1.1.7-1.20180202175805.el7.centos.noarch

Comment 6 errata-xmlrpc 2018-03-28 14:23:55 UTC
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.