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

[aws] deleting ssh rule during bootstrap destroy causes cluster reconcile

XMLWordPrintable

    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • In Progress

      Description of problem:

          Sometimes deleting the bootstrap ssh rule during bootstrap destroy can timeout after 5min, failing the installation.

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

          4.16+ with capi/aws

      How reproducible:

          Intermittent

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

                      level=info msg=Waiting up to 5m0s (until 2:31AM UTC) for bootstrap SSH rule to be destroyed...
                      level=fatal msg=error destroying bootstrap resources failed during the destroy bootstrap hook: failed to remove bootstrap SSH rule: bootstrap ssh rule was not removed within 5m0s: timed out waiting for the condition
      

      Expected results:

          The rule is deleted successfully and in a timely manner.

      Additional info:

          This is probably happening because we are changing the AWSCluster object, thus causing capi/capa to trigger a big reconciliation of the resources. We should try to delete the rule via aws sdk.

              rdossant Rafael Fonseca dos Santos
              rdossant Rafael Fonseca dos Santos
              Yunfei Jiang Yunfei Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: