
Tempest's service_available config option includes all the service availability which is further used by tests to take decision of skip or run the test. For example, [service_available].aodh is true then, aodh test will run or if [service_available].aodh is false then, all aodh related tests either in telemetry tempest plugin or any other plugins will be skipped. This commit add the setting of aodh service[1] on aodh devstack plugin. Closes-Bug: #1743688 [1] https://github.com/openstack/telemetry-tempest-plugin/blob/master/telemetry_tempest_plugin/config.py#L27 Change-Id: Idac9f38aac6964ce4d40b6afccbd9dfbf6e16a41
Enabling Aodh in DevStack
Download DevStack:
git clone https://git.openstack.org/openstack-dev/devstack.git cd devstack
Add this repo as an external repository in
local.conf
file:[[local|localrc]] enable_plugin aodh https://git.openstack.org/openstack/aodh
To use stable branches, make sure devstack is on that branch, and specify the branch name to enable_plugin, for example:
enable_plugin aodh https://git.openstack.org/openstack/aodh stable/mitaka
There are some options, such as AODH_BACKEND, defined in
aodh/devstack/settings
, they can be used to configure the installation of Aodh. If you don't want to use their default value, you can set a new one inlocal.conf
.Run
stack.sh
.