Skip to content

Killing action runner process should set running actions state to "abandoned" and not "failed" #3449

@lakshmi-kannan

Description

@lakshmi-kannan

In systemd hosts like U16 and EL7, running something like

st2 run core.local cmd="sleep 180; echo covfefe" timeout=300 -a; sleep 30; sudo systemctl stop st2actionrunner; sleep 10; st2 execution list

shows action status as ```failedand notabandoned``.

NOTE: This does not happen always. So I believe there is a race of some sort in U16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions