Live Migration Failure With Error "Unable to find security driver for model apparmor"
Problem
The live migration of an instance is failing with the following error observed in the /var/log/pf9/ostackhost.log.
Environment
- Platform9 Managed OpenStack - All versions.
- Nova
- Libvirt
- AppArmor
Cause
The live migration is failing because the libvirt profile was not loaded in AppArmor.
Resolution
- Run the following command to check if the libvirt__profile is loaded in AppArmor.
- Run the following commands to add the libvirt profiles to AppArmor.
- Restart the libvirtd service.
Was this page helpful?