Bug 1846296

Summary: [UPI on OSP] Destroy playbooks do not remove image-registry swift container
Product: OpenShift Container Platform Reporter: Pierre Prinetti <pprinett>
Component: InstallerAssignee: Pierre Prinetti <pprinett>
Installer sub component: OpenShift on OpenStack QA Contact: weiwei jiang <wjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: bleanhar, dsanzmor, mbridges, pprinett
Version: 4.6Keywords: UpcomingSprint
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: cluster-image-registry-operator uses OpenStack persistence for storing its data. In the default case, that will be Swift. However, the UPI playbooks don't touch Swift. Consequence: Destroying a cluster with the UPI playbooks leaves resources in Swift. Fix: a new down-containers.yaml playbook has been added to the UPI documentation. Result: running all the down-* playbooks will now also delete Swift resources created by the cluster.
Story Points: ---
Clone Of: 1814651 Environment:
Last Closed: 2020-10-27 16:06:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pierre Prinetti 2020-06-11 10:29:18 UTC
+++ This bug was initially created as a clone of Bug #1814651 +++

Description of problem:

After creating a cluster using UPI scripts, a Swift container is created for CIRO.

When destroy playbooks are executed, the Swift container is not deleted.

How reproducible:

Steps to Reproduce:
1.Install cluster using UPI on OSP
2.Execute deletion playbooks

Actual results:
Following objects are still present in the cluster, after deletion is completed:
 - Swift container for image registry

Expected results:
Swift containers created during installation are not present after running the `down` playbooks.

Comment 5 errata-xmlrpc 2020-10-27 16:06:37 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196