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

Control Plane Machine Set Operator OnDelete update should cause an error when more than one machine is ready in an index

    XMLWordPrintable

Details

    • Low
    • CLOUD Sprint 225, CLOUD Sprint 226, CLOUD Sprint 227, CLOUD Sprint 228, CLOUD Sprint 229, CLOUD Sprint 230
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      when using the OnDelete update method of the ControlPlaneMachineSet, it should not be possible to have multiple machines in the Running phase in the same machine index. eg, if machine-1 is in Running phase, we should not have a machine-replacement-1 also in the Running phase.
      

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

      4.12 / main branch
      

      How reproducible:

      unsure, this is currently not tested in the code and is difficult to produce
      

      Steps to Reproduce:

      1. setup a cluster with CPMS in OnDelete update mode
      2. rename one of the master machines to have the same index as another, or manually create a machine to match. this step might be difficult to reproduce.
      3. observe logs from CPMS operator
      

      Actual results:

      no errors are emitted about the extra machine, although perhaps others are. operator does not degrade.
      

      Expected results:

      an error should be produced and the operator should go degraded
      

      Additional info:

      this bug is slightly predictive, we have not observed this condition but have detected a gap in the code that might make it possible.
      

      Attachments

        Issue Links

          Activity

            People

              ddonati@redhat.com Damiano Donati
              mimccune@redhat.com Michael McCune
              Zhaohua Sun Zhaohua Sun
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: