Hello,
Did anyone try to deploy Stackstorm HA on Virtual Linux directly? I try to search in this forum, but it
look like few people have the same problem as me.
Anyway, I have Stackstorm HA deploy on 3 Oracle Linux 8. But I’m facing many Duplicated
Actions
issue:
- First, I’m facing duplicated st2timersengine.
According to High Availability Deployment — StackStorm 3.5.0 documentation,
[timer]
enable = False
I set 2 false and 1 true on 3 vms, but it don’t work for me, very strange.
Anyway I solve this issue by using keeplived, As mentioned as external monitoring
- Now, I find that multiple PollingSensor also cause duplicated actions
There are 3 same rule/sensor of cause(each Stackstorm has one st2rulesengine/st2sensorcontainer), because they load the same pack.
Obviously, 3 sensor polling the same system, get 3 same result and generate 3 same payloads, and then trigger 3 same actions.
But I can’t kill 2 of them like st2timersengine, becasue external webhook send requset to upper Nginx, and nginx transfer the request to one of 3 stackstorm. They will cause webhook out of work.
What should I do?
Otherwise, I have to use timer action instead of PollingSensor.