Discussion:
[xcat-user] Error: Unable to identify plugin for this command, check relevant tables: nodehm.power,mgt; nodehm.mgt
James Freeman
2017-03-22 18:07:06 UTC
Permalink
Hi all,

I am in the process of setting up xCAT to deploy some Ubuntu hosts -
right now I am testing in a VMware ESXi environment with PXE boot
enabled, but once I've got things working this will be rolled out beyond
this.

I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
were seen during install and here is the version detail:

***@xcat1:~# lsxcatd -a
Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
built Wed Feb 22 22:44:48 EST 2017)
This is a Management Node
dbengine=SQLite

I have been following the guide here:
https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
to get my off the ground and running - the only difference is I am using
Ubuntu 16.04 so I've substituted that where applicable. All steps in the
guide I have completed with no issues or errors up until the point where
I am trying to build cn01 (I've kept my test system names the same for
ease - again this will be extended in the future). When I try to ready
the system for build, I get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
cn01: Error: Unable to identify plugin for this command, check relevant
tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt

I note that the nodehm table has nothing in it:

***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable

However I don't believe I have skipped any steps. Have I missed
something fundamental, or is there something I can do to rectify this?
At this stage I don't want to worry about hardware management - I have
no IPMI or HMC right now - I just want to network boot my servers from
xCAT. Again in future IPMI will be added, but that's to come.

Please can someone help me work out how to proceed?

Thanks in advance,

James
--
QURU Ltd
Somerset House, Strand, London, WC2R 1LA

Registered in England, No. 6144918, at Millmead, RH20 1AG
Casandra H Qiu
2017-03-22 19:11:09 UTC
Permalink
u need to define mgt in the node definition. use
chdef cn01 mgt=kvm


Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
***@us.ibm.com





From: James Freeman <***@quru.com>
To: xcat-***@lists.sourceforge.net
Date: 03/22/2017 02:45 PM
Subject: [xcat-user] Error: Unable to identify plugin for this command,
check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi all,

I am in the process of setting up xCAT to deploy some Ubuntu hosts -
right now I am testing in a VMware ESXi environment with PXE boot
enabled, but once I've got things working this will be rolled out beyond
this.

I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
were seen during install and here is the version detail:

***@xcat1:~# lsxcatd -a
Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
built Wed Feb 22 22:44:48 EST 2017)
This is a Management Node
dbengine=SQLite

I have been following the guide here:
https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
to get my off the ground and running - the only difference is I am using
Ubuntu 16.04 so I've substituted that where applicable. All steps in the
guide I have completed with no issues or errors up until the point where
I am trying to build cn01 (I've kept my test system names the same for
ease - again this will be extended in the future). When I try to ready
the system for build, I get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
cn01: Error: Unable to identify plugin for this command, check relevant
tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt

I note that the nodehm table has nothing in it:

***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable


However I don't believe I have skipped any steps. Have I missed
something fundamental, or is there something I can do to rectify this?
At this stage I don't want to worry about hardware management - I have
no IPMI or HMC right now - I just want to network boot my servers from
xCAT. Again in future IPMI will be added, but that's to come.

Please can someone help me work out how to proceed?

Thanks in advance,

James
--
QURU Ltd
Somerset House, Strand, London, WC2R 1LA

Registered in England, No. 6144918, at Millmead, RH20 1AG
James Freeman
2017-03-22 22:16:04 UTC
Permalink
Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
Mark Gurevich
2017-03-23 00:37:10 UTC
Permalink
James,

If you are trying to boot a VM, there is no need to use "rsetboot".
Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
needed) and "rpower" for you.

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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/22/2017 06:16 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:
chdef cn01 mgt=kvm
James Freeman
2017-03-23 10:21:53 UTC
Permalink
Thank you guys for all your help so far - is there a guide I can follow
for VM related installed? I am struggling a little with this - I tried
rinstall as requested but get the following results:

***@xcat1:~# rinstall cn01 boot
Provision node(s): cn01
cn01: Unable to identify plugin for this command, check relevant tables:
noderes.netboot
Error: failed to run 'nodeset' against the following nodes: cn01
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.

Kind regards,

James

> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
> James Freeman <mailto:***@quru.com>
> 22 March 2017 at 22:16
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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
> Casandra H Qiu <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04
> ***@us.ibm.com
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman <***@quru.com>
> To: xcat-***@lists.sourceforge.net
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here:
> https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
> James Freeman <mailto:***@quru.com>
> 22 March 2017 at 18:07
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here:
> https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
Xiao Peng Wang
2017-03-23 12:51:14 UTC
Permalink
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
James Freeman
2017-03-23 13:03:15 UTC
Permalink
Hi there,

Yes I realised my mistake after running the "boot" command first -
however the rinstall command still won't run - please see the output below:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.

I think I have still missed something during the setup phase?

Kind regards,

James
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
> The manpage said: *rinstall*noderange*osimage*=imagename
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (王晓朋)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
> ------------------------------------------------------------------------------
> 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
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
> James Freeman <mailto:***@quru.com>
> 22 March 2017 at 22:16
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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
> Casandra H Qiu <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04
> ***@us.ibm.com
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman <***@quru.com>
> To: xcat-***@lists.sourceforge.net
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here:
> https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
Mark Gurevich
2017-03-23 13:17:26 UTC
Permalink
James,

