Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Remove vfio-pci.conf module load file" into stable/train
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jan 27, 2021
2 parents 31e48ec + 1cda5af commit 4dab19f
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion deployment/neutron/neutron-ovs-dpdk-agent-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,28 @@ outputs:
- get_attr: [NeutronOvsAgent, role_data, deploy_steps_tasks]
- get_attr: [OpenvswitchDpdk, role_data, deploy_steps_tasks]
upgrade_tasks:
get_attr: [NeutronOvsAgent, role_data, upgrade_tasks]
list_concat:
- get_attr: [NeutronOvsAgent, role_data, upgrade_tasks]
-
- name: upgrade prepare for leapp to vfio-pci.conf
tags:
- never
- system_upgrade
- system_upgrade_prepare
when:
- step|int == 3
- upgrade_leapp_enabled
block:
# With an existing BZ #1898664 on dracut does not create ramfs with vfio_iommu_type1
# module, because which loading vfio-pci during the initramfs fails to load this
# module. Because of this dpdk ports are added in ERROR state. It requires a
# restart ovs to bring to normal state after ffu is complete. As a workaround,
# the module-load file vfio-pci.conf can be removed before upgrade, which will
# ensure that vfio-pci is not loaded during initramfs and it will be loaded
# when driverctl configures the vfio-pci driver to the interface.
- name: delete the vfio-pci.conf file before upgrade
file:
state: absent
path: /etc/modules-load.d/vfio-pci.conf
update_tasks:
get_attr: [NeutronOvsAgent, role_data, update_tasks]

0 comments on commit 4dab19f

Please sign in to comment.