Merge "Nova: Disable virtlogd for Libvirt >1.3"

This commit is contained in:
Jenkins 2017-05-24 13:06:09 +00:00 committed by Gerrit Code Review
commit 80cd608f3d
4 changed files with 34 additions and 3 deletions

View File

@ -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 }}

View File

@ -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

View 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"

View 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: