StackStorm / StackStorm/st2

Upon st2ctl reload (or restart), disabled sensors and rules are reenabled.

Open
#3,016 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

Sensors can be disabled, but not deleted. Upon st2ctl reload (or restart), disabled sensors are reenabled

If you delete the sensor yaml/py from disk, and reload, it still exists (enabled) in the sensor list

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through the st2ctl reload and restart entry points: disable sensors or rules, and remove their sensor files from disk. Trace the reload behavior to determine why disabled or removed items remain enabled in the sensor list. Done means disabled items stay disabled and removed sensor definitions no longer remain after reload or restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.