Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2268

Can't run OSD addon job because of too many S3 buckets

XMLWordPrintable

    • False
    • False
    • OSD addon is now deprecated and EOL

      Every OSD cluster is having its backup. It can result in many S3 buckets being created and it can block the OSD provisioning at all. We need to come with a way how to clean that.

      This issue is recognized by going to job Artifacts, artifact folder, file install-log.txt:

      msg="Error: Error creating S3 bucket: TooManyBuckets: You have attempted to create more buckets than allowed"
      

      Gathered info:

      • Backups are created regularly shorty after the OSD cluster is created.
      • There is a cleanup script for removing artifacts from given AWS account use for ROSA - can be reused for our purpose: https://github.com/openshift/osde2e/blob/main/scripts/clean-up-rosa.sh
      • rh-sd-jsica also advised:

        With addons we have the ability to specify an ADDON_CLEANUP_HARNESSES which runs after your tests. So you could have a separate (or the same) container that runs and could handle the cleanup.

              rhn-support-tdancs Tibor Dancs
              kkanova Kateřina Foniok
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: