Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-17257

Action Plans status is wrongly reported when Actions fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhos-18.0.10 FR 3
    • rhos-18.0 FR 2 (Mar 2025)
    • openstack-watcher
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • openstack-watcher-10.0.1-18.0.20250609094712.c014f81.el9ost
    • rhos-workloads-evolution
    • None
    • Hide
      .Fix for RHOSO Watcher `Action Plans` status

      This update fixes an issue where RHOSO Watcher did not correctly report the state of `Action Plans` after all `Actions` finished, for example reporting `SUCCESS` if some `Actions` actually finished with a state of `FAILED`.
      Show
      .Fix for RHOSO Watcher `Action Plans` status This update fixes an issue where RHOSO Watcher did not correctly report the state of `Action Plans` after all `Actions` finished, for example reporting `SUCCESS` if some `Actions` actually finished with a state of `FAILED`.
    • Bug Fix
    • Done
    • Workload Evolution Sprint 4, Workload Evolution Sprint 5
    • 2
    • Important

      When one or more of the Actions included in an Action Plan finishes with FAILED status, the Action Plan still reports SUCCEEDED status.

      According to the documentation https://docs.openstack.org/watcher/latest/architecture.html#state-machine-diagrams SUCCEDED means that "the Action Plan has been executed successfully (i.e. all Actions that it contains have been executed successfully)" so in those cases de Action Plan should be reported as FAILED.

      To Reproduce Steps to reproduce the behavior:

      1. Create an audit with a parameter that forces action failure, i.e. unexisting compute node as backup host in the host_maintenance strategy.
      2. Run de audit
      3. Start the action plan
      4. The action fails
      5. The action plan is marked as SUCCEEDED

      Expected behavior

      • The action plan should be marked as FAILED

      Bug impact

      • User will not see the real action plan result when an action fails.

      Known workaround

      • User can check the status of each action in an action plan manually using openstack cli or horizon watcher dashboard.

              amoralej1@redhat.com Alfredo Moralejo Alonso
              amoralej1@redhat.com Alfredo Moralejo Alonso
              David Sanz Moreno David Sanz Moreno
              rhos-workloads-evolution
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: