Bug 1719576

Summary: Unable to delete octavia load balancer from Horizon dashboard
Product: Red Hat OpenStack Reporter: ojanas
Component: python-openstacksdkAssignee: Nir Magnezi <nmagnezi>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: akaris, apevec, astupnik, cgoncalves, dalvarez, dsedgmen, ihrachys, jfindysz, jjoyce, jschluet, lhh, lpeer, majopela, mparkins, pmannidi, pnguyen, schhabdi, scohen
Target Milestone: z8Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-openstacksdk-0.11.3-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-03 16:58:11 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 ojanas 2019-06-12 07:46:47 UTC
Description of problem:

It is not possible to delete an octavia loadbalancer in horizon web interface after deleting all sub elements (members, listener, pool, healthmonitor, ..) but it works using CLI interface.

LB ID: 597eae40-7541-419f-8a9f-0b5131ed6c8e 

# grep -i 597eae40-7541-419f-8a9f-0b5131ed6c8e var/log/containers/httpd/horizon/horizon_ssl_access.log 

172.20.13.15 - - [11/Jun/2019:12:49:37 +0000] "DELETE /dashboard/api/lbaas/loadbalancers/597eae40-7541-419f-8a9f-0b5131ed6c8e/ HTTP/1.1" 500 69 "https://XXX.com/dashboard/project/load_balancer" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36"

Received error:

2019-06-11 12:49:37,013 88 ERROR openstack_dashboard.api.rest.utils error invoking apiclient
TypeError: delete_load_balancer() got an unexpected keyword argument 'cascade'

Package versions:

openstack-octavia-api-2.0.3-2.el7ost.noarch                 Mon Mar  4 20:00:27 2019
openstack-octavia-common-2.0.3-2.el7ost.noarch              Mon Mar  4 19:59:43 2019
openstack-octavia-health-manager-2.0.3-2.el7ost.noarch      Mon Mar  4 20:00:28 2019
openstack-octavia-housekeeping-2.0.3-2.el7ost.noarch        Mon Mar  4 20:00:28 2019
openstack-octavia-worker-2.0.3-2.el7ost.noarch              Mon Mar  4 20:00:27 2019

# cat etc/redhat-release 

Red Hat Enterprise Linux Server release 7.6 (Maipo)

Additional info:

 - Same error received when using distinct web browsers
 - Originally deployed via director

Comment 20 Carlos Goncalves 2019-07-16 07:24:25 UTC
*** Bug 1730201 has been marked as a duplicate of this bug. ***

Comment 40 errata-xmlrpc 2019-09-03 16:58:11 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-2019:2623

Comment 41 Gregory Thiemonge 2019-09-25 14:35:50 UTC
*** Bug 1747397 has been marked as a duplicate of this bug. ***