Merge "Nova: Disable virtlogd for Libvirt >1.3"
This commit is contained in:
commit
80cd608f3d
@ -96,3 +96,5 @@ data:
|
||||
{{ tuple "etc/_resolv.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
libvirtd.conf: |+
|
||||
{{ tuple "etc/_libvirtd.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
qemu.conf: |+
|
||||
{{ tuple "etc/_qemu.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
|
||||
|
@ -66,6 +66,10 @@ spec:
|
||||
mountPath: /etc/libvirt/libvirtd.conf
|
||||
subPath: libvirtd.conf
|
||||
readOnly: true
|
||||
- name: nova-etc
|
||||
mountPath: /etc/libvirt/qemu.conf
|
||||
subPath: qemu.conf
|
||||
readOnly: true
|
||||
- name: nova-etc
|
||||
mountPath: /etc/nova/nova.conf
|
||||
subPath: nova.conf
|
||||
|
28
nova/templates/etc/_qemu.conf.tpl
Normal file
28
nova/templates/etc/_qemu.conf.tpl
Normal file
@ -0,0 +1,28 @@
|
||||
# Copyright 2017 The Openstack-Helm Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# The backend to use for handling stdout/stderr output from
|
||||
# QEMU processes.
|
||||
#
|
||||
# 'file': QEMU writes directly to a plain file. This is the
|
||||
# historical default, but allows QEMU to inflict a
|
||||
# denial of service attack on the host by exhausting
|
||||
# filesystem space
|
||||
#
|
||||
# 'logd': QEMU writes to a pipe provided by virtlogd daemon.
|
||||
# This is the current default, providing protection
|
||||
# against denial of service by performing log file
|
||||
# rollover when a size limit is hit.
|
||||
#
|
||||
stdio_handler = "file"
|
@ -12,9 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
images:
|
||||
libvirt: quay.io/stackanetes/stackanetes-nova-libvirt:newton
|
||||
|
||||
conf:
|
||||
nova:
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user