diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-06-09 11:28:08 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-06-09 16:02:22 -0500 |
commit | 4efa6f4d27f16b6b71775925cb801bad139d982e (patch) | |
tree | ae73c93679cfab2a968bac0b9a3277f7ae205c6c /docs/installation/oom.rst | |
parent | 09887c289b62dd744ebc9533a3e8b8044fe62d5d (diff) |
add release notes for database upgrade limitation
Issue-ID: POLICY-2624
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I37c70b53d6e8ddeff4646cf94c8f2d21773c6083
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'docs/installation/oom.rst')
-rw-r--r-- | docs/installation/oom.rst | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/docs/installation/oom.rst b/docs/installation/oom.rst index f40d33eb..9da56682 100644 --- a/docs/installation/oom.rst +++ b/docs/installation/oom.rst @@ -85,13 +85,29 @@ After undeploying policy, loop on monitoring the policy pods until they go away. kubectl get pods -n onap **Step 4** Delete NFS persisted data for Policy -Sudo to root if you logged in using another account such as ubuntu. .. code-block:: bash rm -fr /dockerdata-nfs/dev-policy -**Step 5** Re-Deploy Policy pods +**Step 5** Make sure there is no orphan policy database persistent volume or claim. + +First, find if there is an orphan database PV or PVC with the following commands: + +.. code-block:: bash + + kubectl get pvc -n onap | grep policy + kubectl get pv -n onap | grep policy + +If there are any orphan resources, delete them with + +.. code-block:: bash + + kubectl delete pvc <orphan-policy-mariadb-resource> + kubectl delete pv <orphan-policy-mariadb-resource> + +**Step 6** Re-Deploy Policy pods + After deploying policy, loop on monitoring the policy pods until they come up. .. code-block:: bash @@ -103,7 +119,9 @@ Restarting a faulty component ***************************** Each policy component can be restarted independently by issuing the following command: -kubectl delete pod <policy-pod> -n onap +.. code-block:: bash + + kubectl delete pod <policy-pod> -n onap Exposing ports ************** |