Nova: Disable virtlogd for Libvirt >1.3

This PS disables virtlogd for running libvirt >1.3

See: https://bugzilla.redhat.com/show_bug.cgi?id=1290357

Closes-Bug: 1686069

Change-Id: I27ab690ef41e99e23a57f42b0695b1becb101e69
This commit is contained in:
Pete Birley 2017-05-23 20:39:28 -05:00
parent 283e934091
commit 5c9d0f9562
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 }} {{ tuple "etc/_resolv.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
libvirtd.conf: |+ libvirtd.conf: |+
{{ tuple "etc/_libvirtd.conf.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ 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 mountPath: /etc/libvirt/libvirtd.conf
subPath: libvirtd.conf subPath: libvirtd.conf
readOnly: true readOnly: true
- name: nova-etc
mountPath: /etc/libvirt/qemu.conf
subPath: qemu.conf
readOnly: true
- name: nova-etc - name: nova-etc
mountPath: /etc/nova/nova.conf mountPath: /etc/nova/nova.conf
subPath: 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 # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
images:
libvirt: quay.io/stackanetes/stackanetes-nova-libvirt:newton
conf: conf:
nova: nova:
default: default: