Bug 1773294 - Unable to delete a cluster - Resource not found
Summary: Unable to delete a cluster - Resource not found
Keywords:
Status: CLOSED DUPLICATE of bug 1772477
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.2.z
Assignee: Eric Duen
QA Contact: David Sanz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-17 12:01 UTC by Itzik Brown
Modified: 2019-11-18 14:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-18 14:57:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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