40d5282eb7
This change is follow-up patch to refactor the modular-libvirt changes to address suggestions mentioned on the change [1]. [1] Ic0a13ab453ae8d3c1882b3719df295a2b0b510c5 Change-Id: I988fac14da2eecba625ea35f193fb9b32a4a8d42
162 lines
5.0 KiB
YAML
162 lines
5.0 KiB
YAML
heat_template_version: wallaby
|
|
|
|
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.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
LibvirtVirtlogdLogLevel:
|
|
default: 3
|
|
description: Defines log level in virtlogd to filter log output.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
LibvirtVirtsecretdLogLevel:
|
|
default: 3
|
|
description: Defines log level in virtsecretd to filter log output.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
LibvirtVirtnodedevdLogLevel:
|
|
default: 3
|
|
description: Defines log level in virtnodedevd to filter log output.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
LibvirtVirtqemudLogLevel:
|
|
default: 3
|
|
description: Defines log level in virtqemud to filter log output.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
LibvirtVirtproxydLogLevel:
|
|
default: 3
|
|
description: Defines log level in virtproxyd to filter log output.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
LibvirtVirtstoragedLogLevel:
|
|
default: 3
|
|
description: Defines log level in virtstoraged to filter log output.
|
|
See https://libvirt.org/logging.html to find its detail.
|
|
type: number
|
|
constraints:
|
|
- range: { min: 1, max: 4 }
|
|
|
|
outputs:
|
|
config_settings:
|
|
description: Extra hieradata needed to log to stdout.
|
|
value:
|
|
nova::compute::libvirt::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtLogLevel}
|
|
nova::compute::libvirt::virtlogd::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtVirtlogdLogLevel}
|
|
nova::compute::libvirt::virtsecretd::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtVirtsecretdLogLevel}
|
|
nova::compute::libvirt::virtnodedevd::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtVirtnodedevdLogLevel}
|
|
nova::compute::libvirt::virtqemud::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtVirtqemudLogLevel}
|
|
nova::compute::libvirt::virtproxyd::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtVirtproxydLogLevel}
|
|
nova::compute::libvirt::virtstoraged::log_outputs:
|
|
str_replace:
|
|
template:
|
|
'LEVEL:stderr'
|
|
params:
|
|
LEVEL:
|
|
if:
|
|
- or:
|
|
- {get_param: Debug }
|
|
- {get_param: LibvirtDebug }
|
|
- 1
|
|
- {get_param: LibvirtVirtstoragedLogLevel}
|
|
docker_config:
|
|
description: Extra containers needed for logging to stdout or a sidecar container.
|
|
value: null
|
|
volumes:
|
|
description: The volumes needed to log to stdout or a sidecar container.
|
|
value: null
|
|
host_prep_tasks:
|
|
description: Extra ansible tasks needed for logging to stdout or a sidecar container.
|
|
value: null
|