-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It is in the list and installed:
Package dracut-network-004-283.el6.noarch already installed and latest
version
Here is my osimage definition and packagelist:
[root@mgmt ~]# lsdef -t osimage mycomputeimage
Object name: mycomputeimage
exlist=/install/custom/netboot/centos/compute.exlist
imagetype=linux
netdrivers=e1000e
nodebootif=eth0
osarch=x86_64
osname=Linux
osvers=centos6.3
otherpkgdir=/install/post/otherpkgs/centos6.3/x86_64
permission=755
pkgdir=/install/centos6.3/x86_64
pkglist=/install/custom/netboot/centos/compute.centos6.pkglist
postinstall=/install/custom/netboot/centos/compute.postinstall
profile=compute
provmethod=netboot
rootimgdir=/install/netboot/centos6.3/x86_64/compute
[root@mgmt ~]# cat /install/custom/netboot/centos/compute.centos6.pkglist
bash
nfs-utils
openssl
dhclient
kernel
openssh-server
openssh-clients
busybox
dash
wget
rsync
dracut-network
lsvpd
irqbalance
procps
iputils
rpm
e2fsprogs
parted
bc
ntp
vim-minimal
I changed busybox-anaconda to busybox because there is no
busybox-anaconda in Centos 6.x. I haven't removed lsvpd, but it is
missing as well.
Any other ideas?
Mike
On 12/20/12 1:41 AM, Guang Cheng Li wrote:
> HI,
>
> I could run genimage on CentOS 6.3 and diskless boot CentOS 6.3
> compute nodes without any problem, the error below might be related
> to the package list file you are using, the error "W: Dracut module
> "xxxx" cannot be found." is caused by the missing dracut-network
> package in the pkglist.
>
> Here is my package list:
>
> [root@centosmn ~]# cat
> /opt/xcat/share/xcat/netboot/centos/compute.centos6.pkglist bash
> nfs-utils openssl dhclient kernel openssh-server openssh-clients
> busybox-anaconda wget rsync dracut-network lsvpd irqbalance procps
> rpm e2fsprogs parted bc ntp [root@centosmn ~]#
>
> You could compare which packages are not listed in your pkg list,
> and add these packages to your pkg list, it should be able to help
>
> Thanks,
> -------------------------------------------------------------------------
>
>
Li,Guang Cheng (李光成)
> IBM China System Technology Laboratory Email: [email protected]
> Address: Building 28, ZhongGuanCun Software Park, No.8, Dong Bei
> Wang West Road, Haidian District Beijing 100193, PRC
>
> 北京市海淀区东北旺西路8号中关村软件园28号楼 邮编: 100193
>
> Inactive hide details for Michael Robbert ---2012-12-20
> 09:03:48--------BEGIN PGP SIGNED MESSAGE----- Hash: SHA1Michael
> Robbert ---2012-12-20 09:03:48--------BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> From: Michael Robbert <[email protected]> To:
> <[email protected]> Date: 2012-12-20 09:03 Subject:
> [xcat-user] genimage won't create a working image
>
> ------------------------------------------------------------------------
>
>
>
>
> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>
> I'm running xCAT 2.7.6 on CentOS 6.3 and I'm trying to create a
> stateless image. When I run genimage it generates a bunch of
> warnings and some errors, but at the end it says that it was
> successful. After packing the image and attempting to boot a node I
> see that the node gets its kernel and initrd, but stops there. Here
> is a listing of the output I'm seeing from genimage:
>
> [root@mgmt compute]# genimage mycomputeimage Generating image: cd
> /opt/xcat/share/xcat/netboot/centos; ./genimage -a x86_64 -o
> centos6.3 -p compute -n e1000e -i eth0 --permission 755 --srcdir
> /install/centos6.3/x86_64 --pkglist
> /install/custom/netboot/centos/compute.centos6.pkglist
> --otherpkgdir /install/post/otherpkgs/centos6.3/x86_64
> --postinstall /install/custom/netboot/centos/compute.postinstall
> --rootimgdir /install/netboot/centos6.3/x86_64/compute --tempfile
> /tmp/xcat_genimage.30338 mycomputeimage yum -y -c
> /tmp/genimage.30346.yum.conf -
> --installroot=/install/netboot/centos6.3/x86_64/compute/rootimg/ -
> --disablerepo=* --enablerepo=centos6.3-x86_64-0 install bash
> nfs-utils openssl dhclient kernel openssh-server openssh-clients
> busybox dash wget rsync dracut-network lsvpd irqbalance procps
> iputils rpm e2fsprogs parted bc ntp vim-minimal Setting up Install
> Process Package bash-4.1.2-9.el6_2.x86_64 already installed and
> latest version Package 1:nfs-utils-1.2.3-26.el6.x86_64 already
> installed and latest version Package
> openssl-1.0.0-20.el6_2.5.x86_64 already installed and latest
> version Package 12:dhclient-4.1.1-31.P1.el6.x86_64 already
> installed and latest version Package kernel-2.6.32-279.el6.x86_64
> already installed and latest version Package
> openssh-server-5.3p1-81.el6.x86_64 already installed and latest
> version Package openssh-clients-5.3p1-81.el6.x86_64 already
> installed and latest version Package 1:busybox-1.15.1-15.el6.x86_64
> already installed and latest version Package
> dash-0.5.5.1-3.1.el6.x86_64 already installed and latest version
> Package wget-1.12-1.4.el6.x86_64 already installed and latest
> version Package rsync-3.0.6-9.el6.x86_64 already installed and
> latest version Package dracut-network-004-283.el6.noarch already
> installed and latest version No package lsvpd available. Package
> 2:irqbalance-0.55-34.el6.x86_64 already installed and latest
> version Package procps-3.2.8-23.el6.x86_64 already installed and
> latest version Package iputils-20071127-16.el6.x86_64 already
> installed and latest version Package rpm-4.8.0-27.el6.x86_64
> already installed and latest version Package
> e2fsprogs-1.41.12-12.el6.x86_64 already installed and latest
> version Package parted-2.1-18.el6.x86_64 already installed and
> latest version Package bc-1.06.95-1.el6.x86_64 already installed
> and latest version Package ntp-4.2.4p8-2.el6.centos.x86_64 already
> installed and latest version Package
> 2:vim-minimal-7.2.411-1.8.el6.x86_64 already installed and latest
> version Nothing to do Enter the dracut mode. Dracut version:
> 3.0.3-1 004 . Dracut directory: dracut.
> /usr/share/dracut/modules.d/40network/check: line 11: /dev/null:
> Permission denied W: Could not find program "ip" required by
> network. /usr/share/dracut/modules.d/95nfs/check: line 10:
> /dev/null: Permission denied
> /usr/share/dracut/modules.d/95nfs/check: line 10: /dev/null:
> Permission denied /usr/share/dracut/modules.d/40network/check: line
> 11: /dev/null: Permission denied W: Could not find program "ip"
> required by network. W: Cannot load dracut module "xcat",
> dependencies failed. W: Dracut module "xcat" cannot be found. W:
> Dracut module "nfs" cannot be found. W: Dracut module "network"
> cannot be found. /usr/share/dracut/dracut-functions: line 475:
> /dev/null: Permission denied ...
> /usr/share/dracut/dracut-functions: line 228: /dev/null: Permission
> denied /usr/share/dracut/modules.d/99base/install: line 19:
> /dev/null: Permission denied E: Failed to install switch_root
> /usr/share/dracut/dracut-functions: line 228: /dev/null: Permission
> denied /sbin/dracut: line 336: /dev/null: Permission denied the
> initial ramdisk for statelite is generated successfully.
> /usr/share/dracut/modules.d/40network/check: line 11: /dev/null:
> Permission denied W: Could not find program "ip" required by
> network. /usr/share/dracut/modules.d/95nfs/check: line 10:
> /dev/null: Permission denied
> /usr/share/dracut/modules.d/95nfs/check: line 10: /dev/null:
> Permission denied /usr/share/dracut/modules.d/40network/check: line
> 11: /dev/null: Permission denied W: Could not find program "ip"
> required by network. W: Cannot load dracut module "xcat",
> dependencies failed. W: Dracut module "xcat" cannot be found. W:
> Dracut module "nfs" cannot be found. W: Dracut module "network"
> cannot be found. /usr/share/dracut/dracut-functions: line 475:
> /dev/null: Permission denied ...
> /usr/share/dracut/dracut-functions: line 228: /dev/null: Permission
> denied /usr/share/dracut/modules.d/99base/install: line 19:
> /dev/null: Permission denied E: Failed to install switch_root
> /usr/share/dracut/dracut-functions: line 228: /dev/null: Permission
> denied /sbin/dracut: line 336: /dev/null: Permission denied the
> initial ramdisk for stateless is generated successfully.
>
>
> I have inserted ... where there are many lines of /dev/null
> permission denied messages. I can see that the /dev/null in the
> boot does have the wrong permissions:
>
> [root@mgmt compute]# ls -l rootimg/dev/null crw-r--r-- 1 root root
> 1, 3 Dec 19 17:45 rootimg/dev/null
>
> ,but if I try to fix it it just breaks again on the next run.
>
> Any thoughts on what I might be doing wrong? I have tried to
> follow the wiki documentation for Quick Start as closely as
> possible.
>
> Thanks, Mike Robbert Colorado School of Mines -----BEGIN PGP
> SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.19 (Darwin) Comment:
> GPGTools - http://gpgtools.org
>
> iQEcBAEBAgAGBQJQ0mDJAAoJEFmgPOBxQDtBtXcH+gMJtO4zIBnBjbj5piAZFJ6u
> NoxN+ao1UEu1nKyXjgZjO5KWBLh1HHhodToZP/SKXZR5ZWkCkbqbRSooTdqlHJV3
> wTFgiqlYm6zkDmbF7eDJefolQtcjkHPjZSACEishhVnYReUJ3GtO2wWAYz+xRflW
> BA4jDz9XYDQFQzWt0KTSMImzbqXfHPCcAq9pbfBC8PHtrOsQlVY1X07K+tII9dmN
> APnAmFgc8+Ea3J6S4gBEdknkjnU+QqDjwBvrEMJcN+CKwtQPjjz6anNs7q2AjeMk
> GWak9WFf6YAmLC70DtZ2vWYreEOeKc34W7lW9gqU21AZkrKjg/2g4izqgp0bBVc=
> =JNFP -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
>
>
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add
> services Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________ xCAT-user mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
>
> ------------------------------------------------------------------------------
>
>
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add
> services Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
>
>
>
> _______________________________________________ xCAT-user mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
iQEcBAEBAgAGBQJQ0zp5AAoJEFmgPOBxQDtB6aEIAJVo9LMeG3o9Y6D4JHIc77DT
Ym2Mha5z7uisaWYSSrS2aez22+BVg/bY1Ih1o066GKsLKtnebYWETFpod0kh2OPv
ujdgCToIlUdXA7elcybXjs5Vpvcte2WEFicGy79Ox+DHGFe7tKGRHDVzdUrAzRWg
tM5aP4uVpPTGfJ+Dzqzsz95t7bBdPEkPdjgGcKNic/yHIWA5VMVMIqPdIVJpXMPB
FqkyafEhCPtxDPi36QWNQnRmyXgYUs7MZMRanQcvSJQQvRmeHvfBkvEE+AxLI90y
m0h4xPTt5NIW38xZ+pFrkfZAfoYLuitAdlGrQ7XHYf6PibAoh0euTu8P2l9KHck=
=McID
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user