Bug 2051333
Summary: | [aws] records in public hosted zone and BYO private hosted zone were not deleted. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yunfei Jiang <yunjiang> |
Component: | Installer | Assignee: | Nobody <nobody> |
Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | beth.white, padillon |
Version: | 4.10 | Keywords: | Regression |
Target Milestone: | --- | ||
Target Release: | 4.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
I am marking this as no doc update. It is unclear from this particular bz what the actual issue is. Matthew declares that there this BZ is an issue with metadata in the destroy, but claims he cannot reproduce it, QE claims it works, and there is no BZ to fix.
I think this BZ was part of a larger conversation of other BZs and is probably a duplicate. I don't think we're missing anything here if we don't include docs on this.
|
Story Points: | --- |
Clone Of: | 1965969 | Environment: | |
Last Closed: | 2022-08-10 10:47:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1965969 | ||
Bug Blocks: |
Comment 1
Yunfei Jiang
2022-02-07 03:35:48 UTC
@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 |