Bug #5003

VMs wrongly reported as ZOMBIES

Added by Mariano Guezuraga over 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:02/01/2017
Priority:LowDue date:
Assignee:Juan Jose Montiel Cano% Done:

0%

Category:Drivers - Monitor
Target version:Release 5.4.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 5.2

Description

[oneadmin@onefrontend ~]$ onehost show 4 | grep ZOMBIE
TOTAL_ZOMBIES="8" 
ZOMBIES=", , , , , , , " 

onehost show $x shows 8 VMs in TOTAL_ZOMBIES, however the 8 VMs are listed under 'VIRTUAL MACHINES', and run fine.

Another odd thing is that the supposed zombies names are not listed correctly: ZOMBIES=", , , , , , , , , , , "

Everything runs fine except this odd reporting thing

Code showing this is host/Host.cc +418, I see something related to vector_value("POLL") that may be the cause

/var/tmp/one/vmm/kvm/poll -t runs as expected in the hypervisor:

[oneadmin@onenode-testing-102 ~]$ /var/tmp/one/vmm/kvm/poll -t
VM_POLL=YES
VM=[
  ID=179,
  DEPLOY_ID=one-179,
  POLL="STATE=a CPU=0.0 MEMORY=4194304 NETRX=8738384082 NETTX=3467909957" ]
VM=[
  ID=203,
  DEPLOY_ID=one-203,
  POLL="STATE=a CPU=3.0 MEMORY=8388608 NETRX=14618934040 NETTX=7006152158" ]
VM=[
  ID=220,
  DEPLOY_ID=one-220,
  POLL="STATE=a CPU=2.0 MEMORY=4194304 NETRX=2798244313 NETTX=1045991779" ]
VM=[
  ID=718,
  DEPLOY_ID=one-718,
  POLL="STATE=a CPU=9.01 MEMORY=8388608 NETRX=622517704 NETTX=210016523" ]
VM=[
  ID=725,
  DEPLOY_ID=one-725,
  POLL="STATE=a CPU=3.0 MEMORY=8388608 NETRX=503313681 NETTX=153017964" ]
VM=[
  ID=729,
  DEPLOY_ID=one-729,
  POLL="STATE=a CPU=13.02 MEMORY=8388608 NETRX=350071385 NETTX=122445147" ]
VM=[
  ID=732,
  DEPLOY_ID=one-732,
  POLL="STATE=a CPU=1.0 MEMORY=4194304 NETRX=25332378 NETTX=26437462" ]
VM=[
  ID=733,
  DEPLOY_ID=one-733,
  POLL="STATE=a CPU=1.0 MEMORY=4194304 NETRX=68926359 NETTX=11444712" ]
[oneadmin@onenode ~]$ echo $?
0

Related issues

Related to Bug #5203: Empty list of Zombie VM's Closed 06/26/2017

Associated revisions

Revision fb99394e
Added by Juan Jose Montiel Cano almost 4 years ago

B #5003 Added zombies only if it has DEPLOY_ID or VM_NAME (#440)

Revision 90bde7ca
Added by Juan Jose Montiel Cano almost 4 years ago

B #5003 Added zombies only if it has DEPLOY_ID or VM_NAME (#440)

(cherry picked from commit fb99394e6aef95cefbedbc4a93d6c38ac26c4612)

History

#1 Updated by Javi Fontan almost 4 years ago

  • Related to Bug #5203: Empty list of Zombie VM's added

#2 Updated by Javi Fontan almost 4 years ago

I've added the info provided to the output of VM poll in an OpenNebula 5.4. I get the zombies but the names are correctly parsed.

#3 Updated by Javi Fontan almost 4 years ago

  • Assignee set to Juan Jose Montiel Cano
  • Target version set to Release 5.4.1

#4 Updated by Ruben S. Montero almost 4 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Also available in: Atom PDF