Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-1426

Allow Machines in a Failed state to update finalizer

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • None
    • None
    • None
    • False
    • False
    • 3
    • CLOUD Sprint 215, CLOUD Sprint 216, CLOUD Sprint 217, CLOUD Sprint 218, CLOUD Sprint 219, CLOUD Sprint 220, CLOUD Sprint 221, CLOUD Sprint 222, CLOUD Sprint 223

    Description

      User Story

      As a user I have created a machine with the wrong ProviderSpec, I would like to fix or remove it but cannot because of the validating webhooks. If the webhooks allowed removing the finalizer, even when the provider spec is incorrect, then i could remove these machines.

      Background

      This is related to OCPCLOUD-1411, we have seen a scenario where a user created an AWS provider spec in a vSphere cluster. In this case the user could not remove the finalizer because the provider spec was incorrect, and for the wrong infrastructure.

      Steps

      • Webhooks should allow removing the finalizer for machines in a failed state

      Stakeholders

      • cloud team

      Definition of Done

      • Finalizers can be removed for machines in failed state, regardless of provider spec errors
      • Docs
      • We should review and update the troubleshooting guide and faq
      • Testing
      • unit tests should be added to exercise this behavior

      Attachments

        Activity

          People

            fedosin Mikhail Fedosin (Inactive)
            mimccune@redhat.com Michael McCune
            Zhaohua Sun Zhaohua Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: