Discussion:
[xcat-user] kvmhost1: Error: Unable to identify plugin for this command, check relevant tables:
m***@arz.at
2017-05-22 09:25:34 UTC
Permalink
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
Jarrod Johnson
2017-05-22 13:36:14 UTC
Permalink
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 <***@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:***@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: ***@arz.at<mailto:***@arz.at>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@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
m***@arz.at
2017-05-22 13:57:01 UTC
Permalink
in 2.13.4 kvm.pm looks a bit different but still

sub handled_commands
[...]
lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm'], #allow both
hypervisor and VMs as params
[...]

changing nodehm.mgt to "kvm" gets it to list the running vms but renders
rpower useless (ucs plugin)

$ nodels kvmhost1 nodehm.mgt
kvmhost1: ucs

$ chdef kvmhost1 mgt=kvm
1 object definitions have been created or modified.

$ nodels kvmhost1 nodehm.mgt
kvmhost1: kvm

$ lsvm kvmhost1
kvmhost1: lnx0155a
kvmhost1: lnx0205b
kvmhost1: lnx0204a

$ rpower kvmhost1 stat
kvmhost1: off

$ chdef kvmhost1 mgt=ucs
1 object definitions have been created or modified.

$ rpower kvmhost1 stat
kvmhost1: chassis1/blade7: on

--
Matthias Merk
Datum: 22.05.2017 15:39
Betreff: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: Wed May 4 13:53:33 2016 -0400
Enable lsvm for kvm hypervisor (#1022)
* Enable lsvm for kvm hypervisor
Sent: Monday, May 22, 2017 9:24 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: 05/22/2017 05:44 AM
Subject: [xcat-user] kvmhost1: Error: Unable to identify
Hi,
I just upgraded von xcat 2.9 to 2.13.4 (a bit of a jump :)
$ 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
$ 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
$ 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
https://lists.sourceforge.net/lists/listinfo/xcat-user
Mark Gurevich
2017-05-22 14:15:11 UTC
Permalink
Matthias,

As a quick workaround, you can change that line in kvm.pm to be:

lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm', 'nodehm:mgt=ucs'],
#allow both hypervisor and VMs as params

Put mgt=ucs for kvmhost1, then run "restartxcatd".

In the meantime, I will try to figure out why a more generic
'hypervisor:type' is not working.

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: ***@arz.at
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 05/22/2017 09:57 AM
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
for this command, check relevant tables:



in 2.13.4 kvm.pm looks a bit different but still

sub handled_commands
[...]
lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm'], #allow both
hypervisor and VMs as params
[...]

changing nodehm.mgt to "kvm" gets it to list the running vms but renders
rpower useless (ucs plugin)

$ nodels kvmhost1 nodehm.mgt
kvmhost1: ucs

$ chdef kvmhost1 mgt=kvm
1 object definitions have been created or modified.

$ nodels kvmhost1 nodehm.mgt
kvmhost1: kvm

$ lsvm kvmhost1
kvmhost1: lnx0155a
kvmhost1: lnx0205b
kvmhost1: lnx0204a

$ rpower kvmhost1 stat
kvmhost1: off

$ chdef kvmhost1 mgt=ucs
1 object definitions have been created or modified.

$ rpower kvmhost1 stat
kvmhost1: chassis1/blade7: on

--
Matthias Merk
Datum: 22.05.2017 15:39
Betreff: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: Wed May 4 13:53:33 2016 -0400
Enable lsvm for kvm hypervisor (#1022)
* Enable lsvm for kvm hypervisor
Sent: Monday, May 22, 2017 9:24 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: 05/22/2017 05:44 AM
Subject: [xcat-user] kvmhost1: Error: Unable to identify
Hi,
I just upgraded von xcat 2.9 to 2.13.4 (a bit of a jump :)
$ 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
$ 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
$ 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
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
https://lists.sourceforge.net/lists/listinfo/xcat-user
m***@arz.at
2017-05-22 14:32:28 UTC
Permalink
Thanks - works for me :)

Cheers,
--
Matthias Merk
Datum: 22.05.2017 16:16
Betreff: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
Matthias,
lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm',
'nodehm:mgt=ucs'], #allow both hypervisor and VMs as params
Put mgt=ucs for kvmhost1, then run "restartxcatd".
In the meantime, I will try to figure out why a more generic
'hypervisor:type'
is not working.
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
Date: 05/22/2017 09:57 AM
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify
in 2.13.4 kvm.pm looks a bit different but still
sub handled_commands
[...]
lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm'], #allow both
hypervisor and VMs as params
[...]
changing nodehm.mgt to "kvm" gets it to list the running vms but
renders rpower useless (ucs plugin)
$ nodels kvmhost1 nodehm.mgt
kvmhost1: ucs
$ chdef kvmhost1 mgt=kvm
1 object definitions have been created or modified.
$ nodels kvmhost1 nodehm.mgt
kvmhost1: kvm
$ lsvm kvmhost1
kvmhost1: lnx0155a
kvmhost1: lnx0205b
kvmhost1: lnx0204a
$ rpower kvmhost1 stat
kvmhost1: off
$ chdef kvmhost1 mgt=ucs
1 object definitions have been created or modified.
$ rpower kvmhost1 stat
kvmhost1: chassis1/blade7: on
--
Matthias Merk
Datum: 22.05.2017 15:39
Betreff: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: Wed May 4 13:53:33 2016 -0400
Enable lsvm for kvm hypervisor (#1022)
* Enable lsvm for kvm hypervisor
Sent: Monday, May 22, 2017 9:24 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: 05/22/2017 05:44 AM
Subject: [xcat-user] kvmhost1: Error: Unable to identify
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
$ 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
$ 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
$ 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
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
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
https://lists.sourceforge.net/lists/listinfo/xcat-user
Mark Gurevich
2017-05-22 19:23:40 UTC
Permalink
Matthias,

I am curious what setting you have for "hypervisor.type".

Can you run something like "tabdump hypervisor | grep kvmhost1"

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: ***@arz.at
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 05/22/2017 10:33 AM
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
for this command, check relevant tables:



Thanks - works for me :)

