<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><br><div dir="ltr"><br></div><blockquote type="cite"><div dir="ltr"><b>Von:</b> "Lentes, Bernd" <bernd.lentes@helmholtz-muenchen.de><br><b>Datum:</b> 21. September 2020 um 18:38:48 MESZ<br><b>An:</b> Martin Kletzander <mkletzan@redhat.com><br><b>Betreff:</b> <b>Aw:  can't define domain - error: cannot open /dev/null: Operation not permitted</b><br><br></div></blockquote><blockquote type="cite"><div dir="ltr"><title></title>Hi Martin,<br><br>after configuring the logging and a restart of the service the problem dissapeared !?!<br><br>Bernd<br><br>Bernd Lentes<br><br>> Am 21.09.2020 um 10:02 schrieb Martin Kletzander <mkletzan@redhat.com>:<br>> <br>> On Sun, Sep 20, 2020 at 01:09:51PM +0200, Lentes, Bernd wrote:<br>>> Hi,<br>>> <br>> <br>> Hi, I'll start with the usual...<br>> <br>>> i have a two-node cluster running on SLES 12 with pacemaker.<br>>> The cluster refused to start the domains on one node.<br>>> So i took some of the domains out of the cluster and tried to start it manually.<br>>> This is what happened:<br>>> <br>>> virsh # define /mnt/share/vm_documents-oo.xml<br>>> error: Failed to define domain from /mnt/share/vm_documents-oo.xml<br>>> error: cannot open /dev/null: Operation not permitted<br>>> <br>>> Same with another domain.<br>>> <br>> <br>> What does the XML look like?  What do the logs[0] say?<br>> <br>>> On the other node domains are defined and started without problems.<br>> <br>> Are the configs (libvirtd.conf and qemu.conf) the same on both nodes?<br>> <br>> Have a nice day,<br>> Martin<br>> <br>> [0] https://libvirt.org/kbase/debuglogs.html<br>> <br>>> Permissions on /dev and /dev/null are the same:<br>>> <br>>> ha-idg-1:/mnt/share # ll -d /dev<br>>> drwxr-xr-x 25 root root 5420 Sep 17 20:47 /dev<br>>> ha-idg-1:/mnt/share # ll /dev/null<br>>> crw-rw-rw- 1 root root 1, 3 Aug 24 14:39 /dev/null<br>>> <br>>> ha-idg-2:/mnt/share # ll -d /dev<br>>> drwxr-xr-x 25 root root 5340 Sep  9 10:31 /dev<br>>> ha-idg-2:/mnt/share # ll /dev/null<br>>> crw-rw-rw- 1 root root 1, 3 Aug 24 15:48 /dev/null<br>>> <br>>> ha-idg-1 is the one causing trouble.<br>>> Both systems SLES 12 SP4, same patchlevel.<br>>> livirt is:<br>>> ha-idg-1:/mnt/share # rpm -qa|grep -i libvirt<br>>> libvirt-daemon-driver-storage-iscsi-4.0.0-8.15.2.x86_64<br>>> libvirt-libs-4.0.0-8.15.2.x86_64<br>>> python-libvirt-python-4.0.0-2.34.x86_64<br>>> libvirt-daemon-driver-nwfilter-4.0.0-8.15.2.x86_64<br>>> libvirt-glib-1_0-0-0.2.1-1.2.x86_64<br>>> typelib-1_0-LibvirtGLib-1_0-0.2.1-1.2.x86_64<br>>> libvirt-admin-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-core-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-scsi-4.0.0-8.15.2.x86_64<br>>> libvirt-client-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-nodedev-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-logical-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-qemu-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-secret-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-rbd-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-interface-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-network-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-mpath-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-qemu-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-config-network-4.0.0-8.15.2.x86_64<br>>> libvirt-daemon-driver-storage-disk-4.0.0-8.15.2.x86_64<br>>> <br>>> Any ideas ?<br>>> Maybe a restart would help, but it's Linux, not Windows ...<br>>> I'd like to understand what's going wrong.<br>>> <br>>> Thanks.<br>>> <br>>> <br>>> Bernd<br>>> -- <br>>> <br>>> Bernd Lentes<br>>> Systemadministration<br>>> Institute for Metabolism and Cell Death (MCD)<br>>> Building 25 - office 122<br>>> HelmholtzZentrum München<br>>> bernd.lentes@helmholtz-muenchen.de<br>>> phone: +49 89 3187 1241<br>>> phone: +49 89 3187 3827<br>>> fax: +49 89 3187 2294<br>>> http://www.helmholtz-muenchen.de/mcd<br>>> <br>>> stay healthy<br>>> Helmholtz Zentrum München<br>>> <br>>> Helmholtz Zentrum München<br>>> <br>>> <br></div></blockquote>
Helmholtz Zentrum München


Helmholtz Zentrum München

</body></html>