
When Nova and/or Cinder are using Ceph as backend, qemu will need to open a connection and two threads for each and every Ceph OSD. Since all connections occur in the same qemu process, this may result in hitting default max open files limit. Thus in case of more then 10 volumes are attached to the same instance and are used actively can end up in blocked IO operations inside VMs. We increase these limits by default when RBD backend is used. Change-Id: Ib3081280cdbae1eb2235083c95c27e2efd0b413e
22 lines
546 B
Django/Jinja
22 lines
546 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% if nova_network_type == 'calico' %}
|
|
# Calico specific qemu settings
|
|
# Information available at:
|
|
# http://docs.projectcalico.org/en/latest/ubuntu-opens-install.html
|
|
clear_emulator_capabilities = 0
|
|
user = "root"
|
|
group = "root"
|
|
cgroup_device_acl = [
|
|
"/dev/null", "/dev/full", "/dev/zero",
|
|
"/dev/random", "/dev/urandom",
|
|
"/dev/ptmx", "/dev/kvm", "/dev/kqemu",
|
|
"/dev/rtc", "/dev/hpet", "/dev/net/tun",
|
|
]
|
|
{% endif %}
|
|
|
|
|
|
{% for key, value in _nova_qemu_conf.items() %}
|
|
{{ key }} = {{ value }}
|
|
{% endfor %}
|