Hi, Wodel
 
For your question 'why there is a difference on the booted image between xnba and pxe???'
As you can see, when using pxe, the client ip is 10.10.2.31 rather than 10.10.2.61. So, you must not run nodeset after switch to pxe.
 
But we suggest to use xnba for KVM VM booting.
 
For the error in libvirt log below, a similar error get https://bugzilla.redhat.com/show_bug.cgi?id=1386102, it seems some VM start parameter is unsupported , can you tell us how the VM is started?
And what about  the attributes for the VM? Such as the CPU number, Memory size...
 
KVM internal error. Suberror: 1
emulation failure
 
Thx!
Best Regards,
-----------------------------------
Zhao Er Tao

IBM China System and Technology Laboratory, Beijing
Tel:(86-10)82450485
Email: erta...@cn.ibm.com
Address: 1/F, 28 Building,ZhongGuanCun Software Park,
No.8 DongBeiWang West Road, Haidian District,
Beijing, 100193, P.R.China
 
 
----- Original message -----
From: wodel youchi <wodel.you...@gmail.com>
To: xcat-user@lists.sourceforge.net
Cc:
Subject: Re: [xcat-user] Problem deploying compute node, vmlinuz not being downloaded
Date: Fri, Sep 7, 2018 2:03 AM
 
Hi,
 
Thanks for the help.
 
For now I didn't configure any hardware management for the compute nodes.
 
Initially the netboot option was xnba, and as explained, I start the node VM with pxe boot, the VM gets it's IP then It downloads the /tftpboot/xcat/xnba/nodes/cnode001 file, then when trying to download the vmlinuz nothing happens, this is what I get from httpd access_log
10.10.2.61 - - [04/Sep/2018:13:17:28 +0100] "GET /tftpboot/xcat/xnba/nodes/cnode001 HTTP/1.1" 200 447 "-" "iPXE/1.0.3-131028 (d603e)"
10.10.2.61 - - [04/Sep/2018:13:17:28 +0100] "GET /tftpboot/xcat/osimage/centos7.5-x86_64-install-compute/vmlinuz HTTP/1.1" 200 6224704 "-" "iPXE/1.0.3-131028 (d603e)"
 
I switched to pxe, and the same problem
10.10.2.31 - - [05/Sep/2018:23:06:44 +0100] "GET /tftpboot/xcat/xnba/nets/10.10.2.0_24 HTTP/1.1" 200 241 "-" "iPXE/1.0.3-131028 (d603e)"
10.10.2.31 - - [05/Sep/2018:23:06:44 +0100] "GET /tftpboot/xcat/genesis.kernel.x86_64 HTTP/1.1" 200 5877760 "-" "iPXE/1.0.3-131028 (d603e)"
 
The provisioning never happened, the process stopped here, the vmlinuz never gets downloaded.
 
What I don't understand also is, why there is a difference on the booted image between xnba and pxe???
When using xnba, the kernel from the osimage centos7.5-x86_64-install-compute was used, and when using pxe the genesis kernel was used.
 
[root@manager01 ~]# lsdef -t node cnode001
Object name: cnode001
    arch=x86_64
    currchain=boot
    currstate=install centos7.5-x86_64-compute
    groups=mynodes,compute,all
    ip=10.10.2.61
    mac=52:54:00:19:13:aa
    netboot=pxe
    os=centos7.5
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    profile="">    provmethod=centos7.5-x86_64-install-compute
 
 
 
 
Regards.
 
Le mer. 5 sept. 2018 à 03:43, Song BJ Yang <yang...@cn.ibm.com> a écrit :
I made abstraction of BMC configuration and I didn't use xcat with KVM, the idea is to simulate physical deployment.
 not quite understand this, what is the "mgt" attribute of the node?
 
The problem : the PXE boot works fine until the download of the vmlinuz image and it hangs, and nothing after.
 
what is the "netboot" attribute of the node? if "pxe" does not work, please try "xnba". 
 
can you see the console of the node during provision?
 
 
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
 
 
----- Original message -----
From: wodel youchi <wodel.you...@gmail.com>
To: xcat-user@lists.sourceforge.net
Cc:
Subject: [xcat-user] Problem deploying compute node, vmlinuz not being downloaded
Date: Wed, Sep 5, 2018 7:41 AM
 
Hi,
 
I am newbie in xcat, and I am trying to deploy my first compute node but without success.
First of all, excuse the statement, but the documentation is a mess (sorry).
 
My lab is pretty simple, I am using VMs for the management node and compute nodes.
I made abstraction of BMC configuration and I didn't use xcat with KVM, the idea is to simulate physical deployment.
 
I am using Centos 7.5 as OS for MN and CN.
 
I boot the compute node manually in PXE boot.
 
The problem : the PXE boot works fine until the download of the vmlinuz image and it hangs, and nothing after.
 
In http access_log I can see the GET of the vmlinuz request, but nothing happen, I waited 10 minutes, and nothing.
 
I tried with wget from another host, and the file vmlinuz can be downloaded without problem.
 
Any ideas?
 
Regards.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 

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

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

Reply via email to