Version: $ openshift-install version openshift-install 4.7.2 built from commit 98e11541c24e95c864328b9b35c64b77836212ed release image quay.io/openshift-release-dev/ocp-release@sha256:83fca12e93240b503f88ec192be5ff0d6dfe750f81e8b5ef71af991337d7c584 Also reproduced on 4.8 (current master). Platform: OpenStack / IPI / Kuryr enabled / Provider network in subnetID (primary interface) What happened? When destroying the cluster, the external-router created by Kuryr can't be removed because there is still a port attached to that router. It's always the same router: cluster-name+id-external-router (e.g. testcluster-tm4hx-external-router) Because the port is from the provider network and is not tagged in OCP, so it'll never get removed. DEBUG Exiting deleting openstack ports DEBUG goroutine deletePorts complete DEBUG Deleting Router "9409710e-0d48-453c-ba66-8cb3390b6a09" ERROR Deleting router "9409710e-0d48-453c-ba66-8cb3390b6a09" failed: Expected HTTP response code [] when accessing [DELETE http://192.168.3.38:9696/v2.0/routers/9409710e-0d48-453c-ba66-8cb3390b6a09], but got 409 instead ERROR {"NeutronError": {"type": "RouterInUse", "message": "Router 9409710e-0d48-453c-ba66-8cb3390b6a09 still has ports", "detail": ""}} DEBUG Exiting deleting openstack routers Workaround: Remove manually with: openstack router remove subnet <externa-router-id> <provider-network-subnet-id>
Verified on: 4.8.0-0.nightly-2021-06-03-055145 The router is created by Kuryr and deleted upon openshift-install destroy cluster command.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438