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
- First, I’m facing duplicated st2timersengine.
[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
- 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.