if you can login in the provisioned diskless os on compute node, please check /var/log/xcat/xcat.log on it, this log includes the logs during postscripts and postbootscritps running 
------------------------------------------------------------------------------
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: "Huette, Antoine" <antoine.hue...@bechtle.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: Re: [xcat-user] [External] Diskless install leads to emergency mode
Date: Thu, Oct 25, 2018 10:13 PM
 
Some news : I was able to install the driver after installing dkms.
Now if I try to start in graphical target it doesn't work and the screen stays black.
 
I also still have to understand why the postscripts don't want to be executed.
 
Best Regards
 
 
-------- Message d'origine --------
De : "Huette, Antoine" <antoine.hue...@bechtle.com>
Date : 25/10/2018 13:41 (GMT+01:00)
À : xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Objet : Re: [xcat-user] [External] Diskless install leads to emergency mode
 
Ok, so I tried to manually install the NVIDIA driver (card is a quadro k5000) but when I execute the .run it says the libc headers files are missing.
I checked but didn't find the package name I need...
What else do I need ?
 
And also, the postscripts I added for the driver installation and some nvidia-settings commands are not run despite being in the postscripts and osimage tables.
 
Best Regards
 
 
-------- Message d'origine --------
De : Yuan Y Bai <by...@cn.ibm.com>
Date : 25/10/2018 03:41 (GMT+01:00)
À : xcat-user@lists.sourceforge.net
Cc : xcat-user@lists.sourceforge.net
Objet : Re: [xcat-user] [External] Diskless install leads to emergency mode
 
Hi Huette
 
When you want to add some packages from OS, you can append package short names in the pkglist. You can find the pkglist from osimage definition, then edit the pkglist to append packages like following commands:
 
~]# lsdef -t osimage rhels7.4-x86_64-install-compute -i pkglist
Object name: rhels7.4-x86_64-install-compute
    pkglist=/opt/xcat/share/xcat/install/rh/compute.rhels7.pkglist
 
 ~]# cat /opt/xcat/share/xcat/install/rh/compute.rhels7.pkglist
#Please make sure there is a space between @ and group name
wget
ntp
nfs-utils
net-snmp
rsync
yp-tools
openssh-server
util-linux
net-tools
 
 
 
Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193
 
 
----- Original message -----
From: "Huette, Antoine" <antoine.hue...@bechtle.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: Re: [xcat-user] [External] Diskless install leads to emergency mode
Date: Thu, Oct 25, 2018 3:42 AM
 
Yes, I already know how to install a package with the installroot option :)
 
What I found weird is that some packages, including yum, weren't installed even though they are specified in the pkglist file. 
 
Whatever, I just added some packages like a desktop environment, gcc and python in the rootimg, and after a reboot yum was also working. I guess it was installed with a package I added.
 
Best Regards
 
 
-------- Message d'origine --------
De : Jarrod Johnson <jjohns...@lenovo.com>
Date : 24/10/2018 19:22 (GMT+01:00)
À : xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Objet : Re: [xcat-user] [External] Diskless install leads to emergency mode
 

The general principle is to leave things like yum out during packimage stage.

 

However, prior to packimage, you can, for example:

# chroot /install/netboot/rhels7.5/x86_64/compute/rootimg/

[root@mn10 /]#

 

To manage the image in place, and using yum externally:
yum –installroot=/install/netboot/rhels7.5/x86_64/compute/rootimage/

 

In either case, /install/netboot/rhels7.5/x86_64/compute/rootimage/etc/repos.d is what yum will complaint…

 

 

From: Huette, Antoine <antoine.hue...@bechtle.com>
Sent: Wednesday, October 24, 2018 1:07 PM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: Re: [xcat-user] [External] Diskless install leads to emergency mode

 

Finally I've found out that the nfs exports weren't done correctly !

After fixing it the node booted correctly :)

 

However...some basic packages like yum are missing...

I'm quite sure I don't need to put such basic packages in the pkglist file, right ?

 

Best Regards

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to