Bug 1816155 - [IPI][OSP] Installer fails if it cannot delete ignition swift container
Summary: [IPI][OSP] Installer fails if it cannot delete ignition swift container
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.5.0
Assignee: Mike Fedosin
QA Contact: David Sanz
URL:
Whiteboard:
Depends On:
Blocks: 1820584 1820591
TreeView+ depends on / blocked
 
Reported: 2020-03-23 13:15 UTC by David Sanz
Modified: 2020-07-13 17:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1820584 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:23:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3352 0 None closed Bug 1816155: OpenStack: Add retries to DeleteGlanceImage 2020-06-28 07:23:11 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:23:51 UTC

Description David Sanz 2020-03-23 13:15:41 UTC
Description of problem:

If there is any infra failure when trying to delete swift container for ignition file, install stops.

At this point, installer only has to wait until installation is completed, so any deleting issue on bootstrap resources should not make installer fails.

It should warn the user about the deletion problem, maybe retry it some times and continue with the installation


Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.Install IPI on OSP
2.Deny access to swift endpoint before bootstrap deletion process
3.Watch installation log

Actual results:
13:43:28 level=info msg="API v1.16.2 up"
13:43:28 level=info msg="Waiting up to 30m0s for bootstrapping to complete..."
13:51:08 level=debug msg="Bootstrap status: complete"
13:51:08 level=info msg="Destroying the bootstrap resources..."
13:51:08 level=fatal msg="Failed to delete swift container mrnd-16-43-s48tz: The service is currently unable to handle the request due to a temporary overloading or maintenance. This is a temporary condition. Try again later."

Expected results:
Installer warn the user about the deletion failure, retry it (5 times?) and warn user about what to delete, but continue with the installation


Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 3 David Sanz 2020-04-08 11:34:31 UTC
Verified on 4.5.0-0.nightly-2020-04-08-072127

Comment 5 errata-xmlrpc 2020-07-13 17:23:29 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:2409


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