From 8765926218424968771e26e4cd90ef7005d152bf Mon Sep 17 00:00:00 2001 From: Stephen J Smoogen Date: May 26 2020 14:41:08 +0000 Subject: Merge #167 `Update MTS SOP` --- diff --git a/docs/sysadmin-guide/sops/message-tagging-service.rst b/docs/sysadmin-guide/sops/message-tagging-service.rst index 3ace5a6..fba254a 100644 --- a/docs/sysadmin-guide/sops/message-tagging-service.rst +++ b/docs/sysadmin-guide/sops/message-tagging-service.rst @@ -50,13 +50,19 @@ run:: oc project mts oc status -v - oc logs -f dc/message-tagging-service + oc logs -f dc/mts Database ======== MTS does not use database. +Configuration +============= + +Please do remember to increase ``MTS_CONFIG_VERSION`` so that Openshift creates +a new pod after running the playbook. + Deployment ========== @@ -68,7 +74,7 @@ Stage ----- MTS docker image is built automatically and pushed to upstream quay.io. By -default, tag ``latest`` is applied to a fresh image. Tag ``stage`` is applied +default, tag ``latest`` is applied to a fresh image. Tag ``stg`` is applied to image, then run the playbook ``playbooks/openshift-apps/message-tagging-service.yml`` with environment ``staging``. @@ -82,11 +88,16 @@ run the playbook with environment ``prod``. Update Rules ============ -.. todo:: +`Rules file`_ is managed along side the playbook role in same repository. + +For detailed information of rules format, please refer to `documentation`_ under Modularity. + +.. _Rules file: https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/openshift-apps/message-tagging-service/files/mts-rules.yml +.. _documentation: https://pagure.io/modularity/blob/master/f/drafts/module-tagging-service/format.md Troubleshooting =============== In case of problems with MTS, check the logs:: - oc logs -f dc/message-tagging-service + oc logs -f dc/mts