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

etcd data store is leftover when infrastructure provisioning fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.16.0, 4.17.0
    • None
    • Moderate
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the local etcd data store that is saved during installation was not deleted if the installation failed, consuming extra space on the installation host. With this update, the data store is deleted if infrastructure provisioning failures prevent a successful installation. (link:https://issues.redhat.com/browse/OCPBUGS-36284[*OCPBUGS-36284*])
      Show
      * Previously, the local etcd data store that is saved during installation was not deleted if the installation failed, consuming extra space on the installation host. With this update, the data store is deleted if infrastructure provisioning failures prevent a successful installation. (link: https://issues.redhat.com/browse/OCPBUGS-36284 [* OCPBUGS-36284 *])
    • Bug Fix
    • Done

      Description of problem:

          The etcd data store is leftover in the <install dir>/.clusterapi_output/etcd dir when infrastructure provisioning fails. This takes up a lot of local storage space and is useless.

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Start an install
          2. introduce an infra provisioning failure -- I did this by editing the 02_infra-cluster.yaml manifest to point to a non existent region
          3. Check .clusterapi_output dir for etcd dir
          

      Actual results:

          etcd data store remains

      Expected results:

          etcd data store should be deleted during infra provisioning failures. It should only be persisted to disk if there is a failure/interrupt in between infrastructure provisioning and bootstrap destroy, in which case it can be used in conjunction with the wait-for and destroy bootstrap commands.

      Additional info:

          

              rh-ee-bbarbach Brent Barbachem
              padillon Patrick Dillon
              Jinyun Ma Jinyun Ma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: