diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm 
b/xCAT-server/lib/xcat/plugins/kvm.pm
index dd881b5d2..d3804e4f8 100755
--- a/xCAT-server/lib/xcat/plugins/kvm.pm
+++ b/xCAT-server/lib/xcat/plugins/kvm.pm
@@ -79,7 +79,7 @@ sub handled_commands {
         #rvitals => 'nodehm:mgt',
         #rinv => 'nodehm:mgt',
         getrvidparms  => 'nodehm:mgt',
-        lsvm          => 'hypervisor:type',
+        lsvm => 'nodehm:mgt=ipmi',
         rbeacon       => 'nodehm:mgt',
         revacuate     => 'hypervisor:type',
         vmstatenotify => 'hypervisor:type',

Why????

commit c5faf316a91b3c7d72c59af0723a6bcba5b98ef0
Author: Mark Gurevich <gurev...@us.ibm.com>
Date:   Wed May 4 13:53:33 2016 -0400

    Enable lsvm for kvm hypervisor (#1022)

    * Enable lsvm for kvm hypervisor



From: Mark Gurevich [mailto:gurev...@us.ibm.com]
Sent: Monday, May 22, 2017 9:24 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin for this 
command, check relevant tables:

Matthias,

What is "mgt" attribute of kvmhost1 set to ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein





From:        matthias.m...@arz.at<mailto:matthias.m...@arz.at>
To:        xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Date:        05/22/2017 05:44 AM
Subject:        [xcat-user] kvmhost1: Error: Unable to identify plugin for this 
command, check relevant tables:
________________________________



Hi,

I just upgraded von xcat 2.9 to 2.13.4 (a bit of a jump :)

lsvm used to work and list the running vms. Now it throws the following error:

$ lsvm kvmhost1
kvmhost1: Error: Unable to identify plugin for this command, check relevant 
tables: 
hypervisor.type;nodetype.os=(esx.*);nodehm.mgt;nodehm.mgt=ipmi;nodehm.mgt=kvm;hypervisor.type=(rhev.*)
1

when given a running VM its working:
$ lsvm lnx0206a
lnx0206a: Id: 8
lnx0206a: Host: kvmhost1
lnx0206a: OS: hvm
lnx0206a: Memory: 8388608
lnx0206a: CPU: 4
lnx0206a: State: 1 (The domain is active and running)
lnx0206a: Disk file: /dev/clustervg/lnx0206a.vda.raw
lnx0206a: Disk file: /dev/clustervg/lnx0206a.vdb.raw
lnx0206a: Disk file: /dev/clustervg/lnx0206a.vdc.raw

here a are the kvmhost attributes:
$ nodels kvmhost1 hypervisor.type nodehm.mgt nodetype.os hypervisor.type
kvmhost1: nodetype.os: sles12.1
kvmhost1: hypervisor.type: kvm
kvmhost1: nodehm.mgt: ucs

is it missing an attribute to be identified as a hypervisor?

Thanks!

--
Matthias Merk
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to