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

periodic-ipi-deprovision-aws-osd-hypershift failing occasionally unable to delete openshift-ingress role

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.21
    • HyperShift
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      CI tooling issue, not a product issue. Happens ~2x per day (2% of jobs).

      See #team-ocp-hypershift-alert for most recent failures.

      https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ipi-deprovision-aws-osd-hypershift/1970064024544481280

      https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ipi-deprovision-aws-osd-hypershift/1970132476818886656

       

      {"level":"info","ts":"2025-09-22T14:31:55Z","msg":"Deleted role policy","role":"karpenter-vv8cr-openshift-ingress","policy":"karpenter-vv8cr-openshift-ingress"}
      62
      {"level":"error","ts":"2025-09-22T14:31:55Z","msg":"Error deleting role","role":"karpenter-vv8cr-openshift-ingress","error":"DeleteConflict: Cannot delete entity, must detach all policies first.\n\tstatus code: 409, request id: 32a02c7b-c411-4b92-9e6a-3b89ae228ce1","stacktrace":"github.com/openshift/hypershift/cmd/infra/aws.(*DestroyIAMOptions).DestroyOIDCRole\n\t/hypershift/cmd/infra/aws/destroy_iam.go:211\ngithub.com/openshift/hypershift/cmd/infra/aws.(*DestroyIAMOptions).DestroyOIDCResources\n\t/hypershift/cmd/infra/aws/destroy_iam.go:145\ngithub.com/openshift/hypershift/cmd/infra/aws.(*DestroyIAMOptions).DestroyIAM\n\t/hypershift/cmd/infra/aws/destroy_iam.go:95\ngithub.com/openshift/hypershift/cmd/infra/aws.NewDestroyIAMCommand.func1\n\t/hypershift/cmd/infra/aws/destroy_iam.go:63\ngithub.com/spf13/cobra.(*Command).execute\n\t/hypershift/vendor/github.com/spf13/cobra/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/hypershift/vendor/github.com/spf13/cobra/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\t/hypershift/vendor/github.com/spf13/cobra/command.go:1041\ngithub.com/spf13/cobra.(*Command).ExecuteContext\n\t/hypershift/vendor/github.com/spf13/cobra/command.go:1034\nmain.main\n\t/hypershift/main.go:78\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:272"}
      63
      Error: DeleteConflict: Cannot delete entity, must detach all policies first.
      

       

              sjenning Seth Jennings
              sjenning Seth Jennings
              None
              None
              Yu Li Yu Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: