How to restore live migration working on Astra Linux?¶
In the OpenStack version of Train deployed on the Astra Linux operating system, when running live migration, an error like:
2020-09-16 16:50:55.024 14807 INFO nova.compute.manager [-] [instance: c6cd566e-8634-4b18-9873-f45599d140a9] Took 2.09 seconds for pre_live_migration on destination host mnode1.test.stand.loc.
2020-09-16 16:50:55.509 14807 ERROR nova.virt.libvirt.driver [-] [instance: c6cd566e-8634-4b18-9873-f45599d140a9] Live Migration failure: access denied: libvirt.libvirtError: access denied
2020-09-16 16:50:55.771 14807 ERROR nova.virt.libvirt.driver [-] [instance: c6cd566e-8634-4b18-9873-f45599d140a9] Migration operation has aborted
As result of this error, live migration is interrupted.
To solve this problem, you should disable the use of the parsec
driver in libvirt
.
To do this, on all compute nodes of the cloud, in the file /etc/libvirt/libvirtd.conf
, comment out the parameter:
#access_drivers = [ "parsec" ]
Then restart the libvirt
and nova-compute
services:
systemctl restart libvirtd nova-compute