Ivan Kolodyazhny b6264f7102 Update Devstack plugin README
This patch updates Nova and Heat configuration instructions to
align how do we install Vitrage on gates and get everything working.

Change-Id: I67f81a0cbb6bcef72de4e85d1c8d2dce3e1e3bba
2019-06-06 16:32:24 +03:00
..
2018-12-19 13:05:13 +02:00
2019-05-15 08:47:08 +03:00
2019-06-06 16:32:24 +03:00
2019-05-15 08:47:08 +03:00

Enabling Vitrage in DevStack

  1. Download DevStack:
git clone https://git.openstack.org/openstack-dev/devstack.git
cd devstack
  1. Add this repo as an external repository in local.conf file:
[[local|localrc]]
enable_plugin vitrage https://git.openstack.org/openstack/vitrage
  1. Add this to add notification from nova to vitrage
[[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
  1. Add this to add notification from neutron to vitrage (make sure neutron is enabled in devstack)
[[post-config|$NEUTRON_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
  1. Add this to add notification from cinder to vitrage
[[post-config|$CINDER_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
  1. Add this to add notification from heat to vitrage and change default policy
[[post-config|$HEAT_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
policy_file = /etc/heat/policy.yaml
  1. Add this to add notification from aodh to vitrage
[[post-config|$AODH_CONF]]
[oslo_messaging_notifications]
driver = messagingv2
topics = notifications,vitrage_notifications
  1. Run ./stack.sh