Cheers,
--
Matthias Merk
Datum: 22.05.2017 16:16
Betreff: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
Matthias,
lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm',
'nodehm:mgt=ucs'], #allow both hypervisor and VMs as params
Put mgt=ucs for kvmhost1, then run "restartxcatd".
In the meantime, I will try to figure out why a more generic
'hypervisor:type'
is not working.
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
Date: 05/22/2017 09:57 AM
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify
in 2.13.4 kvm.pm looks a bit different but still
sub handled_commands
[...]
lsvm => ['nodehm:mgt=ipmi', 'nodehm:mgt=kvm'], #allow both
hypervisor and VMs as params
[...]
changing nodehm.mgt to "kvm" gets it to list the running vms but
renders rpower useless (ucs plugin)
$ nodels kvmhost1 nodehm.mgt
kvmhost1: ucs
$ chdef kvmhost1 mgt=kvm
1 object definitions have been created or modified.
$ nodels kvmhost1 nodehm.mgt
kvmhost1: kvm
$ lsvm kvmhost1
kvmhost1: lnx0155a
kvmhost1: lnx0205b
kvmhost1: lnx0204a
$ rpower kvmhost1 stat
kvmhost1: off
$ chdef kvmhost1 mgt=ucs
1 object definitions have been created or modified.
$ rpower kvmhost1 stat
kvmhost1: chassis1/blade7: on
--
Matthias Merk
Datum: 22.05.2017 15:39
Betreff: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: Wed May 4 13:53:33 2016 -0400
Enable lsvm for kvm hypervisor (#1022)
* Enable lsvm for kvm hypervisor
Sent: Monday, May 22, 2017 9:24 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] kvmhost1: Error: Unable to identify plugin
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
Date: 05/22/2017 05:44 AM
Subject: [xcat-user] kvmhost1: Error: Unable to identify
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
$ 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
$ 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
$ 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
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
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
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
https://lists.sourceforge.net/lists/listinfo/xcat-user
Mark Gurevich
2017-05-22 14:08:50 UTC
Permalink
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 <***@lenovo.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
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 <***@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:***@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: ***@arz.at
To: xCAT Users Mailing list <xcat-***@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-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
Jarrod Johnson
2017-05-22 13:33:48 UTC
Permalink
Well, it says ucs, but either way, lsvm should have nothing to do with the mgt type on the host...

From: Mark Gurevich [mailto:***@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: ***@arz.at<mailto:***@arz.at>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@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
Loading...