Bug 1810489 - Cluster Destroy Fails When Using Internal Swift Auth
Summary: Cluster Destroy Fails When Using Internal Swift Auth
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Mike Fedosin
QA Contact: David Sanz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-05 11:16 UTC by Chris Keller
Modified: 2020-08-04 18:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 18:03:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3254 0 None closed Bug 1810489: Ignore 401 error when deleting containers 2020-07-23 13:29:30 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-08-04 18:03:41 UTC

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


Note You need to log in before you can comment on or make changes to this bug.