Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1772

Modify test cases so that we never shutdown a node while it is executing an "rpm-ostree cleanup" command

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None

      If a node is shut down while MCO executes an "rpm-ostree cleanup" command the MCP will become degraded.

      This scenario is described here: https://issues.redhat.com/browse/OCPBUGS-58099
      and here: https://redhat-internal.slack.com/archives/GH7G2MANS/p1750857107077139

      This scenario often happens when we scale up a node, we check that it is healthy and then we scale it down and remove it. Randomly and rarely these actions will degrade the pool because of the mentioned issue and the test will fail

      Before scaling down a node we need to make sure that it is not executing this command. One way could be to check that it has added the "SIGTERM" protection before scaling down.

      We should try to avoid solving it with a sleep instruction, but if we have no other option it is still better than having the tests randomly failing.

              Unassigned Unassigned
              sregidor@redhat.com Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: