tripleo-quickstart-extras/roles/set-libvirt-type
Rafael Folco 416d1d1d78 Fix libvirt_type kvm for overcloud deploy
Apparently after merging https://review.openstack.org/#/c/584380
we got a consistent failure in the 3node and scn008 jobs:

invalid argument: could not find capabilities for domaintype=kvm

Try to enable kvm nested virtualization and switch back to default
qemu full emulation if kvm-{intel|amd} module cannot be loaded.

In addition, remove the current logic behind ansible_distribution
== 'RedHat' to enable kvm as this condition must run on overcloud
and also depends on cpu capabilities.

Change-Id: Iaa936facc5148ee6ff136db1524584785588c01e
Closes-Bug: #1784017
2018-08-09 06:49:57 +00:00
..
tasks Fix libvirt_type kvm for overcloud deploy 2018-08-09 06:49:57 +00:00
README.md Fix libvirt_type kvm for overcloud deploy 2018-08-09 06:49:57 +00:00

set-libvirt-type

Set Libvirt type for overcloud deploy. This Ansible role allows provisioning overcloud with nested kvm or qemu full virtualization mode based on cpu and OS capabilities.

Requirements

No requirements.

Role Variables

No variables.

Dependencies

No dependencies.

Example Playbook

Including an example of how to use this role

---
- name:  Set Libvirt type
  hosts: overcloud
  roles:
    - set-libvirt-type
  tags:
    - overcloud-deploy

License

Apache 2.0

Author Information

OpenStack