From 5eb947bdf6786e0d66ad6d7117297978f1246ceb Mon Sep 17 00:00:00 2001 From: amanda Date: Thu, 17 Jun 2021 17:11:06 +0100 Subject: [PATCH 1/3] Remove EWC reference --- docs/source/install/common/verify.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/install/common/verify.rst b/docs/source/install/common/verify.rst index 546235680..83fcdc9bf 100644 --- a/docs/source/install/common/verify.rst +++ b/docs/source/install/common/verify.rst @@ -31,5 +31,5 @@ At this point you have a minimal working installation, and can happily play with :doc:`/start` tutorial, :ref:`deploy the examples `, explore and install packs from `StackStorm Exchange `__. -But there is no joy without a Web UI, no security without SSL or authentication, no fun without -ChatOps, and no money without |ewc|. Read on! +But there is no joy without a Web UI, no security without SSL or authentication, and no fun without +ChatOps. Read on! From 25e699e913b8185c9acd73c7ae6f0a209e115440 Mon Sep 17 00:00:00 2001 From: amanda Date: Thu, 17 Jun 2021 17:28:51 +0100 Subject: [PATCH 2/3] Reword as uniqueness is on keys not just parameters --- docs/source/upgrade_notes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/upgrade_notes.rst b/docs/source/upgrade_notes.rst index 025ec0c95..7913488af 100644 --- a/docs/source/upgrade_notes.rst +++ b/docs/source/upgrade_notes.rst @@ -16,9 +16,9 @@ Upgrade Notes Upgrade requires coordination service to be setup manually. For workflows to be executed properly, setup the coordination service accordingly. -* Validation of action definitions are stricter. If an action definition has duplicate parameters, |st2| +* Validation of action definitions are stricter. If an action definition has duplicate keys, |st2| will complain when ``st2ctl reload`` is performed at upgrade. Action/workflow definitions should be checked - for duplicate parameters before upgrade. + for duplicate keys before upgrade. * The underlying database field type for storing large values such as action execution result has changed for various database models (ActionExecutionDB, LiveActionDB, WorkflowExecutionDB, From c5f2c0df95de5676eb7e37ad65289dab7d629205 Mon Sep 17 00:00:00 2001 From: amanda Date: Thu, 17 Jun 2021 21:10:10 +0100 Subject: [PATCH 3/3] Add call to validate-pack if reload fails --- docs/source/install/upgrades.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/source/install/upgrades.rst b/docs/source/install/upgrades.rst index 29889ba12..ce8512b53 100644 --- a/docs/source/install/upgrades.rst +++ b/docs/source/install/upgrades.rst @@ -212,6 +212,13 @@ v3.5 manually. For workflows to be executed properly, setup the coordination service accordingly. See :doc:`../coordination` for setup instructions. +* If the ``st2ctl reload`` fails indicating problems with the packs due to duplicate keys, then the following command can be run to find all errors on the affected packs: + + .. sourcecode:: bash + + /opt/stackstorm/st2/bin/st2-validate-pack -p + + v3.4 ''''