Here is a link to the instructions for managing VMs:

http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html

At one point in that document it will say to do "rpower vm1 on", use
"rinstall <your cn name> osimage=<your image name>" instead.

There is also a section for troubleshooting:

http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html

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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/23/2017 09:05 AM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi there,

Yes I realised my mistake after running the "boot" command first - however
the rinstall command still won't run - please see the output below:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.

I think I have still missed something during the setup phase?

Kind regards,

James
Xiao Peng Wang
23 March 2017 at 12:51
The manpage said: rinstall noderange osimage=imagename

So you should use 'rinstall cn01
osimage=ubuntu16.04.1-x86_64-install-compute'

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (ÍõÏþÅó)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: ***@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193




------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 10:21
Thank you guys for all your help so far - is there a guide I can follow
for VM related installed? I am struggling a little with this - I tried
rinstall as requested but get the following results:

***@xcat1:~# rinstall cn01 boot
Provision node(s): cn01
cn01: Unable to identify plugin for this command, check relevant tables:
noderes.netboot
Error: failed to run 'nodeset' against the following nodes: cn01
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.

Kind regards,

James


------------------------------------------------------------------------------
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
Mark Gurevich
23 March 2017 at 00:37
James,

If you are trying to boot a VM, there is no need to use "rsetboot".
Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
needed) and "rpower" for you.

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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/22/2017 06:16 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:
chdef cn01 mgt=kvm
------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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
James Freeman
22 March 2017 at 22:16
Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:

------------------------------------------------------------------------------
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
Casandra H Qiu
22 March 2017 at 19:11
u need to define mgt in the node definition. use
chdef cn01 mgt=kvm


Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
***@us.ibm.com



James Freeman ---03/22/2017 02:45:45 PM---Hi all, I am in the process of
setting up xCAT to deploy some Ubuntu hosts -

From: James Freeman <***@quru.com>
To: xcat-***@lists.sourceforge.net
Date: 03/22/2017 02:45 PM
Subject: [xcat-user] Error: Unable to identify plugin for this command,
check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi all,

I am in the process of setting up xCAT to deploy some Ubuntu hosts -
right now I am testing in a VMware ESXi environment with PXE boot
enabled, but once I've got things working this will be rolled out beyond
this.

I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
were seen during install and here is the version detail:

***@xcat1:~# lsxcatd -a
Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
built Wed Feb 22 22:44:48 EST 2017)
This is a Management Node
dbengine=SQLite

I have been following the guide here:
https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
to get my off the ground and running - the only difference is I am using
Ubuntu 16.04 so I've substituted that where applicable. All steps in the
guide I have completed with no issues or errors up until the point where
I am trying to build cn01 (I've kept my test system names the same for
ease - again this will be extended in the future). When I try to ready
the system for build, I get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
cn01: Error: Unable to identify plugin for this command, check relevant
tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt

I note that the nodehm table has nothing in it:

***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable

However I don't believe I have skipped any steps. Have I missed
something fundamental, or is there something I can do to rectify this?
At this stage I don't want to worry about hardware management - I have
no IPMI or HMC right now - I just want to network boot my servers from
xCAT. Again in future IPMI will be added, but that's to come.

Please can someone help me work out how to proceed?

Thanks in advance,

James
--
QURU Ltd
Somerset House, Strand, London, WC2R 1LA

Registered in England, No. 6144918, at Millmead, RH20 1AG

------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
James Freeman
2017-03-23 17:19:42 UTC
Permalink
Thanks all for your help - making some progress here. After some testing
I established that I was missing the netboot initrd.gz image, so I fixed
that:

cd /install/ubuntu16.04.1/x86_64/install/netboot/
mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
cp /mnt/install/initrd.gz .
umount /mnt

Then I realised that I was also missing the netboot parameter for my
node definition - this is the error that rinstall was throwing:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.

So I checked the valid definitions then added the one I wanted (I have
PXE boot in my environment):

***@xcat1:~# tabdump -d noderes
node: The node name or group name.
...
...

This shows us that for x86_64 (our architecture) we should be using pxe
or xnba, so:

***@xcat1:~# chdef -t node -o cn01 netboot=pxe
***@xcat1:~# lsdef -t node -o cn01
Object name: cn01
groups=compute,all
installnic=mac
mac=00:0c:29:67:6d:a1
mgt=kvm
netboot=pxe
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
primarynic=mac

Looks better, so I try rinstall again:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute -V
Error: cn01: 'arch' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.

So now it looks like I'm missing an entry in my nodetype table - tabdump
shows:

***@xcat1:~# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable

So I tried populating the nodetype table manually - using "tabdump -d
nodetype" as my guide I populated the values as follows. There are a
couple I'm not sure about - for example there is no specific reference
to ubuntu in the definitions for the os column, so I set it to boottarget:

***@xcat1:~# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"cn01","boottarget","x86_64",,"netboot","x86_64","vm",,

Now I try rinstall again:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute -V
Provision node(s): cn01
Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Unable to find pxelinux.0
Unable to find pxelinux.0
Error: failed to run 'nodeset' against the following nodes: cn01

