vitrage/devstack
Eyal 34cef2f4e1 Don't install uwsgi in vitrage
* It is installed in stack.sh
* get the path to uwsgi executable from which command
it is not necessarily installed in /usr/local/bin

Depends-On: https://review.opendev.org/#/c/735592/
Change-Id: I126e210b8028bb2e63d85143f97fd24994879d69
2020-06-15 16:51:19 +03:00
..
upgrade use by default uwsgi on devstack 2018-12-19 13:05:13 +02:00
apache-vitrage.template Adjust Vitrage api to support Prometheus datasource 2018-07-31 08:32:12 +00:00
devstackgaterc use a rc file for defining tempest version 2019-04-03 21:32:05 +03:00
gate_hook_mock.sh Replace git.openstack.org with opendev.org 2019-11-19 16:01:28 +08:00
gate_hook.sh Replace git.openstack.org with opendev.org 2019-11-19 16:01:28 +08:00
override-defaults use the NOVA_NOTIFICATION_FORMAT for notification format 2019-07-22 17:05:35 +03:00
plugin.sh Don't install uwsgi in vitrage 2020-06-15 16:51:19 +03:00
README.rst Replace git.openstack.org with opendev.org 2019-11-19 16:01:28 +08:00
settings Use SERVICE_PROTOCOL variable in the devstack plugin 2020-03-31 22:56:14 +03:00

Enabling Vitrage in DevStack

  1. Download DevStack:
git clone https://opendev.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://opendev.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