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

Prevent changing .spec.authoritativeAPI on MAPI when Phase Provisioning or is being deleted

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • CLOUD Sprint 274, CLOUD Sprint 275, CLOUD Sprint 276, CLOUD Sprint 277, CLOUD Sprint 278

      Background

      When MAPI Machines are Provisioning or have non-zero deletion timestamp we should prevent changing the .spec.authoritativeAPI (i.e. trigger a migration) to avoid unpredictable issues given the transitioning state of the machine/instance. 

      Behaviours

      • Reject updates to a MAPI Machine's .spec.authoritativeAPI if .status.Phase is Provisioning
      • Reject updates to a MAPI Machine's .spec.authoritativeAPI if .metadata.deletionTimestamp is non-zero

      Steps

      • Explore using VAP for Machine validation in MAPI
      •  

      Stakeholders

      • <Who is interested in this/where did they request this>

      Definition of Done

      • <Add items that need to be completed for this card>
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

              raryan@redhat.com Rachel Ryan
              ddonati@redhat.com Damiano Donati
              None
              None
              Milind Yadav Milind Yadav
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: