openstack-ansible-os_nova/vars/debian.yml
Dmitriy Rabotyagov a3c0edba56 Fix race-condition when libvirt starts unwillingly
libvirtd.socket does monitor libvirtd.service and trigger service restart
when it spot that service is down.

However in order to enable tcp and tls sockets, we need libvirt
to be stopped.

Currently race condition can happen, when we stop libvirt, but it's
started by socket before we enable tls one.

To overcome this we stop socket along with service.

Change-Id: Iacc093311036fb8d6559a0e32252579303a639ba
2022-02-10 14:23:44 +02:00

102 lines
2.0 KiB
YAML

---
# Copyright 2014, Rackspace US, Inc.
#
# 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.
## APT Cache options
cache_timeout: 600
libvirt_group: libvirt
libvirt_service_name:
- libvirtd.socket
- libvirtd.service
# Common apt packages
nova_distro_packages:
- git
- iptables
- libxml2
nova_devel_distro_packages:
- libsystemd-dev
- libxml2-dev
nova_service_distro_packages:
- python3-nova
- python3-memcache
- python3-systemd
nova_service_extra_distro_packages:
kvm:
- nova-compute-kvm
novnc:
- novnc
nova_api:
- uwsgi
- uwsgi-plugin-python3
spice:
- spice-html5
serialconsole:
- openstack-nova-serialproxy
nova_compute_packages:
- dosfstools
- genisoimage
- kpartx
- multipath-tools
- netcat-openbsd
- nfs-common
- open-iscsi
- python3-guestfs
- sysfsutils
nova_compute_barbican_distro_packages:
- cryptsetup
nova_compute_oslomsg_amqp1_distro_packages:
- libssl-dev
- libsasl2-modules
- sasl2-bin
nova_compute_kvm_distro_packages:
- libvirt-daemon
- libvirt-daemon-system
- ovmf
- python3-libvirt
- qemu
- qemu-efi
- qemu-utils
- qemu-user
- qemu-block-extra
- qemu-system
- "{{ (ansible_facts['architecture'] == 'x86_64') | ternary('qemu-system-x86', 'qemu-system-arm') }}"
- qemu-system-misc
nova_compute_kvm_packages_to_symlink:
- python3-libvirt
- python3-guestfs
nova_compute_ksm_packages:
- ksmtuned
nova_backports_packages:
- qemu*
- liburing1
- libfdt1
- libpmem1
- libslirp0
- libdaxctl1
- libndctl6
- libudev1
- libcapstone4