832522c292
Changed the behavior of the Nova instance datasource to use by default the versioned notifications. Change-Id: Ife5c78c6568939f919174b5072fd70f461de0bd1 Story: 2004052 Task: 28501
70 lines
1.6 KiB
ReStructuredText
70 lines
1.6 KiB
ReStructuredText
============================
|
|
Enabling Vitrage in DevStack
|
|
============================
|
|
|
|
1. Download DevStack:
|
|
|
|
.. code:: bash
|
|
|
|
git clone https://git.openstack.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://git.openstack.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
|
|
|
|
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
|
|
|
|
.. code:: bash
|
|
|
|
[[post-config|$HEAT_CONF]]
|
|
[DEFAULT]
|
|
notification_topics = notifications,vitrage_notifications
|
|
notification_driver=messagingv2
|
|
|
|
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``
|