If I look for pxelinux.0 on my filesystem, I get the following:

***@xcat1:~# locate pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/pxelinux.0

Any ideas how I tie all this together? I'm not sure where I'm supposed
to place pxelinux.0, or which table needs reference to it.

Kind regards,

James
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 13:17
> James,
>
> Here is a link to the instructions for managing VMs:
>
> http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html
>
> At one point in that document it will say to do "rpower vm1 on", use
> "rinstall <your cn name> osimage=<your image name>" instead.
>
> There is also a section for troubleshooting:
>
> http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 09:05 AM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
> The manpage said: *rinstall*_noderange_ *osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (ÍõÏßÅó)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 22 March 2017 at 22:16
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Casandra H Qiu <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04_
> ***@us.ibm.com_ <mailto:***@us.ibm.com>
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: _xcat-***@lists.sourceforge.net_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here: _
> __https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start_
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 13:03
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
> The manpage said: *rinstall*noderange*osimage*=imagename
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (王晓朋)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
> ------------------------------------------------------------------------------
> 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
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
Mark Gurevich
2017-03-23 18:17:07 UTC
Permalink
Maybe this will help:

http://xcat-docs.readthedocs.io/en/stable/advanced/mixed_cluster/power/diskless.html

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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/23/2017 01:20 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Thanks all for your help - making some progress here. After some testing I
established that I was missing the netboot initrd.gz image, so I fixed
that:

cd /install/ubuntu16.04.1/x86_64/install/netboot/
mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
cp /mnt/install/initrd.gz .
umount /mnt

Then I realised that I was also missing the netboot parameter for my node
definition - this is the error that rinstall was throwing:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.

So I checked the valid definitions then added the one I wanted (I have PXE
boot in my environment):

***@xcat1:~# tabdump -d noderes
node: The node name or group name.
...
...

This shows us that for x86_64 (our architecture) we should be using pxe or
xnba, so:

***@xcat1:~# chdef -t node -o cn01 netboot=pxe
***@xcat1:~# lsdef -t node -o
cn01
Object name: cn01
groups=compute,all
installnic=mac
mac=00:0c:29:67:6d:a1
mgt=kvm
netboot=pxe
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
primarynic=mac

Looks better, so I try rinstall again:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
-V
Error: cn01: 'arch' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.

So now it looks like I'm missing an entry in my nodetype table - tabdump
shows:

***@xcat1:~# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable

So I tried populating the nodetype table manually - using "tabdump -d
nodetype" as my guide I populated the values as follows. There are a
couple I'm not sure about - for example there is no specific reference to
ubuntu in the definitions for the os column, so I set it to boottarget:

***@xcat1:~# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"cn01","boottarget","x86_64",,"netboot","x86_64","vm",,

Now I try rinstall again:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
-V
Provision node(s): cn01
Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Unable to find pxelinux.0
Unable to find pxelinux.0
Error: failed to run 'nodeset' against the following nodes: cn01

If I look for pxelinux.0 on my filesystem, I get the following:

***@xcat1:~# locate pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/pxelinux.0

Any ideas how I tie all this together? I'm not sure where I'm supposed to
place pxelinux.0, or which table needs reference to it.

Kind regards,

James
Mark Gurevich
23 March 2017 at 13:17
James,

Here is a link to the instructions for managing VMs:

http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html


At one point in that document it will say to do "rpower vm1 on", use
"rinstall <your cn name> osimage=<your image name>" instead.

There is also a section for troubleshooting:

http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html


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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/23/2017 09:05 AM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi there,

Yes I realised my mistake after running the "boot" command first - however
the rinstall command still won't run - please see the output below:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.

I think I have still missed something during the setup phase?

Kind regards,

James
Xiao Peng Wang
23 March 2017 at 12:51

The manpage said: rinstallnoderange osimage=imagename

So you should use 'rinstall cn01
osimage=ubuntu16.04.1-x86_64-install-compute'

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (ÍõÏþÅó)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: ***@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193




------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 10:21

Thank you guys for all your help so far - is there a guide I can follow
for VM related installed? I am struggling a little with this - I tried
rinstall as requested but get the following results:

***@xcat1:~# rinstall cn01 boot
Provision node(s): cn01
cn01: Unable to identify plugin for this command, check relevant tables:
noderes.netboot
Error: failed to run 'nodeset' against the following nodes: cn01
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.

Kind regards,

James


------------------------------------------------------------------------------
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
Mark Gurevich
23 March 2017 at 00:37

James,

If you are trying to boot a VM, there is no need to use "rsetboot".
Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
needed) and "rpower" for you.

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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/22/2017 06:16 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:
chdef cn01 mgt=kvm
------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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
James Freeman
22 March 2017 at 22:16

Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:

------------------------------------------------------------------------------
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
Casandra H Qiu
22 March 2017 at 19:11
u need to define mgt in the node definition. use
chdef cn01 mgt=kvm


Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
***@us.ibm.com



James Freeman ---03/22/2017 02:45:45 PM---Hi all, I am in the process of
setting up xCAT to deploy some Ubuntu hosts -

