confusing error message when xCAT-IBMhpc is not installed.After I installed xCAT-IBMhpc-2.8.3-snap201310090314.noarch, the error is gone, genimage run successfully.
xcat-core]# genimage rhels6.4-ppc64-netboot-compute
Generating image:
cd /opt/xcat/share/xcat/netboot/rh; ./genimage -a ppc64 -o rhels6.4 -p compute --permission 755 --srcdir /install/rhels6.4/ppc64 --pkglist /install/custom/netboot/rh/compute.pkglist --otherpkgdir "/install/post/otherpkgs/rhels6.4/ppc64" --otherpkglist /install/osimages/rhels6.4-ppc64-netboot-compute/kits/KIT_DEPLOY_PARAMS.otherpkgs.pkglist,/install/custom/netboot/rh/compute.otherpkgs.pkglist,/install/osimages/rhels6.4-ppc64-netboot-compute/kits/KIT_COMPONENTS.otherpkgs.pkglist --postinstall /opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall,/install/osimages/rhels6.4-ppc64-netboot-compute/kits/KIT_COMPONENTS.postinstall --rootimgdir /install/netboot/rhels6.4/ppc64/compute --tempfile /tmp/xcat_genimage.28381 rhels6.4-ppc64-netboot-compute
mknod: /install/netboot/rhels6.4/ppc64/compute/rootimg/dev/null': No such file or directory
sh: line 0: cd: /install/netboot/rhels6.4/ppc64/compute/rootimg/etc/rc3.d: No such file or directory
sh: line 0: cd: /install/netboot/rhels6.4/ppc64/compute/rootimg/etc/rc3.d: No such file or directory
sh: /install/netboot/rhels6.4/ppc64/compute/rootimg/sbin/fsck.nfs: No such file or directory
chmod: cannot access/install/netboot/rhels6.4/ppc64/compute/rootimg/sbin/fsck.nfs': No such file or directory
chroot: failed to run command rpm': No such file or directory
chroot: failed to run commandrpm': No such file or directory
couldn't find the kernel file matched 2.6.32-358.el6.ppc64 in /install/netboot/rhels6.4/ppc64/compute/rootimg/boot at ./genimage line 70.
4 ~]# lsxcatd -v
Version 2.8.3 (built Mon Nov 4 22:24:48 EST 2013)
I don't think the "df" result show that tmpfs is full
Diff:
Yang song,
Sorry for my mistake.
Since xCAT-IBMhpc rpm is not mandatory installation,if there is no xCAT-IBMhpc,in some situation, genimage will fail and return confusing error message.
You can debug using my environment.
[root@p7hvjs22r04 netboot]# lsdef -t osimage -o rhels6.4-ppc64-netboot-compute
Object name: rhels6.4-ppc64-netboot-compute
exlist=/install/custom/netboot/rh/compute.exlist
imagetype=linux
osarch=ppc64
osdistroname=rhels6.4-ppc64
osname=Linux
osvers=rhels6.4
otherpkgdir=/install/post/otherpkgs/rhels6.4/ppc64
permission=755
pkgdir=/install/rhels6.4/ppc64
pkglist=/install/custom/netboot/rh/compute.pkglist
postinstall=/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall
profile=compute
provmethod=netboot
rootimgdir=/install/netboot/rhels6.4/ppc64/compute
synclists=/install/custom/netboot/rh/compute.synclist
[root@p7hvjs22r04 netboot]# cat /install/custom/netboot/rh/compute.pkglist
INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.pkglist
INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist
INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.pkglist
[root@p7hvjs22r04 netboot]#
If the xCAT-IBMhpc is not installed, the files included in pkglist do not exist, so the pkglist is empty.
The error message should be more clear.
fixed in 2.9:
commit 88926480a256bd20af043fb59782f0f21f750d3c
Merge: 7ba5977 4624c6b
Author: immarvin yangsbj@cn.ibm.comq
Date: Wed Nov 6 01:45:42 2013 -0800
commit 7ba59778695324a4fb1b57e49dba34a3be496125
Author: immarvin yangsbj@cn.ibm.comq
Date: Wed Nov 6 01:45:12 2013 -0800
fixed in 2.8.4:
commit 43bc2d1e8eddaf2336efc494409f5bbc6660e197
Author: immarvin yangsbj@cn.ibm.comq
Date: Wed Nov 6 01:45:12 2013 -0800