Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1773294

Summary: Unable to delete a cluster - Resource not found
Product: OpenShift Container Platform Reporter: Itzik Brown <itbrown>
Component: InstallerAssignee: Eric Duen <eduen>
Installer sub component: OpenShift on OpenStack QA Contact: David Sanz <dsanzmor>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: m.andre
Version: 4.2.0   
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-18 14:57: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 Itzik Brown 2019-11-17 12:01:57 UTC
Description of problem:
Unable to delete a cluster 

Version-Release number of the following components:
Openshift installer 4.2.7

How reproducible:

Steps to Reproduce:
1.Run openshift-install --log-level=debug destroy cluster --dir ostest"
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:

level=debug msg="OpenShift Installer v4.2.7"
level=debug msg="Built from commit 425e4ff0037487e32571258640b39f56d5ee5572"
level=debug msg="Deleting openstack containers"
level=debug msg="Deleting openstack networks"
level=debug msg="Deleting openstack security-groups"
level=debug msg="Deleting openstack servers"
level=debug msg="Deleting openstack trunks"
level=debug msg="Deleting openstack subnets"
level=debug msg="Deleting openstack ports"
level=debug msg="Deleting openstack floating ips"
level=debug msg="Deleting OpenStack volumes"
level=debug msg="Deleting openstack routers"
level=debug msg="Deleting openstack subnet-pools"
level=debug msg="Deleting openstack load balancers"
level=debug msg="Deleting Security Group: 8f5c1d21-7c3c-4408-ae65-264c71ae2137"
level=debug msg="Deleting Trunk: 23240eb4-f808-4bfc-b37f-be63e940bbf6"
level=debug msg="Exiting deleting openstack subnet-pools"
level=debug msg="goroutine deleteSubnetPools complete"
level=debug msg="Deleting network: b8b5ee5a-3bd2-47d9-9be0-b348305151e7"
level=debug msg="Deleting Subnet: a2109868-0a4c-4aab-89a1-1ce3d4a09621"
level=debug msg="Deleting Floating IP: 0714b218-a0af-4a4a-8a14-0ba6382fc303"
level=debug msg="Deleting Security Group failed: Expected HTTP response code [] when accessing [DELETE http://10.0.0.111:9696/v2.0/security-groups/8f5c1d21-7c3c-4408-ae65-264c71ae2137], but got 409 instead\n{\"NeutronError\": {\"message\": \"Security Group 8f5c1d21-7c3c-4408-ae65-264c71ae2137 in use.\", \"type\": \"SecurityGroupInUse\", \"detail\": \"\"}}"
level=debug msg="Exiting deleting openstack security-groups"
level=debug msg="Deleting Network failed: Expected HTTP response code [] when accessing [DELETE http://10.0.0.111:9696/v2.0/networks/b8b5ee5a-3bd2-47d9-9be0-b348305151e7], but got 409 instead\n{\"NeutronError\": {\"message\": \"Unable to complete operation on network b8b5ee5a-3bd2-47d9-9be0-b348305151e7. There are one or more ports still in use on the network.\", \"type\": \"NetworkInUse\", \"detail\": \"\"}}"
level=debug msg="Exiting deleting openstack networks"
level=debug msg="Deleting Trunk failed: Expected HTTP response code [] when accessing [DELETE http://10.0.0.111:9696/v2.0/trunks/23240eb4-f808-4bfc-b37f-be63e940bbf6], but got 409 instead\n{\"NeutronError\": {\"message\": \"Trunk 23240eb4-f808-4bfc-b37f-be63e940bbf6 is currently in use.\", \"type\": \"TrunkInUse\", \"detail\": \"\"}}"
level=debug msg="Exiting deleting openstack trunks"
level=debug msg="Deleting Port: 273b591a-2a1e-4d78-8b34-40ed2a07dab9"
level=debug msg="Deleting object: bootstrap.ign\n"
level=debug msg="Exiting deleting openstack load balancers"
level=debug msg="goroutine deleteLoadBalancers complete"
level=debug msg="Deleting container: ostest-snjz6\n"
level=debug msg="Exiting deleting openstack containers"
level=debug msg="goroutine deleteContainers complete"
level=debug msg="Exiting deleting OpenStack volumes"
level=debug msg="goroutine deleteVolumes complete"
level=debug msg="Deleting Subnet failed: Expected HTTP response code [] when accessing [DELETE http://10.0.0.111:9696/v2.0/subnets/a2109868-0a4c-4aab-89a1-1ce3d4a09621], but got 409 instead\n{\"NeutronError\": {\"message\": \"Unable to complete operation on subnet a2109868-0a4c-4aab-89a1-1ce3d4a09621: One or more ports have an IP allocation from this subnet.\", \"type\": \"SubnetInUse\", \"detail\": \"\"}}"
level=debug msg="Exiting deleting openstack subnets"
level=debug msg="Deleting Port failed: Expected HTTP response code [] when accessing [DELETE http://10.0.0.111:9696/v2.0/ports/273b591a-2a1e-4d78-8b34-40ed2a07dab9], but got 409 instead\n{\"NeutronError\": {\"message\": \"Port 273b591a-2a1e-4d78-8b34-40ed2a07dab9 is currently a parent port for trunk 23240eb4-f808-4bfc-b37f-be63e940bbf6.\", \"type\": \"PortInUseAsTrunkParent\", \"detail\": \"\"}}"
level=debug msg="Exiting deleting openstack ports"
level=fatal msg="Resource not found"

Comment 1 Martin André 2019-11-18 14:57:11 UTC
Closing as a duplicate of 1772477.

*** This bug has been marked as a duplicate of bug 1772477 ***