Bug 2060413 - Leftover Ports blocking cluster destroy
Summary: Leftover Ports blocking cluster destroy
Keywords:
Status: CLOSED DUPLICATE of bug 2078875
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: ShiftStack Bugwatcher
QA Contact: Jon Uriarte
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-03 13:47 UTC by Maysa Macedo
Modified: 2022-05-03 12:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-03 12:02:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Maysa Macedo 2022-03-03 13:47:41 UTC
Description of problem:

Kuryr clean up job[1] has failed due to not being able to clean up a leftover Subnet since it still had Ports on that Subnet. The Port was not tagged and had device-owner set as "compute:kuryr".

+--------------------------------------+--------------------------------+--------------------------------------+-----------------+                                        
| ID                                   | Name                           | Network                              | Subnet          |                                        
+--------------------------------------+--------------------------------+--------------------------------------+-----------------+                                        
| 1ea4bf48-00d3-4f61-b60c-a0b06c2ee79d | hostonly-subnet                | f93c01b2-2140-4887-ab80-85ec11a8dbe1 | 192.168.25.0/24 |                                        
| 602d2eac-c2ab-4243-ac5c-da3e3ed38ee6 | ns/openshift-monitoring-subnet | 4d29f6cf-d683-4c8a-9fa1-9308ad93befe | 10.128.2.0/23   |                                        
+--------------------------------------+--------------------------------+--------------------------------------+-----------------+                                        

~/dev/openshift/shiftstack-ci main* ≡
vh-mecha-kuryr ❯ openstack port list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
| ID                                   | Name | MAC Address       | Fixed IP Addresses                                                          | Status |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
| 05008401-e128-4ead-b6fb-9318396efd12 |      | fa:16:3e:48:a7:59 |                                                                             | DOWN   |
| 4a8cc5f6-62d1-44f1-9d01-80d6c45c6524 |      | fa:16:3e:8e:b3:22 | ip_address='10.128.3.236', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6' | DOWN   |
| 66ab1fd0-8d25-4ab3-8b59-4a8183c6fa32 |      | fa:16:3e:18:cc:57 | ip_address='10.128.2.169', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6' | DOWN   |
| 88e7c4f1-968f-4303-9125-f0c3a066c318 |      | fa:16:3e:33:a0:3f | ip_address='10.128.2.69', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6'  | DOWN   |
| 9a2850ec-0aac-4564-8435-6f57ae7f764d |      | fa:16:3e:c1:19:85 | ip_address='10.128.2.184', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6' | DOWN   |
| 9bc66056-9d7e-4176-ad99-73fff4b15196 |      | fa:16:3e:be:9f:67 | ip_address='10.128.2.76', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6'  | DOWN   |
| e16e592d-88d3-44f6-9d27-ce6b6217ff9e |      | fa:16:3e:9d:be:d0 | ip_address='10.128.2.97', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6'  | DOWN   |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+

~/dev/openshift/shiftstack-ci main* ≡
vh-mecha-kuryr ❯ openstack port show 4a8cc5f6-62d1-44f1-9d01-80d6c45c6524
+-------------------------+---------------------------------------------------------------------------------------------------+
| Field                   | Value                                                                                             |
+-------------------------+---------------------------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                                                |
| allowed_address_pairs   |                                                                                                   |
| binding_host_id         | None                                                                                              |
| binding_profile         | None                                                                                              |
| binding_vif_details     | None                                                                                              |
| binding_vif_type        | None                                                                                              |
| binding_vnic_type       | normal                                                                                            |
| created_at              | 2022-03-03T01:35:44Z                                                                              |
| data_plane_status       | None                                                                                              |
| description             |                                                                                                   |
| device_id               |                                                                                                   |
| device_owner            | compute:kuryr                                                                                     |
| device_profile          | None                                                                                              |
| dns_assignment          | fqdn='host-10-128-3-236.ci.vexxhost.ca.', hostname='host-10-128-3-236', ip_address='10.128.3.236' |
| dns_domain              | None                                                                                              |
| dns_name                |                                                                                                   |
| extra_dhcp_opts         |                                                                                                   |
| fixed_ips               | ip_address='10.128.3.236', subnet_id='602d2eac-c2ab-4243-ac5c-da3e3ed38ee6'                       |
| id                      | 4a8cc5f6-62d1-44f1-9d01-80d6c45c6524                                                              |
| ip_allocation           | immediate                                                                                         |
| mac_address             | fa:16:3e:8e:b3:22                                                                                 |
| name                    |                                                                                                   |
| network_id              | 4d29f6cf-d683-4c8a-9fa1-9308ad93befe                                                              |
| numa_affinity_policy    | None                                                                                              |
| port_security_enabled   | True                                                                                              |
| project_id              | 29cd2ba92810469caf6ba5ccaaf5c0d1                                                                  |
| propagate_uplink_status | None                                                                                              |
| qos_network_policy_id   | None                                                                                              |
| qos_policy_id           | None                                                                                              |
| resource_request        | None                                                                                              |
| revision_number         | 1                                                                                                 |
| security_group_ids      | 8a2e4688-5d64-45e5-9f0f-5e886663ee58                                                              |
| status                  | DOWN                                                                                              |
| tags                    |                                                                                                   |
| trunk_details           | None                                                                                              |
| updated_at              | 2022-03-03T01:35:44Z                                                                              |
+-------------------------+---------------------------------------------------------------------------------------------------+


[1] https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-shiftstack-shiftstack-ci-main-cleanup-kuryr/1499294991179059200
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

The cluster destroy command should be able to delete these resources.

Additional info:

Comment 1 Martin André 2022-04-27 14:13:07 UTC
Is this perhaps a dup of Is this perhaps a dup of https://bugzilla.redhat.com/show_bug.cgi?id=2078875?

Comment 2 Maysa Macedo 2022-05-03 12:02:18 UTC

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


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