Bug 1810489

Summary: Cluster Destroy Fails When Using Internal Swift Auth
Product: OpenShift Container Platform Reporter: Chris Keller <ckeller>
Component: InstallerAssignee: Mike Fedosin <mfedosin>
Installer sub component: OpenShift on OpenStack QA Contact: David Sanz <dsanzmor>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: mfedosin, pprinett
Version: 4.4   
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-04 18:03:40 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 Chris Keller 2020-03-05 11:16:44 UTC
Description of problem:

If internal swift authentication is used, the installer cannot destroy a cluster.

Version-Release number of the following components:

$ ./openshift-install version
./openshift-install v4.4.0
built from commit fc601b95bc0fdda092c8b3b7eb4849590e87d415
release image quay.io/openshift-release-dev/ocp-release-nightly@sha256:e1dab3d24a8c2f1b8f4e7d4b1a2f3db80e30e914bf4f2aed2caf260d25df8944


Steps to Reproduce:
1. Install OCP 4.4 nightly on OSP 16. Swift is configured to use internal authentication:

openstack catalog show swift
+-----------+----------------------------------------------------------------------------------------+
| Field     | Value                                                                                  |
+-----------+----------------------------------------------------------------------------------------+
| endpoints | regionOne                                                                              |
|           |   public: https://192.168.122.150:13808/swift/v1/AUTH_a92388a802564711851b8888b5c710b4 |
|           | regionOne                                                                              |
|           |   admin: http://172.17.3.150:8080/swift/v1/AUTH_a92388a802564711851b8888b5c710b4       |
|           | regionOne                                                                              |
|           |   internal: http://172.17.3.150:8080/swift/v1/AUTH_a92388a802564711851b8888b5c710b4    |
|           |                                                                                        |
| id        | 6200fa281f2e4ad59cfa779a7a8f2c15                                                       |
| name      | swift                                                                                  |
| type      | object-store                                                                           |
+-----------+----------------------------------------------------------------------------------------+

2. Destroy the cluster using `openshift-install destroy cluster`.


Actual results:

Cluster fails to destroy with the following repeated error message:

DEBUG Deleting openstack containers                
ERROR Authentication failed                        
DEBUG Exiting deleting openstack containers


Expected results:

Cluster is destroyed.

Comment 3 David Sanz 2020-04-30 10:30:34 UTC
Since the bugfix is about to ignore errors, marked as verified

Comment 5 errata-xmlrpc 2020-08-04 18:03:40 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.5 image release 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:2409