Bug 1809206 - [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.4.0
Assignee: Mike Fedosin
QA Contact: David Sanz
URL:
Whiteboard:
Depends On: 1809187 1809922
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-02 15:14 UTC by Mike Fedosin
Modified: 2020-05-04 11:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1809187
Environment:
Last Closed: 2020-05-04 11:43:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3221 0 None closed [release-4.4] Bug 1809206: OpenStack: return an error if load balancer deletion fails 2020-09-08 00:46:51 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:44:13 UTC

Description Mike Fedosin 2020-03-02 15:14:26 UTC
+++ This bug was initially created as a clone of Bug #1809187 +++

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 4 David Sanz 2020-03-05 16:24:00 UTC
Verified on 4.4.0-0.nightly-2020-03-05-142733

Comment 7 errata-xmlrpc 2020-05-04 11:43:52 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:0581


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