Commit Graph

16 Commits

Author SHA1 Message Date
ZhongShengping
6390054934 Add log_file parameter
Change-Id: Ib4c8bc9d75317c742ee845db889ce5cd07041144
Closes-Bug: #1819417
2019-03-12 11:06:20 +08:00
ZhongShengping
6ae2ec65fa Cleanup documentation
Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.

Change-Id: I7eb7513cd41eb3b1af77865574db0be42dcd2684
2018-12-13 17:11:00 +08:00
Tobias Urdin
d8f602d631 Remove deprecated logging
The logging should be set in the logging class.

Change-Id: Ibf2d5ee85913aa45c5e47ec8d713f7d252c9c6b3
2018-12-01 15:59:50 +01:00
ZhongShengping
60e55b7255 Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: I3289fae9f08607767f7cf2be78a4f6eac512f963
2018-01-15 15:22:11 +08:00
Juan Antonio Osorio Robles
a4e2b53a70 Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: I2b5c6ac36e7c4fb37dbd69f7386c9ac9a99956c2
2017-11-27 12:47:10 +00:00
Juan Antonio Osorio Robles
bc93062962 Accept empty strings for log_dir
An empty string is an acceptable value of this entry, and it forces
logging to stdout/stderr, which is useful when running on containers.

Change-Id: I79d3df78d6c78dc767625d11c6c6e29192192da3
2017-10-10 08:04:39 +03:00
ZhongShengping
cb865e6e5b Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: Ibc184a50cf16b7048e0f7249f8894d8661bb76fe
2016-11-28 13:13:17 +08:00
Iury Gregory Melo Ferreira
40cb6417e0 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: Ic17e045b50e2bfe0011f111b04221e3eca8d81c5
2016-09-27 19:30:21 -03:00
Denis Egorenko
0a31dca459 Revert "Deprecate use_syslog"
This option is not deprecated and still actual.

This reverts commit f43e907fa8.

Change-Id: I9e9e0d303dc7516f66013673a0ba960705a3f115
2016-05-31 13:41:44 +00:00
Iury Gregory Melo Ferreira
f43e907fa8 Deprecate use_syslog
[DEFAULT/use_syslog] was deprecated in Mitaka [1]
init.pp logging.pp- deprecate use_syslog, add warning, remove reference
tests - remove use_syslog and [DEFAULT/use_syslog] verification.

[1]
http://docs.openstack.org/mitaka/config-reference/tables/conf-changes/aodh.html

Depends-On: I6ac357295744b4d0cd54f52998f66f138807cfed
Change-Id: Ied554943b8bdca0b2f2728bcc62160cb2aa99909
2016-05-25 01:26:40 +00:00
ZhongShengping
b58adfcc3c Deprecate verbose option
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.

If this option is not set explicitly, there is no such warning.

Change-Id: I03b278415861f58ffee810244b6eeabfa2e2127c
2016-05-18 22:32:50 +08:00
Emilien Macchi
e5eae81e30 Remove Qpid support
Qpid support was removed in OpenStack/Mitaka, but deprecated in
puppet-aodh. It's now totally removed in Newton.

Change-Id: Ic78193899d3483b6e28d7701091bb016a592a72b
2016-04-17 14:42:22 -04:00
Denis Egorenko
4b22b9b289 Update AODH for using puppet-oslo
This commit switches using of oslo options to a puppet-oslo module:
* oslo messaging notifications;
* oslo messaging rabbitmq;
* oslo log;
* oslo db;

Change-Id: I6a989915df2529febaf980ddedc11f699d49147e
2016-04-12 19:44:07 +03:00
Gael Chamoulaud
86d3e7e214 Switch aodh to use os_service_default fact
This change switches the aodh module to use the os_service_default
fact for configuration options that default to '<SERVICE DEFAULT>'.

Related-bug: #1515273
Change-Id: I05488c8bdcb5f54976a17aa25bf8a3b9d46627bb
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-12-08 10:31:29 +01:00
Emilien Macchi
5a2607a7d1 Update aodh::logging
Synchronize logging class with other modules.

Change-Id: I4b13bf8de4cf51ab64ef6e9fd92732e1a5023bcf
2015-10-21 09:57:44 -04:00
Emilien Macchi
ca85542cc2 puppet-aodh: Initial commit
This is the initial commit for puppet-aodh.
It has been automatically generated using cookiecutter[1] and msync[2]

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: I17611e8608931cf69b8d9891620e901a8936e19e
2015-10-01 09:35:49 -04:00