Hi Rami, Ovirt-node package (iso) has everything you need to pxeboot into a stateless node. The way to create pxebootable ovirt-node images files is to:
1. first loop mount the ovirt node iso to say /mnt/iso 2. run /mnt/iso/LiveOS/livecd-iso-to-pxeboot <your-ovirt-node-iso> This will generate initrd0 and vmlinuz0 under /mnt/iso/tftpboot/. Plus the pxelinux.cfg/default. Copy those to proper directories in your DHCP/TFTP server. You should be set to pxeboot if you have done that before. David >-----Original Message----- >From: Rami Vaknin [mailto:[email protected]] >Sent: Wednesday, February 22, 2012 9:34 AM >To: Li, David >Cc: [email protected] >Subject: Re: [Users] Node ISO problem in 2.2.3 stateless boot > >On 02/22/2012 07:06 PM, Li, David wrote: >> Hi, >> >> Me too here having problem with 2.2.3. I tried with both sel- built iso and >official iso in stateless boot. This used to work in 2.2.2 with stateless >patches. >> >> In the official iso the problem is similar to Michel van Horseen has seen: >> in >my case Dracut couldn't find root device: liveiso:/..... but this is strange >as I >have put in kernel option root=live:/.... and it should have taken that instead >of self invented "liveiso:/". This used to work for me with 2.2.2. something >broken here. >I'm not really familiar with what do "liveiso:/" and "live:/" mean or what the >exact problem is but I've tried to set ovirt-node in pxe, I used a pxeboot >script >(taken from another rpm since I couldn't find one in ovirt-node package), the >script created for me the needed files (ramdisk, kernel and cfg files), and >when I've booted from that pxe entry - I found myself in the same problem, >got into that shell with the same error message - only my "liveiso:/" pointed >to >a different path. > >I solved that by changing the "liveiso:/blah/blah/blah/ovirt-node.iso" >in the kernel path to "live:/ovirt-node.iso", for a backup I copied the ovirt- >node.iso file to the same directory where the aforementioned 3 files reside, it >worked! >> >> In my own build, the boot dropped into an emergency shell complaining >about missing /usr/libexec/ovirt-auto-install file. I know I chatted with Mike >Burns for a while yesterday regarding this. This is a new build off tag ovirt- >node-2.2.3 but the problem seems persisting. >> >> - David >> >> >>> Date: Wed, 22 Feb 2012 11:37:08 -0500 >>> From: Joey Boggs<[email protected]> >>> To: Michel van Horssen<[email protected]> >>> Cc: [email protected] >>> Subject: Re: [Users] Node ISO problem >>> Message-ID:<[email protected]> >>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>> >>> On 02/22/2012 11:30 AM, Michel van Horssen wrote: >>>> Hi, >>>> >>>> Took me some time before I had time to install the new Ovirt. Now >>>> that I did >>> have time, the install was a breeze. Having the RPM repo available >>> helpt a lot off course. :) >>>> I have the engine running and storage is connected as is the ISO nfs. >>>> >>>> Now I wanted to get a VM host running by booting the node ISO but am >>> running in to a problem. >>>> I put the iso via a NAS as a virtual CD on a SuperMicro systems >>>> IPMI. Once I >>> boot the machine for the first time, so to install the node, it ends with: >>>> --- >>>> dracut Warning: No root device "live:/dev/disk/by-label/ovirt-node- >image" >>> found >>>> Dropping to debug shell. >>>> >>>> sh: can't access tty; job control turned off >>>> >>>> dracut: >>>> --- >>>> >>>> Looking in /dev/disk there is no by-label directory. >>>> >>>> I get this error with 'ovirt-node-image-2.2.2-2.2.fc16.iso' and the >>>> latest 'ovirt- >>> node-image-2.2.3-1.1.fc16.iso' >>>> This is on first install. >>>> >>>> Hope to have a host up and running this week. >>>> >>>> Any help is appriciated. >>>> >>>> Thnx, >>>> >>>> Michel >>>> >>>> aka mivaho on irc >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.ovirt.org/mailman/listinfo/users >>> Once you get to the dracut shell run "blkid" and post those results >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.ovirt.org/mailman/listinfo/users > > >-- > >Thanks, > >Rami Vaknin, QE @ Red Hat, TLV, IL. _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

