a3c0edba56
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
87 lines
2.0 KiB
YAML
87 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.
|
|
|
|
nova_qemu_user: qemu
|
|
nova_qemu_group: qemu
|
|
libvirt_group: libvirt
|
|
libvirt_service_name:
|
|
- libvirtd.socket
|
|
- libvirtd.service
|
|
|
|
# Common yum packages
|
|
nova_distro_packages:
|
|
- git
|
|
- iptables
|
|
- libxml2
|
|
|
|
nova_devel_distro_packages:
|
|
- libxml2-devel
|
|
- systemd-devel
|
|
|
|
nova_service_distro_packages:
|
|
- openstack-nova-api
|
|
- openstack-nova-conductor
|
|
- openstack-nova-scheduler
|
|
- python3-memcached
|
|
- python3-PyMySQL
|
|
- python3-systemd
|
|
|
|
nova_service_extra_distro_packages:
|
|
kvm:
|
|
- openstack-nova-compute
|
|
- openstack-nova-migration
|
|
novnc:
|
|
- openstack-nova-novncproxy
|
|
spice:
|
|
- openstack-nova-spicehtml5proxy
|
|
serialconsole:
|
|
- openstack-nova-serialproxy
|
|
|
|
nova_compute_packages:
|
|
- dosfstools
|
|
- xorriso
|
|
- kpartx
|
|
- nc
|
|
- python3-libguestfs
|
|
- sysfsutils
|
|
|
|
nova_compute_barbican_distro_packages:
|
|
- cryptsetup
|
|
|
|
nova_compute_kvm_distro_packages:
|
|
- libvirt-daemon-kvm
|
|
- qemu-kvm
|
|
- libvirt-client
|
|
- python3-libvirt
|
|
- nfs-utils
|
|
- python3-libguestfs
|
|
- qemu-img
|
|
- "{{ (ansible_facts['architecture'] == 'aarch64') | ternary('AAVMF', 'OVMF') }}"
|
|
|
|
nova_compute_kvm_packages_to_symlink:
|
|
- python3-libvirt
|
|
- python3-libguestfs
|
|
|
|
nova_compute_kvm_pip_packages:
|
|
- http://download.libguestfs.org/python/guestfs-1.40.2.tar.gz
|
|
- libvirt-python==6.6.0
|
|
|
|
nova_compute_ksm_packages:
|
|
- ksmtuned
|
|
|
|
nova_compute_oslomsg_amqp1_distro_packages:
|
|
- cyrus-sasl-plain
|
|
- cyrus-sasl-md5
|