Upon st2ctl reload (or restart), disabled sensors and rules are reenabled.
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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