Bug 1809187 - [ocp on osp hackfest] installer fails to destroy OCP 4.4 cluster with Octavia in a failed state
Summary: [ocp on osp hackfest] installer fails to destroy OCP 4.4 cluster with Octavia...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.5.0
Assignee: Mike Fedosin
QA Contact: David Sanz
URL:
Whiteboard:
Depends On:
Blocks: 1809206 1809922
TreeView+ depends on / blocked
 
Reported: 2020-03-02 14:50 UTC by Chris Janiszewski
Modified: 2020-08-04 18:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1809206 1809922 (view as bug list)
Environment:
Last Closed: 2020-08-04 18:03:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3214 0 None closed Bug 1809187: OpenStack: return an error if load balancer deletion fails 2020-06-28 07:24:21 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-08-04 18:03:18 UTC

Description Chris Janiszewski 2020-03-02 14:50:30 UTC
Description of problem:
Installer fails to destroy OCP 4.4 cluster with Octavia in a failed state


DEBUG Unable to list api versions: %vThe service is currently unable to handle the request due to a temporary overloading or maintenance. This is a temporary condition. Try again later. 
DEBUG Exiting deleting openstack load balancers    
panic: interface conversion: pagination.Page is nil, not apiversions.APIVersionPage

goroutine 82 [running]:
github.com/openshift/installer/vendor/github.com/gophercloud/gophercloud/openstack/loadbalancer/v2/apiversions.ExtractAPIVersions(...)
        /go/src/github.com/openshift/installer/vendor/github.com/gophercloud/gophercloud/openstack/loadbalancer/v2/apiversions/results.go:30
github.com/openshift/installer/pkg/destroy/openstack.deleteLoadBalancers(0xc000eac000, 0xc00052b350, 0xd556f80, 0xc00012a000, 0x0, 0x0, 0x0)
        /go/src/github.com/openshift/installer/pkg/destroy/openstack/openstack.go:677 +0x1424
github.com/openshift/installer/pkg/destroy/openstack.deleteRunner.func1(0x0, 0x0, 0x0)
        /go/src/github.com/openshift/installer/pkg/destroy/openstack/openstack.go:108 +0x49
github.com/openshift/installer/vendor/k8s.io/apimachinery/pkg/util/wait.ExponentialBackoff(0x37e11d600, 0x3ff4cccccccccccd, 0x0, 0x19, 0x0, 0xc000ee3f60, 0x0, 0x0)
        /go/src/github.com/openshift/installer/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:292 +0x51
github.com/openshift/installer/pkg/destroy/openstack.deleteRunner(0xbfc47d7, 0x13, 0xc29a188, 0xc000eac000, 0xc00052b350, 0xd556f80, 0xc00012a000, 0xc00010e480)
        /go/src/github.com/openshift/installer/pkg/destroy/openstack/openstack.go:107 +0x111
created by github.com/openshift/installer/pkg/destroy/openstack.(*ClusterUninstaller).Run
        /go/src/github.com/openshift/installer/pkg/destroy/openstack/openstack.go:86 +0x5bd


Version-Release number of the following components:
OCP 4.4.0-0.nightly-2020-03-01-212047

How reproducible:
every time

Steps to Reproduce:
1. Deploy OSP16 with (not working) octavia
2. Deploy OCP 4.4 on top of openstack
3. Attempt to destroy OCP

Actual results:
Destroy failed

Expected results:
Installer should avoid failing the destroy if octavia has not been used for deployment and octavia is not in working state. Instead warning could be displayed

Additional info:

Comment 5 David Sanz 2020-03-05 16:23:07 UTC
Verified on 4.5.0-0.nightly-2020-03-04-100655

Comment 6 David Sanz 2020-03-11 16:36:48 UTC
Delete command keeps working for more than an hour without finishing.

Moving back to assigned, keep working for 2 days without finishing is a failure

Comment 12 errata-xmlrpc 2020-08-04 18:03:15 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.