Merge "DOC: Add instructions for configuring rabbitmq credentials"
This commit is contained in:
@@ -467,7 +467,51 @@ resulting from running the v1 and v2 API pods at the same time.
|
|||||||
|
|
||||||
.. code-block:: none
|
.. 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``.
|
#. 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
|
~(keystone_admin)]$ system application-apply ptp-notification
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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``
|
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``.
|
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::
|
.. parsed-literal::
|
||||||
|
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user