From: James Freeman <***@quru.com>
To: xcat-***@lists.sourceforge.net
Date: 03/22/2017 02:45 PM
Subject: [xcat-user] Error: Unable to identify plugin for this command,
check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi all,

I am in the process of setting up xCAT to deploy some Ubuntu hosts -
right now I am testing in a VMware ESXi environment with PXE boot
enabled, but once I've got things working this will be rolled out beyond
this.

I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
were seen during install and here is the version detail:

***@xcat1:~# lsxcatd -a
Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
built Wed Feb 22 22:44:48 EST 2017)
This is a Management Node
dbengine=SQLite

I have been following the guide here:
https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
to get my off the ground and running - the only difference is I am using
Ubuntu 16.04 so I've substituted that where applicable. All steps in the
guide I have completed with no issues or errors up until the point where
I am trying to build cn01 (I've kept my test system names the same for
ease - again this will be extended in the future). When I try to ready
the system for build, I get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
cn01: Error: Unable to identify plugin for this command, check relevant
tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt

I note that the nodehm table has nothing in it:

***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable

However I don't believe I have skipped any steps. Have I missed
something fundamental, or is there something I can do to rectify this?
At this stage I don't want to worry about hardware management - I have
no IPMI or HMC right now - I just want to network boot my servers from
xCAT. Again in future IPMI will be added, but that's to come.

Please can someone help me work out how to proceed?

Thanks in advance,

James
--
QURU Ltd
Somerset House, Strand, London, WC2R 1LA

Registered in England, No. 6144918, at Millmead, RH20 1AG

------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 13:03
Hi there,

Yes I realised my mistake after running the "boot" command first - however
the rinstall command still won't run - please see the output below:

***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.

I think I have still missed something during the setup phase?

Kind regards,

James

------------------------------------------------------------------------------
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
Xiao Peng Wang
23 March 2017 at 12:51
The manpage said: rinstall noderange osimage=imagename

So you should use 'rinstall cn01
osimage=ubuntu16.04.1-x86_64-install-compute'

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (???)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: ***@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193




------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 10:21
Thank you guys for all your help so far - is there a guide I can follow
for VM related installed? I am struggling a little with this - I tried
rinstall as requested but get the following results:

***@xcat1:~# rinstall cn01 boot
Provision node(s): cn01
cn01: Unable to identify plugin for this command, check relevant tables:
noderes.netboot
Error: failed to run 'nodeset' against the following nodes: cn01
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.

Kind regards,

James


------------------------------------------------------------------------------
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
Mark Gurevich
23 March 2017 at 00:37
James,

If you are trying to boot a VM, there is no need to use "rsetboot".
Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
needed) and "rpower" for you.

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: James Freeman <***@quru.com>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 03/22/2017 06:16 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt



Hi there,

Thanks for your quick reply - I tried that definition:

***@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
***@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,

but I still get the following:

***@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt

Is there something else I need to set?

Kind regards,

James

Casandra H Qiu wrote:
chdef cn01 mgt=kvm
------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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
James Freeman
2017-03-24 15:34:16 UTC
Permalink
Thanks Mark - unfortunately not though. I can see the syslinux packages
installed:

***@xcat1:~# dpkg -l | grep syslinux
ii syslinux
3:6.03+dfsg-11ubuntu1 amd64 collection of
bootloaders (DOS FAT and NTFS bootloader)
ii syslinux-common
3:6.03+dfsg-11ubuntu1 all collection of
bootloaders (common)
ii syslinux-xcat
3.86-2 all SYSLINUX modules in
/opt/xcat/share/xcat/netboot/syslinux, available for network booting

And the files are indeed there:

***@xcat1:~# locate pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/pxelinux.0

Unfortunately strace doesn't give much away - I can see that rinstall
runs nodeset, and nodeset runs the Tree.pm Perl module before issuing
the error about finding pxelinux.0, but I can't see the root path it's
searching:

