StackStorm / community

Async conversation about ideas, planning, roadmap, issues, RFCs, etc around StackStorm
https://stackstorm.com/
Apache License 2.0
8 stars 3 forks source link

Graceful Pack Upgrades #15

Open LindsayHill opened 6 years ago

LindsayHill commented 6 years ago

Several $$ customers have been asking about how to gracefully handle rolling out upgrades to workflows and actions. We have some of the pieces in place with content_version, but this doesn't handle things like rolling out a new version of an Orquesta workflow.

Customer concerns include:

We need to: (A) Provide guidance to customers about current behavior when actions and workflows are updated (B) Provide guidance about how best to safely roll out updates (C) Review the above, and see if we need to make improvements - e.g. put the system in some sort of 'graceful drain' mode, where currently executing workflows are finished, but no new workflows can begin. Once existing workflows have finished, load new workflows, then start accepting jobs again.

We should document (A) & (B) first, so we can plan our next moves.

arm4b commented 6 years ago

I'd suggest to document Blue/Green deployments at a high level, - it's something that @bigmstone did for our st2cicd.

It provides more production-level benefits like possibility to revert to old deployment if something went wrong with new st2. However it brings more burden to Ops team who manages this deployment.

Of course it's best to implement something in st2 core for pack upgrades which is a good thing, but here is ^^ at least something.

warrenvw commented 6 years ago

Reference: https://github.com/StackStorm/st2enterprise-dockerfiles/issues/3