Skip to content

Commit

Permalink
Replace linters test with integarted one
Browse files Browse the repository at this point in the history
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.

Change-Id: Ia1e4677d7e09bd74d57e9b48f606ddc1febf135a
  • Loading branch information
Dmitriy Rabotyagov authored and Dmitriy Rabotyagov committed May 25, 2021
1 parent 2bf1293 commit e1e0783
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions tasks/drivers/kvm/nova_compute_kvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,25 @@
- nova-kvm
- nova-libvirt

# NOTE(noonedeadpunk): Workaround RHEL bug with edk2-ovmf until they got it released upstream
# Issue has been reproduced with edk2-ovmf-20200602gitca407c7246bf-5.el8.noarch.rpm
# https://bugzilla.redhat.com/show_bug.cgi?id=1961562#c16
- name: Disable new UEFI firmware
when:
- ansible_facts['os_family'] | lower == 'redhat'
- ansible_facts['distribution_version'] is version('8.3', '<')
block:
- name: Create qemu firmware directory
file:
path: /etc/qemu/firmware
state: directory
recurse: true

- name: Create empty edk2-ovmf config
file:
path: /etc/qemu/firmware/50-edk2-ovmf-cc.json
state: touch

- name: Set qemu-kvm KSM config (Ubuntu)
lineinfile:
dest: "/etc/default/qemu-kvm"
Expand Down
2 changes: 1 addition & 1 deletion zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- project:
templates:
- check-requirements
- openstack-ansible-linters
- openstack-ansible-linters-jobs
- openstack-ansible-deploy-aio_metal-jobs
- openstack-ansible-deploy-aio_distro_metal-jobs
- publish-openstack-docs-pti
Expand Down

0 comments on commit e1e0783

Please sign in to comment.