From cf04305b28008847c3fc785021cdf643effd824a Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Fri, 6 May 2022 19:26:52 -0500 Subject: [PATCH] Fix upgrade notes for v3.7 --- docs/source/install/upgrades.rst | 4 ++-- docs/source/upgrade_notes.rst | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/source/install/upgrades.rst b/docs/source/install/upgrades.rst index 0c69e9bc..c2721172 100644 --- a/docs/source/install/upgrades.rst +++ b/docs/source/install/upgrades.rst @@ -178,7 +178,7 @@ v3.7 .. sourcecode:: bash - sudo st2ctl reload --register-setup-recreate-virtualenvs + sudo st2ctl reload --register-recreate-virtualenvs * As ``_global`` is used for the global overrides file, if your |st2| uses a pack called _global then it will need to be renamed prior to upgrade. @@ -282,7 +282,7 @@ v3.4 .. sourcecode:: bash - sudo st2ctl reload --register-setup-recreate-virtualenvs + sudo st2ctl reload --register-recreate-virtualenvs v3.3 diff --git a/docs/source/upgrade_notes.rst b/docs/source/upgrade_notes.rst index 04dcd8dc..8b03f491 100644 --- a/docs/source/upgrade_notes.rst +++ b/docs/source/upgrade_notes.rst @@ -8,6 +8,15 @@ Upgrade Notes |st2| v3.7 ---------- +* *RockyLinux/RHEL/CentOS 8 only*. Due to the upgrade from python3.6 to python 3.8, all + packs installed prior to upgrade will need to have their virtual environment re-created + after upgrading |st2| packages (on all nodes which run st2actionrunner or st2sensorcontainer + services), using the following command: + + .. sourcecode:: bash + + sudo st2ctl reload --register-recreate-virtualenvs + * API will now set ``Secure`` and ``Samesite=lax`` cookie attribute for the auth cookie which is set when authenticating via auth token / API key in query parameter (this approach is primarily used by st2web).