4e55695491
Vitrage can work also in a non openstack environment Don't install openstack stuff unless needed Change-Id: I635d8597c103dd19ae1afd5c7d672bec4f5ff83f |
||
---|---|---|
.. | ||
upgrade | ||
apache-vitrage.template | ||
devstackgaterc | ||
gate_hook_mock.sh | ||
gate_hook.sh | ||
override-defaults | ||
plugin.sh | ||
README.rst | ||
settings |
Enabling Vitrage in DevStack
- Download DevStack:
git clone https://opendev.org/openstack-dev/devstack.git
cd devstack
- Add this repo as an external repository in
local.conf
file:
[[local|localrc]]
enable_plugin vitrage https://opendev.org/openstack/vitrage
- 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
- 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
- Add this to add notification from cinder to vitrage
[[post-config|$CINDER_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver = messagingv2
- 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
- Add this to add notification from aodh to vitrage
[[post-config|$AODH_CONF]]
[oslo_messaging_notifications]
driver = messagingv2
topics = notifications,vitrage_notifications
- Run
./stack.sh