stat("/usr/lib/x86_64-linux-gnu/perl5/5.22/XML/Parser/Style/Tree.pm",
{st_mode=S_IFREG|0644, st_size=2213, ...}) = 0
open("/usr/lib/x86_64-linux-gnu/perl5/5.22/XML/Parser/Style/Tree.pm",
O_RDONLY) = 4
ioctl(4, TCGETS, 0x7fffc693d160) = -1 ENOTTY (Inappropriate ioctl
for device)
lseek(4, 0, SEEK_CUR) = 0
read(4, "# $Id: Tree.pm,v 1.2 2003-07-31 "..., 8192) = 2213
brk(0x2eea000) = 0x2eea000
lseek(4, 898, SEEK_SET) = 898
lseek(4, 0, SEEK_CUR) = 898
close(4) = 0
write(2, "Error: Unable to find pxelinux.0"..., 34Error: Unable to find
pxelinux.0

I see that nodeset references the noderes, site and nodetype tables so I
presume I haven't set something correctly in one of them. However I
can't spot what it is. My current guess is that there's a path not set
correctly somewhere - but not clear which table entry I need to edit.

Any thoughts?

James

> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 18:17
> Maybe this will help:
>
> http://xcat-docs.readthedocs.io/en/stable/advanced/mixed_cluster/power/diskless.html
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 01:20 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Thanks all for your help - making some progress here. After some
> testing I established that I was missing the netboot initrd.gz image,
> so I fixed that:
>
> cd /install/ubuntu16.04.1/x86_64/install/netboot/
> mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
> cp /mnt/install/initrd.gz .
> umount /mnt
>
> Then I realised that I was also missing the netboot parameter for my
> node definition - this is the error that rinstall was throwing:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> So I checked the valid definitions then added the one I wanted (I have
> PXE boot in my environment):
>
> ***@xcat1:~# tabdump -d noderes
> node: The node name or group name.
> ...
> ...
>
> This shows us that for x86_64 (our architecture) we should be using
> pxe or xnba, so:
>
> ***@xcat1:~# chdef -t node -o cn01 netboot=pxe
> ***@xcat1:~# lsdef -t node -o cn01
> Object name: cn01
> groups=compute,all
> installnic=mac
> mac=00:0c:29:67:6d:a1
> mgt=kvm
> netboot=pxe
> postbootscripts=otherpkgs
> postscripts=syslog,remoteshell,syncfiles
> primarynic=mac
>
> Looks better, so I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Error: cn01: 'arch' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> So now it looks like I'm missing an entry in my nodetype table -
> tabdump shows:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
>
> So I tried populating the nodetype table manually - using "tabdump -d
> nodetype" as my guide I populated the values as follows. There are a
> couple I'm not sure about - for example there is no specific reference
> to ubuntu in the definitions for the os column, so I set it to boottarget:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
> "cn01","boottarget","x86_64",,"netboot","x86_64","vm",,
>
> Now I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Provision node(s): cn01
> Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Unable to find pxelinux.0
> Unable to find pxelinux.0
> Error: failed to run 'nodeset' against the following nodes: cn01
>
> If I look for pxelinux.0 on my filesystem, I get the following:
>
> ***@xcat1:~# locate pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/pxelinux.0
>
> Any ideas how I tie all this together? I'm not sure where I'm supposed
> to place pxelinux.0, or which table needs reference to it.
>
> Kind regards,
>
> James
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 13:17
>
> James,
>
> Here is a link to the instructions for managing VMs:
> _
> __http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html_
>
> At one point in that document it will say to do "rpower vm1 on", use
> "rinstall <your cn name> osimage=<your image name>" instead.
>
> There is also a section for troubleshooting:
> _
> __http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html_
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 09:05 AM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James_
> __Xiao Peng Wang_ <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
>
> The manpage said: *rinstall*_noderange_*osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (ÍõÏßÅó)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __James Freeman_ <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __Mark Gurevich_ <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __James Freeman_ <mailto:***@quru.com>
> 22 March 2017 at 22:16
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __Casandra H Qiu_ <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04_
> ***@us.ibm.com_ <mailto:***@us.ibm.com>
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: _xcat-***@lists.sourceforge.net_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here: _
> __https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start_
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 13:03
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
> The manpage said: *rinstall*_noderange_ *osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (王晓朋)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 17:19
> Thanks all for your help - making some progress here. After some
> testing I established that I was missing the netboot initrd.gz image,
> so I fixed that:
>
> cd /install/ubuntu16.04.1/x86_64/install/netboot/
> mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
> cp /mnt/install/initrd.gz .
> umount /mnt
>
> Then I realised that I was also missing the netboot parameter for my
> node definition - this is the error that rinstall was throwing:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> So I checked the valid definitions then added the one I wanted (I have
> PXE boot in my environment):
>
> ***@xcat1:~# tabdump -d noderes
> node: The node name or group name.
> ...
> ...
>
> This shows us that for x86_64 (our architecture) we should be using
> pxe or xnba, so:
>
> ***@xcat1:~# chdef -t node -o cn01 netboot=pxe
> ***@xcat1:~# lsdef -t node -o cn01
> Object name: cn01
> groups=compute,all
> installnic=mac
> mac=00:0c:29:67:6d:a1
> mgt=kvm
> netboot=pxe
> postbootscripts=otherpkgs
> postscripts=syslog,remoteshell,syncfiles
> primarynic=mac
>
> Looks better, so I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Error: cn01: 'arch' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> So now it looks like I'm missing an entry in my nodetype table -
> tabdump shows:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
>
> So I tried populating the nodetype table manually - using "tabdump -d
> nodetype" as my guide I populated the values as follows. There are a
> couple I'm not sure about - for example there is no specific reference
> to ubuntu in the definitions for the os column, so I set it to boottarget:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
> "cn01","boottarget","x86_64",,"netboot","x86_64","vm",,
>
> Now I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Provision node(s): cn01
> Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Unable to find pxelinux.0
> Unable to find pxelinux.0
> Error: failed to run 'nodeset' against the following nodes: cn01
>
> If I look for pxelinux.0 on my filesystem, I get the following:
>
> ***@xcat1:~# locate pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/pxelinux.0
>
> Any ideas how I tie all this together? I'm not sure where I'm supposed
> to place pxelinux.0, or which table needs reference to it.
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 13:17
> James,
>
> Here is a link to the instructions for managing VMs:
>
> http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html
>
> At one point in that document it will say to do "rpower vm1 on", use
> "rinstall <your cn name> osimage=<your image name>" instead.
>
> There is also a section for troubleshooting:
>
> http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 09:05 AM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
> The manpage said: *rinstall*_noderange_ *osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (ÍõÏßÅó)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 22 March 2017 at 22:16
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Casandra H Qiu <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04_
> ***@us.ibm.com_ <mailto:***@us.ibm.com>
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: _xcat-***@lists.sourceforge.net_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here: _
> __https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start_
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 13:03
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
> The manpage said: *rinstall*noderange*osimage*=imagename
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (王晓朋)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
> ------------------------------------------------------------------------------
> 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
James Freeman
2017-03-24 17:42:38 UTC
Permalink
Ah - ok progress - it turns out that when you use Ubuntu as the master,
it doesn't store pxelinux.0 in a place the xCAT recognises. The
/opt/xcat/lib/perl/xCAT_plugin/pxe.pm expects to find pxelinux in either
$tftpdir or /usr/lib/syslinux/pxelinux.0 or
/usr/share/syslinux/pxelinux.0 - however "apt install pxelinux" does put
pxelinux.0 into /usr/lib/PXELINUX/pxelinux.0

As a result you need to run ln -s /usr/lib/PXELINUX/pxelinux.0
/usr/lib/syslinux/pxelinux.0 and then you can run rinstall....

***@xcat1:/usr/lib/syslinux# rinstall cn01
osimage=ubuntu16.04.1-x86_64-install-compute -V
Provision node(s): cn01
Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute

cn01: install ubuntu16.04.1-x86_64-compute
xcat1: Unable to determine or reasonably guess the image server for cn01
Run command: rpower cn01 boot
Can't find cn01
Can't find cn01
Error: failed to run 'rpower' against the following nodes: cn01

Making progress - I get the impression I'm not running on a supported
master? I'll keep on debugging but if anyone has any further ideas they
would be gratefully received.

James

> James Freeman <mailto:***@quru.com>
> 24 March 2017 at 15:34
> Thanks Mark - unfortunately not though. I can see the syslinux
> packages installed:
>
> ***@xcat1:~# dpkg -l | grep syslinux
> ii syslinux
> 3:6.03+dfsg-11ubuntu1 amd64 collection of
> bootloaders (DOS FAT and NTFS bootloader)
> ii syslinux-common
> 3:6.03+dfsg-11ubuntu1 all collection of
> bootloaders (common)
> ii syslinux-xcat
> 3.86-2 all SYSLINUX modules in
> /opt/xcat/share/xcat/netboot/syslinux, available for network booting
>
> And the files are indeed there:
>
> ***@xcat1:~# locate pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/pxelinux.0
>
> Unfortunately strace doesn't give much away - I can see that rinstall
> runs nodeset, and nodeset runs the Tree.pm Perl module before issuing
> the error about finding pxelinux.0, but I can't see the root path it's
> searching:
>
> stat("/usr/lib/x86_64-linux-gnu/perl5/5.22/XML/Parser/Style/Tree.pm",
> {st_mode=S_IFREG|0644, st_size=2213, ...}) = 0
> open("/usr/lib/x86_64-linux-gnu/perl5/5.22/XML/Parser/Style/Tree.pm",
> O_RDONLY) = 4
> ioctl(4, TCGETS, 0x7fffc693d160) = -1 ENOTTY (Inappropriate
> ioctl for device)
> lseek(4, 0, SEEK_CUR) = 0
> read(4, "# $Id: Tree.pm,v 1.2 2003-07-31 "..., 8192) = 2213
> brk(0x2eea000) = 0x2eea000
> lseek(4, 898, SEEK_SET) = 898
> lseek(4, 0, SEEK_CUR) = 898
> close(4) = 0
> write(2, "Error: Unable to find pxelinux.0"..., 34Error: Unable to
> find pxelinux.0
>
> I see that nodeset references the noderes, site and nodetype tables so
> I presume I haven't set something correctly in one of them. However I
> can't spot what it is. My current guess is that there's a path not set
> correctly somewhere - but not clear which table entry I need to edit.
>
> Any thoughts?
>
> James
>
>
> ------------------------------------------------------------------------------
> 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
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 18:17
> Maybe this will help:
>
> http://xcat-docs.readthedocs.io/en/stable/advanced/mixed_cluster/power/diskless.html
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 01:20 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Thanks all for your help - making some progress here. After some
> testing I established that I was missing the netboot initrd.gz image,
> so I fixed that:
>
> cd /install/ubuntu16.04.1/x86_64/install/netboot/
> mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
> cp /mnt/install/initrd.gz .
> umount /mnt
>
> Then I realised that I was also missing the netboot parameter for my
> node definition - this is the error that rinstall was throwing:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> So I checked the valid definitions then added the one I wanted (I have
> PXE boot in my environment):
>
> ***@xcat1:~# tabdump -d noderes
> node: The node name or group name.
> ...
> ...
>
> This shows us that for x86_64 (our architecture) we should be using
> pxe or xnba, so:
>
> ***@xcat1:~# chdef -t node -o cn01 netboot=pxe
> ***@xcat1:~# lsdef -t node -o cn01
> Object name: cn01
> groups=compute,all
> installnic=mac
> mac=00:0c:29:67:6d:a1
> mgt=kvm
> netboot=pxe
> postbootscripts=otherpkgs
> postscripts=syslog,remoteshell,syncfiles
> primarynic=mac
>
> Looks better, so I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Error: cn01: 'arch' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> So now it looks like I'm missing an entry in my nodetype table -
> tabdump shows:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
>
> So I tried populating the nodetype table manually - using "tabdump -d
> nodetype" as my guide I populated the values as follows. There are a
> couple I'm not sure about - for example there is no specific reference
> to ubuntu in the definitions for the os column, so I set it to boottarget:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
> "cn01","boottarget","x86_64",,"netboot","x86_64","vm",,
>
> Now I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Provision node(s): cn01
> Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Unable to find pxelinux.0
> Unable to find pxelinux.0
> Error: failed to run 'nodeset' against the following nodes: cn01
>
> If I look for pxelinux.0 on my filesystem, I get the following:
>
> ***@xcat1:~# locate pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/pxelinux.0
>
> Any ideas how I tie all this together? I'm not sure where I'm supposed
> to place pxelinux.0, or which table needs reference to it.
>
> Kind regards,
>
> James
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 13:17
>
> James,
>
> Here is a link to the instructions for managing VMs:
> _
> __http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html_
>
> At one point in that document it will say to do "rpower vm1 on", use
> "rinstall <your cn name> osimage=<your image name>" instead.
>
> There is also a section for troubleshooting:
> _
> __http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html_
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 09:05 AM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James_
> __Xiao Peng Wang_ <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
>
> The manpage said: *rinstall*_noderange_*osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (ÍõÏßÅó)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __James Freeman_ <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __Mark Gurevich_ <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __James Freeman_ <mailto:***@quru.com>
> 22 March 2017 at 22:16
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user__
> __Casandra H Qiu_ <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04_
> ***@us.ibm.com_ <mailto:***@us.ibm.com>
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: _xcat-***@lists.sourceforge.net_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here: _
> __https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start_
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 13:03
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
> The manpage said: *rinstall*_noderange_ *osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (王晓朋)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 17:19
> Thanks all for your help - making some progress here. After some
> testing I established that I was missing the netboot initrd.gz image,
> so I fixed that:
>
> cd /install/ubuntu16.04.1/x86_64/install/netboot/
> mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
> cp /mnt/install/initrd.gz .
> umount /mnt
>
> Then I realised that I was also missing the netboot parameter for my
> node definition - this is the error that rinstall was throwing:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> So I checked the valid definitions then added the one I wanted (I have
> PXE boot in my environment):
>
> ***@xcat1:~# tabdump -d noderes
> node: The node name or group name.
> ...
> ...
>
> This shows us that for x86_64 (our architecture) we should be using
> pxe or xnba, so:
>
> ***@xcat1:~# chdef -t node -o cn01 netboot=pxe
> ***@xcat1:~# lsdef -t node -o cn01
> Object name: cn01
> groups=compute,all
> installnic=mac
> mac=00:0c:29:67:6d:a1
> mgt=kvm
> netboot=pxe
> postbootscripts=otherpkgs
> postscripts=syslog,remoteshell,syncfiles
> primarynic=mac
>
> Looks better, so I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Error: cn01: 'arch' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> So now it looks like I'm missing an entry in my nodetype table -
> tabdump shows:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
>
> So I tried populating the nodetype table manually - using "tabdump -d
> nodetype" as my guide I populated the values as follows. There are a
> couple I'm not sure about - for example there is no specific reference
> to ubuntu in the definitions for the os column, so I set it to boottarget:
>
> ***@xcat1:~# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
> "cn01","boottarget","x86_64",,"netboot","x86_64","vm",,
>
> Now I try rinstall again:
>
> ***@xcat1:~# rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute -V
> Provision node(s): cn01
> Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Unable to find pxelinux.0
> Unable to find pxelinux.0
> Error: failed to run 'nodeset' against the following nodes: cn01
>
> If I look for pxelinux.0 on my filesystem, I get the following:
>
> ***@xcat1:~# locate pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
> /install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
> /opt/xcat/share/xcat/netboot/syslinux/pxelinux.0
>
> Any ideas how I tie all this together? I'm not sure where I'm supposed
> to place pxelinux.0, or which table needs reference to it.
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 13:17
> James,
>
> Here is a link to the instructions for managing VMs:
>
> http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html
>
> At one point in that document it will say to do "rpower vm1 on", use
> "rinstall <your cn name> osimage=<your image name>" instead.
>
> There is also a section for troubleshooting:
>
> http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html
>
> 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: James Freeman <***@quru.com>
> To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
> Date: 03/23/2017 09:05 AM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
> Xiao Peng Wang <mailto:***@cn.ibm.com>
> 23 March 2017 at 12:51
>
> The manpage said: *rinstall*_noderange_ *osimage*=_imagename_
>
> So you should use 'rinstall cn01
> osimage=ubuntu16.04.1-x86_64-install-compute'
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (ÍõÏßÅó)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: ***@cn.ibm.com_ <mailto:***@cn.ibm.com>
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
> Haidian District Beijing P.R.China 100193
>
>
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 10:21
>
> Thank you guys for all your help so far - is there a guide I can
> follow for VM related installed? I am struggling a little with this -
> I tried rinstall as requested but get the following results:
>
> ***@xcat1:~# rinstall cn01 boot
> Provision node(s): cn01
> cn01: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot
> Error: failed to run 'nodeset' against the following nodes: cn01
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
> ***@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
> Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
> Error: No available nodes for provision.
>
> Kind regards,
>
> James
>
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Mark Gurevich <mailto:***@us.ibm.com>
> 23 March 2017 at 00:37
>
> James,
>
> If you are trying to boot a VM, there is no need to use "rsetboot".
> Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
> needed) and "rpower" for you.
>
> 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: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: xCAT Users Mailing list _<xcat-***@lists.sourceforge.net>_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 06:16 PM
> Subject: Re: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
> ------------------------------------------------------------------------
>
>
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
> chdef cn01 mgt=kvm
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> James Freeman <mailto:***@quru.com>
> 22 March 2017 at 22:16
>
> Hi there,
>
> Thanks for your quick reply - I tried that definition:
>
> ***@xcat1:~# chdef cn01 mgt=kvm
> 1 object definitions have been created or modified.
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
> "cn01",,"kvm",,,,,,,,,,,,
>
> but I still get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check
> relevant tables: nodehm.power,mgt;nodehm.mgt
>
> Is there something else I need to set?
>
> Kind regards,
>
> James
>
> Casandra H Qiu wrote:
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@lists.sourceforge.net>_
> __https://lists.sourceforge.net/lists/listinfo/xcat-user_
> Casandra H Qiu <mailto:***@us.ibm.com>
> 22 March 2017 at 19:11
>
> u need to define mgt in the node definition. use
> chdef cn01 mgt=kvm
>
>
> Thanks,
> Casandra
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04_
> ***@us.ibm.com_ <mailto:***@us.ibm.com>
>
>
>
> Inactive hide details for James Freeman ---03/22/2017 02:45:45 PM---Hi
> all, I am in the process of setting up xCAT to deploy soJames Freeman
> ---03/22/2017 02:45:45 PM---Hi all, I am in the process of setting up
> xCAT to deploy some Ubuntu hosts -
>
> From: James Freeman _<***@quru.com>_ <mailto:***@quru.com>
> To: _xcat-***@lists.sourceforge.net_
> <mailto:xcat-***@lists.sourceforge.net>
> Date: 03/22/2017 02:45 PM
> Subject: [xcat-user] Error: Unable to identify plugin for this
> command, check relevant tables: nodehm.power,mgt; nodehm.mgt
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I am in the process of setting up xCAT to deploy some Ubuntu hosts -
> right now I am testing in a VMware ESXi environment with PXE boot
> enabled, but once I've got things working this will be rolled out beyond
> this.
>
> I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
> were seen during install and here is the version detail:
>
> ***@xcat1:~# lsxcatd -a
> Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
> built Wed Feb 22 22:44:48 EST 2017)
> This is a Management Node
> dbengine=SQLite
>
> I have been following the guide here: _
> __https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start_
> to get my off the ground and running - the only difference is I am using
> Ubuntu 16.04 so I've substituted that where applicable. All steps in the
> guide I have completed with no issues or errors up until the point where
> I am trying to build cn01 (I've kept my test system names the same for
> ease - again this will be extended in the future). When I try to ready
> the system for build, I get the following:
>
> ***@xcat1:~# rsetboot cn01 net
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: nodehm.power,mgt;nodehm.mgt
> ***@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> cn01: Error: Unable to identify plugin for this command, check relevant
> tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
>
> I note that the nodehm table has nothing in it:
>
> ***@xcat1:~# tabdump nodehm
> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
>
> However I don't believe I have skipped any steps. Have I missed
> something fundamental, or is there something I can do to rectify this?
> At this stage I don't want to worry about hardware management - I have
> no IPMI or HMC right now - I just want to network boot my servers from
> xCAT. Again in future IPMI will be added, but that's to come.
>
> Please can someone help me work out how to proceed?
>
> Thanks in advance,
>
> James
> --
> QURU Ltd
> Somerset House, Strand, London, WC2R 1LA
>
> Registered in England, No. 6144918, at Millmead, RH20 1AG
>
> ------------------------------------------------------------------------------
> 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_
> <mailto:xCAT-***@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-***@lists.sourceforge.net_
> <mailto:xCAT-***@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-***@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-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> James Freeman <mailto:***@quru.com>
> 23 March 2017 at 13:03
> Hi there,
>
> Yes I realised my mistake after running the "boot" command first -
> however the rinstall command still won't run - please see the output
> below:
>
> ***@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
> Error: cn01: Missing the 'netboot' attribute.
> Error: No available nodes for provision.
>
> I think I have still missed something during the setup phase?
>
> Kind regards,
>
> James
>
> ------------------------------------------------------------------------------
> 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
Xiao Peng Wang
2017-03-23 00:41:45 UTC
Permalink
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Loading...