85c207fe52
This option is used for aodh-api when AODH_DEPLOY=werkzeug, and create a dedicate directory for aodh-api log. However, there is no such need, because for such case, aodh-api is just a normal process like aodh-evaluator. We should let oslo.log decide where to store the log, image that user configures a path and we override in installation process, then he needs to hack into screenrc to adjust the path, it is not friendly. Here I propose to put the api log files in same directory as aodh-evaluator, by default, it will be /opt/stack/logs. Change-Id: If758cb7ddcc0087ed495721eeccf4723900e2ef3 |
||
---|---|---|
.. | ||
gate | ||
apache-aodh.template | ||
plugin.sh | ||
README.rst | ||
settings |
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
.