+++ This bug was initially created as a clone of Bug #1880134 +++ +++ This bug was initially created as a clone of Bug #1880132 +++ Description of problem: GCP destroy leaves members in project IAM policy. This is because deleted service accounts end up converting the member in IAM policy to deleted:serviceAccount:{emailid}?uid={} and the installer skips this member. I think there is a delay in service account deleted to the member getting modified and there fore the installer might clean up some of the ones that didn't get converted yet. This race definitely leaks in CI How reproducible: Steps to Reproduce: 1. Create cluster on GCP 2. Destroy the cluster 3. Check if all the member entries from project IAM policy has cleaned up.
Note that for shared xpn, IAM are also left in the host project. Discussed with dev. https://bugzilla.redhat.com/show_bug.cgi?id=1872476
example of left behind IAM: deleted:serviceAccount:tszegcp91820d-gf6pb-m.gserviceaccount.com?uid=112857808917372143622 Project OpenShift QE
I don't see any IAM left behind today using 4.6.0-0.nightly-2020-09-21-081745
Wrong target version
Flexy job create / destroyed a 4.4.0-0.nightly-2020-09-20-175714 cluster. No IAM left on gcp console.
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 (OpenShift Container Platform 4.4.26 bug fix 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/RHBA-2020:3764