xcat-core
xcat-core copied to clipboard
xCAT genesis shell is not booting while using custom xCAT genesis base
Followed following steps to create an rpm file for xcat genesis base and boot to genesis image shell: (https://github.com/xcat2/xcat-core/blob/master/xCAT-genesis-builder/README.md)
- Check current xcat-genesis-base installation: rpm -qa | grep xCAT
- Delete current xcat-genesis-base installation: rpm -e --nodeps xCAT-genesis-base-x86_64-2.16.4-snap202305151346.noarch
- Configure epel repo: sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- Git clone xcat-core: git clone -b master https://github.com/xcat2/xcat-core.git
- cd xcat-core/xCAT-genesis-builder
- Create rpm file: ./buildrpm
- Install new rpm: cd /root/rpmbuild/RPMS/ rpm -ivh *.rpm
- Re-install xCAT genesis-scripts: yum install xCAT-genesis-scripts-x86_64
- mknb x86_64
- Set node for shell: nodeset node00002 shell
- Reset the system: rpower node00002 reset
It doesnt boot to xcat genesis image and gives following 2 errors:
- rsyslogd: getaddrinfo failed obtaining local hostname - using '(none)' instead.
- xcat.genesis.doxcat: Unable to find boot device ( Maybe the xCAT genesis kernel is missing the driver for your NIC?)
@sakshiarora13 Was there a reason why you wanted your own version of xCAT-genesis-base ? Did the one shipped with xCAT not work ?
The one shipped with xCAT is working fine. I want to configure RAID before provisioning server with OS. For the same, I want to install few binaries in the custom xCAT-genesis-base.
@sakshiarora13 one workaround you can use is as below:
- store the addon tools and custom scripts in
xcat-master:/install/custom/dell-raid - Boot the node into shell using the upstream genesis
- Open a terminal on the node (I usually did
rcons $NODE, thenctrl-A cto open a new screen session parallel to the genesis screen session) - Copy the folder
/install/custom/dell-raidfrom the MN to the node. - Run everything as required on the node.
I am also facing this issue. Tried creating genesis image using tagged branch 2.16.4. Unable to boot genesis image with custom genesis base in x86_64 architecture. genesis boot is stuck at below error in the screenshot:
xCAT genesis base image for x86_64 is not updated after 2.14.5 version. Refer below screenshot.
@samveen @gurevichmark Can you please help me in this?