Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1540487

Summary: [APB] apb remove --all fail with 404
Product: OpenShift Container Platform Reporter: Zihan Tang <zitang>
Component: Service BrokerAssignee: Dylan Murray <dymurray>
Status: CLOSED ERRATA QA Contact: Zihan Tang <zitang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, chezhang, jmatthew
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-28 14:23:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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