Il giorno mar 6 lug 2021 alle ore 15:18 Arik Hadas <ahadas@redhat.com> ha scritto:



On Tue, Jul 6, 2021 at 3:56 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Tue, Jul 6, 2021 at 3:36 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Hi,
I update the hosted engine to 4.4.7 and one of the 2 nodes where the engine is running.
Current status is:
- Hosted engine at 4.4.7 running on Node 0
- Node 0 at 4.4.6
- Node 1 at 4.4.7

Now, moving Node 0 to maintenance successfully moved the SPM from Node 0 to Node 1 but while trying to migrate hosted engine I get on Node 0 vdsm.log:
... 
  File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2119, in migrateToURI3
    raise libvirtError('virDomainMigrateToURI3() failed')
libvirt.libvirtError: can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied

This looks like the selinux issue we had in libvirt 7.4. Do we have the latest
selinux-policy-target package on the host?


In order to get the migration working this solved:
 restorecon /var/run/libvirt/common/system.token
 ls -lZ /var/run/libvirt/common/system.token
-rw-------. 1 root root system_u:object_r:virt_common_var_run_t:s0 32 Jul  6 09:29 /var/run/libvirt/common/system.token
service libvirtd restart
service virtlogd restart

+Lev Veyde sounds like https://bugzilla.redhat.com/show_bug.cgi?id=1955415 is not 100% fixed then


--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com   

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.