<br><div class="gmail_quote">On Fri, Feb 10, 2012 at 03:09, Mike Burns <span dir="ltr"><<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote:<br>
> Mike,<br>
> Built it finally!<br>
> Thanks a lot!<br>
<br>
</div>Woot!<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> >-----Original Message-----<br>
> >From: Mike Burns [mailto:<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >Sent: Thursday, February 09, 2012 4:18 PM<br>
> >To: Li, David<br>
> >Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >Subject: Re: [Users] Pxeboot<br>
> ><br>
> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote:<br>
> >> MIke,<br>
> >><br>
> >> Got something new this time in make publish:<br>
> >><br>
> >> /bin/sh: -c: line 36: syntax error near unexpected token `)'<br>
> >> /bin/sh: -c: line 36: `)'<br>
> >> make[1]: *** [repos.ks] Error 1<br>
> >> make[1]: Leaving directory `/home/lid/workspace/ovirt/node-archipel-<br>
> >2.2.2/ovirt-node/recipe'<br>
> >> make: *** [distdir] Error 1<br>
> >><br>
> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR $OVIRT_LOCAL_REPO<br>
> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt<br>
> >> [lid@FC16-1 ovirt-node]$<br>
> ><br>
> >Oops, bad merge on my part.<br>
> ><br>
> >$ git reset --hard origin/master #sets you back to head of the master branch<br>
> >$ git fetch <a href="http://gerrit.ovirt.org/p/ovirt-node" target="_blank">http://gerrit.ovirt.org/p/ovirt-node</a> refs/changes/38/1738/3 && git<br>
> >cherry-pick FETCH_HEAD # checks out the new version of the patch set.<br>
> ><br>
> >Mike<br>
> ><br>
> >><br>
> >><br>
> >> - David<br>
> >> ________________________________________<br>
> >> From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> Sent: Thursday, February 09, 2012 2:12 PM<br>
> >> To: Li, David<br>
> >> Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> Subject: Re: [Users] Pxeboot<br>
> >><br>
> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote:<br>
> >> > Mike,<br>
> >> ><br>
> >> > It seems it needs couple vdsm pkgs:<br>
> >> ><br>
> >> > ./node-creator ovirt-node-image.ks<br>
> >> > Error creating Live CD : Failed to find package 'vdsm-cli' : No<br>
> >> > package(s) available to install mv ovirt-node-image.iso<br>
> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso<br>
> >> > mv: cannot stat `ovirt-node-image.iso': No such file or directory<br>
> >> > make: *** [ovirt-node-image.iso] Error 1<br>
> >> ><br>
> >> ><br>
> >> > can I remove them from ks files?<br>
> >><br>
> >> Not if you want to use ovirt-node with ovirt-engine. There was a bug<br>
> >> in that patch set that is fixed in patch set 2 (along with the bad<br>
> >> ===== package). I hadn't pulled the patch set together and uploaded<br>
> >> to gerrit yet, but it's there now.<br>
> >><br>
> >> git fetch <a href="http://gerrit.ovirt.org/p/ovirt-node" target="_blank">http://gerrit.ovirt.org/p/ovirt-node</a> refs/changes/38/1738/2<br>
> >> && git checkout FETCH_HEAD<br>
> >><br>
> >> This should fix the problem.<br>
> >><br>
> >> Mike<br>
> >><br>
> >> ><br>
> >> > - David<br>
> >> > ________________________________________<br>
> >> > From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > Sent: Thursday, February 09, 2012 12:07 PM<br>
> >> > To: Li, David<br>
> >> > Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > Subject: Re: [Users] Pxeboot<br>
> >> ><br>
> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote:<br>
> >> > > It's still the same error:<br>
> >> > ><br>
> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/<br>
> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \<br>
> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\<br>
> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\<br>
> >> > > echo "PACKAGE=ovirt-node-image" ;\<br>
> >> > > echo "VERSION=2.2.3" ;\<br>
> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\<br>
> >> > > ) > version.ks<br>
> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : Failed<br>
> >> > > to find package '=======' : No package(s) available to install mv<br>
> >> > > ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso<br>
> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or directory<br>
> >> > > make: *** [ovirt-node-image.iso] Error 1<br>
> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO<br>
> >> > > file:///home/lid/ovirt-cache/ovirt<br>
> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12<br>
> >> > > drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 lid<br>
> >> > > lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 Feb 9<br>
> >> > > 11:10 src<br>
> >> ><br>
> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and remove<br>
> >> > the last line which is "======="<br>
> >> ><br>
> >> > Mike<br>
> >> > ><br>
> >> > ><br>
> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO?<br>
> >> > ><br>
> >> > > - David<br>
> >> > > ________________________________________<br>
> >> > > From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > Sent: Thursday, February 09, 2012 11:44 AM<br>
> >> > > To: Li, David<br>
> >> > > Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > Subject: RE: [Users] Pxeboot<br>
> >> > ><br>
> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote:<br>
> >> > > > The error seems a little stubborn.<br>
> >> > > ><br>
> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO<br>
> >> > > > file://home/lid/ovirt-cache/ovirt<br>
> >> > ><br>
> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt<br>
> >> > ><br>
> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \<br>
> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\<br>
> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\<br>
> >> > > > echo "PACKAGE=ovirt-node-image" ;\<br>
> >> > > > echo "VERSION=2.2.3" ;\<br>
> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\<br>
> >> > > > ) > version.ks<br>
> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD :<br>
> >> > > > Unable to download from repo : Cannot retrieve repository<br>
> >> > > > metadata (repomd.xml) for repository: local. Please verify its<br>
> >> > > > path and try again mv ovirt-node-image.iso<br>
> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso<br>
> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or<br>
> >> > > > directory<br>
> >> > > > make: *** [ovirt-node-image.iso] Error 1<br>
> >> > > ><br>
> >> > > > There is also a pop-up window: Unable to open a folder for<br>
> >> > > > _ovirt-node-imag<br>
> >> > > ><br>
> >> > > > maybe it's looking at the wrong place?<br>
> >> > > ><br>
> >> > > ><br>
> >> > > > - David<br>
> >> > > > ________________________________________<br>
> >> > > > From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > Sent: Thursday, February 09, 2012 11:15 AM<br>
> >> > > > To: Li, David<br>
> >> > > > Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > Subject: RE: [Users] Pxeboot<br>
> >> > > ><br>
> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote:<br>
> >> > > > > ok, that's my bad:)<br>
> >> > > > ><br>
> >> > > > > Ran into error at the last iso build step:<br>
> >> > > > ><br>
> >> > > > > Start building ISO image....<br>
> >> > > > > ( \<br>
> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\<br>
> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\<br>
> >> > > > > echo "PACKAGE=ovirt-node-image" ;\<br>
> >> > > > > echo "VERSION=2.2.3" ;\<br>
> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\<br>
> >> > > > > ) > version.ks<br>
> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD :<br>
> >> > > > > Unable to download from repo : Cannot retrieve repository<br>
> >> > > > > metadata (repomd.xml) for repository: local. Please verify its<br>
> >> > > > > path and try again mv ovirt-node-image.iso<br>
> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso<br>
> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file or<br>
> >> > > > > directory<br>
> >> > > > > make: *** [ovirt-node-image.iso] Error 1<br>
> >> > > ><br>
> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO defined,<br>
> >> > > > but not correctly. It needs to be like this:<br>
> >> > > > file:///home/mburns/rpmbuild/RPMS<br>
> >> > > ><br>
> >> > > > Ok, I just looked at the Node Building page, and it needs some updates.<br>
> >> > > > Try this from the base directory of the git repo<br>
> >> > > ><br>
> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache<br>
> >> > > > $ export OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt<br>
> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish #this<br>
> >> > > > builds the rpms and puts them in ${OVIRT_CACHE_DIR} $ cd recipe<br>
> >> > > > $ make ovirt-node-image.iso<br>
> >> > > ><br>
> >> > > > Mike<br>
> >> > > > ><br>
> >> > > > ><br>
> >> > > > ><br>
> >> > > > > I wonder which repo my machine is lacking?<br>
> >> > > > ><br>
> >> > > > > - David<br>
> >> > > > > ________________________________________<br>
> >> > > > > From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM<br>
> >> > > > > To: Li, David<br>
> >> > > > > Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > Subject: Re: [Users] Pxeboot<br>
> >> > > > ><br>
> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote:<br>
> >> > > > > > Got an error:<br>
> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch <a href="http://gerrit.ovirt.org/" target="_blank">http://gerrit.ovirt.org/</a><br>
> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD<br>
> >> > > > > > fatal: <a href="http://gerrit.ovirt.org/info/refs" target="_blank">http://gerrit.ovirt.org/info/refs</a> not found: did you run git<br>
> >update-server-info on the server?<br>
> >> > > > ><br>
> >> > > > > Bad copy/paste:<br>
> >> > > > ><br>
> >> > > > > git fetch <a href="http://gerrit.ovirt.org/p/ovirt-node" target="_blank">http://gerrit.ovirt.org/p/ovirt-node</a><br>
> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD<br>
> >> > > > > ><br>
> >> > > > > > any ideas?<br>
> >> > > > > ><br>
> >> > > > > > - David<br>
> >> > > > > > ________________________________________<br>
> >> > > > > > From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM<br>
> >> > > > > > To: Li, David<br>
> >> > > > > > Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > Subject: Re: [Users] Pxeboot<br>
> >> > > > > ><br>
> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote:<br>
> >> > > > > > > Mike,<br>
> >> > > > > > ><br>
> >> > > > > > > Two quick questions before I kick off a build:<br>
> >> > > > > > ><br>
> >> > > > > > > 1. Git errors. Do they matter?<br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone<br>
> >> > > > > > > <a href="http://gerrit.ovirt.org/p/ovirt-node.git" target="_blank">http://gerrit.ovirt.org/p/ovirt-node.git</a><br>
> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into<br>
> >refs/changes/38/1738/1...<br>
> >> > > > > > > remote: Counting objects: 14791, done<br>
> >> > > > > > > remote: Finding sources: 100% (14791/14791)<br>
> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 (delta<br>
> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), 16.92 MiB | 154<br>
> >KiB/s, done.<br>
> >> > > > > > > Resolving deltas: 100% (10855/10855), done.<br>
> >> > > > > > > fatal: Not a git repository (or any of the parent<br>
> >> > > > > > > directories): .git<br>
> >> > > > > ><br>
> >> > > > > > try this instead:<br>
> >> > > > > ><br>
> >> > > > > > git clone <a href="http://gerrit.ovirt.org/p/ovirt-node.git" target="_blank">http://gerrit.ovirt.org/p/ovirt-node.git</a><br>
> >> > > > > > cd ovirt-node<br>
> >> > > > > > git fetch <a href="http://gerrit.ovirt.org/p/ovirt-node" target="_blank">http://gerrit.ovirt.org/p/ovirt-node</a><br>
> >> > > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD<br>
> >> > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > > 2. Build machine.<br>
> >> > > > > > ><br>
> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. My target is<br>
> >x86_64 Intel board. Is this ok?<br>
> >> > > > > ><br>
> >> > > > > > Should be fine.<br>
> >> > > > > ><br>
> >> > > > > > Mike<br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > > - David<br>
> >> > > > > > > ________________________________________<br>
> >> > > > > > > From: Mike Burns [<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM<br>
> >> > > > > > > To: Li, David<br>
> >> > > > > > > Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > > Subject: RE: [Users] Pxeboot<br>
> >> > > > > > ><br>
> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote:<br>
> >> > > > > > > > Not sure where the boot log is since I can't login.<br>
> >> > > > > > > ><br>
> >> > > > > > > > I got the source from<br>
> >> > > > > > > > <a href="https://github.com/primalmotion/archipel-node" target="_blank">https://github.com/primalmotion/archipel-node</a> and<br>
> >> > > > > > > > followed the build instructions in<br>
> >> > > > > > > > <a href="http://ovirt.org/wiki/Node_Building" target="_blank">http://ovirt.org/wiki/Node_Building</a><br>
> >> > > > > > > ><br>
> >> > > > > > > > maybe I should rebuild the iso from the ovirt node source tree<br>
> >as you have pulled in archipel changes yesterday. How do I do that?<br>
> >> > > > > > ><br>
> >> > > > > > > git fetch <a href="http://gerrit.ovirt.org/p/ovirt-node" target="_blank">http://gerrit.ovirt.org/p/ovirt-node</a><br>
> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD<br>
> >> > > > > > ><br>
> >> > > > > > > That command will checkout the current version of the<br>
> >> > > > > > > archipel-node changes. Then you can just follow the<br>
> >> > > > > > > Node_Building process. Note that the changes aren't<br>
> >> > > > > > > merged into master yet. I'm still in the process of reviewing them.<br>
> >> > > > > > ><br>
> >> > > > > > > Mike<br>
> >> > > > > > > ><br>
> >> > > > > > > > - David<br>
> >> > > > > > > ><br>
> >> > > > > > > ><br>
> >> > > > > > > > >-----Original Message-----<br>
> >> > > > > > > > >From: Mike Burns [mailto:<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM<br>
> >> > > > > > > > >To: Li, David<br>
> >> > > > > > > > >Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > > > >Subject: Re: [Users] Pxeboot<br>
> >> > > > > > > > ><br>
> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote:<br>
> >> > > > > > > > >> Mike,<br>
> >> > > > > > > > >><br>
> >> > > > > > > > >> I added adminpw as a kernel option. After boot, I tried<br>
> >"admin/abc123"<br>
> >> > > > > > > > >> and "root/abc123" but not able to login.<br>
> >> > > > > > > > >> Any idea?<br>
> >> > > > > > > > >><br>
> >> > > > > > > > ><br>
> >> > > > > > > > >Are there any errors in your build or boot logs?<br>
> >> > > > > > > > ><br>
> >> > > > > > > > >Mike<br>
> >> > > > > > > > ><br>
> >> > > > > > > > >> David<br>
> >> > > > > > > > >><br>
> >> > > > > > > > >><br>
> >> > > > > > > > >> >-----Original Message-----<br>
> >> > > > > > > > >> >From: Mike Burns [mailto:<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM<br>
> >> > > > > > > > >> >To: Li, David<br>
> >> > > > > > > > >> >Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David wrote:<br>
> >> > > > > > > > >> >> Ok, I built an iso out of archipel and pxebooted<br>
> >> > > > > > > > >> >> it with stateless option. Now<br>
> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea what should I put<br>
> >in as user/pwd?<br>
> >> > > > > > > > >> >> David<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >You will need to pass a password in on the command<br>
> >> > > > > > > > >> >line as well<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >adminpw=<hashed_password><br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >You can generate the hashed password using:<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >$ openssl passwd<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >Assuming the password was abc123<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >$ openssl passwd abc123<br>
> >> > > > > > > > >> >tKrQfufCbosr6<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >adminpw=tKrQfufCbosr6<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >Mike<br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >> >><br>
> >> > > > > > > > >> >> >-----Original Message-----<br>
> >> > > > > > > > >> >> >From: Mike Burns [mailto:<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 PM<br>
> >> > > > > > > > >> >> >To: Li, David<br>
> >> > > > > > > > >> >> >Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot<br>
> >> > > > > > > > >> >> ><br>
> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, David wrote:<br>
> >> > > > > > > > >> >> >> Ok, I think we are on the same page now regarding<br>
> >stateless node.<br>
> >> > > > > > > > >> >> >> It looks like the achipel diff you just pulled<br>
> >> > > > > > > > >> >> >> in might be able to do this. But I can't quite<br>
> >> > > > > > > > >> >> >> make it out what the kernel option should<br>
> >> > > > > > > > >be.<br>
> >> > > > > > > > >> >> >> Is it "stateless=1"?<br>
> >> > > > > > > > >> >> >><br>
> >> > > > > > > > >> >> ><br>
> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work.<br>
> >> > > > > > > > >> >> ><br>
> >> > > > > > > > >> >> ><br>
> >> > > > > > > > >> >> >> David<br>
> >> > > > > > > > >> >> >><br>
> >> > > > > > > > >> >> >> >-----Original Message-----<br>
> >> > > > > > > > >> >> >> >From: Mike Burns [mailto:<a href="mailto:mburns@redhat.com">mburns@redhat.com</a>]<br>
> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 3:27 PM<br>
> >> > > > > > > > >> >> >> >To: Li, David<br>
> >> > > > > > > > >> >> >> >Cc: Perry Myers; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot<br>
> >> > > > > > > > >> >> >> ><br>
> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, Li, David wrote:<br>
> >> > > > > > > > >> >> >> >> Perry,<br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >> I am glad you brought this up.<br>
> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the root fs entirely in<br>
> >RAM.<br>
> >> > > > > > > > >> >> >> >> In fact that would<br>
> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not quite sure<br>
> >> > > > > > > > >> >> >> >how to use pxeboot to achieve this.<br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >> I am doing a test now using the tftpboot files<br>
> >created from the iso.<br>
> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot options<br>
> >(pxelinux.cfg/default) has:<br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1.fc16.i<br>
> >> > > > > > > > >> >> >> >> so<br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the intall<br>
> >> > > > > > > > >> >> >> >> screen. What should I use to let the<br>
> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? Something<br>
> >> > > > > > > > >> >> >> >like<br>
> >> > > > > > > > >root=/dev/ram0?<br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >> David<br>
> >> > > > > > > > >> >> >> ><br>
> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node.<br>
> >> > > > > > > > >> >> >> >That's the whole stateless feature that we<br>
> >> > > > > > > > >> >> >> >outlined. Once we actually have it<br>
> >> > > > > > > > >> >> >> >implemented, it will be something along the<br>
> >> > > > > > > > >> >> >> >lines of adding "stateless" to<br>
> >> > > > > > > > >> >> >the kernel commandline.<br>
> >> > > > > > > > >> >> >> ><br>
> >> > > > > > > > >> >> >> >Mike<br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >><br>
> >> > > > > > > > >> >> >> >> >-----Original Message-----<br>
> >> > > > > > > > >> >> >> >> >From: Perry Myers<br>
> >> > > > > > > > >> >> >> >> >[mailto:<a href="mailto:pmyers@redhat.com">pmyers@redhat.com</a>]<br>
> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 2:54 PM<br>
> >> > > > > > > > >> >> >> >> >To: Mike Burns<br>
> >> > > > > > > > >> >> >> >> >Cc: Li, David; <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot<br>
> >> > > > > > > > >> >> >> >> ><br>
> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote:<br>
> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 -0800, Li, David<br>
> >wrote:<br>
> >> > > > > > > > >> >> >> >> >>> Mike,<br>
> >> > > > > > > > >> >> >> >> >>><br>
> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, today I<br>
> >> > > > > > > > >> >> >> >> >>> should be able to pxeboot and nfs mount the<br>
> >root fs from a remote server.<br>
> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe stuff, I<br>
> >> > > > > > > > >> >> >> >> >>> 'd have to populate the ovirt node root<br>
> >> > > > > > > > >> >> >> >> >>> fs on the server<br>
> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install.<br>
> >> > > > > > > > >> >> >> >> >>> In other words I am concerned about the<br>
> >> > > > > > > > >> >> >> >> >>> point from which the kernel starts to<br>
> >> > > > > > > > >> >> >> >> >>> execute /init script (in the initramfs) to the<br>
> >point /init is able to mount the final root fs from a remote server.<br>
> >> > > > > > > > >> >> >> >> >><br>
> >> > > > > > > > >> >> >> >> >> No, there is no way to set this up currently in<br>
> >ovirt-node.<br>
> >> > > > > > > > >> >> >> >> >> You could install using a remote iscsi<br>
> >> > > > > > > > >> >> >> >> >> lun if you have a hardware iscsi HBA, but<br>
> >> > > > > > > > >> >> >> >> >> there isn't a way to mount a remote nfs<br>
> >> > > > > > > > >> >> >> >> >> share as the<br>
> >> > > > > > > > >> >> >root fs.<br>
> >> > > > > > > > >> >> >> >> >><br>
> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as the root<br>
> >> > > > > > > > >> >> >> >> >> fs isn't even something that requested as<br>
> >> > > > > > > > >> >> >> >> >> an RFE at this point or on the roadmap as far as<br>
> >I'm aware.<br>
> >> > > > > > > > >> >> >> >> >><br>
> >> > > > > > > > >> >> >> >> >> It sounds like what you're really looking<br>
> >> > > > > > > > >> >> >> >> >> for is a shared root fs that multiple<br>
> >> > > > > > > > >> >> >> >> >> hosts could use. This is something that<br>
> >> > > > > > > > >> >> >> >> >> we will probably look into eventually,<br>
> >> > > > > > > > >> >> >> >> >> but it's not on the immediate<br>
> >> > > > > > > > >> >> >roadmap.<br>
> >> > > > > > > > >> >> >> >> ><br>
> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt Node is<br>
> >> > > > > > > > >> >> >> >> >fairly small and in a truly stateless<br>
> >> > > > > > > > >> >> >> >> >environment would just run out of system<br>
> >> > > > > > > > >> >> >> >> >RAM, there's no real reason to try to do a<br>
> >> > > > > > > > >> >> >> >> >shared NFS based<br>
> >> > > > > > > > >rootfs.<br>
> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I think,<br>
> >> > > > > > > > >> >> >> >> >if the end goal is to move to truly<br>
> >> > > > > > > > >> >> >> >stateless.<br>
> >> > > > > > > > >> >> >> >> ><br>
> >> > > > > > > > >> >> >> >> >For larger systems where the rootfs is on<br>
> >> > > > > > > > >> >> >> >> >the order of GB's, shared root may make more<br>
> >sense.<br>
> >> > > > > > > > >> >> >> >><br>
> >____________________________________________<br>
> >> > > > > > > > >> >> >> >> ___ Users mailing list <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > > > > > > > >> >> >> >> <a href="http://lists.ovirt.org/mailman/listinfo/user" target="_blank">http://lists.ovirt.org/mailman/listinfo/user</a><br>
> >> > > > > > > > >> >> >> >> s<br>
> >> > > > > > > > >> >> >> ><br>
> >> > > > > > > > >> >> >><br>
> >> > > > > > > > >> >> ><br>
> >> > > > > > > > >> >><br>
> >> > > > > > > > >> >><br>
> >_______________________________________________<br>
> >> > > > > > > > >> >> Users mailing list <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > > > > > > > >> >> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >> > > > > > > > >> ><br>
> >> > > > > > > > >><br>
> >> > > > > > > > >><br>
> >_______________________________________________<br>
> >> > > > > > > > >> Users mailing list<br>
> >> > > > > > > > >> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > > > > > > > >> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >> > > > > > > > ><br>
> >> > > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > > _______________________________________________<br>
> >> > > > > > > Users mailing list<br>
> >> > > > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > > > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >> > > > > ><br>
> >> > > > > ><br>
> >> > > > > > _______________________________________________<br>
> >> > > > > > Users mailing list<br>
> >> > > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >> > > > ><br>
> >> > > > ><br>
> >> > > ><br>
> >> > > ><br>
> >> > ><br>
> >> > ><br>
> >> > > _______________________________________________<br>
> >> > > Users mailing list<br>
> >> > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >> ><br>
> >> ><br>
> >> > _______________________________________________<br>
> >> > Users mailing list<br>
> >> > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> Users mailing list<br>
> >> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> >> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> ><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br>Latest git has an error in Makefile: at line 471 it should be<br>elif [ -n "$(FEDORA)" ]; then \<br> instead of <br>if [ -n "$(FEDORA)" ]; then \<br><br>Best regards,<br>