xCAT does not support to generate the rh6 osimage on a rh5 management node. The target osimage should be generated on the node with same OS level. That means you have to find a rhels6 node to generate the osimage of rhels6.
Thanks Best Regards ---------------------------------------------------------------------- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: [email protected] Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 From: Kostas Katrinis <[email protected]> To: [email protected] Date: 2011-11-16 01:25 Subject: [xcat-user] Creating RHEL6 Stateless Images on a RHEL5.5 MGMT Node Hi all, this the setting: - mgmt node running RHEL5.5 (no service nodes) - stateless compute nodes (netboot) Provisioning nodes with RHEL5.5 images works seamlessly, however I can't reach the point where I get a RHEL6 image done with genimage. Below is the error output of running genimage. I presume this is due to the different algorithms used by the yum versions in RHEL5 and RHEL6 respectively. So just wondering whether anyone has had success with a workaround that would work without breaking or having to upgrade the RHEL5 mgmt node, e.g. having two versions of yum/rpm on the mgmt node, any option that would allow the RHEL5 yum to use the RHEL6 algorithms etc. Any help would be greatly appreciated. ---------------------------------------------------------------------------------- Interface: eth0 Generating image: cd /opt/xcat/share/xcat/netboot/rh; ./genimage -o rhels6 -p compute -i eth0 --internal yum -y -c /tmp/genimage.25594.yum.conf --installroot=/install/netboot/rhels6/x86_64/compute/rootimg/ --disablerepo=* --enablerepo=rhels6-x86_64-0 --enablerepo=rhels6-x86_64-1 --ena blerepo=rhels6-x86_64-2 --enablerepo=rhels6-x86_64-3 --enablerepo=rhels6-x86_64-4 --enablerepo=rhels6-x86_64-5 install bash dracut-network nfs-utils openssl dhclient kernel opens sh-server openssh-clients wget vim-minimal ntp rpm rsync rsyslog e2fsprogs file:///install/rhels6/x86_64/repodata/7e94eeabef95726e82318ff8b73520540d2747feb3c0425130fcafdc560340c1-primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror. file:///install/rhels6/x86_64/repodata/7e94eeabef95726e82318ff8b73520540d2747feb3c0425130fcafdc560340c1-primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror. Error: failure: repodata/7e94eeabef95726e82318ff8b73520540d2747feb3c0425130fcafdc560340c1-primary.sqlite.bz2 from rhels6-x86_64-0: [Errno 256] No more mirrors to try. yum invocation failed Error: Command failed: cd /opt/xcat/share/xcat/netboot/rh; ./genimage -o rhels6 -p compute -i eth0 --internal 2>&1. Error message: yum -y -c /tmp/genimage.25594.yum.conf --installroot=/install/netboot/rhels6/x86_64/compute/rootimg/ --disablerepo=* --enablerepo=rhels6-x86_64-0 --enablerepo=rhels6-x86_64-1 --enablerepo=rhels6-x86_64-2 --enablerepo=rhels6-x86_64-3 --enablerepo=rhels6-x86_64-4 --enablerepo=rhels6-x86_64-5 install bash dracut-network nfs-utils openssl dhclient kernel openssh-server openssh-clients wget vim-minimal ntp rpm rsync rsyslog e2fsprogs file:///install/rhels6/x86_64/repodata/7e94eeabef95726e82318ff8b73520540d2747feb3c0425130fcafdc560340c1-primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror. file:///install/rhels6/x86_64/repodata/7e94eeabef95726e82318ff8b73520540d2747feb3c0425130fcafdc560340c1-primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror. Error: failure: repodata/7e94eeabef95726e82318ff8b73520540d2747feb3c0425130fcafdc560340c1-primary.sqlite.bz2 from rhels6-x86_64-0: [Errno 256] No more mirrors to try. yum invocation failed. ---------------------------------------------------------------------------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
