1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
============================
Enabling Vitrage in DevStack
============================
1. Download DevStack:
.. code:: bash
git clone https://opendev.org/openstack-dev/devstack.git
cd devstack
2. Add this repo as an external repository in ``local.conf`` file:
.. code:: bash
[[local|localrc]]
enable_plugin vitrage https://opendev.org/openstack/vitrage
3. Add this to add notification from nova to vitrage
.. code:: bash
[[post-config|$NOVA_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
[notifications]
versioned_notifications_topics = versioned_notifications,vitrage_notifications
notification_driver = messagingv2
notification_format = both
4. Add this to add notification from neutron to vitrage
(make sure neutron is enabled in devstack)
.. code:: bash
[[post-config|$NEUTRON_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
5. Add this to add notification from cinder to vitrage
.. code:: bash
[[post-config|$CINDER_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
6. Add this to add notification from heat to vitrage and change default policy
.. code:: bash
[[post-config|$HEAT_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
policy_file = /etc/heat/policy.yaml
7. Add this to add notification from aodh to vitrage
.. code:: bash
[[post-config|$AODH_CONF]]
[oslo_messaging_notifications]
driver = messagingv2
topics = notifications,vitrage_notifications
8. Run ``./stack.sh``
|