@@ -4,37 +4,37 @@ Upgrades
4
4
When new versions of |st2 | are released, they are published to our APT and Yum repositories. You
5
5
can use standard Linux package management tools to install these upgraded packages.
6
6
7
- Depending on the versions you are upgrading to and from, you may need to run additional data model
8
- :ref: `migration scripts<migration-scripts-to-run> `.
7
+ As part of the general upgrade procedure, you will need to run scripts to upgrade the Mistral Database prior
8
+ to restarting |st2 | services. See below for more details. Depending on the versions you are upgrading to and
9
+ from, you may need to run additional :ref: `migration scripts<migration-scripts-to-run> `.
9
10
10
11
If you skipped a version and are upgrading to a newer version, please make sure you also run the
11
12
migration scripts for skipped versions.
12
13
13
14
General Upgrade Procedure
14
15
-------------------------
15
16
16
- The typical ** upgrade ** procedure is :
17
+ This is the standard upgrade procedure:
17
18
18
19
1. Stop ``st2* `` services:
19
20
20
21
.. sourcecode :: bash
21
22
22
23
sudo st2ctl stop
23
24
24
- 2. Upgrade |st2 | packages (``st2 ``, ``st2web ``, ``st2chatops ``, ``st2mistral `` and
25
- ``bwc-enterprise `` using distro-specific tools:
25
+ 2. Upgrade |st2 | packages using distro-specific tools:
26
26
27
27
Ubuntu:
28
28
29
29
.. sourcecode :: bash
30
30
31
- sudo apt-get install --only-upgrade $PKG_NAME
31
+ sudo apt-get install --only-upgrade st2 st2web st2chatops st2mistral
32
32
33
- RHEL / CentOS:
33
+ RHEL/ CentOS:
34
34
35
35
.. sourcecode :: bash
36
36
37
- sudo yum update $PKG_NAME
37
+ sudo yum update st2 st2web st2chatops st2mistral
38
38
39
39
3. Upgrade Mistral database:
40
40
@@ -49,15 +49,6 @@ The typical **upgrade** procedure is:
49
49
restarted before the mistral-db-manage commands are run, then the
50
50
``mistral-db-manage upgrade head `` command may fail.
51
51
52
- .. note ::
53
-
54
- When running the ``populate `` command, if there are errors for
55
- ``mistral.actions.openstack.action_generator.base ``, these can be ignored. These indicate
56
- that the command encountered errors when registering the native OpenStack actions in
57
- Mistral. |st2 | does not support these native OpenStack actions. Please use the OpenStack
58
- pack from the StackStorm Exchange.
59
- https://github.com/StackStorm-Exchange/stackstorm-openstack
60
-
61
52
4. Run the migration scripts (if any). See below for version-specific migration scripts.
62
53
63
54
5. Start |st2 | services:
@@ -71,12 +62,13 @@ The typical **upgrade** procedure is:
71
62
Version-specific Migration Scripts
72
63
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73
64
74
- We document :ref: `upgrade notes<upgrade_notes> ` for the various versions. The upgrade notes
75
- section gives an idea of what major changes happened with each release. You may also want to take
76
- a look at the detailed :doc: `/changelog ` for each version.
65
+ We document :ref: `upgrade notes<upgrade_notes> ` for the various versions. The upgrade notes section gives
66
+ an idea of what major changes happened with each release. You may also want to take a look at the detailed
67
+ :doc: `/changelog ` for each version.
77
68
78
- The following sections call out the migration scripts that need to be run before upgrading to the
79
- respective version:
69
+ The following sections call out the migration scripts that need to be run when upgrading to the
70
+ respective version. If you are upgrading across multiple versions, make sure you run the scripts for
71
+ any skipped versions:
80
72
81
73
v2.5
82
74
'''''
0 commit comments