Merge "DOC: Add instructions for configuring rabbitmq credentials"

This commit is contained in:
Zuul
2025-05-30 14:12:51 +00:00
committed by Gerrit Code Review
2 changed files with 52 additions and 3 deletions

View File

@@ -467,7 +467,51 @@ resulting from running the v1 and v2 API pods at the same time.
.. code-block:: none
~(keystone_admin)]$ system helm-override-update ptp-notification ptp-notification notification --values notification-override-2212.yaml
~(keystone_admin)]$ system helm-override-update ptp-notification ptp-notification notification --values notification-override.yaml
#. Apply ``ptp-notification``.
.. code-block:: none
~(keystone_admin)]$ system application-apply ptp-notification
-----------------------------------
Change default rabbitmq credentials
-----------------------------------
PTP Notification deploys two separate rabbitmq instances with a default username and password.
These values can be changed using the Helm overrides below:
.. rubric:: |proc|
#. Remove the application if it is currently installed
.. code-block:: none
~(keystone_admin)]$ system application-remove ptp-notification
#. Create an override file with these entries:
.. code-block:: none
cat <<EOF>> /home/sysadmin/notification-rabbitmq.yaml
registration:
endpoint:
port: 5672
user: <new username>
pass: <new password>
notification:
endpoint:
port: 5672
user: <new username>
pass: <new password>
EOF
#. Apply the Helm overrides
.. code-block:: none
~(keystone_admin)]$ system helm-override-update ptp-notification ptp-notification notification --values notification-rabbitmq.yaml
#. Apply ``ptp-notification``.
@@ -476,5 +520,3 @@ resulting from running the v1 and v2 API pods at the same time.
~(keystone_admin)]$ system application-apply ptp-notification

View File

@@ -72,6 +72,13 @@ configured to make API calls to the notificationclient-base container.
with ``ptp-notification`` v1 API, change the image from ``starlingx/notificationclient-base:stx.9.0-v2.1.1``
to ``starlingx/notificationclient-base:stx.5.0-v1.0.4``.
.. note::
If the rabbitmq username and password values were modified as per "Change
default rabbitmq credentials", then the values for REGISTRATION_USER,
REGISTRATION_PASS, NOTIFICATIONSERVICE_USER and NOTIFICATIONSERVICE_PASS below
need to be changed to match when integrating with ``ptp-notification``.
.. parsed-literal::
apiVersion: apps/v1