Bug 1779329

Summary: [GCP] openshift-install destroy cluster can leak buckets
Product: OpenShift Container Platform Reporter: Scott Dodson <sdodson>
Component: InstallerAssignee: Jeremiah Stuever <jstuever>
Installer sub component: openshift-installer QA Contact: Yang Yang <yanyang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: adahiya, adam.kaplan, aos-bugs, cdaley, gpei, jstuever
Version: 4.3.0   
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1764812 Environment:
Last Closed: 2020-01-23 11:17:46 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:
Bug Depends On: 1764812    
Bug Blocks:    

Comment 2 Yang Yang 2019-12-10 03:50:22 UTC
Verified it on GCP with payload 4.3.0-0.nightly-2019-12-09-035405. 
The storage buckets are deleted while cluster is destroying. And multiple dashes in the cluster name are replaced with one dash.

# openshift-install destroy cluster --dir=test --log-level=debug

DEBUG Listing storage buckets                      
DEBUG Found bucket: y-y-y-vb24r-image-registry-us-central1-cbxnbtrvtrfthbjfrsppkqf 
DEBUG Listing objects for storage bucket y-y-y-vb24r-image-registry-us-central1-cbxnbtrvtrfthbjfrsppkqf 
DEBUG Deleting storate bucket y-y-y-vb24r-image-registry-us-central1-cbxnbtrvtrfthbjfrsppkqf 
INFO Deleted bucket y-y-y-vb24r-image-registry-us-central1-cbxnbtrvtrfthbjfrsppkqf

Comment 4 errata-xmlrpc 2020-01-23 11:17:46 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-2020:0062