ansible / eda-server

Event Driven Ansible for AAP
Apache License 2.0
64 stars 41 forks source link

Handle HealthyQueueNotFoundError for new processes. #894

Closed Alex-Izquierdo closed 3 months ago

Alex-Izquierdo commented 3 months ago

Test flow:

  1. create an activation until reach running state.
  2. kill the activation workers of the node where the activation is running (from now node A), the activation goes into workers-offline state
  3. (optional) relaunch workers to test recoverability
  4. restart activation, it should be running in node B
  5. kill workers of node B, activation goes into workers-offline.
  6. Create a new activation, it should go into pending state with proper status message
  7. Restart the first activation in workers offline state, it should go into pending state with proper status message.
  8. (optional) relaunch some activation worker to test that both activations runs.

Replaces https://github.com/ansible/eda-server/pull/892 Fixes: https://issues.redhat.com/browse/AAP-23378 and https://issues.redhat.com/browse/AAP-22907

Alex-Izquierdo commented 3 months ago

@jshimkus-rh It was in WIP because it was not finished as it proves the CI fails. The description contains the details. It is ready now.