My Oracle Support Banner

OLVM: Error "libvirtd[2392]: cannot open directory '/var/tmp/localvmXXXXXX/" (Doc ID 2719013.1)

Last updated on OCTOBER 16, 2020

Applies to:

Linux OS - Version Oracle Linux 7.7 and later
x86_64

Symptoms

On one KVM host where the self-hosted-engine VM is installed, below error could be seen sometimes, 

# systemctl  status libvirtd
● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled                                  )
  Drop-In: /etc/systemd/system/libvirtd.service.d
           └─unlimited-core.conf
   Active: active (running) since Mon 2020-10-12 07:59:25 CST; 32s ago
     Docs: man:libvirtd(8)
           https://libvirt.org
 Main PID: 2392 (libvirtd)
    Tasks: 17 (limit: 32768)
   CGroup: /system.slice/libvirtd.service
           └─2392 /usr/sbin/libvirtd --listen

Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: cannot open directory '/var/tmp/lo...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: internal error: Failed to autostar...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: cannot open directory '/var/tmp/lo...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: internal error: Failed to autostar...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: cannot open directory '/var/tmp/lo...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: internal error: Failed to autostar...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: cannot open directory '/var/tmp/lo...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: internal error: Failed to autostar...y
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: cannot open directory '/var/tmp/lo...y
Oct 12 07:59:26 <KVM Hostname>libvirtd[2392]: internal error: Failed to autostar...y
Hint: Some lines were ellipsized, use -l to show in full.
#

 By checking syslog, more complete errors are, 

Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: libvirt version: 5.7.0, package: 19.el7 (Unknown, 2020-09-03-11:16:41, jenkins-172-17-0-2-7ed3fc66-fe13-4103-83ec-adfeaa6ffcd9)
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: hostname: <KVM Hostname>
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: cannot open directory '/var/tmp/localvm1oLzWT/images/ee296655-895b-40cb-8ad5-d363757331bc': No such file or directory
Oct 12 07:59:26 <KVM Hostname> libvirtd[2392]: internal error: Failed to autostart storage pool 'ee296655-895b-40cb-8ad5-d363757331bc': cannot open directory '/var/tmp/localvm1oLzWT/images/ee296655-895b-40cb-8ad5-d363757331bc': No such file or directory

 

 

Changes

Installing self-hosted-engine multiple times on the same KVM host

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.