Hi again,

Here is some details about my lab test.

My physical machine is a Fedora 28, I have created on it two VMs, A manager
and Compute node using CentOS 7.5

The problem is as described previously, the vmlinuz does no get downloaded
using xnba or pxe.

I made another test, I used nested KVM to create a CentOS 7.5 hypervisor
then on top of it i created one Compute VM.

This time when using pxe, the vmlinuz get downloaded at 66% then it
freezes, but when using xnba the VM completely freeze and I get this error
on libvirt log
KVM internal error. Suberror: 1
emulation failure
EAX=8d9604fe EBX=00010000 ECX=bdeae265 EDX=2500b04c
ESI=d889c6d2 EDI=000104ca EBP=620e2060 ESP=0001bfb0
EIP=41dcc3ea EFL=00010082 [--S----] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 7fef5000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0008 7fef5000 ffffffff 00c09f00 DPL=0 CS32 [CRA]
SS =0010 7fef5000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0010 7fef5000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0010 7fef5000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0010 7fef5000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     0009cf70 00000047
IDT=     7ff107f0 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00



Regards.

Le jeu. 6 sept. 2018 à 19:03, wodel youchi <wodel.you...@gmail.com> a
écrit :

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

Reply via email to