see https://bugzilla.redhat.com/show_bug.cgi?id=1965969#c10 issues were introduced by https://github.com/openshift/installer/pull/5343 and https://github.com/openshift/installer/pull/5494
@yunjiang I have not been able to replicate this BZ. Were you using a metadata.json that you manually created? Could you provide full install logs and the metadata.json from a failed destroy. ~~~~ # Check records in private hosted zone after install. $ aws route53 list-resource-record-sets --hosted-zone-id=Z0807045AKSEBSUFT40G --output=json | jq '.ResourceRecordSets[].Name' -r mstaeble.devcluster.openshift.com. mstaeble.devcluster.openshift.com. api-int.mstaeble.devcluster.openshift.com. api.mstaeble.devcluster.openshift.com. # Check records in public hosted zone after install. $ aws route53 list-resource-record-sets --hosted-zone-id=Z3URY6TWQ91KVV --output=json | jq '.ResourceRecordSets[].Name | select(contains("mstaeble"))' -r api.mstaeble.devcluster.openshift.com. # Destroy the cluster. $ openshift-install destroy cluster <snip> INFO Deleted arn=arn:aws:route53:::hostedzone/Z0807045AKSEBSUFT40G id=Z0807045AKSEBSUFT40G record set=A api-int.mstaeble.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z0807045AKSEBSUFT40G id=/hostedzone/Z3URY6TWQ91KVV record set=A api.mstaeble.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z0807045AKSEBSUFT40G id=Z0807045AKSEBSUFT40G record set=A api.mstaeble.devcluster.openshift.com. INFO Cleaned record sets from hosted zone arn=arn:aws:route53:::hostedzone/Z0807045AKSEBSUFT40G id=Z0807045AKSEBSUFT40G <snip> # Check records in private hosted zone after destroy. $ aws route53 list-resource-record-sets --hosted-zone-id=Z0807045AKSEBSUFT40G --output=json | jq '.ResourceRecordSets[].Name' -r mstaeble.devcluster.openshift.com. mstaeble.devcluster.openshift.com. # Check records in public hosted zone after destroy. $ aws route53 list-resource-record-sets --hosted-zone-id=Z3URY6TWQ91KVV --output=json | jq '.ResourceRecordSets[].Name | select(contains("mstaeble"))' -r ~~~~
Forgot to include that the above was run using 4.10.0-rc.6.
Staebler, you're right, all records were deleted successfully, using 4.10.0-rc.6. I'm wondering is there any change between 4.10.0-0.nightly-2022-01-10-014106 (https://bugzilla.redhat.com/show_bug.cgi?id=1965969#c10) and 4.10.0-rc.6? b/c I got different results in these two versions. ## Records in private zone after install > aws route53 list-resource-record-sets --hosted-zone-id=Z09075602HZ0U2U9F711E --output=json | jq '.ResourceRecordSets[].Name' -r yunjiang-r53a.qe.devcluster.openshift.com. yunjiang-r53a.qe.devcluster.openshift.com. api-int.yunjiang-r53a.qe.devcluster.openshift.com. api.yunjiang-r53a.qe.devcluster.openshift.com. \052.apps.yunjiang-r53a.qe.devcluster.openshift.com. ## Records in public zone after install > aws route53 list-resource-record-sets --hosted-zone-id=Z3B3KOVA3TRCWP --output=json | jq '.ResourceRecordSets[].Name | select(contains("yunjiang-r53a"))' -r api.yunjiang-r53a.qe.devcluster.openshift.com. \052.apps.yunjiang-r53a.qe.devcluster.openshift.com. ## Records in private zone after destroy > aws route53 list-resource-record-sets --hosted-zone-id=Z09075602HZ0U2U9F711E --output=json | jq '.ResourceRecordSets[].Name' -r yunjiang-r53a.qe.devcluster.openshift.com. yunjiang-r53a.qe.devcluster.openshift.com. ## Records in public zone after destroy > aws route53 list-resource-record-sets --hosted-zone-id=Z3B3KOVA3TRCWP --output=json | jq '.ResourceRecordSets[].Name | select(contains("yunjiang-r53a"))' -r <nothing> ## destroy log INFO Deleted arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E id=Z09075602HZ0U2U9F711E record set=A api-int.yunjiang-r53a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E id=/hostedzone/Z3B3KOVA3TRCWP record set=A api.yunjiang-r53a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E id=Z09075602HZ0U2U9F711E record set=A api.yunjiang-r53a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E id=/hostedzone/Z3B3KOVA3TRCWP record set=A \052.apps.yunjiang-r53a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E id=Z09075602HZ0U2U9F711E record set=A \052.apps.yunjiang-r53a.qe.devcluster.openshift.com. INFO Cleaned record sets from hosted zone arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E id=Z09075602HZ0U2U9F711E INFO Removed tag kubernetes.io/cluster/yunjiang-r53a-gqf7r: shared arn=arn:aws:route53:::hostedzone/Z09075602HZ0U2U9F711E INFO Time elapsed: 4m12s
verified against 4.11.0-0.nightly-2022-03-20-160505 INFO Deleted arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 id=Z0304524GTZJCIU9G9L6 record set=A api-int.yunjiang-bz33a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 id=/hostedzone/Z3B3KOVA3TRCWP record set=A api.yunjiang-bz33a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 id=Z0304524GTZJCIU9G9L6 record set=A api.yunjiang-bz33a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 id=/hostedzone/Z3B3KOVA3TRCWP record set=A \052.apps.yunjiang-bz33a.qe.devcluster.openshift.com. INFO Deleted arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 id=Z0304524GTZJCIU9G9L6 record set=A \052.apps.yunjiang-bz33a.qe.devcluster.openshift.com. INFO Cleaned record sets from hosted zone arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 id=Z0304524GTZJCIU9G9L6 INFO Removed tag kubernetes.io/cluster/yunjiang-bz33a-7dwfv: shared arn=arn:aws:route53:::hostedzone/Z0304524GTZJCIU9G9L6 INFO Time elapsed: 3m16s
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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069