Bug 1572133
Summary: | [APB] `apb remove --all -l` couldn't remove all images permanently from internal OpenShift registry | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | sunzhaohua <zhsun> |
Component: | Service Broker | Assignee: | Dylan Murray <dymurray> |
Status: | CLOSED ERRATA | QA Contact: | sunzhaohua <zhsun> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | aos-bugs, chezhang, dzager, jiazha, jmatthew, zitang |
Target Milestone: | --- | ||
Target Release: | 3.10.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-07-30 19:14:14 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
sunzhaohua
2018-04-26 09:08:05 UTC
This should be under the 'Service Broker' component since it's a function of the ansible broker. `apb remove --all` was not meant to be used with the `-l` flag but the tooling did not spit out a warning. I am going to instead make this a valid option and the tooling will simply delete all images in the registry that end in `*-apb`. `apb remove --all` was not meant to be used with the `-l` flag but the tooling did not spit out a warning. I am going to instead make this a valid option and the tooling will simply delete all images in the registry that end in `*-apb`. verified apb version Version: apb-1.2.8 # apb list ID NAME DESCRIPTION 0cd794ef27f565cc0e755585dbbcdcdc local-my-01-apb This is a sample application generated by apb init 02461192cf28f69c1fb792f32cb58a74 local-my-02-apb This is a sample application generated by apb init # apb remove --all -l Attempting to remove all registry images ending in: *-apb Found image: docker-registry.default.svc:5000/openshift/my-02-apb Successfully deleted sha256:8cbfc3dd7a7390e29bebb05d3bb65035ccc6a825633e9a6bcbde0f8788be0d5e Found image: docker-registry.default.svc:5000/openshift/my-01-apb Successfully deleted sha256:db11f7a0027110dd5b18155f69649b8f75cbc348fec8dfcbba2309e6c708de64 Contacting the ansible-service-broker at: https://asb-1338-openshift-ansible-service-broker.apps.0514-x3n.qe.rhcloud.com/ansible-service-broker/v2/bootstrap Successfully bootstrapped Ansible Service Broker # apb list No APBs found # apb bootstrap Successfully bootstrapped Ansible Service Broker Successfully relisted the Service Catalog # apb list No APBs found 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:1816 |