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

egressIP port not deleted on Openstack while destroying the OCP cluster

    XMLWordPrintable

Details

    • -
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Creating an OCP 4.13 cluster with regular IPI installation and running the egressIP testcase, an egressIP port is created:

      $ openstack port show egressip-10.196.100.200
      +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | 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              | 2023-03-15T14:18:24Z                                                                                                                                                  |
      | data_plane_status       | None                                                                                                                                                                  |
      | description             |                                                                                                                                                                       |
      | device_id               | OpenShiftEgressIP_32a8ec9c-d9e0-4078-b145-e5ef388f7bfb                                                                                                                |
      | device_owner            | OpenShiftEgressIP                                                                                                                                                     |
      | dns_assignment          | fqdn='host-10-196-100-200.shiftstack.com.', hostname='host-10-196-100-200', ip_address='10.196.100.200'                                                               |
      | dns_domain              |                                                                                                                                                                       |
      | dns_name                |                                                                                                                                                                       |
      | extra_dhcp_opts         |                                                                                                                                                                       |
      | fixed_ips               | ip_address='10.196.100.200', subnet_id='752cb092-3732-45bf-9a73-9de247d4199b'                                                                                         |
      | id                      | d985a336-23d3-408c-a44f-b153b4c91677                                                                                                                                  |
      | location                | cloud='', project.domain_id=, project.domain_name='Default', project.id='01164c5f6ddb446b90a90f49bf114732', project.name='shiftstack', region_name='regionOne', zone= |
      | mac_address             | fa:16:3e:3a:2b:db                                                                                                                                                     |
      | name                    | egressip-10.196.100.200                                                                                                                                               |
      | network_id              | 73ddc4ce-c926-4711-90e8-6b4805bc3a64                                                                                                                                  |
      | port_security_enabled   | True                                                                                                                                                                  |
      | project_id              | 01164c5f6ddb446b90a90f49bf114732                                                                                                                                      |
      | propagate_uplink_status | None                                                                                                                                                                  |
      | qos_policy_id           | None                                                                                                                                                                  |
      | resource_request        | None                                                                                                                                                                  |
      | revision_number         | 4                                                                                                                                                                     |
      | security_group_ids      | c8d7e589-b9e6-43ec-9d3d-a9d56cf9ce2a                                                                                                                                  |
      | status                  | DOWN                                                                                                                                                                  |
      | tags                    |                                                                                                                                                                       |
      | trunk_details           | None                                                                                                                                                                  |
      | updated_at              | 2023-03-16T13:28:11Z                                                                                                                                                  |
      +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      

      Then, running the 'openshift-install cluster destroy' command, it gets stuck because that port remains connected to the router:

      DEBUG Removing Subnet "752cb092-3732-45bf-9a73-9de247d4199b" from Router "bbd279ee-44ab-43ef-9aa9-f6fb3935e8e6" 
      DEBUG Removing Subnet "752cb092-3732-45bf-9a73-9de247d4199b" from Router "bbd279ee-44ab-43ef-9aa9-f6fb3935e8e6" failed: Expected HTTP response code [200] when accessing [PUT https://10.0.0.101:13696/v2.0/routers/bbd279ee-44ab-43ef-9aa9-f6fb3935e8e6/remove_router_interface], but got 409 instead 
      DEBUG {"NeutronError": {"type": "RouterInterfaceInUseByFloatingIP", "message": "Router interface for subnet 752cb092-3732-45bf-9a73-9de247d4199b on router bbd279ee-44ab-43ef-9aa9-f6fb3935e8e6 cannot be deleted, as it is required by one or more floating IPs.", "detail": ""}} 
      DEBUG Exiting removal of interfaces from router     

       

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

      $ openshift-install version
      openshift-install 4.13.0-0.nightly-2023-03-14-053612
      built from commit b407028172274e29f64894df442a12f81f29d6be
      release image registry.ci.openshift.org/ocp/release@sha256:3966be3c9ba62ab6d20d2fa86e0d985a35fb7cb17444af19ceb7c822a8af20c0
      release architecture amd64
      
      $ cat core_puddle_version 
      RHOS-16.2-RHEL-8-20220804.n.1 

      How reproducible:

      Observed after running egressIP test

      Actual results:

      destroy cluster failed

      Expected results:

      destroy cluster success and no resources remain

      Additional info:

      logs added

      Attachments

        Activity

          People

            mdulko Michał Dulko
            rlobillo Ramón Lobillo
            Itshak Brown Itshak Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: