VM logs are empty

Hi,

I faced the weird problem, some of the vms’ logs are empty and not filling:

# ls -al /var/log/one/[0-9]*.log    
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/138.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/144.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/227.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/249.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/261.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/269.log
-rw-r--r-- 1 oneadmin oneadmin 2444 Dec  6 11:19 /var/log/one/276.log
-rw-r--r-- 1 oneadmin oneadmin 2444 Dec  6 11:19 /var/log/one/277.log
-rw-r--r-- 1 oneadmin oneadmin 2714 Dec  6 11:19 /var/log/one/278.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/279.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/293.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/343.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/344.log
-rw-r--r-- 1 oneadmin oneadmin  678 Dec  9 14:12 /var/log/one/359.log
-rw-r--r-- 1 oneadmin oneadmin 3688 Dec 10 10:27 /var/log/one/361.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/362.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/365.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/366.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  5 16:49 /var/log/one/375.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec  9 14:52 /var/log/one/376.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec 11 14:15 /var/log/one/377.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec 12 12:08 /var/log/one/378.log
-rw-r--r-- 1 oneadmin oneadmin    0 Dec 12 12:16 /var/log/one/379.log

How to find out the cause of such behaviour?


Versions of the related components and OS (frontend, hypervisors, VMs):
ONE Server

$ uname -r
3.10.0-1062.4.3.el7.x86_64

$ yum info $(yum list installed | grep opennebula | awk '{ print $1 }') | grep 'Name\|Version'
Name        : opennebula
Version     : 5.8.5
Name        : opennebula-common
Version     : 5.8.5
Name        : opennebula-flow
Version     : 5.8.5
Name        : opennebula-gate
Version     : 5.8.5
Name        : opennebula-ruby
Version     : 5.8.5
Name        : opennebula-server
Version     : 5.8.5
Name        : opennebula-sunstone

Hypervisor KVM

$ uname -r
3.10.0-1062.4.1.el7.x86_64

$ yum info $(yum list installed | grep opennebula | awk '{ print $1 }') | grep 'Name\|Version'
Name        : opennebula-common
Version     : 5.8.5
Name        : opennebula-node-kvm
Version     : 5.8.5

Hello, are you running frontend in HA mode?

Hi,

Nope. Single node.
But I recently tried update to 5.10 without success. And turned back to 5.8.
So there was a couple “db upgrade/resore” cycles.