|
|
|
@ -4,6 +4,14 @@ description: >
|
|
|
|
|
OpenStack containerized Nova libvirt service |
|
|
|
|
|
|
|
|
|
parameters: |
|
|
|
|
Debug: |
|
|
|
|
type: boolean |
|
|
|
|
default: false |
|
|
|
|
description: Set to True to enable debugging on all services. |
|
|
|
|
LibvirtDebug: |
|
|
|
|
type: boolean |
|
|
|
|
default: false |
|
|
|
|
description: Set to True to enable debugging libvirt services. |
|
|
|
|
LibvirtLogLevel: |
|
|
|
|
default: 3 |
|
|
|
|
description: Defines log level in libvirt to filter log output. |
|
|
|
@ -24,17 +32,19 @@ outputs:
|
|
|
|
|
description: Extra hieradata needed to log to files in the host. |
|
|
|
|
value: |
|
|
|
|
nova::compute::libvirt::log_outputs: |
|
|
|
|
str_replace: |
|
|
|
|
template: |
|
|
|
|
'LEVEL:file:/var/log/libvirt/libvirtd.log' |
|
|
|
|
params: |
|
|
|
|
LEVEL: {get_param: LibvirtLogLevel} |
|
|
|
|
if: |
|
|
|
|
- or: |
|
|
|
|
- {get_param: Debug } |
|
|
|
|
- {get_param: LibvirtDebug } |
|
|
|
|
- 1 |
|
|
|
|
- {get_param: LibvirtLogLevel} |
|
|
|
|
nova::compute::libvirt::virtlogd::log_outputs: |
|
|
|
|
str_replace: |
|
|
|
|
template: |
|
|
|
|
'LEVEL:file:/var/log/libvirt/virtlogd.log' |
|
|
|
|
params: |
|
|
|
|
LEVEL: {get_param: LibvirtVirtlogdLogLevel} |
|
|
|
|
if: |
|
|
|
|
- or: |
|
|
|
|
- {get_param: Debug } |
|
|
|
|
- {get_param: LibvirtDebug } |
|
|
|
|
- 1 |
|
|
|
|
- {get_param: LibvirtVirtlogdLogLevel} |
|
|
|
|
volumes: |
|
|
|
|
description: The volumes needed to log to files in the host. |
|
|
|
|
value: |
|
|
|
|