You are right Jarrod, it seems like 'hypervisor:type' in kvm.pm should 
work, but it fails with the same error message.
I will investigate.

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:   Jarrod Johnson <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   05/22/2017 09:39 AM
Subject:        Re: [xcat-user] kvmhost1: Error: Unable to identify plugin 
for this command, check relevant tables:



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 <[email protected]>
Date:   Wed May 4 13:53:33 2016 -0400
 
    Enable lsvm for kvm hypervisor (#1022)
 
    * Enable lsvm for kvm hypervisor
 
 
 
From: Mark Gurevich [mailto:[email protected]] 
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:        [email protected]
To:        xCAT Users Mailing list <[email protected]>
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
[email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to