Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58073

Load-balancers created by CCM with BYON are not cleaned up

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • ShiftStack Sprint 273
    • 1
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-18510. The following is the description of the original issue:

      Description of problem:

      Load-balancers that are created by CCM with a network that is provided by the user and not tagged with cluster ID are not being cleaned up upon cluster destroy. Here is an example:
      
      $ openstack loadbalancer show kube_service_kubernetes_default_demo-ipv6
      +---------------------+-----------------------------------------------------------------------+
      | Field               | Value                                                                 |
      +---------------------+-----------------------------------------------------------------------+
      | admin_state_up      | True                                                                  |
      | created_at          | 2023-08-28T20:24:58                                                   |
      | description         | Kubernetes external service default/demo-ipv6 from cluster kubernetes |
      | flavor_id           | None                                                                  |
      | id                  | dbae36ce-315e-435b-b367-60d7a32110b8                                  |
      | listeners           | 5e5a4845-6f1b-4684-836d-10842c374c17                                  |
      | name                | kube_service_kubernetes_default_demo-ipv6                             |
      | operating_status    | ONLINE                                                                |
      | pools               | 3dc0aeca-9411-478d-91c9-739b988925b1                                  |
      | project_id          | 1a1241cbf197471cb72128b874d06cc1                                      |
      | provider            | amphora                                                               |
      | provisioning_status | ACTIVE                                                                |
      | updated_at          | 2023-08-30T00:42:00                                                   |
      | vip_address         | 2001:db8:2222:5555:f816:3eff:fe89:8dbc                                |
      | vip_network_id      | 4a6c44d5-164c-4a94-bf1a-8819d38e9557                                  |
      | vip_port_id         | 346c4de6-d765-4493-9f57-c50647da4117                                  |
      | vip_qos_policy_id   | None                                                                  |
      | vip_subnet_id       | 507a90e1-513a-46f8-b5d1-c01597afd4db                                  |
      +---------------------+-----------------------------------------------------------------------+
      
      $ openstack network show hostonly
      +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | Field                     | Value                                                                                                                                                                         |
      +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | admin_state_up            | UP                                                                                                                                                                            |
      | availability_zone_hints   |                                                                                                                                                                               |
      | availability_zones        |                                                                                                                                                                               |
      | created_at                | 2023-08-23T14:55:34Z                                                                                                                                                          |
      | description               |                                                                                                                                                                               |
      | dns_domain                |                                                                                                                                                                               |
      | id                        | 4a6c44d5-164c-4a94-bf1a-8819d38e9557                                                                                                                                          |
      | ipv4_address_scope        | None                                                                                                                                                                          |
      | ipv6_address_scope        | None                                                                                                                                                                          |
      | is_default                | False                                                                                                                                                                         |
      | is_vlan_transparent       | None                                                                                                                                                                          |
      | location                  | cloud='openshift', project.domain_id=, project.domain_name='Default', project.id='1a1241cbf197471cb72128b874d06cc1', project.name='openshift', region_name='regionOne', zone= |
      | mtu                       | 1400                                                                                                                                                                          |
      | name                      | hostonly                                                                                                                                                                      |
      | port_security_enabled     | True                                                                                                                                                                          |
      | project_id                | 1a1241cbf197471cb72128b874d06cc1                                                                                                                                              |
      | provider:network_type     | None                                                                                                                                                                          |
      | provider:physical_network | None                                                                                                                                                                          |
      | provider:segmentation_id  | None                                                                                                                                                                          |
      | qos_policy_id             | None                                                                                                                                                                          |
      | revision_number           | 5                                                                                                                                                                             |
      | router:external           | External                                                                                                                                                                      |
      | segments                  | None                                                                                                                                                                          |
      | shared                    | True                                                                                                                                                                          |
      | status                    | ACTIVE                                                                                                                                                                        |
      | subnets                   | 38f5fe84-385e-4067-9988-37d2a6a92f12, 507a90e1-513a-46f8-b5d1-c01597afd4db                                                                                                    |
      | tags                      |                                                                                                                                                                               |
      | updated_at                | 2023-08-28T19:33:49Z                                                                                                                                                          |
      +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

       

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              rdobosz Roman Dobosz
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Itshak Brown Itshak Brown
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: