Bug #563

Ganglia VM monitoring VMID bug

Added by Shi Jin over 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:04/07/2011
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Drivers - Auth
Target version:Release 2.2.1
Resolution:fixed Pull request:
Affected Versions:

Description

Hi there,

I just implemented the ONE-2.2+Ganglia-3.1.7 monitoring for both hosts and VMs and it worked very well except one issue in VM monitoring.

I have to change line 122 of $ONE_LOCATION/lib/remotes/vmm/kvm/poll to be
line.split(/\s+/)[2]

Basically the reason is the split output of "virsh list" at each line would look like
["", "5", "one-149", "running"]
the original code get libvirt id while we need the libvirt VM name which contains the ONE VMID.

Once I have changed, the VM monitoring works very well.

My setup is ONE-2.2 on x86_64 RHEL-6 using KVM.

Thanks.

Shi

Associated revisions

Revision 9f7b0864
Added by Javi Fontan about 10 years ago

bug #563: delete empty columns from virsh list output

Revision 9b3ba5ce
Added by Javi Fontan about 10 years ago

bug #563: delete empty columns from virsh list output
(cherry picked from commit 9f7b0864044abc146948f4e756810fae7ba83afb)

Revision a135092e
Added by Abel Coronado over 3 years ago

F #5535: Added multiple choice list as USER_INPUTs (#563)

History

#1 Updated by Ruben S. Montero over 10 years ago

  • Category set to Drivers - Auth
  • Assignee set to Javi Fontan
  • Target version set to Release 3.0

#2 Updated by Javi Fontan about 10 years ago

  • Status changed from New to Assigned
  • Target version changed from Release 3.0 to Release 2.2

It seems different version of libvirt return slightly different output. Making a patch to deal with both.

#3 Updated by Javi Fontan about 10 years ago

Could you check that it work with the latest patch in your infrastructure? I'm an testing it in my side.

http://dev.opennebula.org/projects/opennebula/repository/revisions/9f7b0864044abc146948f4e756810fae7ba83afb/entry/src/vmm_mad/remotes/poll_xen_kvm.rb

#4 Updated by Javi Fontan about 10 years ago

  • Target version changed from Release 2.2 to Release 2.2.1

#5 Updated by Shi Jin about 10 years ago

yes, I confirm the patch works on my RHEL-6 cluster. Thank you very much.

#6 Updated by Javi Fontan about 10 years ago

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

Also available in: Atom PDF