Description of problem: vdsClient is not showing all the guest names but using 'virsh' its possible to get all the vm's name. In all the guest VM rhevm-guest-agent package is installed and service is running. If "#vdsClient -s 0 getAllVmStats |grep guestName" is showing 8 vm's name, "virsh -r list" is showing 18 which is the actual number of vms running on that host. Version-Release number of selected component (if applicable): hypervisor (20140725.0.el6ev) How reproducible: Not sure Steps to Reproduce: 1. 2. 3. Actual results: vdsClient is now showing the actul number of VMs running on the hypervisor. Expected results: vdsClient should show the equal number of VMs as virsh as rhevm-guest-agent is already installed in the VMs.
guestName is the vm hostname, and reported only if ovirt guest agent installed. Can you please check for one of the vms, where guest agent is running but guestName is not reported, what is the OS and what version of guest agent is installed?
Just FYI: The correct query to check how many vms are there should rather be # vdsClient -s 0 list ids | wc -l # virsh -r list | grep "running" | wc -l Other than that I second omers request. Please check the vms where the guestName is missing and please report OS & OS Version & guest agent status & guest agent version.
Hello we use vdsClient command to monitore which vm are run on which hypervisor. And if I restart vdsmd vdsClient it stop getting some data (like guestname, ip addresses and so on) until I migrate vm out and back to the hypervisor. On guest there ade agent installed and running: yum list installed | grep guest rhevm-guest-agent-common.noarch 1.0.8-6.el6ev @rhel-x86_64-rhev-agent-6-server service ovirt-guest-agent status ovirt-guest-agent (pid 2811) is running... hypervisor: Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140725.0.el6ev) vdsClient -s 0 list ids | wc -l 14 virsh -r list | grep "running" | wc -l 14 vdsClient -s 0 getAllVmStats |grep guestName | wc -l 12 vdsClient return needed data only form some vm's even there are guest agent running
Information about vm that don't display info in hypervisor using vdsClient. Red Hat Enterprise Linux Server release 6.3 (Santiago) rhevm-guest-agent-common.noarch 1.0.8-6.el6ev @rhel-x86_64-rhev-agent-6-server service ovirt-guest-agent status ovirt-guest-agent (pid 2811) is running...
(In reply to Frantisek Dvorak from comment #4) > Information about vm that don't display info in hypervisor using vdsClient. > > Red Hat Enterprise Linux Server release 6.3 (Santiago) > rhevm-guest-agent-common.noarch 1.0.8-6.el6ev > @rhel-x86_64-rhev-agent-6-server > > service ovirt-guest-agent status > ovirt-guest-agent (pid 2811) is running... Mr Dvorak, could you please report the vdsm version on the hypervisor? (rpm -q vdsm) Considering the hypervisor build is from July 2014, I am assuming that you're using RHEVM 3.4? Is that correct? Thanks.
Hello hypervisor vdsm version: vdsm-4.14.11-5.el6ev.x86_64 Yes we are using now RHEV Version 3.4.2-0.2.el6ev Thanks for investigation FD
I suppose the vdsm.log from the host would help. We need to capture the time before and after the restart. Also please specify at least one of the VM which is not showing up afterwards Please send to me,Uday,and Vinzenz directly
found the issue in VM recovery flow, fix is simple and we'll backport it as far back as we can
Verified using next components: Host: vdsm-4.16.5-2.el6ev.x86_64 libvirt-0.10.2-46.el6.x86_64 sanlock-2.8-1.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64 Engine: rhevm-3.5.0-0.14.beta.el6ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0159.html