St2: Mistral Deprecation Game Plan

Created on 8 Aug 2019  路  24Comments  路  Source: StackStorm/st2

Mistral deprecation in favor of new workflow engine Orquesta was communicated for quite a long time.
StackStorm v3.2 will be latest version to ship Mistral with full removal in st2 v3.3 per Roadmap.

There is a helper Mistral -> Orquesta conversion tool available:
https://github.com/EncoreTechnologies/orquestaconvert
Special thanks @nmaludy an EncoreTechnologies for the tool

The Plan: https://github.com/orgs/StackStorm/projects/16

@m4dcoder feel free to adjust the task list to make sure we don't forget any other places with mistral occurrences.

help wanted mistral

Most helpful comment

I'll start looking at the one-line installer changes.

All 24 comments

So, would it be a valid assumption that PostgreSQL would also be removed from v3.3?

@Deepika-Kamalla That's correct.

Thanks, Armab!! Is there any tentative timeline when v3.3 would be GA?

No timeline yet. This is something yet to be figured, considering recent LinuxFoundation transition.

I'll start looking at the one-line installer changes.

Just a quick note as I just noticed it while working on other PRs: We can also drop Postgres from the install docs as soon as Mistral is officially removed. Not sure if this is already clear and included in update docs.

I started to remove mistral from st2docs and started with the reference/ha.rst and referenced configuration sample (st2/conf/HA/st2.conf.sample & st2/conf/HA/nginx/st2.conf.blueprint.sample).

Who has access to edit the HA reference deployment image to remove PostgreSQL? https://docs.google.com/drawings/d/1X6u8BB9bnWkW8C81ERBvjIKRfo9mDos4XEKeDv6YiF0/edit

An update of the deployment overview is the only thing that's missing to be done with the ha.rst.

I'll proceed with the remaining reference sites tomorrow and provide a PR once I'm done.

I would suggest to create a MR per chapter so that we can share the work a bit. Otherwise I could also offer to take care of the whole docs but this probably takes some days until I'm completely done. Let me know if you have other ideas or prefer another approach.

@winem Sharing chapters sounds like a great approach. I don't know about the image updates, but if I get chance to start on some docs tomorrow - I'll let you know the chapter and I'll avoid the reference/... pages.

@winem I removed Mistral from both the HA deployment big picture and the deployment single box drawings. I did tweak the numbers, so you'll need to update the corresponding numbers where they appear in the documentation (I'm not sure where all they show up, or I would have done that myself).

Let me know if you can't view/export them and I'll export them for you (PNG or SVG?). And feel free to ping me if you need anything else removed or tweaked.

@winem I'll start on the install chapter - so far looks like all files in my PR will be in the install sub-directory except for upgrade-notes

@blag I can't access the files yet but requested the access permissions via Google. I guess you have a mail. I'll create a draft PR later today and start with the next chapter also this evening or latest tomorrow. Will let you know which one I choose next.

What is meant with Remove mistral from Deployments? I'm wondering if that's something where I can help.

@winem I believe it's all the different deployments, ie. its just a header for the checkboxes that are under it e.g. ansible etc. All are done except puppet, and I believe @nmaludy said he'd take care of that.

Here is the updated st2-deployment-big-picture:
st2-deployment-big-picture

And the updated deployment-single-box:
deployment-single-box

The Markdown to include them:

![st2-deployment-big-picture](https://user-images.githubusercontent.com/597113/90346098-fc7aeb00-dfda-11ea-95ad-12b95e1b17b8.png)
![deployment-single-box](https://user-images.githubusercontent.com/597113/90346101-00a70880-dfdb-11ea-9ad0-07752ad074ea.png)

But the docs are all written in RST, so you'll have to adapt it to that. I would suggest hotlinking to these images (eg: use these image URLs) rather than uploading them to GitHub a second time.

Let me know if you need anything else!

Nice one, thanks @blag!

Hi @blag, thanks for the updated diagrams!

Can you also update the st2-deployment-multi-node.png (source: https://docs.google.com/drawings/d/1_BJa9ZtBjFa1Dxx6cPiFlmpTS9AsNzkkvp_vuyVV3bw/edit)? That would be perfect and I would take care of the update in the docs then.

I updated the big-picture (see #1016) but could not find the single-box diagram anywhere in the docs. It would be great if a 2nd pair of eyes can confirm that I did not missed it and my grep-foo did not fail, too.

Now we need the st2-deployment-multi-node.png to be done with the diagrams.

I've identified another diagram that needs an update. The architecture_diagram.jpg which is also shown at https://docs.stackstorm.com/latest/overview.html still mentions mistral workflows, services and definitions. @blag do you have access to the sources?

I missed the multi-node deployment image. The (new) Google Drawing for that is here:
https://docs.google.com/drawings/d/11YAWFFMkEBw5VJGpMGNJCtT5IiiGsdrPJcH4jGaxeeo/edit

But here it is for your convenience:

StackStorm multi-node deployment without Mistral

Thanks @blag . PR to include that diagram is here https://github.com/StackStorm/st2docs/pull/1018. Just the architecture diagram remaining.

And here's the architecture diagram:

StackStorm Component Diagram

I'm in the process of trying to export this image to a more universal format (like SVG!), and/or to get the TSC a traditional OmniGraffle license for free or reduced cost.

Ok, I'll wait for an update before creating a PR. Is lucidchart an alternative? It's not really expensive, completely online and I have good experience with it. I'm not sure if everyone who needs / wants to change diagrams is a Mac user (as far as I saw Omnigraffle seems to be an iOS / MacOS only software).

5023 includes the new Mistral architecture image.

I believe mistral is fully removed from the codebase, diagrams, docs, ci/cd updated, repos archived and this issue could be closed.
Thanks @amanda11 for leading this work and others for help! :tada:

Was this page helpful?
0 / 5 - 0 ratings