Re: [Users] Pxeboot - pwd/login issue

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

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

--_002_A0D5581BE022624487D06FF31DA39EAC46DB301C92csmailcloudsh_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Mike, ssh_pwauth=3D1 didn't work. The boot dropped into the dracut shell. I attac= hed a snapshot so you can see the error. BOOTIF worked. I could ping the node but ssh was rejected. - David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 7:36 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote:
Hi Mike,
I ran into the login/pwd problem again with this new build. Kernel option adminpw worked but only for a short time. I was asked to change pwd immediately after login but then rejected again after I did that. There was an short-lived error message on the screen but I wasn't able to capture it.
You can try booting with "BOOTIF=3Deth0 ssh_pwauth=3D1" in the command line= . This will configure networking and enable SSH password authentication. Then you can ssh admin@<your host> and it will show you the error.
I tried the latest from archipel source and it worked without password issue. I pulled it from:
I'm using git://github.com/primalmotion/Node.git The only differences I see between the 2 are some minor formatting and conditional changes in recipe/Makefile.am and a couple patches that were pushed since the github repo was updated. These patches are all on the gerrit.ovirt.org side. Note: there is an incompatible change that was merged into master this morning. I'm working on a rebase of the archipel stuff now to include it. Mike
There might be a few updates right after you pulled it last time.
Would you mind merge the new updates into ovirt node again?
Thanks.
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Thursday, February 09, 2012 5:10 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot
On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote:
Mike, Built it finally! Thanks a lot!
Woot!
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Thursday, February 09, 2012 4:18 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot
On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote:
MIke,
Got something new this time in make publish:
/bin/sh: -c: line 36: syntax error near unexpected token `)' /bin/sh: -c: line 36: `)' make[1]: *** [repos.ks] Error 1 make[1]: Leaving directory `/home/lid/workspace/ovirt/node-archipel- 2.2.2/ovirt-node/recipe' make: *** [distdir] Error 1
[lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR
$OVIRT_LOCAL_REPO
/home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt [lid@FC16-1 ovirt-node]$
Oops, bad merge on my part.
$ git reset --hard origin/master #sets you back to head of the master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks out the new version of the patch set.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Thursday, February 09, 2012 2:12 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot
On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote:
Mike,
It seems it needs couple vdsm pkgs:
./node-creator ovirt-node-image.ks Error creating Live CD : Failed to find package 'vdsm-cli' : No package(s) available to install mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1
can I remove them from ks files?
Not if you want to use ovirt-node with ovirt-engine. There was a bug in that patch set that is fixed in patch set 2 (along with the bad =3D=3D=3D=3D=3D package). I hadn't pulled the patch set togeth=
er and
uploaded to gerrit yet, but it's there now.
git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/2 && git checkout FETCH_HEAD
This should fix the problem.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Thursday, February 09, 2012 12:07 PM To: Li, David Cc: Perry Myers; users@ovirt.org Subject: Re: [Users] Pxeboot
On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: > It's still the same error: > > [lid@FC16-1 ovirt-node]$ cd recipe/ > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > echo "PRODUCT=3D'"oVirt Node Hypervisor"'" ;\ > echo "PRODUCT_SHORT=3D'"oVirt Node Hypervisor"'" ;\ > echo "PACKAGE=3Dovirt-node-image" ;\ > echo "VERSION=3D2.2.3" ;\ > echo "RELEASE=3D0.1fc16.git16688ea" ;\ > ) > version.ks > ./node-creator ovirt-node-image.ks Error creating Live CD : > Failed to find package '=3D=3D=3D=3D=3D=3D=3D' : No package(s) =
> install mv ovirt-node-image.iso > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > mv: cannot stat `ovirt-node-image.iso': No such file or > directory > make: *** [ovirt-node-image.iso] Error 1 > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > file:///home/lid/ovirt-cache/ovirt > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ total 12 > drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch drwxrwxr-x. 2 > lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. 2 lid lid 4096 > Feb 9 > 11:10 src
That's a bug in the patch. edit recipe/common-pkgs.ks and remove the last line which is "=3D=3D=3D=3D=3D=3D=3D"
Mike > > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? > > - David > ________________________________________ > From: Mike Burns [mburns@redhat.com] > Sent: Thursday, February 09, 2012 11:44 AM > To: Li, David > Cc: Perry Myers; users@ovirt.org > Subject: RE: [Users] Pxeboot > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: > > The error seems a little stubborn. > > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > > file://home/lid/ovirt-cache/ovirt > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > > echo "PRODUCT=3D'"oVirt Node Hypervisor"'" ;\ > > echo "PRODUCT_SHORT=3D'"oVirt Node Hypervisor"'" ;\ > > echo "PACKAGE=3Dovirt-node-image" ;\ > > echo "VERSION=3D2.2.3" ;\ > > echo "RELEASE=3D0.1fc16.git16688ea" ;\ > > ) > version.ks > > ./node-creator ovirt-node-image.ks Error creating Live CD : > > Unable to download from repo : Cannot retrieve repository > > metadata (repomd.xml) for repository: local. Please verify > > its path and try again mv ovirt-node-image.iso > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > > mv: cannot stat `ovirt-node-image.iso': No such file or > > directory > > make: *** [ovirt-node-image.iso] Error 1 > > > > There is also a pop-up window: Unable to open a folder for > > _ovirt-node-imag > > > > maybe it's looking at the wrong place? > > > > > > - David > > ________________________________________ > > From: Mike Burns [mburns@redhat.com] > > Sent: Thursday, February 09, 2012 11:15 AM > > To: Li, David > > Cc: Perry Myers; users@ovirt.org > > Subject: RE: [Users] Pxeboot > > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: > > > ok, that's my bad:) > > > > > > Ran into error at the last iso build step: > > > > > > Start building ISO image.... > > > ( \ > > > echo "PRODUCT=3D'"oVirt Node Hypervisor"'" ;\ > > > echo "PRODUCT_SHORT=3D'"oVirt Node Hypervisor"'" ;\ > > > echo "PACKAGE=3Dovirt-node-image" ;\ > > > echo "VERSION=3D2.2.3" ;\ > > > echo "RELEASE=3D0.1.fc16.git16688ea" ;\ > > > ) > version.ks > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > > > Unable to download from repo : Cannot retrieve repository > > > metadata (repomd.xml) for repository: local. Please verify > > > its path and try again mv ovirt-node-image.iso > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso > > > mv: cannot stat `ovirt-node-image.iso': No such file or > > > directory > > > make: *** [ovirt-node-image.iso] Error 1 > > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO > > defined, but not correctly. It needs to be like this: > > file:///home/mburns/rpmbuild/RPMS > > > > Ok, I just looked at the Node Building page, and it needs som= e updates. > > Try this from the base directory of the git repo > > > > $ export OVIRT_CACHE_DIR=3D${HOME}/ovirt-cache > > $ export OVIRT_LOCAL_REPO=3Dfile://${OVIRT_CACHE_DIR}/ovirt > > $ ./autogen.sh --with-image-minimizer $ make publish #this > > builds the rpms and puts them in ${OVIRT_CACHE_DIR} $ cd > > recipe $ make ovirt-node-image.iso > > > > Mike > > > > > > > > > > > > I wonder which repo my machine is lacking? > > > > > > - David > > > ________________________________________ > > > From: Mike Burns [mburns@redhat.com] > > > Sent: Thursday, February 09, 2012 10:02 AM > > > To: Li, David > > > Cc: Perry Myers; users@ovirt.org > > > Subject: Re: [Users] Pxeboot > > > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: > > > > Got an error: > > > > [lid@FC16-1 ovirt-node]$ git fetch > > > > http://gerrit.ovirt.org/ refs/changes/38/1738/1&&git > > > > cherry-pick FETCH_HEAD > > > > fatal: http://gerrit.ovirt.org/info/refs not found: did > > > > you run git update-server-info on the server? > > > > > > Bad copy/paste: > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD > > > > > > > > any ideas? > > > > > > > > - David > > > > ________________________________________ > > > > From: Mike Burns [mburns@redhat.com] > > > > Sent: Thursday, February 09, 2012 8:37 AM > > > > To: Li, David > > > > Cc: Perry Myers; users@ovirt.org > > > > Subject: Re: [Users] Pxeboot > > > > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: > > > > > Mike, > > > > > > > > > > Two quick questions before I kick off a build: > > > > > > > > > > 1. Git errors. Do they matter? > > > > > > > > > > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone > > > > > http://gerrit.ovirt.org/p/ovirt-node.git refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into refs/changes/38/1738/1... > > > > > remote: Counting objects: 14791, done > > > > > remote: Finding sources: 100% (14791/14791) > > > > > remote: Total 14791 (delta 10855), reused 14778 (delta > > > > > 10855) Receiving objects: 100% (14791/14791), 16.92 MiB > > > > > | 154 KiB/s, done. > > > > > Resolving deltas: 100% (10855/10855), done. > > > > > fatal: Not a git repository (or any of the parent > > > > > directories): .git > > > > > > > > try this instead: > > > > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git > > > > cd ovirt-node > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD > > > > > > > > > > > > > > > > > > > 2. Build machine. > > > > > > > > > > I am using a x86_64 FC16 VM as the build machine. My > > > > > target is x86_64 Intel board. Is this ok? > > > > > > > > Should be fine. > > > > > > > > Mike > > > > > > > > > > > > > > > > > > > > - David > > > > > ________________________________________ > > > > > From: Mike Burns [mburns@redhat.com] > > > > > Sent: Thursday, February 09, 2012 8:16 AM > > > > > To: Li, David > > > > > Cc: Perry Myers; users@ovirt.org > > > > > Subject: RE: [Users] Pxeboot > > > > > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: > > > > > > Not sure where the boot log is since I can't login. > > > > > > > > > > > > I got the source from > > > > > > https://github.com/primalmotion/archipel-node and > > > > > > followed the build instructions in > > > > > > http://ovirt.org/wiki/Node_Building > > > > > > > > > > > > maybe I should rebuild the iso from the ovirt node > > > > > > source tree as you have pulled in archipel changes yesterday. How do I do that? > > > > > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD > > > > > > > > > > That command will checkout the current version of the > > > > > archipel-node changes. Then you can just follow the > > > > > Node_Building process. Note that the changes aren't > > > > > merged into master yet. I'm still in the process of re= viewing
> > > > > > > > > > Mike > > > > > > > > > > > > - David > > > > > > > > > > > > > > > > > > >-----Original Message----- > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM > > > > > > >To: Li, David > > > > > > >Cc: Perry Myers; users@ovirt.org > > > > > > >Subject: Re: [Users] Pxeboot > > > > > > > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: > > > > > > >> Mike, > > > > > > >> > > > > > > >> I added adminpw as a kernel option. After boot, I > > > > > > >> tried "admin/abc123" > > > > > > >> and "root/abc123" but not able to login. > > > > > > >> Any idea? > > > > > > >> > > > > > > > > > > > > > >Are there any errors in your build or boot logs? > > > > > > > > > > > > > >Mike > > > > > > > > > > > > > >> David > > > > > > >> > > > > > > >> > > > > > > >> >-----Original Message----- > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM > > > > > > >> >To: Li, David > > > > > > >> >Cc: Perry Myers; users@ovirt.org > > > > > > >> >Subject: Re: [Users] Pxeboot > > > > > > >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David wrot= e: > > > > > > >> >> Ok, I built an iso out of archipel and > > > > > > >> >> pxebooted it with stateless option. Now > > > > > > >> >I got a "localhost" login prompt. Any idea what > > > > > > >> >should I put in as user/pwd? > > > > > > >> >> David > > > > > > >> > > > > > > > >> >You will need to pass a password in on the > > > > > > >> >command line as well > > > > > > >> > > > > > > > >> >adminpw=3D<hashed_password> > > > > > > >> > > > > > > > >> >You can generate the hashed password using: > > > > > > >> > > > > > > > >> >$ openssl passwd > > > > > > >> > > > > > > > >> >Assuming the password was abc123 > > > > > > >> > > > > > > > >> >$ openssl passwd abc123 > > > > > > >> >tKrQfufCbosr6 > > > > > > >> > > > > > > > >> >adminpw=3DtKrQfufCbosr6 > > > > > > >> > > > > > > > >> >Mike > > > > > > >> > > > > > > > >> >> > > > > > > >> >> >-----Original Message----- > > > > > > >> >> >From: Mike Burns [mailto:mburns@redhat.com] > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 PM > > > > > > >> >> >To: Li, David > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org > > > > > > >> >> >Subject: RE: [Users] Pxeboot > > > > > > >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, David w= rote: > > > > > > >> >> >> Ok, I think we are on the same page now > > > > > > >> >> >> regarding stateless node. > > > > > > >> >> >> It looks like the achipel diff you just > > > > > > >> >> >> pulled in might be able to do this. But I > > > > > > >> >> >> can't quite make it out what the kernel > > > > > > >> >> >> option should > > > > > > >be. > > > > > > >> >> >> Is it "stateless=3D1"? > > > > > > >> >> >> > > > > > > >> >> > > > > > > > >> >> >stateless=3D1 or just stateless, both will wor= k. > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> >> David > > > > > > >> >> >> > > > > > > >> >> >> >-----Original Message----- > > > > > > >> >> >> >From: Mike Burns [mailto:mburns@redhat.com] > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 3:27 PM > > > > > > >> >> >> >To: Li, David > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot > > > > > > >> >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, Li, Davi= d wrote: > > > > > > >> >> >> >> Perry, > > > > > > >> >> >> >> > > > > > > >> >> >> >> I am glad you brought this up. > > > > > > >> >> >> >> I 'd be perfectly happy to run the root > > > > > > >> >> >> >> fs entirely in RAM. > > > > > > >> >> >> >> In fact that would > > > > > > >> >> >> >be ideal for me. It's just I am not quite > > > > > > >> >> >> >sure how to use pxeboot to achieve this. > > > > > > >> >> >> >> > > > > > > >> >> >> >> I am doing a test now using the tftpboot > > > > > > >> >> >> >> files created from the iso. > > > > > > >> >> >> >> As far as I see, the kernel boot options (pxelinux.cfg/default) has: > > > > > > >> >> >> >> > > > > > > >> >> >> >> root=3Dlive:/ovirt-node-image-2.2.2-1.1.f= c1 > > > > > > >> >> >> >> 6.i > > > > > > >> >> >> >> so > > > > > > >> >> >> >> > > > > > > >> >> >> >> With this I can only pxeboot to the > > > > > > >> >> >> >> intall screen. What should I use to let > > > > > > >> >> >> >> the > > > > > > >> >> >> >kernel mount the root fs in memory? > > > > > > >> >> >> >Something like > > > > > > >root=3D/dev/ram0? > > > > > > >> >> >> >> > > > > > > >> >> >> >> David > > > > > > >> >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node= . > > > > > > >> >> >> >That's the whole stateless feature that we > > > > > > >> >> >> >outlined. Once we actually have it > > > > > > >> >> >> >implemented, it will be something along the > > > > > > >> >> >> >lines of adding "stateless" to > > > > > > >> >> >the kernel commandline. > > > > > > >> >> >> > > > > > > > >> >> >> >Mike > > > > > > >> >> >> >> > > > > > > >> >> >> >> > > > > > > >> >> >> >> >-----Original Message----- > > > > > > >> >> >> >> >From: Perry Myers > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 2:54 > > > > > > >> >> >> >> >PM > > > > > > >> >> >> >> >To: Mike Burns > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot > > > > > > >> >> >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote= : > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 -0800, Li, > > > > > > >> >> >> >> >> David wrote: > > > > > > >> >> >> >> >>> Mike, > > > > > > >> >> >> >> >>> > > > > > > >> >> >> >> >>> If I understand this correctly, today > > > > > > >> >> >> >> >>> I should be able to pxeboot and nfs > > > > > > >> >> >> >> >>> mount the root fs from a remote server. > > > > > > >> >> >> >> >>> Apart from setting up the pxe stuff, > > > > > > >> >> >> >> >>> I 'd have to populate the ovirt node > > > > > > >> >> >> >> >>> root fs on the server > > > > > > >> >> >> >> >>> - perhaps steal it from a disk instal= l. > > > > > > >> >> >> >> >>> In other words I am concerned about > > > > > > >> >> >> >> >>> the point from which the kernel > > > > > > >> >> >> >> >>> starts to execute /init script (in > > > > > > >> >> >> >> >>> the initramfs) to the
available to them. point /init is able to mount the final root fs from a remote server.
> > > > > > >> >> >> >> >> > > > > > > >> >> >> >> >> No, there is no way to set this up > > > > > > >> >> >> >> >> currently in ovirt-node. > > > > > > >> >> >> >> >> You could install using a remote iscsi > > > > > > >> >> >> >> >> lun if you have a hardware iscsi HBA, > > > > > > >> >> >> >> >> but there isn't a way to mount a > > > > > > >> >> >> >> >> remote nfs share as the > > > > > > >> >> >root fs. > > > > > > >> >> >> >> >> > > > > > > >> >> >> >> >> Supporting a remote NFS share as the > > > > > > >> >> >> >> >> root fs isn't even something that > > > > > > >> >> >> >> >> requested as an RFE at this point or > > > > > > >> >> >> >> >> on the roadmap as far as I'm aware. > > > > > > >> >> >> >> >> > > > > > > >> >> >> >> >> It sounds like what you're really > > > > > > >> >> >> >> >> looking for is a shared root fs that > > > > > > >> >> >> >> >> multiple hosts could use. This is > > > > > > >> >> >> >> >> something that we will probably look > > > > > > >> >> >> >> >> into eventually, but it's not on the > > > > > > >> >> >> >> >> immediate > > > > > > >> >> >roadmap. > > > > > > >> >> >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt Node is > > > > > > >> >> >> >> >fairly small and in a truly stateless > > > > > > >> >> >> >> >environment would just run out of system > > > > > > >> >> >> >> >RAM, there's no real reason to try to do > > > > > > >> >> >> >> >a shared NFS based > > > > > > >rootfs. > > > > > > >> >> >> >> >It's an unnecessary complication I > > > > > > >> >> >> >> >think, if the end goal is to move to > > > > > > >> >> >> >> >truly > > > > > > >> >> >> >stateless. > > > > > > >> >> >> >> > > > > > > > >> >> >> >> >For larger systems where the rootfs is > > > > > > >> >> >> >> >on the order of GB's, shared root may > > > > > > >> >> >> >> >make more sense. > > > > > > >> >> >> >>
> > > > > > >> >> >> >> ___ Users mailing list Users@ovirt.org > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/listinfo/u > > > > > > >> >> >> >> ser > > > > > > >> >> >> >> s > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > >> >> > > > > > > > >> >> > > > > > > >> >>
> > > > > > >> >> Users mailing list Users@ovirt.org > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/users > > > > > > >> > > > > > > > >> > > > > > > >>
> > > > > > >> Users mailing list Users@ovirt.org > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@ovirt.org > > > > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@ovirt.org > > > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--_002_A0D5581BE022624487D06FF31DA39EAC46DB301C92csmailcloudsh_ Content-Type: image/gif; name="ovirt-node-archipel-pwd-problem-2.10.gif" Content-Description: ovirt-node-archipel-pwd-problem-2.10.gif Content-Disposition: attachment; filename="ovirt-node-archipel-pwd-problem-2.10.gif"; size=7119; creation-date="Fri, 10 Feb 2012 18:40:32 GMT"; modification-date="Fri, 10 Feb 2012 18:40:32 GMT" Content-Transfer-Encoding: base64 R0lGODlh4AKeAfAAAAAAAKioqCwAAAAA4AKeAUAI/wABCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLF ixgzatzIsaPHjyBDihxJsqTJkyhTqlzJsqXLlzBjypxJs+bMAAFI4jy402FPhD1xCv0pkOjOnEQB JB241GDQnEWh/nzqFCpBoQWpKpVqdWvCpU29Au0ateJTrkzJ8kR7tatWsXDLtpUbVe1XslPZGtXL duJQrGntgrUbV+zbsDYTK17MuLHjx5AjS55MubLlxYg3Do7YFPHerEgNh97MkHRSwGnXjsXbl67c vFXHxqar9W3huaAVdlabueFpwketwhbNm7Dq1FuFF0e+MDPs34LdKqdtvCxS1sdz++b7t3nr5G27 i/9++Ns1auZ1h76efnt2+8vw48ufT7++/fv4fVavKl38+P9eXbeee7iRt59uXPXVW124DTfbgu/t Fp56CDIH4YDaoZceYJ5hR51qF+Yn4ogklmjiiSimqOKKLLZIIEik6ZebgHAdFt2HGd5l3nef1dha hxOeF9dfMVJUHo0avhcbkkrKlhqTFT7ZZIHJUSijj945mV2SOx5XpI44nmUleA0mSCGQQdZ2IJHs 5YjjlNt5KZ1rYLpo55145qnnnnyGNZh4thXGZmnGlTdloIIWB2ihHmK55IFRFqgmlVzSSaeND86Z aJnI9RjnkDxqOlyIfJZq6qmopqrqqqy2KpKnGFr/KuumAPY2apuXAgdppYby9+J/t6JH6pYWsgcr lcGCWieGDjrJIZGUHlUrroHt6uq12Gar7bbcduvtSr12Su2GyWK6VohHThver8uS+5274lLabqxc ktojdOzO+u2+/Pbr778AByxwi2jmOKiRyyXaqLz1eijmeRBDG2HC6kar65XJathspPQKSeuX+mYk IadVegyafyEbqB2E6ZrrMsUlhzvwzDTXbPPNOIMLM6H9jXmbvX+uvCZfuSo6F42IrvZioIbiS2i8 P4uqHMoF37UoyhznrPXWXHft9ddanxWrtA9vLGuMZvtFNJZIS4xwz0KCjLCvn5qbMtQxa7o0d2e+ /wv234AHLvjghNP8p5VJb0n2rp9BuWzaR7dnq7GhZkhV27lqCSextnnc9M5d0kqgg4m7iejI8AKo 9uMSM70X1sTm/eaOiyp16I1h9ifpwgfr2DbVQeN9K/DWFm788cgnv/rJiPut+GiMz+m45pBLifq8 URNP99OZWuzfsL1OHvrueGddfeqLpx61uN+v/ah+DpsZN+7K12///fjnr//+/Pfv//8ADKAAB0jA AhrwgAhMoAIXyMAGOvCBEIygBCdIwQpa8IIYzKAGN8jBDnrwgyAMoQhHSMISmvCEKEyhClfIwha6 8IUwjKEMZ0jDGtrwhjjMoQ53yMMe+vCHQAyiEP+HSMQiGvGISEyiEpfIxCY68YlQjKIUp0jFKlrx iljMYqqGtTw3fcpgnpPawhimmeJJ5FhkFN3tzFK6i3BRJW/kjBlDEkctOrCOd8Jj7ESkx5j08YZ/ zFKxruRF4XFnPaDLWkdYNkdFlgSNlZIc/SJJSPNAbXiWQpfuHEU+7lHyjI2k4yQdCZNAqkwjprSj DlNJShuyEiKv/GS+tuM8lIDPjLG0SC6xp8peJnGXviwVMMcnPma9zJApG6bmhMUo/oDOZ3erk5p4 Ny6hKSh6ZcIm+yqZHk920iTDZKQsXcJFZZ7EKLocpf0gGcytmbODfXSd0E55zlC+yp5fHGeTgHn/ PX0uUp3tVOU748POlxQ0oKeqGhvzA7R7zlKObnRLOu/zrHz+E6F/G6gCNepPjApML+DEZ0c3t1DH hBOgvIRlMz3K0pa6tGblxGfS+JnIPdYzJTSlyS2fF01B2jKMOhWpPzX50qLalKBCNSock6rIXXI0 olClp0ziudKfKtWIT72qVit60VUFUm5ZBaVYLfqRsGr1rGjdavFims1Kii2fDSXT+TjZSpExdSQ7 fWghdcLUvM5Njfcza1oHu0LBjpWbcE2QWxWbWJUyiK7OumtJpeoRU3LUsPZhq14Ja1TM4lWyPeWs aEdL2tKa9rSoTa1qV8va1rr2tbCNrWxnS9va/9r2trjNrW53y9ve+va3wA2ucIdL3OIa97jITa5y l8vc5jr3udCNrnSnS93qWve62M2udrfL3e5697vgDa94x0te5sKujEdN09T6qbAvnReVcgMl3Ebn Nto1z2SEjCV+ISpK0K4LpzX1rAyVyd6mouZ00gNsRzOG4G9OSlnLPBvcRrnfCVUsSuF62RgfvLnw uQ9YtfSk3TJ5MZK9tYkEVidQv5kkT8lMlsekFzEp17Gq8kpv7hXn2IaWOWSSSWPu0/EgVfdgp/l0 xOuTWZEFXN4mE/G9dmWetfpJvNdZeb6cwat3bEweAGMZWW6r8pcnamFyBWnIoa3SkHsH5edVmP+W OtteYOBckzenkbJs9G+EK1tismaPfukL0PoW+6aMzbh8H6Pmmq95yR9xmcTQoTBRydg+9jlu0t3M y4Gr+av5+ZiZjd7Pxgp8IQ4Xk3SMVp1PjQlqFudOxI1MMYtNdj0Gp9psCxoZqlsMaBpbTMaFpli5 HD0vD8+uaI4lGYg/nWYXj2uurYYwmg9NnC37jNTaRHL3Xs1qbppaercON6ydTG7F2JnPQg2en5NN 0v7Kt9NM/vFI2V1uyZTa1476NuzAikvWQEo92rZckNvUxhvzNJkED7GqE81taQd7x/Xma35TvWxO crhhcub1v/FdzIpbXOGzqjWn0TzpHLtnxMH/eXh6I87ylgf13H+t1sYjRvMrn1nmNy9rdIyG873G 1+Z5Brr3GFnzKfsb0xvC893YDE30+jzdQo73Zk9GUZhbbeopdTrWP4QkMS+66bkmthpjrK97wWym /uavoF+8dOhtvXEkhfvrDm7kmOVcmvgmMfWeXVOBN/rT356dsRd+co4PvHzn7jjht77yKE87Yj62 dcPjq2xVmx3xj9b7HuuO92M7+8gUXzW0qf3Yp1N90Z/cdYRTDua/79Xv3b5w4OnK+mGPW8KFv3G2 P1xw6+jZ5cBPjB7rq+akG6jvGJE6U7Q8Z/quKaqn/y9PYLTzjJNX9dpW8sgR/TlBmrxizRq8/8fn LlVcS62QVK4c5nsM8UF7//ytz/fvk6v6Tsoz4K8/Eo/dr/kLB4jiflJ93hR9RIZ86QdsBch+4Ddy kAdhGSZuwReBEYg1fxSAQaV0CIJ83vZVSdV0cqSB0McRo5dLVmdeBRY67NR91RYpSKaCzdZnsYdG sxd+ArhqJCd29PVYnaN+rvdmABd6g4d9eSddNOhxEwNYSyZquEJrY/QkG7dMaANurud/rFd676dy KShGNdYuSQh6gvc7fTNtiCaBZOhdbDJ/0pdnXdRVjUFTPEdnZPZ6ZVgfLniDWChsCRdNkcZVVGh0 7Sd5W/hFIHOCe/ZxacR5c2gZL2Y3jLg29f/Xe9QGiL43gPIHeMTWcReHe+UHgFIoLyWYiKAYivTR O5CWTtcBHMxnhcyEhj4RgjbIhq64hjwjZ1jxiQQ4b2qHi4zHV9HDihO0b5M0ehzTiNwHUCoIiJIY idRSh5pleY1yb/NEe49GiI5nOoeHYSBoUb13OHw4g2fHdyOkUKSXi5bIa450jIY3eX5Dg5ImG6c2 hLW3fb/Wh0aoiXDoZ+g4VM8UV2PYeX8IgfEHWaI4kDS0G7/HhP5liy2hkHe2i5/VV00YUgSpc1iX jPzHgpzYdv2HjL4WdtG2N9EokLDnifAnjVmHPsRXbMq3XZQHe6OWSA0oeyC3ZKiHSGEIJ0X/mInx qHKqKG8NVo4Mk1XqNpHbcobCR4pEWT/CeHweiCcMmYbNF5Xr5lAqZXTZOItJSX1VWCy1Qx0NaHsN J2/YWHhd2W4uuYxX6U3QNns9RYwGZ2Id6YsECZaVqI6xU3+3CCZsiX+395IOuXcwdo2TOJZfCIXX CIlZmZiKqV5bdljGp41NuTeJNyZtBpV1lXwwOFmaiZWWyUtuiGcl+JTE95SMsZIRJZemUmlhOYxu 11hMwoRpQoCBNld0yX5lszMWKIZcKJhKwm+GCZirWYgXqYxptm3RFoXMFll2GZB8uZzjF3rSNjll SXbIKVfpuJB42I8HF3c4tklgtIr2J4+1//l/y3l/itaW8VOYmShJlUeezDmEvzmc0flhYplSnyeT x3aXSyhyluaD1/mcntedXliXC5g7AEl+i5mgHxiZ9TmAlTl0fnh3ViN0E4pZSCmc1XiaAOYvnxhG qFmQzVOTatmaI2o7CApm1yZ30CknU0idQ/OVenOHkJl6YueWQpafZzmdcamDeVigCFeTfvmXR1Sd i5eD6Dlr/Ek74RmY+hl58uijg4mXcdKcCTiSkLiTP/qPuvlWQliYgrijCqhxCjqmZFqmZnqmaJqm arqmbNqmbvqmcBqncjqndFqndnqneJqnerqnfNqnfvqngBqogjqohFqohnqoiJqoirqojP/aqI76 qJAaqZI6qZRaqZZ6qZiaqZq6qZzaqZ76qaAaqqI6qqRaqqZ6qqiaqqq6qqzaqq76qrAaq7I6q7Ra q7Z6q7iaq7q6q7zaq776q8AarMI6rMRarMZqhmiYolEHnTXnYPiVU3JIbwYpoN1Eo5NFgh04f1sJ ixJpeggla7uYm+7ZelAirhlYkiVzi5VWdIeYmQ7HOUTnlR65YjX2mo1DoavBrhCnr2+Dl0WXdk6o O6Z5QeAarXe2nirqrdZ2nd8XjTuoksLZkllykzjJg/g5j0tpm7zniPa0a4OYmWzJRAXbkAe7j//F dhVbngEGfw+7ejBofiXVjfv3gDzZYxL/C2RTWHF1ZIEfG59U+mQM2q+aRnPw5qHrNbQT1nONqWk+ Qpn8mq4yd7SxqXGb9rQNmnuPea5Hty5Ma2XK9qDFp7TgYWtO24v+6qHM87XbmqhBm5qkaXcnMrAL +6HHWrd2i1XJGpNhF2lLqqX9h1giuH+NJ6RxKEn3aZFm6bNg6n9meZ8A2ljFSbiFi3FTSU4ROrmY S30Sh6FBmXmXMx6XdrkFuGn1uYcSCnn0+pjB8WWre3fiGHIqBrAzyqLy9y5IJ7NYa4Oog7SSOXeY 6J2dCz/4SrtZ63X32LpKW19VJmW0FEcju2AoNXatGWgka7Mx+pbBi4Q4CLu5S5OR1JLs/zV8ERm2 lQhNt3uK4KiHutKJZUettEmi9li9j6uX11uXSMe4OCuv8Jm79Ka58pu92RE8XJqNphGM0euAG7ai 5iqjVdqk2HOzuitRMXhIBttqpDuS5rOf7nq44gm/7FmR9HmF/Kud8Pq3Cgal/rigetY6yruHRyu1 6mO8WQsUV8e71bp8+frCaXtJFVotzlSSYVa2MSm2MtyTEcy0TXu2Vdmj5tu2q7iIyjpmtchjfFtm Pjy3Eqo0Nly8YOu0+kuLZZvEeyu3lOqGb3u3aJzGPLS2m5u5/NhFFtpvJyx1EBxzhZqS5yJ0yKu6 W9nEBwyvM/fFPGNoRZzDsguhzTsdk/85P+AmxffFr3ucsUl5v4YIoF3XxIP7v4/yswX8ljcKwCLp rKfUsCIKkjjKxmbajLm5lyFMjZksJyvqj5Bzpe76rgPabj9pjrMkfgFIt07mxEVsIxTbtT2zw1Ip YU8oyAvLtTBsnYPsTMYMtct8w4PstdTMxWibvLCpxlBExtz8zeDsW2csuc+sm2fppOhswoG7Z5AE dtacl4nbt0nsali7lnr7otR6rudCiaGMmflSgckcz1ZFjkgVuV6ER8+ryZ/rosFZwVPse4cszRKt UGurf4A8VtTbvhP7wSU6PTxlr+1Yd7uLz4os0hRoulfs0DQGyStNoe0jxGPWwxAdsDn/t8dG/M+o O8bO64uu/J2Y035wC7MiLGOXF4h0943xa8cZzdGys3bUdNKRA43Wo00ISJhrdFQ/V78z3GFMnJFF bWjWmLNakjZESlU53J6c+4p8VsFiCqW6lr5W7YxqOz44XdeSK8AJfHw4KnqISX5SvVmIq7DwBpwh OU5deoRfHb1st421XNZQdxWB+MkqrHN9oz1R28wTDdOu27aFDNM6jM2M/NkpfdIz98hJ29Rae9nV jNkVytqhXcWqWMhnfc20HdqbDdKlDcQhqsyZnc2grdMpXduPvM/Cy8wkDM/HU9m+PIHjHM7O/dwn ZNba27hp6Zg3kbfoN766iL2UdpCN/73cwLWuLv2vWUy81lvNsnmKt420rKveX7hW+ezFqdvWYots l8N5sn1vmMPIzFvf17fBCedp9PzDpvyOpizPB07WHk1ZqDbE3V3C79qyNEugR4rA30nh5bXAH6x9 BJ2/Bh7W2b2b5ny1SleFLZt/7SiQEn6ehByhRW3B+zteL60ovnvID+rOW4zFo220Me2Tw80uidcc viImWaHPVhxmMj3Dnh21RZGB/a3k5G1m0L3OraLcdfYs3jzlWr7ltFWE/vzKjyS6T4Oy/SvQYK6c C0XmGap1kq111zWt7/x/om2FNv3Q0yyNjczkOi6VdW7ajszSyrpu4j3nYmnnmMLfNP89Z9KpzEHM lc/x4tYl4JtdiPmYpYyLsi6s1XMM4H5ryx1+2NwLpJrOcP0M0UCIHT8tkqj8XF6+fjZV6VfNNrhZ y56p3QrmjR+5hhnp6fNp1AUey23Vm6h+sTMC3q0FjAJrJkpjxdOy4P69c+u17NYGzcLt2y1stYWu SeMtr9TOIMRM2+QrzLGe43SO29F+ssZebnhsQutO2c3N5fAe78CXcu8E0NZN5W3Iij2tyZSe7nh6 r8W83n9+dOi6m+Ze0zfu3r+N8D/W7uu9efAdzdKMx4hoqYu921Z6TRf8PjOa6rMs5hjOwBVO4CHO 4F6M1f5up1B8yiUWskdD1c6Zv2T/hW1oPvJove8wDuFnLqk/btwLL+Xe3sx8eHtinMV25sfjDaPI /eRjG/DBbeRB/+wXn/LyXvVWr6hTTPVAq/BxKk/kjHZUSbnbDV+xeJJlL4tor9Z1mPaf+fR2nLn3 bvYG/YvrC8jSXa+PDpNv+PMfh+0ojecvT+j5qraafbxcP+NxLvYUmd4+Ppny+YGBv4EHr80mDIwk 9LqOK4sn/uAQ77B5COoJzqzjm+mUP902KelAfdCYTM5qn56lvnD2jtaD7fGHidTqDE+eO+oEDfaK X/Ji7YS9r8uyfuBsTXYau4GV7/qgvNa/Pvd1HME2z5HBWVBZ/jU4vrX+3WVaLPRx/wP1N3ztj1j4 tjPbkN3tHrjITasw5Z3HhD+Udn7NwKzt2L9jVufnnTn4x42RRPzSoDK8Vx9nAAFA4ECCBQ0eRJhQ 4UKGAQIwhBhR4kSKFS1exJhR40aOHT1+BBlS5EiSJU2eRJlS5UqWLV2+hBlT5kyaNW3exJlT506e PX3+TOnQoFChIosSJPoQ5FGgTC06XQhVptSKUqmSdHgV6FauXb1+VZgVaVatA8kqFXh2KFoAZ9km VGuW7FixUR/WTYs3r964bdEe7Rt27l6+hQf7zUu3LOLEhA8yLQr5cOPHb1FC1QtW82bOnV1itgzX MuC3oCVaDR05dEHVcgtXXtuWcf/rhqtBZ3ZKm3Jtua5N92YcXLLolos9H0eeXPnT0asFA0f4eyLq sbujK6VNPXbiu9i9Ty8d3nru79vtCi9fHThp4teLO18eX/785ZMnCzZMXvJt1vYP110sMLFIy4+t pBQL8D6/DDyQLgcJ1O+xtbpT7MG/FAzOussENI4+Dz8EMcTNMBSxRBNPRDFFFVdksUUXX4QxRhk1 y2xD+GbEMUcdd6SIvaXSm7HD8/rLsMghVxISuvPI6yhJHp+EckTd/KPQNwZjwyspBrPsLrwbudtv ywwDq4pK6RassUf9ElwQQSu/RHNLCCPsrUA3o8Qzz+S0vJBL2aa8EDbzoPNRI0D//ayy0DLNY5JI jhqNKLtAlXwOPSWpahTQxpzUs1NPa1KtvEJ1c7RU9U5VFCNJKfOR0yO1OjMjTOFcdbcONXVP0PWA 3PVTX3/tadQGheUyrvsU7AvDNAUlcLZJ45TVTC/l3EhaiA7lr7b/zJzwSvQKhBNYccclt1xzz0U3 XXXXZbddd9+FN15556XXJlJzjfQ1DbtF9Uv/KGU0PTZvDfeiWR8tuL3TUiv44JEa5G3QaxPeDlLl XP0JY2BRszPf6qqMmLsxtdt3r4+dBbjUWuOUs8+Rw6TTynyv7JjlCiUeD9z+pg10WQSp3VlXwlqO Nuedwzya6CVhJlTMOy21q2Yt/5+G1tSq8XuZaZl9C3pOqj9rrumSByXKSHwRA/lIqIkD2a2oB7sX 0tbaPtY2b9V0NFWAyTR7TfGEFnbsU7ce/NJJ71WzxuFY/Vdlf8Pe9FlbD7/L7MIZ71XDVBe3vE6U Mcf56laf1fjH0D8Puc3OTQUwXM7Lal1oXVc2OvLMLR7c1UwhpxRxklEv+XXKJ86b99wZFjx11pHv W3Lira7TeOrSlh104K23OMnR1RZ7bcShR1LxbUlMuk/j3B466J8JN5lqvgN2rUipSYe4fa7Zx89b r9U3Gemb+/fS0dzHq8pEyH/3S9+bHKQthmkNgOx7nwCTNpQCKg1ME6sZ6jiEm/8M4mt/CQRhm5r1 wavZr14nRGEKVWizFbbQhS+EYQxlOEMa1rApBDzddYTHwH7xsHsKw1WlStckHOYQYR4Z4qLKxanf 2RBGHHNg6spGsJPtB3DOeU2inMes72Rwg+cLW7Hmp7r8RVE0iHLg1N5mRh2O0IJqfCAI4Si6LXbL giXcVxKdWB/ebe95IqOi5wJpPffQjXwQ7GMdtcc8zmGPYnK7Eamk40fu6c1xgBTYFinpx4OBkYuE bN4eZRSrzEnxe1csItnquMAmVs9IsGMe92zXO7vhrYdCvNsPT2k1S14Oag67pcN26bOz0S50ehTl cZA1PmIqMIRnFGMA1/dMDnb/sIISHKA17UhJEyarmRP6WhtD1Rxt6jCcFaQf4ZZpyMWRcHUTbJ87 6xazZNbTnsg5JFjQ9xFk3tOf/wRoQAU6UIIW1KAHRWhCFbpQhjbUoQ+FaEQlOlGKVtSiF8VoRjW6 UY521KMfBWlIRTpSkpbUpCdFaUpVulKWttSlL4VpTGU6U5rW1KY3xWlOdbpTnvbUpz8FalCFOlSi FtWoR0VqUpW6VKY21alPhWpUpTpVqlbVqlfFala1ulWudtWrXwVrWMU6VrKW1axnRWta1bpWtrbV rW+Fa1zlOle61tWud8VrXvW6V7721a9/BWxgBTtYwhbWsIdFbGIVu1jGNtaxro+FbGQlO1nKVtay l8VsZjW7Wc521rOfBW1oRTta0pbWtKdFbWpVu1rWtta1r4VtbGU7W9rW1ra3xW1udbtb3vbWt78F bnCFO1ziFte4x0VucpW7XOY217nPhW50pTtd6lbXutfFbna1u13udte73wVveMU7XvKW17znRW96 1bte9rbXve+Fb3zlO1/61te+98VvfvW7X/7217//BXCABTxgAhfYwAdGcIIVbNWAAAA7 --_002_A0D5581BE022624487D06FF31DA39EAC46DB301C92csmailcloudsh_--

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

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

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

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

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

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

ok, I have already patched like this. Hope this is ok: [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. >From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches: 07d8a0f Add archipel option with stateless boot If you want to keep them by creating a new branch, this may be a good time to do so with: git branch new_branch_name 07d8a0fc5007c5f74f9421b7a565cd2db2d9e772 HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. >From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches: a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit If you want to keep them by creating a new branch, this may be a good time to do so with: git branch new_branch_name a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$ ONE MORE QUESTION: do I need to run 'make publish' before make iso? - David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote: > Ok, what's the right cmd to get both? Do I have to start from scratch? No need to start from scratch. First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands: $ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD $ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits. Now you should be good to build. Mike > > >-----Original Message----- > >From: Mike Burns [mailto:mburns@redhat.com] > >Sent: Friday, February 10, 2012 11:01 AM > >To: Li, David > >Cc: users@ovirt.org > >Subject: Re: [Users] Pxeboot - pwd/login issue > > > >On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote: > >> Mike, > >> I think I got a glimpse of the error message - something like "persistent > >storage not available" after I tried to login with the new passwd. > >> Does this make sense? > > > >Try this patch with the other one I just sent: > > > >http://gerrit.ovirt.org/1808 > > > >Mike > >> > >> David > >> > >> > >> >-----Original Message----- > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >Sent: Friday, February 10, 2012 7:37 AM > >> >To: Li, David > >> >Cc: users@ovirt.org > >> >Subject: RE: [Users] Pxeboot - pwd/login issue > >> > > >> >On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: > >> >> Hi Mike, > >> >> > >> >> I ran into the login/pwd problem again with this new build. Kernel > >> >> option adminpw worked but only for a short time. I was asked to > >> >> change pwd immediately after login but then rejected again after I did > >that. > >> >> There was an short-lived error message on the screen but I wasn't > >> >> able to capture it. > >> > > >> >You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the command > >line. > >> >This will configure networking and enable SSH password authentication. > >> >Then you can ssh admin@<your host> and it will show you the error. > >> > > >> >> > >> >> I tried the latest from archipel source and it worked without > >> >> password issue. I pulled it from: > >> >> > >> >> git clone https://github.com/primalmotion/Archipel.git > >> > > >> >I'm using git://github.com/primalmotion/Node.git > >> > > >> >The only differences I see between the 2 are some minor formatting > >> >and conditional changes in recipe/Makefile.am and a couple patches > >> >that were pushed since the github repo was updated. These patches > >> >are all on the gerrit.ovirt.org side. > >> > > >> >Note: there is an incompatible change that was merged into master > >> >this morning. I'm working on a rebase of the archipel stuff now to include > >it. > >> > > >> >Mike > >> > > >> >> > >> >> There might be a few updates right after you pulled it last time. > >> >> > >> >> Would you mind merge the new updates into ovirt node again? > >> >> > >> >> Thanks. > >> >> > >> >> David > >> >> > >> >> > >> >> >-----Original Message----- > >> >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> >Sent: Thursday, February 09, 2012 5:10 PM > >> >> >To: Li, David > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >Subject: Re: [Users] Pxeboot > >> >> > > >> >> >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: > >> >> >> Mike, > >> >> >> Built it finally! > >> >> >> Thanks a lot! > >> >> > > >> >> >Woot! > >> >> > > >> >> >> > >> >> >> >-----Original Message----- > >> >> >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> >> >Sent: Thursday, February 09, 2012 4:18 PM > >> >> >> >To: Li, David > >> >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >> >Subject: Re: [Users] Pxeboot > >> >> >> > > >> >> >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: > >> >> >> >> MIke, > >> >> >> >> > >> >> >> >> Got something new this time in make publish: > >> >> >> >> > >> >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' > >> >> >> >> /bin/sh: -c: line 36: `)' > >> >> >> >> make[1]: *** [repos.ks] Error 1 > >> >> >> >> make[1]: Leaving directory > >> >> >> >> `/home/lid/workspace/ovirt/node-archipel- > >> >> >> >2.2.2/ovirt-node/recipe' > >> >> >> >> make: *** [distdir] Error 1 > >> >> >> >> > >> >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR > >> >> >$OVIRT_LOCAL_REPO > >> >> >> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt > >> >> >> >> [lid@FC16-1 ovirt-node]$ > >> >> >> > > >> >> >> >Oops, bad merge on my part. > >> >> >> > > >> >> >> >$ git reset --hard origin/master #sets you back to head of the > >> >> >> >master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks > >> >> >> >out the > >> >> >new version of the patch set. > >> >> >> > > >> >> >> >Mike > >> >> >> > > >> >> >> >> > >> >> >> >> > >> >> >> >> - David > >> >> >> >> ________________________________________ > >> >> >> >> From: Mike Burns [mburns@redhat.com] > >> >> >> >> Sent: Thursday, February 09, 2012 2:12 PM > >> >> >> >> To: Li, David > >> >> >> >> Cc: Perry Myers; users@ovirt.org > >> >> >> >> Subject: Re: [Users] Pxeboot > >> >> >> >> > >> >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: > >> >> >> >> > Mike, > >> >> >> >> > > >> >> >> >> > It seems it needs couple vdsm pkgs: > >> >> >> >> > > >> >> >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> >> > Failed to find package 'vdsm-cli' : No > >> >> >> >> > package(s) available to install mv ovirt-node-image.iso > >> >> >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> >> > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> >> >> > directory > >> >> >> >> > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > can I remove them from ks files? > >> >> >> >> > >> >> >> >> Not if you want to use ovirt-node with ovirt-engine. There > >> >> >> >> was a bug in that patch set that is fixed in patch set 2 > >> >> >> >> (along with the bad ===== package). I hadn't pulled the > >> >> >> >> patch set together and uploaded to gerrit yet, but it's there now. > >> >> >> >> > >> >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD > >> >> >> >> > >> >> >> >> This should fix the problem. > >> >> >> >> > >> >> >> >> Mike > >> >> >> >> > >> >> >> >> > > >> >> >> >> > - David > >> >> >> >> > ________________________________________ > >> >> >> >> > From: Mike Burns [mburns@redhat.com] > >> >> >> >> > Sent: Thursday, February 09, 2012 12:07 PM > >> >> >> >> > To: Li, David > >> >> >> >> > Cc: Perry Myers; users@ovirt.org > >> >> >> >> > Subject: Re: [Users] Pxeboot > >> >> >> >> > > >> >> >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: > >> >> >> >> > > It's still the same error: > >> >> >> >> > > > >> >> >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ > >> >> >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> >> > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> >> > > echo "VERSION=2.2.3" ;\ > >> >> >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> >> >> > > ) > version.ks > >> >> >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> >> > > Failed to find package '=======' : No package(s) > >> >> >> >> > > available to install mv ovirt-node-image.iso > >> >> >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> >> >> > > directory > >> >> >> >> > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> >> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ > >> >> >> >> > > total > >> >> >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch > >> >> >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. > >> >> >> >> > > 2 lid lid 4096 Feb 9 > >> >> >> >> > > 11:10 src > >> >> >> >> > > >> >> >> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and > >> >> >> >> > remove the last line which is "=======" > >> >> >> >> > > >> >> >> >> > Mike > >> >> >> >> > > > >> >> >> >> > > > >> >> >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? > >> >> >> >> > > > >> >> >> >> > > - David > >> >> >> >> > > ________________________________________ > >> >> >> >> > > From: Mike Burns [mburns@redhat.com] > >> >> >> >> > > Sent: Thursday, February 09, 2012 11:44 AM > >> >> >> >> > > To: Li, David > >> >> >> >> > > Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > Subject: RE: [Users] Pxeboot > >> >> >> >> > > > >> >> >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: > >> >> >> >> > > > The error seems a little stubborn. > >> >> >> >> > > > > >> >> >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> >> >> > > > file://home/lid/ovirt-cache/ovirt > >> >> >> >> > > > >> >> >> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt > >> >> >> >> > > > >> >> >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> >> > > > echo "VERSION=2.2.3" ;\ > >> >> >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> >> >> > > > ) > version.ks > >> >> >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> >> > > > Unable to download from repo : Cannot retrieve > >> >> >> >> > > > repository metadata (repomd.xml) for repository: local. > >> >> >> >> > > > Please verify its path and try again mv > >> >> >> >> > > > ovirt-node-image.iso > >> >> >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> >> >> > > > directory > >> >> >> >> > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> >> > > > > >> >> >> >> > > > There is also a pop-up window: Unable to open a folder > >> >> >> >> > > > for _ovirt-node-imag > >> >> >> >> > > > > >> >> >> >> > > > maybe it's looking at the wrong place? > >> >> >> >> > > > > >> >> >> >> > > > > >> >> >> >> > > > - David > >> >> >> >> > > > ________________________________________ > >> >> >> >> > > > From: Mike Burns [mburns@redhat.com] > >> >> >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM > >> >> >> >> > > > To: Li, David > >> >> >> >> > > > Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > Subject: RE: [Users] Pxeboot > >> >> >> >> > > > > >> >> >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: > >> >> >> >> > > > > ok, that's my bad:) > >> >> >> >> > > > > > >> >> >> >> > > > > Ran into error at the last iso build step: > >> >> >> >> > > > > > >> >> >> >> > > > > Start building ISO image.... > >> >> >> >> > > > > ( \ > >> >> >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> >> > > > > echo "VERSION=2.2.3" ;\ > >> >> >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ > >> >> >> >> > > > > ) > version.ks > >> >> >> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> >> > > > > Unable to download from repo : Cannot retrieve > >> >> >> >> > > > > repository metadata (repomd.xml) for repository: local. > >> >> >> >> > > > > Please verify its path and try again mv > >> >> >> >> > > > > ovirt-node-image.iso > >> >> >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso > >> >> >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file > >> >> >> >> > > > > or directory > >> >> >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> >> > > > > >> >> >> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO > >> >> >> >> > > > defined, but not correctly. It needs to be like this: > >> >> >> >> > > > file:///home/mburns/rpmbuild/RPMS > >> >> >> >> > > > > >> >> >> >> > > > Ok, I just looked at the Node Building page, and it > >> >> >> >> > > > needs some > >> >> >updates. > >> >> >> >> > > > Try this from the base directory of the git repo > >> >> >> >> > > > > >> >> >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache > >> >> >> >> > > > $ export > >> >> >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt > >> >> >> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish > >> >> >> >> > > > #this builds the rpms and puts them in > >> >> >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make > >> >> >> >> > > > ovirt-node-image.iso > >> >> >> >> > > > > >> >> >> >> > > > Mike > >> >> >> >> > > > > > >> >> >> >> > > > > > >> >> >> >> > > > > > >> >> >> >> > > > > I wonder which repo my machine is lacking? > >> >> >> >> > > > > > >> >> >> >> > > > > - David > >> >> >> >> > > > > ________________________________________ > >> >> >> >> > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM > >> >> >> >> > > > > To: Li, David > >> >> >> >> > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > Subject: Re: [Users] Pxeboot > >> >> >> >> > > > > > >> >> >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: > >> >> >> >> > > > > > Got an error: > >> >> >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch > >> >> >> >> > > > > > http://gerrit.ovirt.org/ > >> >> >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD > >> >> >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: > >> >> >> >> > > > > > did you run git > >> >> >> >update-server-info on the server? > >> >> >> >> > > > > > >> >> >> >> > > > > Bad copy/paste: > >> >> >> >> > > > > > >> >> >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD > >> >> >> >> > > > > > > >> >> >> >> > > > > > any ideas? > >> >> >> >> > > > > > > >> >> >> >> > > > > > - David > >> >> >> >> > > > > > ________________________________________ > >> >> >> >> > > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM > >> >> >> >> > > > > > To: Li, David > >> >> >> >> > > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > > Subject: Re: [Users] Pxeboot > >> >> >> >> > > > > > > >> >> >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: > >> >> >> >> > > > > > > Mike, > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > Two quick questions before I kick off a build: > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > 1. Git errors. Do they matter? > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone > >> >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >> >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into > >> >> >> >refs/changes/38/1738/1... > >> >> >> >> > > > > > > remote: Counting objects: 14791, done > >> >> >> >> > > > > > > remote: Finding sources: 100% (14791/14791) > >> >> >> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 > >> >> >> >> > > > > > > (delta > >> >> >> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), > >> >> >> >> > > > > > > 16.92 MiB > >> >> >> >> > > > > > > | 154 > >> >> >> >KiB/s, done. > >> >> >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. > >> >> >> >> > > > > > > fatal: Not a git repository (or any of the parent > >> >> >> >> > > > > > > directories): .git > >> >> >> >> > > > > > > >> >> >> >> > > > > > try this instead: > >> >> >> >> > > > > > > >> >> >> >> > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git > >> >> >> >> > > > > > cd ovirt-node > >> >> >> >> > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> >> >> > > > > > FETCH_HEAD > >> >> >> >> > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > 2. Build machine. > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. > >> >> >> >> > > > > > > My target is > >> >> >> >x86_64 Intel board. Is this ok? > >> >> >> >> > > > > > > >> >> >> >> > > > > > Should be fine. > >> >> >> >> > > > > > > >> >> >> >> > > > > > Mike > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > - David > >> >> >> >> > > > > > > ________________________________________ > >> >> >> >> > > > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM > >> >> >> >> > > > > > > To: Li, David > >> >> >> >> > > > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > > > Subject: RE: [Users] Pxeboot > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: > >> >> >> >> > > > > > > > Not sure where the boot log is since I can't login. > >> >> >> >> > > > > > > > > >> >> >> >> > > > > > > > I got the source from > >> >> >> >> > > > > > > > https://github.com/primalmotion/archipel-node > >> >> >> >> > > > > > > > and followed the build instructions in > >> >> >> >> > > > > > > > http://ovirt.org/wiki/Node_Building > >> >> >> >> > > > > > > > > >> >> >> >> > > > > > > > maybe I should rebuild the iso from the ovirt > >> >> >> >> > > > > > > > node source tree > >> >> >> >as you have pulled in archipel changes yesterday. How do I do that? > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > That command will checkout the current version of > >> >> >> >> > > > > > > the archipel-node changes. Then you can just > >> >> >> >> > > > > > > follow the Node_Building process. Note that the > >> >> >> >> > > > > > > changes aren't merged into master yet. I'm still > >> >> >> >> > > > > > > in the process of reviewing > >> >> >them. > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > Mike > >> >> >> >> > > > > > > > > >> >> >> >> > > > > > > > - David > >> >> >> >> > > > > > > > > >> >> >> >> > > > > > > > > >> >> >> >> > > > > > > > >-----Original Message----- > >> >> >> >> > > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] > >> >> >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM > >> >> >> >> > > > > > > > >To: Li, David > >> >> >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > > > > >Subject: Re: [Users] Pxeboot > >> >> >> >> > > > > > > > > > >> >> >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: > >> >> >> >> > > > > > > > >> Mike, > >> >> >> >> > > > > > > > >> > >> >> >> >> > > > > > > > >> I added adminpw as a kernel option. After > >> >> >> >> > > > > > > > >> boot, I tried > >> >> >> >"admin/abc123" > >> >> >> >> > > > > > > > >> and "root/abc123" but not able to login. > >> >> >> >> > > > > > > > >> Any idea? > >> >> >> >> > > > > > > > >> > >> >> >> >> > > > > > > > > > >> >> >> >> > > > > > > > >Are there any errors in your build or boot logs? > >> >> >> >> > > > > > > > > > >> >> >> >> > > > > > > > >Mike > >> >> >> >> > > > > > > > > > >> >> >> >> > > > > > > > >> David > >> >> >> >> > > > > > > > >> > >> >> >> >> > > > > > > > >> > >> >> >> >> > > > > > > > >> >-----Original Message----- > >> >> >> >> > > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM > >> >> >> >> > > > > > > > >> >To: Li, David > >> >> >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David > >wrote: > >> >> >> >> > > > > > > > >> >> Ok, I built an iso out of archipel and > >> >> >> >> > > > > > > > >> >> pxebooted it with stateless option. Now > >> >> >> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea > >> >> >> >> > > > > > > > >> >what should I put > >> >> >> >in as user/pwd? > >> >> >> >> > > > > > > > >> >> David > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >You will need to pass a password in on the > >> >> >> >> > > > > > > > >> >command line as well > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >adminpw=<hashed_password> > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >You can generate the hashed password using: > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >$ openssl passwd > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >Assuming the password was abc123 > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >$ openssl passwd abc123 > >> >> >> >> > > > > > > > >> >tKrQfufCbosr6 > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >Mike > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> >> > >> >> >> >> > > > > > > > >> >> >-----Original Message----- > >> >> >> >> > > > > > > > >> >> >From: Mike Burns > >> >> >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] > >> >> >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 > >> >> >> >> > > > > > > > >> >> >PM > >> >> >> >> > > > > > > > >> >> >To: Li, David > >> >> >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot > >> >> >> >> > > > > > > > >> >> > > >> >> >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, > >> >> >> >> > > > > > > > >> >> >David > >> >wrote: > >> >> >> >> > > > > > > > >> >> >> Ok, I think we are on the same page > >> >> >> >> > > > > > > > >> >> >> now regarding > >> >> >> >stateless node. > >> >> >> >> > > > > > > > >> >> >> It looks like the achipel diff you > >> >> >> >> > > > > > > > >> >> >> just pulled in might be able to do > >> >> >> >> > > > > > > > >> >> >> this. But I can't quite make it out > >> >> >> >> > > > > > > > >> >> >> what the kernel option should > >> >> >> >> > > > > > > > >be. > >> >> >> >> > > > > > > > >> >> >> Is it "stateless=1"? > >> >> >> >> > > > > > > > >> >> >> > >> >> >> >> > > > > > > > >> >> > > >> >> >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. > >> >> >> >> > > > > > > > >> >> > > >> >> >> >> > > > > > > > >> >> > > >> >> >> >> > > > > > > > >> >> >> David > >> >> >> >> > > > > > > > >> >> >> > >> >> >> >> > > > > > > > >> >> >> >-----Original Message----- > >> >> >> >> > > > > > > > >> >> >> >From: Mike Burns > >> >> >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] > >> >> >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 > >> >> >> >> > > > > > > > >> >> >> >3:27 PM > >> >> >> >> > > > > > > > >> >> >> >To: Li, David > >> >> >> >> > > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot > >> >> >> >> > > > > > > > >> >> >> > > >> >> >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, > >> >> >> >> > > > > > > > >> >> >> >Li, David > >> >> >wrote: > >> >> >> >> > > > > > > > >> >> >> >> Perry, > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. > >> >> >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the > >> >> >> >> > > > > > > > >> >> >> >> root fs entirely in > >> >> >> >RAM. > >> >> >> >> > > > > > > > >> >> >> >> In fact that would > >> >> >> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not > >> >> >> >> > > > > > > > >> >> >> >quite sure how to use pxeboot to achieve > >this. > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> I am doing a test now using the > >> >> >> >> > > > > > > > >> >> >> >> tftpboot files > >> >> >> >created from the iso. > >> >> >> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot > >> >> >> >> > > > > > > > >> >> >> >> options > >> >> >> >(pxelinux.cfg/default) has: > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1. > >> >> >> >> > > > > > > > >> >> >> >> fc1 6.i so > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the > >> >> >> >> > > > > > > > >> >> >> >> intall screen. What should I use > >> >> >> >> > > > > > > > >> >> >> >> to let the > >> >> >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? > >> >> >> >> > > > > > > > >> >> >> >Something like > >> >> >> >> > > > > > > > >root=/dev/ram0? > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> David > >> >> >> >> > > > > > > > >> >> >> > > >> >> >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node. > >> >> >> >> > > > > > > > >> >> >> >That's the whole stateless feature > >> >> >> >> > > > > > > > >> >> >> >that we outlined. Once we actually > >> >> >> >> > > > > > > > >> >> >> >have it implemented, it will be > >> >> >> >> > > > > > > > >> >> >> >something along the lines of adding > >> >> >> >> > > > > > > > >> >> >> >"stateless" to > >> >> >> >> > > > > > > > >> >> >the kernel commandline. > >> >> >> >> > > > > > > > >> >> >> > > >> >> >> >> > > > > > > > >> >> >> >Mike > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- > >> >> >> >> > > > > > > > >> >> >> >> >From: Perry Myers > >> >> >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] > >> >> >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 > >> >> >> >> > > > > > > > >> >> >> >> >2:54 PM > >> >> >> >> > > > > > > > >> >> >> >> >To: Mike Burns > >> >> >> >> > > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org > >> >> >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot > >> >> >> >> > > > > > > > >> >> >> >> > > >> >> >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns > >wrote: > >> >> >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 > >> >> >> >> > > > > > > > >> >> >> >> >> -0800, Li, David > >> >> >> >wrote: > >> >> >> >> > > > > > > > >> >> >> >> >>> Mike, > >> >> >> >> > > > > > > > >> >> >> >> >>> > >> >> >> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, > >> >> >> >> > > > > > > > >> >> >> >> >>> today I should be able to > >> >> >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount the > >> >> >> >root fs from a remote server. > >> >> >> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe > >> >> >> >> > > > > > > > >> >> >> >> >>> stuff, I 'd have to populate > >> >> >> >> > > > > > > > >> >> >> >> >>> the ovirt node root fs on the > >> >> >> >> > > > > > > > >> >> >> >> >>> server > >> >> >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. > >> >> >> >> > > > > > > > >> >> >> >> >>> In other words I am concerned > >> >> >> >> > > > > > > > >> >> >> >> >>> about the point from which the > >> >> >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute /init > >> >> >> >> > > > > > > > >> >> >> >> >>> script (in the initramfs) to > >> >> >> >> > > > > > > > >> >> >> >> >>> the > >> >> >> >point /init is able to mount the final root fs from a remote server. > >> >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to set this > >> >> >> >> > > > > > > > >> >> >> >> >> up currently in > >> >> >> >ovirt-node. > >> >> >> >> > > > > > > > >> >> >> >> >> You could install using a remote > >> >> >> >> > > > > > > > >> >> >> >> >> iscsi lun if you have a hardware > >> >> >> >> > > > > > > > >> >> >> >> >> iscsi HBA, but there isn't a way > >> >> >> >> > > > > > > > >> >> >> >> >> to mount a remote nfs share as > >> >> >> >> > > > > > > > >> >> >> >> >> the > >> >> >> >> > > > > > > > >> >> >root fs. > >> >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as > >> >> >> >> > > > > > > > >> >> >> >> >> the root fs isn't even something > >> >> >> >> > > > > > > > >> >> >> >> >> that requested as an RFE at this > >> >> >> >> > > > > > > > >> >> >> >> >> point or on the roadmap as far > >> >> >> >> > > > > > > > >> >> >> >> >> as > >> >> >> >I'm aware. > >> >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> >> > > > > > > > >> >> >> >> >> It sounds like what you're > >> >> >> >> > > > > > > > >> >> >> >> >> really looking for is a shared > >> >> >> >> > > > > > > > >> >> >> >> >> root fs that multiple hosts could use. > >> >> >> >> > > > > > > > >> >> >> >> >> This is something that we will > >> >> >> >> > > > > > > > >> >> >> >> >> probably look into eventually, > >> >> >> >> > > > > > > > >> >> >> >> >> but it's not on the immediate > >> >> >> >> > > > > > > > >> >> >roadmap. > >> >> >> >> > > > > > > > >> >> >> >> > > >> >> >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt > >> >> >> >> > > > > > > > >> >> >> >> >Node is fairly small and in a > >> >> >> >> > > > > > > > >> >> >> >> >truly stateless environment would > >> >> >> >> > > > > > > > >> >> >> >> >just run out of system RAM, > >> >> >> >> > > > > > > > >> >> >> >> >there's no real reason to try to > >> >> >> >> > > > > > > > >> >> >> >> >do a shared NFS based > >> >> >> >> > > > > > > > >rootfs. > >> >> >> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I > >> >> >> >> > > > > > > > >> >> >> >> >think, if the end goal is to move > >> >> >> >> > > > > > > > >> >> >> >> >to truly > >> >> >> >> > > > > > > > >> >> >> >stateless. > >> >> >> >> > > > > > > > >> >> >> >> > > >> >> >> >> > > > > > > > >> >> >> >> >For larger systems where the > >> >> >> >> > > > > > > > >> >> >> >> >rootfs is on the order of GB's, > >> >> >> >> > > > > > > > >> >> >> >> >shared root may make more > >> >> >> >sense. > >> >> >> >> > > > > > > > >> >> >> >> > >> >> >> >____________________________________________ > >> >> >> >> > > > > > > > >> >> >> >> ___ Users mailing list > >> >> >> >> > > > > > > > >> >> >> >> Users@ovirt.org > >> >> >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/list > >> >> >> >> > > > > > > > >> >> >> >> inf o/u ser s > >> >> >> >> > > > > > > > >> >> >> > > >> >> >> >> > > > > > > > >> >> >> > >> >> >> >> > > > > > > > >> >> > > >> >> >> >> > > > > > > > >> >> > >> >> >> >> > > > > > > > >> >> > >> >> >> >_______________________________________________ > >> >> >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org > >> >> >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/user > >> >> >> >> > > > > > > > >> >> s > >> >> >> >> > > > > > > > >> > > >> >> >> >> > > > > > > > >> > >> >> >> >> > > > > > > > >> > >> >> >> >_______________________________________________ > >> >> >> >> > > > > > > > >> Users mailing list Users@ovirt.org > >> >> >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users > >> >> >> >> > > > > > > > > > >> >> >> >> > > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >_______________________________________________ > >> >> >> >> > > > > > > Users mailing list > >> >> >> >> > > > > > > Users@ovirt.org > >> >> >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> >> > > > > > > >> >> >> >> > > > > > > >> >> >> >> > > > > > > >> >_______________________________________________ > >> >> >> >> > > > > > Users mailing list > >> >> >> >> > > > > > Users@ovirt.org > >> >> >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> >> > > > > > >> >> >> >> > > > > > >> >> >> >> > > > > >> >> >> >> > > > > >> >> >> >> > > > >> >> >> >> > > > >> >> >> >> > > _______________________________________________ > >> >> >> >> > > Users mailing list > >> >> >> >> > > Users@ovirt.org > >> >> >> >> > > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > _______________________________________________ > >> >> >> >> > Users mailing list > >> >> >> >> > Users@ovirt.org > >> >> >> >> > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> >> > >> >> >> >> > >> >> >> >> _______________________________________________ > >> >> >> >> Users mailing list > >> >> >> >> Users@ovirt.org > >> >> >> >> http://lists.ovirt.org/mailman/listinfo/users > >> >> >> > > >> >> >> > >> >> >> _______________________________________________ > >> >> >> Users mailing list > >> >> >> Users@ovirt.org > >> >> >> http://lists.ovirt.org/mailman/listinfo/users > >> >> > > >> >> > >> > > >> > >> _______________________________________________ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users

On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name 07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run $ git log and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine. Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote:
Mike, I think I got a glimpse of the error message - something like "persistent storage not available" after I tried to login with the new passwd. Does this make sense?
Try this patch with the other one I just sent:
Mike
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 7:37 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote:
Hi Mike,
I ran into the login/pwd problem again with this new build. Kernel option adminpw worked but only for a short time. I was asked to change pwd immediately after login but then rejected again after I did
There was an short-lived error message on the screen but I wasn't able to capture it.
You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the command
This will configure networking and enable SSH password authentication. Then you can ssh admin@<your host> and it will show you the error.
I tried the latest from archipel source and it worked without password issue. I pulled it from:
I'm using git://github.com/primalmotion/Node.git
The only differences I see between the 2 are some minor formatting and conditional changes in recipe/Makefile.am and a couple patches that were pushed since the github repo was updated. These patches are all on the gerrit.ovirt.org side.
Note: there is an incompatible change that was merged into master this morning. I'm working on a rebase of the archipel stuff now to include it.
Mike
There might be a few updates right after you pulled it last time.
Would you mind merge the new updates into ovirt node again?
Thanks.
David
>-----Original Message----- >From: Mike Burns [mailto:mburns@redhat.com] >Sent: Thursday, February 09, 2012 5:10 PM >To: Li, David >Cc: Perry Myers; users@ovirt.org >Subject: Re: [Users] Pxeboot > >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: >> Mike, >> Built it finally! >> Thanks a lot! > >Woot! > >> >> >-----Original Message----- >> >From: Mike Burns [mailto:mburns@redhat.com] >> >Sent: Thursday, February 09, 2012 4:18 PM >> >To: Li, David >> >Cc: Perry Myers; users@ovirt.org >> >Subject: Re: [Users] Pxeboot >> > >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: >> >> MIke, >> >> >> >> Got something new this time in make publish: >> >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' >> >> /bin/sh: -c: line 36: `)' >> >> make[1]: *** [repos.ks] Error 1 >> >> make[1]: Leaving directory >> >> `/home/lid/workspace/ovirt/node-archipel- >> >2.2.2/ovirt-node/recipe' >> >> make: *** [distdir] Error 1 >> >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR >$OVIRT_LOCAL_REPO >> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt >> >> [lid@FC16-1 ovirt-node]$ >> > >> >Oops, bad merge on my part. >> > >> >$ git reset --hard origin/master #sets you back to head of the >> >master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks >> >out the >new version of the patch set. >> > >> >Mike >> > >> >> >> >> >> >> - David >> >> ________________________________________ >> >> From: Mike Burns [mburns@redhat.com] >> >> Sent: Thursday, February 09, 2012 2:12 PM >> >> To: Li, David >> >> Cc: Perry Myers; users@ovirt.org >> >> Subject: Re: [Users] Pxeboot >> >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: >> >> > Mike, >> >> > >> >> > It seems it needs couple vdsm pkgs: >> >> > >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > Failed to find package 'vdsm-cli' : No >> >> > package(s) available to install mv ovirt-node-image.iso >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> > directory >> >> > make: *** [ovirt-node-image.iso] Error 1 >> >> > >> >> > >> >> > can I remove them from ks files? >> >> >> >> Not if you want to use ovirt-node with ovirt-engine. There >> >> was a bug in that patch set that is fixed in patch set 2 >> >> (along with the bad ===== package). I hadn't pulled the >> >> patch set together and uploaded to gerrit yet, but it's there now. >> >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD >> >> >> >> This should fix the problem. >> >> >> >> Mike >> >> >> >> > >> >> > - David >> >> > ________________________________________ >> >> > From: Mike Burns [mburns@redhat.com] >> >> > Sent: Thursday, February 09, 2012 12:07 PM >> >> > To: Li, David >> >> > Cc: Perry Myers; users@ovirt.org >> >> > Subject: Re: [Users] Pxeboot >> >> > >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: >> >> > > It's still the same error: >> >> > > >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> > > echo "PACKAGE=ovirt-node-image" ;\ >> >> > > echo "VERSION=2.2.3" ;\ >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> > > ) > version.ks >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > > Failed to find package '=======' : No package(s) >> >> > > available to install mv ovirt-node-image.iso >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> > > directory >> >> > > make: *** [ovirt-node-image.iso] Error 1 >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> > > file:///home/lid/ovirt-cache/ovirt >> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ >> >> > > total >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. >> >> > > 2 lid lid 4096 Feb 9 >> >> > > 11:10 src >> >> > >> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and >> >> > remove the last line which is "=======" >> >> > >> >> > Mike >> >> > > >> >> > > >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? >> >> > > >> >> > > - David >> >> > > ________________________________________ >> >> > > From: Mike Burns [mburns@redhat.com] >> >> > > Sent: Thursday, February 09, 2012 11:44 AM >> >> > > To: Li, David >> >> > > Cc: Perry Myers; users@ovirt.org >> >> > > Subject: RE: [Users] Pxeboot >> >> > > >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: >> >> > > > The error seems a little stubborn. >> >> > > > >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> > > > file://home/lid/ovirt-cache/ovirt >> >> > > >> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt >> >> > > >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> > > > echo "VERSION=2.2.3" ;\ >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> > > > ) > version.ks >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > > > Unable to download from repo : Cannot retrieve >> >> > > > repository metadata (repomd.xml) for repository: local. >> >> > > > Please verify its path and try again mv >> >> > > > ovirt-node-image.iso >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> > > > directory >> >> > > > make: *** [ovirt-node-image.iso] Error 1 >> >> > > > >> >> > > > There is also a pop-up window: Unable to open a folder >> >> > > > for _ovirt-node-imag >> >> > > > >> >> > > > maybe it's looking at the wrong place? >> >> > > > >> >> > > > >> >> > > > - David >> >> > > > ________________________________________ >> >> > > > From: Mike Burns [mburns@redhat.com] >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM >> >> > > > To: Li, David >> >> > > > Cc: Perry Myers; users@ovirt.org >> >> > > > Subject: RE: [Users] Pxeboot >> >> > > > >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: >> >> > > > > ok, that's my bad:) >> >> > > > > >> >> > > > > Ran into error at the last iso build step: >> >> > > > > >> >> > > > > Start building ISO image.... >> >> > > > > ( \ >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> > > > > echo "VERSION=2.2.3" ;\ >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ >> >> > > > > ) > version.ks >> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > > > > Unable to download from repo : Cannot retrieve >> >> > > > > repository metadata (repomd.xml) for repository: local. >> >> > > > > Please verify its path and try again mv >> >> > > > > ovirt-node-image.iso >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file >> >> > > > > or directory >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 >> >> > > > >> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO >> >> > > > defined, but not correctly. It needs to be like this: >> >> > > > file:///home/mburns/rpmbuild/RPMS >> >> > > > >> >> > > > Ok, I just looked at the Node Building page, and it >> >> > > > needs some >updates. >> >> > > > Try this from the base directory of the git repo >> >> > > > >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache >> >> > > > $ export >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt >> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish >> >> > > > #this builds the rpms and puts them in >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make >> >> > > > ovirt-node-image.iso >> >> > > > >> >> > > > Mike >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > I wonder which repo my machine is lacking? >> >> > > > > >> >> > > > > - David >> >> > > > > ________________________________________ >> >> > > > > From: Mike Burns [mburns@redhat.com] >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM >> >> > > > > To: Li, David >> >> > > > > Cc: Perry Myers; users@ovirt.org >> >> > > > > Subject: Re: [Users] Pxeboot >> >> > > > > >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: >> >> > > > > > Got an error: >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch >> >> > > > > > http://gerrit.ovirt.org/ >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: >> >> > > > > > did you run git >> >update-server-info on the server? >> >> > > > > >> >> > > > > Bad copy/paste: >> >> > > > > >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD >> >> > > > > > >> >> > > > > > any ideas? >> >> > > > > > >> >> > > > > > - David >> >> > > > > > ________________________________________ >> >> > > > > > From: Mike Burns [mburns@redhat.com] >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM >> >> > > > > > To: Li, David >> >> > > > > > Cc: Perry Myers; users@ovirt.org >> >> > > > > > Subject: Re: [Users] Pxeboot >> >> > > > > > >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: >> >> > > > > > > Mike, >> >> > > > > > > >> >> > > > > > > Two quick questions before I kick off a build: >> >> > > > > > > >> >> > > > > > > 1. Git errors. Do they matter? >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into >> >refs/changes/38/1738/1... >> >> > > > > > > remote: Counting objects: 14791, done >> >> > > > > > > remote: Finding sources: 100% (14791/14791) >> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 >> >> > > > > > > (delta >> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), >> >> > > > > > > 16.92 MiB >> >> > > > > > > | 154 >> >KiB/s, done. >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. >> >> > > > > > > fatal: Not a git repository (or any of the parent >> >> > > > > > > directories): .git >> >> > > > > > >> >> > > > > > try this instead: >> >> > > > > > >> >> > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git >> >> > > > > > cd ovirt-node >> >> > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick >> >> > > > > > FETCH_HEAD >> >> > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > 2. Build machine. >> >> > > > > > > >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. >> >> > > > > > > My target is >> >x86_64 Intel board. Is this ok? >> >> > > > > > >> >> > > > > > Should be fine. >> >> > > > > > >> >> > > > > > Mike >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > - David >> >> > > > > > > ________________________________________ >> >> > > > > > > From: Mike Burns [mburns@redhat.com] >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM >> >> > > > > > > To: Li, David >> >> > > > > > > Cc: Perry Myers; users@ovirt.org >> >> > > > > > > Subject: RE: [Users] Pxeboot >> >> > > > > > > >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: >> >> > > > > > > > Not sure where the boot log is since I can't login. >> >> > > > > > > > >> >> > > > > > > > I got the source from >> >> > > > > > > > https://github.com/primalmotion/archipel-node >> >> > > > > > > > and followed the build instructions in >> >> > > > > > > > http://ovirt.org/wiki/Node_Building >> >> > > > > > > > >> >> > > > > > > > maybe I should rebuild the iso from the ovirt >> >> > > > > > > > node source tree >> >as you have pulled in archipel changes yesterday. How do I do that? >> >> > > > > > > >> >> > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD >> >> > > > > > > >> >> > > > > > > That command will checkout the current version of >> >> > > > > > > the archipel-node changes. Then you can just >> >> > > > > > > follow the Node_Building process. Note that the >> >> > > > > > > changes aren't merged into master yet. I'm still >> >> > > > > > > in the process of reviewing >them. >> >> > > > > > > >> >> > > > > > > Mike >> >> > > > > > > > >> >> > > > > > > > - David >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >-----Original Message----- >> >> > > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM >> >> > > > > > > > >To: Li, David >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >Subject: Re: [Users] Pxeboot >> >> > > > > > > > > >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: >> >> > > > > > > > >> Mike, >> >> > > > > > > > >> >> >> > > > > > > > >> I added adminpw as a kernel option. After >> >> > > > > > > > >> boot, I tried >> >"admin/abc123" >> >> > > > > > > > >> and "root/abc123" but not able to login. >> >> > > > > > > > >> Any idea? >> >> > > > > > > > >> >> >> > > > > > > > > >> >> > > > > > > > >Are there any errors in your build or boot logs? >> >> > > > > > > > > >> >> > > > > > > > >Mike >> >> > > > > > > > > >> >> > > > > > > > >> David >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >-----Original Message----- >> >> > > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM >> >> > > > > > > > >> >To: Li, David >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot >> >> > > > > > > > >> > >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David
wrote:
>> >> > > > > > > > >> >> Ok, I built an iso out of archipel and >> >> > > > > > > > >> >> pxebooted it with stateless option. Now >> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea >> >> > > > > > > > >> >what should I put >> >in as user/pwd? >> >> > > > > > > > >> >> David >> >> > > > > > > > >> > >> >> > > > > > > > >> >You will need to pass a password in on the >> >> > > > > > > > >> >command line as well >> >> > > > > > > > >> > >> >> > > > > > > > >> >adminpw=<hashed_password> >> >> > > > > > > > >> > >> >> > > > > > > > >> >You can generate the hashed password using: >> >> > > > > > > > >> > >> >> > > > > > > > >> >$ openssl passwd >> >> > > > > > > > >> > >> >> > > > > > > > >> >Assuming the password was abc123 >> >> > > > > > > > >> > >> >> > > > > > > > >> >$ openssl passwd abc123 >> >> > > > > > > > >> >tKrQfufCbosr6 >> >> > > > > > > > >> > >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 >> >> > > > > > > > >> > >> >> > > > > > > > >> >Mike >> >> > > > > > > > >> > >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >-----Original Message----- >> >> > > > > > > > >> >> >From: Mike Burns >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 >> >> > > > > > > > >> >> >PM >> >> > > > > > > > >> >> >To: Li, David >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, >> >> > > > > > > > >> >> >David wrote: >> >> > > > > > > > >> >> >> Ok, I think we are on the same page >> >> > > > > > > > >> >> >> now regarding >> >stateless node. >> >> > > > > > > > >> >> >> It looks like the achipel diff you >> >> > > > > > > > >> >> >> just pulled in might be able to do >> >> > > > > > > > >> >> >> this. But I can't quite make it out >> >> > > > > > > > >> >> >> what the kernel option should >> >> > > > > > > > >be. >> >> > > > > > > > >> >> >> Is it "stateless=1"? >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >> David >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> >> >-----Original Message----- >> >> > > > > > > > >> >> >> >From: Mike Burns >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 >> >> > > > > > > > >> >> >> >3:27 PM >> >> > > > > > > > >> >> >> >To: Li, David >> >> > > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, >> >> > > > > > > > >> >> >> >Li, David >wrote: >> >> > > > > > > > >> >> >> >> Perry, >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the >> >> > > > > > > > >> >> >> >> root fs entirely in >> >RAM. >> >> > > > > > > > >> >> >> >> In fact that would >> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not >> >> > > > > > > > >> >> >> >quite sure how to use pxeboot to achieve
that. line. this.
>> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> I am doing a test now using the >> >> > > > > > > > >> >> >> >> tftpboot files >> >created from the iso. >> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot >> >> > > > > > > > >> >> >> >> options >> >(pxelinux.cfg/default) has: >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1. >> >> > > > > > > > >> >> >> >> fc1 6.i so >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the >> >> > > > > > > > >> >> >> >> intall screen. What should I use >> >> > > > > > > > >> >> >> >> to let the >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? >> >> > > > > > > > >> >> >> >Something like >> >> > > > > > > > >root=/dev/ram0? >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> David >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node. >> >> > > > > > > > >> >> >> >That's the whole stateless feature >> >> > > > > > > > >> >> >> >that we outlined. Once we actually >> >> > > > > > > > >> >> >> >have it implemented, it will be >> >> > > > > > > > >> >> >> >something along the lines of adding >> >> > > > > > > > >> >> >> >"stateless" to >> >> > > > > > > > >> >> >the kernel commandline. >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >Mike >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- >> >> > > > > > > > >> >> >> >> >From: Perry Myers >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 >> >> > > > > > > > >> >> >> >> >2:54 PM >> >> > > > > > > > >> >> >> >> >To: Mike Burns >> >> > > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote: >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 >> >> > > > > > > > >> >> >> >> >> -0800, Li, David >> >wrote: >> >> > > > > > > > >> >> >> >> >>> Mike, >> >> > > > > > > > >> >> >> >> >>> >> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, >> >> > > > > > > > >> >> >> >> >>> today I should be able to >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount the >> >root fs from a remote server. >> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe >> >> > > > > > > > >> >> >> >> >>> stuff, I 'd have to populate >> >> > > > > > > > >> >> >> >> >>> the ovirt node root fs on the >> >> > > > > > > > >> >> >> >> >>> server >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. >> >> > > > > > > > >> >> >> >> >>> In other words I am concerned >> >> > > > > > > > >> >> >> >> >>> about the point from which the >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute /init >> >> > > > > > > > >> >> >> >> >>> script (in the initramfs) to >> >> > > > > > > > >> >> >> >> >>> the >> >point /init is able to mount the final root fs from a remote server. >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to set this >> >> > > > > > > > >> >> >> >> >> up currently in >> >ovirt-node. >> >> > > > > > > > >> >> >> >> >> You could install using a remote >> >> > > > > > > > >> >> >> >> >> iscsi lun if you have a hardware >> >> > > > > > > > >> >> >> >> >> iscsi HBA, but there isn't a way >> >> > > > > > > > >> >> >> >> >> to mount a remote nfs share as >> >> > > > > > > > >> >> >> >> >> the >> >> > > > > > > > >> >> >root fs. >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as >> >> > > > > > > > >> >> >> >> >> the root fs isn't even something >> >> > > > > > > > >> >> >> >> >> that requested as an RFE at this >> >> > > > > > > > >> >> >> >> >> point or on the roadmap as far >> >> > > > > > > > >> >> >> >> >> as >> >I'm aware. >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> It sounds like what you're >> >> > > > > > > > >> >> >> >> >> really looking for is a shared >> >> > > > > > > > >> >> >> >> >> root fs that multiple hosts could use. >> >> > > > > > > > >> >> >> >> >> This is something that we will >> >> > > > > > > > >> >> >> >> >> probably look into eventually, >> >> > > > > > > > >> >> >> >> >> but it's not on the immediate >> >> > > > > > > > >> >> >roadmap. >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt >> >> > > > > > > > >> >> >> >> >Node is fairly small and in a >> >> > > > > > > > >> >> >> >> >truly stateless environment would >> >> > > > > > > > >> >> >> >> >just run out of system RAM, >> >> > > > > > > > >> >> >> >> >there's no real reason to try to >> >> > > > > > > > >> >> >> >> >do a shared NFS based >> >> > > > > > > > >rootfs. >> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I >> >> > > > > > > > >> >> >> >> >think, if the end goal is to move >> >> > > > > > > > >> >> >> >> >to truly >> >> > > > > > > > >> >> >> >stateless. >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >For larger systems where the >> >> > > > > > > > >> >> >> >> >rootfs is on the order of GB's, >> >> > > > > > > > >> >> >> >> >shared root may make more >> >sense. >> >> > > > > > > > >> >> >> >> >> >____________________________________________ >> >> > > > > > > > >> >> >> >> ___ Users mailing list >> >> > > > > > > > >> >> >> >> Users@ovirt.org >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/list >> >> > > > > > > > >> >> >> >> inf o/u ser s >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >_______________________________________________ >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/user >> >> > > > > > > > >> >> s >> >> > > > > > > > >> > >> >> > > > > > > > >> >> >> > > > > > > > >> >> >_______________________________________________ >> >> > > > > > > > >> Users mailing list Users@ovirt.org >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users >> >> > > > > > > > > >> >> > > > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > >
>> >> > > > > > > Users mailing list >> >> > > > > > > Users@ovirt.org >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/users >> >> > > > > > >> >> > > > > > >> >> > > > > >
>> >> > > > > > Users mailing list >> >> > > > > > Users@ovirt.org >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/users >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > > >> >> > > >> >> > > _______________________________________________ >> >> > > Users mailing list >> >> > > Users@ovirt.org >> >> > > http://lists.ovirt.org/mailman/listinfo/users >> >> > >> >> > >> >> > _______________________________________________ >> >> > Users mailing list >> >> > Users@ovirt.org >> >> > http://lists.ovirt.org/mailman/listinfo/users >> >> >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> Users@ovirt.org >> >> http://lists.ovirt.org/mailman/listinfo/users >> > >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Mike, Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message. Tried to ssh into the node, but was rejected too: [xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). - David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name 07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run $ git log and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine. Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote:
Mike, I think I got a glimpse of the error message - something like "persistent storage not available" after I tried to login with the new passwd. Does this make sense?
Try this patch with the other one I just sent:
Mike
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 7:37 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote:
Hi Mike,
I ran into the login/pwd problem again with this new build. Kernel option adminpw worked but only for a short time. I was asked to change pwd immediately after login but then rejected again after I did
There was an short-lived error message on the screen but I wasn't able to capture it.
You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the command
This will configure networking and enable SSH password authentication. Then you can ssh admin@<your host> and it will show you the error.
I tried the latest from archipel source and it worked without password issue. I pulled it from:
I'm using git://github.com/primalmotion/Node.git
The only differences I see between the 2 are some minor formatting and conditional changes in recipe/Makefile.am and a couple patches that were pushed since the github repo was updated. These patches are all on the gerrit.ovirt.org side.
Note: there is an incompatible change that was merged into master this morning. I'm working on a rebase of the archipel stuff now to include it.
Mike
There might be a few updates right after you pulled it last time.
Would you mind merge the new updates into ovirt node again?
Thanks.
David
>-----Original Message----- >From: Mike Burns [mailto:mburns@redhat.com] >Sent: Thursday, February 09, 2012 5:10 PM >To: Li, David >Cc: Perry Myers; users@ovirt.org >Subject: Re: [Users] Pxeboot > >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: >> Mike, >> Built it finally! >> Thanks a lot! > >Woot! > >> >> >-----Original Message----- >> >From: Mike Burns [mailto:mburns@redhat.com] >> >Sent: Thursday, February 09, 2012 4:18 PM >> >To: Li, David >> >Cc: Perry Myers; users@ovirt.org >> >Subject: Re: [Users] Pxeboot >> > >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: >> >> MIke, >> >> >> >> Got something new this time in make publish: >> >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' >> >> /bin/sh: -c: line 36: `)' >> >> make[1]: *** [repos.ks] Error 1 >> >> make[1]: Leaving directory >> >> `/home/lid/workspace/ovirt/node-archipel- >> >2.2.2/ovirt-node/recipe' >> >> make: *** [distdir] Error 1 >> >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR >$OVIRT_LOCAL_REPO >> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt >> >> [lid@FC16-1 ovirt-node]$ >> > >> >Oops, bad merge on my part. >> > >> >$ git reset --hard origin/master #sets you back to head of the >> >master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks >> >out the >new version of the patch set. >> > >> >Mike >> > >> >> >> >> >> >> - David >> >> ________________________________________ >> >> From: Mike Burns [mburns@redhat.com] >> >> Sent: Thursday, February 09, 2012 2:12 PM >> >> To: Li, David >> >> Cc: Perry Myers; users@ovirt.org >> >> Subject: Re: [Users] Pxeboot >> >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: >> >> > Mike, >> >> > >> >> > It seems it needs couple vdsm pkgs: >> >> > >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > Failed to find package 'vdsm-cli' : No >> >> > package(s) available to install mv ovirt-node-image.iso >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> > directory >> >> > make: *** [ovirt-node-image.iso] Error 1 >> >> > >> >> > >> >> > can I remove them from ks files? >> >> >> >> Not if you want to use ovirt-node with ovirt-engine. There >> >> was a bug in that patch set that is fixed in patch set 2 >> >> (along with the bad ===== package). I hadn't pulled the >> >> patch set together and uploaded to gerrit yet, but it's there now. >> >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD >> >> >> >> This should fix the problem. >> >> >> >> Mike >> >> >> >> > >> >> > - David >> >> > ________________________________________ >> >> > From: Mike Burns [mburns@redhat.com] >> >> > Sent: Thursday, February 09, 2012 12:07 PM >> >> > To: Li, David >> >> > Cc: Perry Myers; users@ovirt.org >> >> > Subject: Re: [Users] Pxeboot >> >> > >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: >> >> > > It's still the same error: >> >> > > >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> > > echo "PACKAGE=ovirt-node-image" ;\ >> >> > > echo "VERSION=2.2.3" ;\ >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> > > ) > version.ks >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > > Failed to find package '=======' : No package(s) >> >> > > available to install mv ovirt-node-image.iso >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> > > directory >> >> > > make: *** [ovirt-node-image.iso] Error 1 >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> > > file:///home/lid/ovirt-cache/ovirt >> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ >> >> > > total >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. >> >> > > 2 lid lid 4096 Feb 9 >> >> > > 11:10 src >> >> > >> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and >> >> > remove the last line which is "=======" >> >> > >> >> > Mike >> >> > > >> >> > > >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? >> >> > > >> >> > > - David >> >> > > ________________________________________ >> >> > > From: Mike Burns [mburns@redhat.com] >> >> > > Sent: Thursday, February 09, 2012 11:44 AM >> >> > > To: Li, David >> >> > > Cc: Perry Myers; users@ovirt.org >> >> > > Subject: RE: [Users] Pxeboot >> >> > > >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: >> >> > > > The error seems a little stubborn. >> >> > > > >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> > > > file://home/lid/ovirt-cache/ovirt >> >> > > >> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt >> >> > > >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> > > > echo "VERSION=2.2.3" ;\ >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> > > > ) > version.ks >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > > > Unable to download from repo : Cannot retrieve >> >> > > > repository metadata (repomd.xml) for repository: local. >> >> > > > Please verify its path and try again mv >> >> > > > ovirt-node-image.iso >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> > > > directory >> >> > > > make: *** [ovirt-node-image.iso] Error 1 >> >> > > > >> >> > > > There is also a pop-up window: Unable to open a folder >> >> > > > for _ovirt-node-imag >> >> > > > >> >> > > > maybe it's looking at the wrong place? >> >> > > > >> >> > > > >> >> > > > - David >> >> > > > ________________________________________ >> >> > > > From: Mike Burns [mburns@redhat.com] >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM >> >> > > > To: Li, David >> >> > > > Cc: Perry Myers; users@ovirt.org >> >> > > > Subject: RE: [Users] Pxeboot >> >> > > > >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: >> >> > > > > ok, that's my bad:) >> >> > > > > >> >> > > > > Ran into error at the last iso build step: >> >> > > > > >> >> > > > > Start building ISO image.... >> >> > > > > ( \ >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> > > > > echo "VERSION=2.2.3" ;\ >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ >> >> > > > > ) > version.ks >> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> > > > > Unable to download from repo : Cannot retrieve >> >> > > > > repository metadata (repomd.xml) for repository: local. >> >> > > > > Please verify its path and try again mv >> >> > > > > ovirt-node-image.iso >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file >> >> > > > > or directory >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 >> >> > > > >> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO >> >> > > > defined, but not correctly. It needs to be like this: >> >> > > > file:///home/mburns/rpmbuild/RPMS >> >> > > > >> >> > > > Ok, I just looked at the Node Building page, and it >> >> > > > needs some >updates. >> >> > > > Try this from the base directory of the git repo >> >> > > > >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache >> >> > > > $ export >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt >> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish >> >> > > > #this builds the rpms and puts them in >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make >> >> > > > ovirt-node-image.iso >> >> > > > >> >> > > > Mike >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > I wonder which repo my machine is lacking? >> >> > > > > >> >> > > > > - David >> >> > > > > ________________________________________ >> >> > > > > From: Mike Burns [mburns@redhat.com] >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM >> >> > > > > To: Li, David >> >> > > > > Cc: Perry Myers; users@ovirt.org >> >> > > > > Subject: Re: [Users] Pxeboot >> >> > > > > >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: >> >> > > > > > Got an error: >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch >> >> > > > > > http://gerrit.ovirt.org/ >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: >> >> > > > > > did you run git >> >update-server-info on the server? >> >> > > > > >> >> > > > > Bad copy/paste: >> >> > > > > >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD >> >> > > > > > >> >> > > > > > any ideas? >> >> > > > > > >> >> > > > > > - David >> >> > > > > > ________________________________________ >> >> > > > > > From: Mike Burns [mburns@redhat.com] >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM >> >> > > > > > To: Li, David >> >> > > > > > Cc: Perry Myers; users@ovirt.org >> >> > > > > > Subject: Re: [Users] Pxeboot >> >> > > > > > >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: >> >> > > > > > > Mike, >> >> > > > > > > >> >> > > > > > > Two quick questions before I kick off a build: >> >> > > > > > > >> >> > > > > > > 1. Git errors. Do they matter? >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into >> >refs/changes/38/1738/1... >> >> > > > > > > remote: Counting objects: 14791, done >> >> > > > > > > remote: Finding sources: 100% (14791/14791) >> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 >> >> > > > > > > (delta >> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), >> >> > > > > > > 16.92 MiB >> >> > > > > > > | 154 >> >KiB/s, done. >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. >> >> > > > > > > fatal: Not a git repository (or any of the parent >> >> > > > > > > directories): .git >> >> > > > > > >> >> > > > > > try this instead: >> >> > > > > > >> >> > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git >> >> > > > > > cd ovirt-node >> >> > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick >> >> > > > > > FETCH_HEAD >> >> > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > 2. Build machine. >> >> > > > > > > >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. >> >> > > > > > > My target is >> >x86_64 Intel board. Is this ok? >> >> > > > > > >> >> > > > > > Should be fine. >> >> > > > > > >> >> > > > > > Mike >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > - David >> >> > > > > > > ________________________________________ >> >> > > > > > > From: Mike Burns [mburns@redhat.com] >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM >> >> > > > > > > To: Li, David >> >> > > > > > > Cc: Perry Myers; users@ovirt.org >> >> > > > > > > Subject: RE: [Users] Pxeboot >> >> > > > > > > >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: >> >> > > > > > > > Not sure where the boot log is since I can't login. >> >> > > > > > > > >> >> > > > > > > > I got the source from >> >> > > > > > > > https://github.com/primalmotion/archipel-node >> >> > > > > > > > and followed the build instructions in >> >> > > > > > > > http://ovirt.org/wiki/Node_Building >> >> > > > > > > > >> >> > > > > > > > maybe I should rebuild the iso from the ovirt >> >> > > > > > > > node source tree >> >as you have pulled in archipel changes yesterday. How do I do that? >> >> > > > > > > >> >> > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD >> >> > > > > > > >> >> > > > > > > That command will checkout the current version of >> >> > > > > > > the archipel-node changes. Then you can just >> >> > > > > > > follow the Node_Building process. Note that the >> >> > > > > > > changes aren't merged into master yet. I'm still >> >> > > > > > > in the process of reviewing >them. >> >> > > > > > > >> >> > > > > > > Mike >> >> > > > > > > > >> >> > > > > > > > - David >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >-----Original Message----- >> >> > > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM >> >> > > > > > > > >To: Li, David >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >Subject: Re: [Users] Pxeboot >> >> > > > > > > > > >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: >> >> > > > > > > > >> Mike, >> >> > > > > > > > >> >> >> > > > > > > > >> I added adminpw as a kernel option. After >> >> > > > > > > > >> boot, I tried >> >"admin/abc123" >> >> > > > > > > > >> and "root/abc123" but not able to login. >> >> > > > > > > > >> Any idea? >> >> > > > > > > > >> >> >> > > > > > > > > >> >> > > > > > > > >Are there any errors in your build or boot logs? >> >> > > > > > > > > >> >> > > > > > > > >Mike >> >> > > > > > > > > >> >> > > > > > > > >> David >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >-----Original Message----- >> >> > > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM >> >> > > > > > > > >> >To: Li, David >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot >> >> > > > > > > > >> > >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David
wrote:
>> >> > > > > > > > >> >> Ok, I built an iso out of archipel and >> >> > > > > > > > >> >> pxebooted it with stateless option. Now >> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea >> >> > > > > > > > >> >what should I put >> >in as user/pwd? >> >> > > > > > > > >> >> David >> >> > > > > > > > >> > >> >> > > > > > > > >> >You will need to pass a password in on the >> >> > > > > > > > >> >command line as well >> >> > > > > > > > >> > >> >> > > > > > > > >> >adminpw=<hashed_password> >> >> > > > > > > > >> > >> >> > > > > > > > >> >You can generate the hashed password using: >> >> > > > > > > > >> > >> >> > > > > > > > >> >$ openssl passwd >> >> > > > > > > > >> > >> >> > > > > > > > >> >Assuming the password was abc123 >> >> > > > > > > > >> > >> >> > > > > > > > >> >$ openssl passwd abc123 >> >> > > > > > > > >> >tKrQfufCbosr6 >> >> > > > > > > > >> > >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 >> >> > > > > > > > >> > >> >> > > > > > > > >> >Mike >> >> > > > > > > > >> > >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >-----Original Message----- >> >> > > > > > > > >> >> >From: Mike Burns >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 >> >> > > > > > > > >> >> >PM >> >> > > > > > > > >> >> >To: Li, David >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, >> >> > > > > > > > >> >> >David wrote: >> >> > > > > > > > >> >> >> Ok, I think we are on the same page >> >> > > > > > > > >> >> >> now regarding >> >stateless node. >> >> > > > > > > > >> >> >> It looks like the achipel diff you >> >> > > > > > > > >> >> >> just pulled in might be able to do >> >> > > > > > > > >> >> >> this. But I can't quite make it out >> >> > > > > > > > >> >> >> what the kernel option should >> >> > > > > > > > >be. >> >> > > > > > > > >> >> >> Is it "stateless=1"? >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >> David >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> >> >-----Original Message----- >> >> > > > > > > > >> >> >> >From: Mike Burns >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 >> >> > > > > > > > >> >> >> >3:27 PM >> >> > > > > > > > >> >> >> >To: Li, David >> >> > > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, >> >> > > > > > > > >> >> >> >Li, David >wrote: >> >> > > > > > > > >> >> >> >> Perry, >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the >> >> > > > > > > > >> >> >> >> root fs entirely in >> >RAM. >> >> > > > > > > > >> >> >> >> In fact that would >> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not >> >> > > > > > > > >> >> >> >quite sure how to use pxeboot to achieve
that. line. this.
>> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> I am doing a test now using the >> >> > > > > > > > >> >> >> >> tftpboot files >> >created from the iso. >> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot >> >> > > > > > > > >> >> >> >> options >> >(pxelinux.cfg/default) has: >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1. >> >> > > > > > > > >> >> >> >> fc1 6.i so >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the >> >> > > > > > > > >> >> >> >> intall screen. What should I use >> >> > > > > > > > >> >> >> >> to let the >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? >> >> > > > > > > > >> >> >> >Something like >> >> > > > > > > > >root=/dev/ram0? >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> David >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node. >> >> > > > > > > > >> >> >> >That's the whole stateless feature >> >> > > > > > > > >> >> >> >that we outlined. Once we actually >> >> > > > > > > > >> >> >> >have it implemented, it will be >> >> > > > > > > > >> >> >> >something along the lines of adding >> >> > > > > > > > >> >> >> >"stateless" to >> >> > > > > > > > >> >> >the kernel commandline. >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >Mike >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- >> >> > > > > > > > >> >> >> >> >From: Perry Myers >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 >> >> > > > > > > > >> >> >> >> >2:54 PM >> >> > > > > > > > >> >> >> >> >To: Mike Burns >> >> > > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote: >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 >> >> > > > > > > > >> >> >> >> >> -0800, Li, David >> >wrote: >> >> > > > > > > > >> >> >> >> >>> Mike, >> >> > > > > > > > >> >> >> >> >>> >> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, >> >> > > > > > > > >> >> >> >> >>> today I should be able to >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount the >> >root fs from a remote server. >> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe >> >> > > > > > > > >> >> >> >> >>> stuff, I 'd have to populate >> >> > > > > > > > >> >> >> >> >>> the ovirt node root fs on the >> >> > > > > > > > >> >> >> >> >>> server >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. >> >> > > > > > > > >> >> >> >> >>> In other words I am concerned >> >> > > > > > > > >> >> >> >> >>> about the point from which the >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute /init >> >> > > > > > > > >> >> >> >> >>> script (in the initramfs) to >> >> > > > > > > > >> >> >> >> >>> the >> >point /init is able to mount the final root fs from a remote server. >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to set this >> >> > > > > > > > >> >> >> >> >> up currently in >> >ovirt-node. >> >> > > > > > > > >> >> >> >> >> You could install using a remote >> >> > > > > > > > >> >> >> >> >> iscsi lun if you have a hardware >> >> > > > > > > > >> >> >> >> >> iscsi HBA, but there isn't a way >> >> > > > > > > > >> >> >> >> >> to mount a remote nfs share as >> >> > > > > > > > >> >> >> >> >> the >> >> > > > > > > > >> >> >root fs. >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as >> >> > > > > > > > >> >> >> >> >> the root fs isn't even something >> >> > > > > > > > >> >> >> >> >> that requested as an RFE at this >> >> > > > > > > > >> >> >> >> >> point or on the roadmap as far >> >> > > > > > > > >> >> >> >> >> as >> >I'm aware. >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> It sounds like what you're >> >> > > > > > > > >> >> >> >> >> really looking for is a shared >> >> > > > > > > > >> >> >> >> >> root fs that multiple hosts could use. >> >> > > > > > > > >> >> >> >> >> This is something that we will >> >> > > > > > > > >> >> >> >> >> probably look into eventually, >> >> > > > > > > > >> >> >> >> >> but it's not on the immediate >> >> > > > > > > > >> >> >roadmap. >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt >> >> > > > > > > > >> >> >> >> >Node is fairly small and in a >> >> > > > > > > > >> >> >> >> >truly stateless environment would >> >> > > > > > > > >> >> >> >> >just run out of system RAM, >> >> > > > > > > > >> >> >> >> >there's no real reason to try to >> >> > > > > > > > >> >> >> >> >do a shared NFS based >> >> > > > > > > > >rootfs. >> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I >> >> > > > > > > > >> >> >> >> >think, if the end goal is to move >> >> > > > > > > > >> >> >> >> >to truly >> >> > > > > > > > >> >> >> >stateless. >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >For larger systems where the >> >> > > > > > > > >> >> >> >> >rootfs is on the order of GB's, >> >> > > > > > > > >> >> >> >> >shared root may make more >> >sense. >> >> > > > > > > > >> >> >> >> >> >____________________________________________ >> >> > > > > > > > >> >> >> >> ___ Users mailing list >> >> > > > > > > > >> >> >> >> Users@ovirt.org >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/list >> >> > > > > > > > >> >> >> >> inf o/u ser s >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >_______________________________________________ >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/user >> >> > > > > > > > >> >> s >> >> > > > > > > > >> > >> >> > > > > > > > >> >> >> > > > > > > > >> >> >_______________________________________________ >> >> > > > > > > > >> Users mailing list Users@ovirt.org >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users >> >> > > > > > > > > >> >> > > > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > >
>> >> > > > > > > Users mailing list >> >> > > > > > > Users@ovirt.org >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/users >> >> > > > > > >> >> > > > > > >> >> > > > > >
>> >> > > > > > Users mailing list >> >> > > > > > Users@ovirt.org >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/users >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > > >> >> > > >> >> > > _______________________________________________ >> >> > > Users mailing list >> >> > > Users@ovirt.org >> >> > > http://lists.ovirt.org/mailman/listinfo/users >> >> > >> >> > >> >> > _______________________________________________ >> >> > Users mailing list >> >> > Users@ovirt.org >> >> > http://lists.ovirt.org/mailman/listinfo/users >> >> >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> Users@ovirt.org >> >> http://lists.ovirt.org/mailman/listinfo/users >> > >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Sat, 2012-02-11 at 07:39 -0800, Li, David wrote:
Mike,
Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth
When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message.
Tried to ssh into the node, but was rejected too:
[xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Hmm, looks like something isn't right with ssh_pwauth then. I'll look into that, but for now, try using rootpw instead of adminpw. Then login as root. Once you're in as root, you can su - admin to go the the TUI (or in this case, get the stack trace for why the TUI is failing). Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name 07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run
$ git log
and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote:
Mike, I think I got a glimpse of the error message - something like "persistent storage not available" after I tried to login with the new passwd. Does this make sense?
Try this patch with the other one I just sent:
Mike
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 7:37 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: > Hi Mike, > > I ran into the login/pwd problem again with this new build. Kernel > option adminpw worked but only for a short time. I was asked to > change pwd immediately after login but then rejected again after I did
> There was an short-lived error message on the screen but I wasn't > able to capture it.
You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the command
This will configure networking and enable SSH password authentication. Then you can ssh admin@<your host> and it will show you the error.
> > I tried the latest from archipel source and it worked without > password issue. I pulled it from: > > git clone https://github.com/primalmotion/Archipel.git
I'm using git://github.com/primalmotion/Node.git
The only differences I see between the 2 are some minor formatting and conditional changes in recipe/Makefile.am and a couple patches that were pushed since the github repo was updated. These patches are all on the gerrit.ovirt.org side.
Note: there is an incompatible change that was merged into master this morning. I'm working on a rebase of the archipel stuff now to include it.
Mike
> > There might be a few updates right after you pulled it last time. > > Would you mind merge the new updates into ovirt node again? > > Thanks. > > David > > > >-----Original Message----- > >From: Mike Burns [mailto:mburns@redhat.com] > >Sent: Thursday, February 09, 2012 5:10 PM > >To: Li, David > >Cc: Perry Myers; users@ovirt.org > >Subject: Re: [Users] Pxeboot > > > >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: > >> Mike, > >> Built it finally! > >> Thanks a lot! > > > >Woot! > > > >> > >> >-----Original Message----- > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >Sent: Thursday, February 09, 2012 4:18 PM > >> >To: Li, David > >> >Cc: Perry Myers; users@ovirt.org > >> >Subject: Re: [Users] Pxeboot > >> > > >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: > >> >> MIke, > >> >> > >> >> Got something new this time in make publish: > >> >> > >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' > >> >> /bin/sh: -c: line 36: `)' > >> >> make[1]: *** [repos.ks] Error 1 > >> >> make[1]: Leaving directory > >> >> `/home/lid/workspace/ovirt/node-archipel- > >> >2.2.2/ovirt-node/recipe' > >> >> make: *** [distdir] Error 1 > >> >> > >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR > >$OVIRT_LOCAL_REPO > >> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt > >> >> [lid@FC16-1 ovirt-node]$ > >> > > >> >Oops, bad merge on my part. > >> > > >> >$ git reset --hard origin/master #sets you back to head of the > >> >master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks > >> >out the > >new version of the patch set. > >> > > >> >Mike > >> > > >> >> > >> >> > >> >> - David > >> >> ________________________________________ > >> >> From: Mike Burns [mburns@redhat.com] > >> >> Sent: Thursday, February 09, 2012 2:12 PM > >> >> To: Li, David > >> >> Cc: Perry Myers; users@ovirt.org > >> >> Subject: Re: [Users] Pxeboot > >> >> > >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: > >> >> > Mike, > >> >> > > >> >> > It seems it needs couple vdsm pkgs: > >> >> > > >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > Failed to find package 'vdsm-cli' : No > >> >> > package(s) available to install mv ovirt-node-image.iso > >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> > directory > >> >> > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > >> >> > > >> >> > can I remove them from ks files? > >> >> > >> >> Not if you want to use ovirt-node with ovirt-engine. There > >> >> was a bug in that patch set that is fixed in patch set 2 > >> >> (along with the bad ===== package). I hadn't pulled the > >> >> patch set together and uploaded to gerrit yet, but it's there now. > >> >> > >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD > >> >> > >> >> This should fix the problem. > >> >> > >> >> Mike > >> >> > >> >> > > >> >> > - David > >> >> > ________________________________________ > >> >> > From: Mike Burns [mburns@redhat.com] > >> >> > Sent: Thursday, February 09, 2012 12:07 PM > >> >> > To: Li, David > >> >> > Cc: Perry Myers; users@ovirt.org > >> >> > Subject: Re: [Users] Pxeboot > >> >> > > >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: > >> >> > > It's still the same error: > >> >> > > > >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ > >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> > > echo "VERSION=2.2.3" ;\ > >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> > > ) > version.ks > >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > > Failed to find package '=======' : No package(s) > >> >> > > available to install mv ovirt-node-image.iso > >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> > > directory > >> >> > > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ > >> >> > > total > >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch > >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. > >> >> > > 2 lid lid 4096 Feb 9 > >> >> > > 11:10 src > >> >> > > >> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and > >> >> > remove the last line which is "=======" > >> >> > > >> >> > Mike > >> >> > > > >> >> > > > >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? > >> >> > > > >> >> > > - David > >> >> > > ________________________________________ > >> >> > > From: Mike Burns [mburns@redhat.com] > >> >> > > Sent: Thursday, February 09, 2012 11:44 AM > >> >> > > To: Li, David > >> >> > > Cc: Perry Myers; users@ovirt.org > >> >> > > Subject: RE: [Users] Pxeboot > >> >> > > > >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: > >> >> > > > The error seems a little stubborn. > >> >> > > > > >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> > > > file://home/lid/ovirt-cache/ovirt > >> >> > > > >> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt > >> >> > > > >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> > > > echo "VERSION=2.2.3" ;\ > >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> > > > ) > version.ks > >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > > > Unable to download from repo : Cannot retrieve > >> >> > > > repository metadata (repomd.xml) for repository: local. > >> >> > > > Please verify its path and try again mv > >> >> > > > ovirt-node-image.iso > >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> > > > directory > >> >> > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > > > >> >> > > > There is also a pop-up window: Unable to open a folder > >> >> > > > for _ovirt-node-imag > >> >> > > > > >> >> > > > maybe it's looking at the wrong place? > >> >> > > > > >> >> > > > > >> >> > > > - David > >> >> > > > ________________________________________ > >> >> > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM > >> >> > > > To: Li, David > >> >> > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > Subject: RE: [Users] Pxeboot > >> >> > > > > >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: > >> >> > > > > ok, that's my bad:) > >> >> > > > > > >> >> > > > > Ran into error at the last iso build step: > >> >> > > > > > >> >> > > > > Start building ISO image.... > >> >> > > > > ( \ > >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> > > > > echo "VERSION=2.2.3" ;\ > >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ > >> >> > > > > ) > version.ks > >> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > > > > Unable to download from repo : Cannot retrieve > >> >> > > > > repository metadata (repomd.xml) for repository: local. > >> >> > > > > Please verify its path and try again mv > >> >> > > > > ovirt-node-image.iso > >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso > >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file > >> >> > > > > or directory > >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > > > >> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO > >> >> > > > defined, but not correctly. It needs to be like this: > >> >> > > > file:///home/mburns/rpmbuild/RPMS > >> >> > > > > >> >> > > > Ok, I just looked at the Node Building page, and it > >> >> > > > needs some > >updates. > >> >> > > > Try this from the base directory of the git repo > >> >> > > > > >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache > >> >> > > > $ export > >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt > >> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish > >> >> > > > #this builds the rpms and puts them in > >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make > >> >> > > > ovirt-node-image.iso > >> >> > > > > >> >> > > > Mike > >> >> > > > > > >> >> > > > > > >> >> > > > > > >> >> > > > > I wonder which repo my machine is lacking? > >> >> > > > > > >> >> > > > > - David > >> >> > > > > ________________________________________ > >> >> > > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM > >> >> > > > > To: Li, David > >> >> > > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > > Subject: Re: [Users] Pxeboot > >> >> > > > > > >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: > >> >> > > > > > Got an error: > >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch > >> >> > > > > > http://gerrit.ovirt.org/ > >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD > >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: > >> >> > > > > > did you run git > >> >update-server-info on the server? > >> >> > > > > > >> >> > > > > Bad copy/paste: > >> >> > > > > > >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD > >> >> > > > > > > >> >> > > > > > any ideas? > >> >> > > > > > > >> >> > > > > > - David > >> >> > > > > > ________________________________________ > >> >> > > > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM > >> >> > > > > > To: Li, David > >> >> > > > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > > > Subject: Re: [Users] Pxeboot > >> >> > > > > > > >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: > >> >> > > > > > > Mike, > >> >> > > > > > > > >> >> > > > > > > Two quick questions before I kick off a build: > >> >> > > > > > > > >> >> > > > > > > 1. Git errors. Do they matter? > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone > >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into > >> >refs/changes/38/1738/1... > >> >> > > > > > > remote: Counting objects: 14791, done > >> >> > > > > > > remote: Finding sources: 100% (14791/14791) > >> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 > >> >> > > > > > > (delta > >> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), > >> >> > > > > > > 16.92 MiB > >> >> > > > > > > | 154 > >> >KiB/s, done. > >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. > >> >> > > > > > > fatal: Not a git repository (or any of the parent > >> >> > > > > > > directories): .git > >> >> > > > > > > >> >> > > > > > try this instead: > >> >> > > > > > > >> >> > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git > >> >> > > > > > cd ovirt-node > >> >> > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> > > > > > FETCH_HEAD > >> >> > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > 2. Build machine. > >> >> > > > > > > > >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. > >> >> > > > > > > My target is > >> >x86_64 Intel board. Is this ok? > >> >> > > > > > > >> >> > > > > > Should be fine. > >> >> > > > > > > >> >> > > > > > Mike > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > - David > >> >> > > > > > > ________________________________________ > >> >> > > > > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM > >> >> > > > > > > To: Li, David > >> >> > > > > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > Subject: RE: [Users] Pxeboot > >> >> > > > > > > > >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: > >> >> > > > > > > > Not sure where the boot log is since I can't login. > >> >> > > > > > > > > >> >> > > > > > > > I got the source from > >> >> > > > > > > > https://github.com/primalmotion/archipel-node > >> >> > > > > > > > and followed the build instructions in > >> >> > > > > > > > http://ovirt.org/wiki/Node_Building > >> >> > > > > > > > > >> >> > > > > > > > maybe I should rebuild the iso from the ovirt > >> >> > > > > > > > node source tree > >> >as you have pulled in archipel changes yesterday. How do I do that? > >> >> > > > > > > > >> >> > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD > >> >> > > > > > > > >> >> > > > > > > That command will checkout the current version of > >> >> > > > > > > the archipel-node changes. Then you can just > >> >> > > > > > > follow the Node_Building process. Note that the > >> >> > > > > > > changes aren't merged into master yet. I'm still > >> >> > > > > > > in the process of reviewing > >them. > >> >> > > > > > > > >> >> > > > > > > Mike > >> >> > > > > > > > > >> >> > > > > > > > - David > >> >> > > > > > > > > >> >> > > > > > > > > >> >> > > > > > > > >-----Original Message----- > >> >> > > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] > >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM > >> >> > > > > > > > >To: Li, David > >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > > > >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: > >> >> > > > > > > > >> Mike, > >> >> > > > > > > > >> > >> >> > > > > > > > >> I added adminpw as a kernel option. After > >> >> > > > > > > > >> boot, I tried > >> >"admin/abc123" > >> >> > > > > > > > >> and "root/abc123" but not able to login. > >> >> > > > > > > > >> Any idea? > >> >> > > > > > > > >> > >> >> > > > > > > > > > >> >> > > > > > > > >Are there any errors in your build or boot logs? > >> >> > > > > > > > > > >> >> > > > > > > > >Mike > >> >> > > > > > > > > > >> >> > > > > > > > >> David > >> >> > > > > > > > >> > >> >> > > > > > > > >> > >> >> > > > > > > > >> >-----Original Message----- > >> >> > > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM > >> >> > > > > > > > >> >To: Li, David > >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David wrote: > >> >> > > > > > > > >> >> Ok, I built an iso out of archipel and > >> >> > > > > > > > >> >> pxebooted it with stateless option. Now > >> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea > >> >> > > > > > > > >> >what should I put > >> >in as user/pwd? > >> >> > > > > > > > >> >> David > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >You will need to pass a password in on the > >> >> > > > > > > > >> >command line as well > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >adminpw=<hashed_password> > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >You can generate the hashed password using: > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >$ openssl passwd > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >Assuming the password was abc123 > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >$ openssl passwd abc123 > >> >> > > > > > > > >> >tKrQfufCbosr6 > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >Mike > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >-----Original Message----- > >> >> > > > > > > > >> >> >From: Mike Burns > >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] > >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 > >> >> > > > > > > > >> >> >PM > >> >> > > > > > > > >> >> >To: Li, David > >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, > >> >> > > > > > > > >> >> >David wrote: > >> >> > > > > > > > >> >> >> Ok, I think we are on the same page > >> >> > > > > > > > >> >> >> now regarding > >> >stateless node. > >> >> > > > > > > > >> >> >> It looks like the achipel diff you > >> >> > > > > > > > >> >> >> just pulled in might be able to do > >> >> > > > > > > > >> >> >> this. But I can't quite make it out > >> >> > > > > > > > >> >> >> what the kernel option should > >> >> > > > > > > > >be. > >> >> > > > > > > > >> >> >> Is it "stateless=1"? > >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> >> David > >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >-----Original Message----- > >> >> > > > > > > > >> >> >> >From: Mike Burns > >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] > >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 > >> >> > > > > > > > >> >> >> >3:27 PM > >> >> > > > > > > > >> >> >> >To: Li, David > >> >> > > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, > >> >> > > > > > > > >> >> >> >Li, David > >wrote: > >> >> > > > > > > > >> >> >> >> Perry, > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> I am glad you brought this up. > >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the > >> >> > > > > > > > >> >> >> >> root fs entirely in > >> >RAM. > >> >> > > > > > > > >> >> >> >> In fact that would > >> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not > >> >> > > > > > > > >> >> >> >quite sure how to use pxeboot to achieve
that. line. this.
> >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> I am doing a test now using the > >> >> > > > > > > > >> >> >> >> tftpboot files > >> >created from the iso. > >> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot > >> >> > > > > > > > >> >> >> >> options > >> >(pxelinux.cfg/default) has: > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1. > >> >> > > > > > > > >> >> >> >> fc1 6.i so > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the > >> >> > > > > > > > >> >> >> >> intall screen. What should I use > >> >> > > > > > > > >> >> >> >> to let the > >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? > >> >> > > > > > > > >> >> >> >Something like > >> >> > > > > > > > >root=/dev/ram0? > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> David > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node. > >> >> > > > > > > > >> >> >> >That's the whole stateless feature > >> >> > > > > > > > >> >> >> >that we outlined. Once we actually > >> >> > > > > > > > >> >> >> >have it implemented, it will be > >> >> > > > > > > > >> >> >> >something along the lines of adding > >> >> > > > > > > > >> >> >> >"stateless" to > >> >> > > > > > > > >> >> >the kernel commandline. > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> >Mike > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >-----Original Message----- > >> >> > > > > > > > >> >> >> >> >From: Perry Myers > >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] > >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 > >> >> > > > > > > > >> >> >> >> >2:54 PM > >> >> > > > > > > > >> >> >> >> >To: Mike Burns > >> >> > > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org > >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > >> >> >> >> > > >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote: > >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 > >> >> > > > > > > > >> >> >> >> >> -0800, Li, David > >> >wrote: > >> >> > > > > > > > >> >> >> >> >>> Mike, > >> >> > > > > > > > >> >> >> >> >>> > >> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, > >> >> > > > > > > > >> >> >> >> >>> today I should be able to > >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount the > >> >root fs from a remote server. > >> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe > >> >> > > > > > > > >> >> >> >> >>> stuff, I 'd have to populate > >> >> > > > > > > > >> >> >> >> >>> the ovirt node root fs on the > >> >> > > > > > > > >> >> >> >> >>> server > >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. > >> >> > > > > > > > >> >> >> >> >>> In other words I am concerned > >> >> > > > > > > > >> >> >> >> >>> about the point from which the > >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute /init > >> >> > > > > > > > >> >> >> >> >>> script (in the initramfs) to > >> >> > > > > > > > >> >> >> >> >>> the > >> >point /init is able to mount the final root fs from a remote server. > >> >> > > > > > > > >> >> >> >> >> > >> >> > > > > > > > >> >> >> >> >> No, there is no way to set this > >> >> > > > > > > > >> >> >> >> >> up currently in > >> >ovirt-node. > >> >> > > > > > > > >> >> >> >> >> You could install using a remote > >> >> > > > > > > > >> >> >> >> >> iscsi lun if you have a hardware > >> >> > > > > > > > >> >> >> >> >> iscsi HBA, but there isn't a way > >> >> > > > > > > > >> >> >> >> >> to mount a remote nfs share as > >> >> > > > > > > > >> >> >> >> >> the > >> >> > > > > > > > >> >> >root fs. > >> >> > > > > > > > >> >> >> >> >> > >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as > >> >> > > > > > > > >> >> >> >> >> the root fs isn't even something > >> >> > > > > > > > >> >> >> >> >> that requested as an RFE at this > >> >> > > > > > > > >> >> >> >> >> point or on the roadmap as far > >> >> > > > > > > > >> >> >> >> >> as > >> >I'm aware. > >> >> > > > > > > > >> >> >> >> >> > >> >> > > > > > > > >> >> >> >> >> It sounds like what you're > >> >> > > > > > > > >> >> >> >> >> really looking for is a shared > >> >> > > > > > > > >> >> >> >> >> root fs that multiple hosts could use. > >> >> > > > > > > > >> >> >> >> >> This is something that we will > >> >> > > > > > > > >> >> >> >> >> probably look into eventually, > >> >> > > > > > > > >> >> >> >> >> but it's not on the immediate > >> >> > > > > > > > >> >> >roadmap. > >> >> > > > > > > > >> >> >> >> > > >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt > >> >> > > > > > > > >> >> >> >> >Node is fairly small and in a > >> >> > > > > > > > >> >> >> >> >truly stateless environment would > >> >> > > > > > > > >> >> >> >> >just run out of system RAM, > >> >> > > > > > > > >> >> >> >> >there's no real reason to try to > >> >> > > > > > > > >> >> >> >> >do a shared NFS based > >> >> > > > > > > > >rootfs. > >> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I > >> >> > > > > > > > >> >> >> >> >think, if the end goal is to move > >> >> > > > > > > > >> >> >> >> >to truly > >> >> > > > > > > > >> >> >> >stateless. > >> >> > > > > > > > >> >> >> >> > > >> >> > > > > > > > >> >> >> >> >For larger systems where the > >> >> > > > > > > > >> >> >> >> >rootfs is on the order of GB's, > >> >> > > > > > > > >> >> >> >> >shared root may make more > >> >sense. > >> >> > > > > > > > >> >> >> >> > >> >____________________________________________ > >> >> > > > > > > > >> >> >> >> ___ Users mailing list > >> >> > > > > > > > >> >> >> >> Users@ovirt.org > >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/list > >> >> > > > > > > > >> >> >> >> inf o/u ser s > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> > >> >_______________________________________________ > >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org > >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/user > >> >> > > > > > > > >> >> s > >> >> > > > > > > > >> > > >> >> > > > > > > > >> > >> >> > > > > > > > >> > >> >_______________________________________________ > >> >> > > > > > > > >> Users mailing list Users@ovirt.org > >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users > >> >> > > > > > > > > > >> >> > > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > _______________________________________________ > >> >> > > > > > > Users mailing list > >> >> > > > > > > Users@ovirt.org > >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/users > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > _______________________________________________ > >> >> > > > > > Users mailing list > >> >> > > > > > Users@ovirt.org > >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/users > >> >> > > > > > >> >> > > > > > >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > > _______________________________________________ > >> >> > > Users mailing list > >> >> > > Users@ovirt.org > >> >> > > http://lists.ovirt.org/mailman/listinfo/users > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > Users mailing list > >> >> > Users@ovirt.org > >> >> > http://lists.ovirt.org/mailman/listinfo/users > >> >> > >> >> > >> >> _______________________________________________ > >> >> Users mailing list > >> >> Users@ovirt.org > >> >> http://lists.ovirt.org/mailman/listinfo/users > >> > > >> > >> _______________________________________________ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Mike, I will also double check my side starting from a new clone. To get all the patches you 've put in for stateless, are these the steps I need to take? git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Monday, February 13, 2012 5:56 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Sat, 2012-02-11 at 07:39 -0800, Li, David wrote:
Mike,
Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth
When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message.
Tried to ssh into the node, but was rejected too:
[xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Hmm, looks like something isn't right with ssh_pwauth then. I'll look into that, but for now, try using rootpw instead of adminpw. Then login as root. Once you're in as root, you can su - admin to go the the TUI (or in this case, get the stack trace for why the TUI is failing).
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name
07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name
a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run
$ git log
and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote:
Mike, I think I got a glimpse of the error message - something like "persistent storage not available" after I tried to login with the new passwd. Does this make sense?
Try this patch with the other one I just sent:
Mike
David
>-----Original Message----- >From: Mike Burns [mailto:mburns@redhat.com] >Sent: Friday, February 10, 2012 7:37 AM >To: Li, David >Cc: users@ovirt.org >Subject: RE: [Users] Pxeboot - pwd/login issue > >On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: >> Hi Mike, >> >> I ran into the login/pwd problem again with this new build. >> Kernel option adminpw worked but only for a short time. I >> was asked to change pwd immediately after login but then >> rejected again after I did
>> There was an short-lived error message on the screen but I >> wasn't able to capture it. > >You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the >command
that. line.
>This will configure networking and enable SSH password
authentication.
>Then you can ssh admin@<your host> and it will show you the error. > >> >> I tried the latest from archipel source and it worked >> without password issue. I pulled it from: >> >> git clone https://github.com/primalmotion/Archipel.git > >I'm using git://github.com/primalmotion/Node.git > >The only differences I see between the 2 are some minor >formatting and conditional changes in recipe/Makefile.am and a >couple patches that were pushed since the github repo was >updated. These patches are all on the gerrit.ovirt.org side. > >Note: there is an incompatible change that was merged into >master this morning. I'm working on a rebase of the archipel >stuff now to include it. > >Mike > >> >> There might be a few updates right after you pulled it last time. >> >> Would you mind merge the new updates into ovirt node again? >> >> Thanks. >> >> David >> >> >> >-----Original Message----- >> >From: Mike Burns [mailto:mburns@redhat.com] >> >Sent: Thursday, February 09, 2012 5:10 PM >> >To: Li, David >> >Cc: Perry Myers; users@ovirt.org >> >Subject: Re: [Users] Pxeboot >> > >> >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: >> >> Mike, >> >> Built it finally! >> >> Thanks a lot! >> > >> >Woot! >> > >> >> >> >> >-----Original Message----- >> >> >From: Mike Burns [mailto:mburns@redhat.com] >> >> >Sent: Thursday, February 09, 2012 4:18 PM >> >> >To: Li, David >> >> >Cc: Perry Myers; users@ovirt.org >> >> >Subject: Re: [Users] Pxeboot >> >> > >> >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: >> >> >> MIke, >> >> >> >> >> >> Got something new this time in make publish: >> >> >> >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' >> >> >> /bin/sh: -c: line 36: `)' >> >> >> make[1]: *** [repos.ks] Error 1 >> >> >> make[1]: Leaving directory >> >> >> `/home/lid/workspace/ovirt/node-archipel- >> >> >2.2.2/ovirt-node/recipe' >> >> >> make: *** [distdir] Error 1 >> >> >> >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR >> >$OVIRT_LOCAL_REPO >> >> >> /home/lid/ovirt-cache >> >> >> file:///home/lid/ovirt-cache/ovirt >> >> >> [lid@FC16-1 ovirt-node]$ >> >> > >> >> >Oops, bad merge on my part. >> >> > >> >> >$ git reset --hard origin/master #sets you back to head >> >> >of the master branch $ git fetch >> >> >http://gerrit.ovirt.org/p/ovirt-node >> >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # >> >> >checks out the >> >new version of the patch set. >> >> > >> >> >Mike >> >> > >> >> >> >> >> >> >> >> >> - David >> >> >> ________________________________________ >> >> >> From: Mike Burns [mburns@redhat.com] >> >> >> Sent: Thursday, February 09, 2012 2:12 PM >> >> >> To: Li, David >> >> >> Cc: Perry Myers; users@ovirt.org >> >> >> Subject: Re: [Users] Pxeboot >> >> >> >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: >> >> >> > Mike, >> >> >> > >> >> >> > It seems it needs couple vdsm pkgs: >> >> >> > >> >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > Failed to find package 'vdsm-cli' : No >> >> >> > package(s) available to install mv >> >> >> > ovirt-node-image.iso >> >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> >> > mv: cannot stat `ovirt-node-image.iso': No such file >> >> >> > or directory >> >> >> > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > >> >> >> > >> >> >> > can I remove them from ks files? >> >> >> >> >> >> Not if you want to use ovirt-node with ovirt-engine. >> >> >> There was a bug in that patch set that is fixed in >> >> >> patch set 2 (along with the bad ===== package). I >> >> >> hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. >> >> >> >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD >> >> >> >> >> >> This should fix the problem. >> >> >> >> >> >> Mike >> >> >> >> >> >> > >> >> >> > - David >> >> >> > ________________________________________ >> >> >> > From: Mike Burns [mburns@redhat.com] >> >> >> > Sent: Thursday, February 09, 2012 12:07 PM >> >> >> > To: Li, David >> >> >> > Cc: Perry Myers; users@ovirt.org >> >> >> > Subject: Re: [Users] Pxeboot >> >> >> > >> >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: >> >> >> > > It's still the same error: >> >> >> > > >> >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ >> >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > echo "PACKAGE=ovirt-node-image" ;\ >> >> >> > > echo "VERSION=2.2.3" ;\ >> >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> >> > > ) > version.ks >> >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > > Failed to find package '=======' : No package(s) >> >> >> > > available to install mv ovirt-node-image.iso >> >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> >> > > mv: cannot stat `ovirt-node-image.iso': No such >> >> >> > > file or directory >> >> >> > > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> >> > > file:///home/lid/ovirt-cache/ovirt >> >> >> > > [lid@FC16-1 recipe]$ ll >> >> >> > > /home/lid/ovirt-cache/ovirt/ total >> >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch >> >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. >> >> >> > > 2 lid lid 4096 Feb 9 >> >> >> > > 11:10 src >> >> >> > >> >> >> > That's a bug in the patch. edit >> >> >> > recipe/common-pkgs.ks and remove the last line which is "=======" >> >> >> > >> >> >> > Mike >> >> >> > > >> >> >> > > >> >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? >> >> >> > > >> >> >> > > - David >> >> >> > > ________________________________________ >> >> >> > > From: Mike Burns [mburns@redhat.com] >> >> >> > > Sent: Thursday, February 09, 2012 11:44 AM >> >> >> > > To: Li, David >> >> >> > > Cc: Perry Myers; users@ovirt.org >> >> >> > > Subject: RE: [Users] Pxeboot >> >> >> > > >> >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: >> >> >> > > > The error seems a little stubborn. >> >> >> > > > >> >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> >> > > > file://home/lid/ovirt-cache/ovirt >> >> >> > > >> >> >> > > You need 3 slashes. >> >> >> > > file:///home/lid/ovirt-cache/ovirt >> >> >> > > >> >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> >> > > > echo "VERSION=2.2.3" ;\ >> >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> >> > > > ) > version.ks >> >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > > > Unable to download from repo : Cannot retrieve >> >> >> > > > repository metadata (repomd.xml) for repository: local. >> >> >> > > > Please verify its path and try again mv >> >> >> > > > ovirt-node-image.iso >> >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such >> >> >> > > > file or directory >> >> >> > > > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > > > >> >> >> > > > There is also a pop-up window: Unable to open a >> >> >> > > > folder for _ovirt-node-imag >> >> >> > > > >> >> >> > > > maybe it's looking at the wrong place? >> >> >> > > > >> >> >> > > > >> >> >> > > > - David >> >> >> > > > ________________________________________ >> >> >> > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM >> >> >> > > > To: Li, David >> >> >> > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > Subject: RE: [Users] Pxeboot >> >> >> > > > >> >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: >> >> >> > > > > ok, that's my bad:) >> >> >> > > > > >> >> >> > > > > Ran into error at the last iso build step: >> >> >> > > > > >> >> >> > > > > Start building ISO image.... >> >> >> > > > > ( \ >> >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> >> > > > > echo "VERSION=2.2.3" ;\ >> >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ >> >> >> > > > > ) > version.ks ./node-creator >> >> >> > > > > ovirt-node-image.ks Error creating Live CD : >> >> >> > > > > Unable to download from repo : Cannot retrieve >> >> >> > > > > repository metadata (repomd.xml) for repository: local. >> >> >> > > > > Please verify its path and try again mv >> >> >> > > > > ovirt-node-image.iso >> >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso >> >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No >> >> >> > > > > such file or directory >> >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > > > >> >> >> > > > IIRC, this is usually because you have >> >> >> > > > OVIRT_LOCAL_REPO defined, but not correctly. It needs to be like this: >> >> >> > > > file:///home/mburns/rpmbuild/RPMS >> >> >> > > > >> >> >> > > > Ok, I just looked at the Node Building page, and >> >> >> > > > it needs some >> >updates. >> >> >> > > > Try this from the base directory of the git repo >> >> >> > > > >> >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache >> >> >> > > > $ export >> >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt >> >> >> > > > $ ./autogen.sh --with-image-minimizer $ make >> >> >> > > > publish #this builds the rpms and puts them in >> >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make >> >> >> > > > ovirt-node-image.iso >> >> >> > > > >> >> >> > > > Mike >> >> >> > > > > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > > I wonder which repo my machine is lacking? >> >> >> > > > > >> >> >> > > > > - David >> >> >> > > > > ________________________________________ >> >> >> > > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM >> >> >> > > > > To: Li, David >> >> >> > > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > > Subject: Re: [Users] Pxeboot >> >> >> > > > > >> >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: >> >> >> > > > > > Got an error: >> >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch >> >> >> > > > > > http://gerrit.ovirt.org/ >> >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick >> >> >> > > > > > FETCH_HEAD >> >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: >> >> >> > > > > > did you run git >> >> >update-server-info on the server? >> >> >> > > > > >> >> >> > > > > Bad copy/paste: >> >> >> > > > > >> >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >> > > > > refs/changes/38/1738/1 && git cherry-pick >> >> >> > > > > FETCH_HEAD >> >> >> > > > > > >> >> >> > > > > > any ideas? >> >> >> > > > > > >> >> >> > > > > > - David >> >> >> > > > > >
>> >> >> > > > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM >> >> >> > > > > > To: Li, David >> >> >> > > > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > Subject: Re: [Users] Pxeboot >> >> >> > > > > > >> >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: >> >> >> > > > > > > Mike, >> >> >> > > > > > > >> >> >> > > > > > > Two quick questions before I kick off a build: >> >> >> > > > > > > >> >> >> > > > > > > 1. Git errors. Do they matter? >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git >> >> >> > > > > > > clone >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git >> >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning >> >> >into refs/changes/38/1738/1... >> >> >> > > > > > > remote: Counting objects: 14791, done >> >> >> > > > > > > remote: Finding sources: 100% >> >> >> > > > > > > (14791/14791) >> >> >> > > > > > > remote: Total 14791 (delta 10855), reused >> >> >> > > > > > > 14778 (delta >> >> >> > > > > > > 10855) Receiving objects: 100% >> >> >> > > > > > > (14791/14791), >> >> >> > > > > > > 16.92 MiB >> >> >> > > > > > > | 154 >> >> >KiB/s, done. >> >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. >> >> >> > > > > > > fatal: Not a git repository (or any of the >> >> >> > > > > > > parent >> >> >> > > > > > > directories): .git >> >> >> > > > > > >> >> >> > > > > > try this instead: >> >> >> > > > > > >> >> >> > > > > > git clone >> >> >> > > > > > http://gerrit.ovirt.org/p/ovirt-node.git >> >> >> > > > > > cd ovirt-node git fetch >> >> >> > > > > > http://gerrit.ovirt.org/p/ovirt-node >> >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick >> >> >> > > > > > FETCH_HEAD >> >> >> > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > 2. Build machine. >> >> >> > > > > > > >> >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. >> >> >> > > > > > > My target is >> >> >x86_64 Intel board. Is this ok? >> >> >> > > > > > >> >> >> > > > > > Should be fine. >> >> >> > > > > > >> >> >> > > > > > Mike >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > - David >> >> >> > > > > > >
>> >> >> > > > > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM >> >> >> > > > > > > To: Li, David >> >> >> > > > > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > Subject: RE: [Users] Pxeboot >> >> >> > > > > > > >> >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: >> >> >> > > > > > > > Not sure where the boot log is since I can't login. >> >> >> > > > > > > > >> >> >> > > > > > > > I got the source from >> >> >> > > > > > > > https://github.com/primalmotion/archipel >> >> >> > > > > > > > -node and followed the build >> >> >> > > > > > > > instructions in >> >> >> > > > > > > > http://ovirt.org/wiki/Node_Building >> >> >> > > > > > > > >> >> >> > > > > > > > maybe I should rebuild the iso from the >> >> >> > > > > > > > ovirt node source tree >> >> >as you have pulled in archipel changes yesterday. How do I do that? >> >> >> > > > > > > >> >> >> > > > > > > git fetch >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node >> >> >> > > > > > > refs/changes/38/1738/1 && git checkout >> >> >> > > > > > > FETCH_HEAD >> >> >> > > > > > > >> >> >> > > > > > > That command will checkout the current >> >> >> > > > > > > version of the archipel-node changes. >> >> >> > > > > > > Then you can just follow the Node_Building >> >> >> > > > > > > process. Note that the changes aren't >> >> >> > > > > > > merged into master yet. I'm still in the >> >> >> > > > > > > process of reviewing >> >them. >> >> >> > > > > > > >> >> >> > > > > > > Mike >> >> >> > > > > > > > >> >> >> > > > > > > > - David >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >-----Original Message----- >> >> >> > > > > > > > >From: Mike Burns >> >> >> > > > > > > > >[mailto:mburns@redhat.com] >> >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 >> >> >> > > > > > > > >AM >> >> >> > > > > > > > >To: Li, David >> >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > > >> >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: >> >> >> > > > > > > > >> Mike, >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> I added adminpw as a kernel option. >> >> >> > > > > > > > >> After boot, I tried >> >> >"admin/abc123" >> >> >> > > > > > > > >> and "root/abc123" but not able to login. >> >> >> > > > > > > > >> Any idea? >> >> >> > > > > > > > >> >> >> >> > > > > > > > > >> >> >> > > > > > > > >Are there any errors in your build or boot logs? >> >> >> > > > > > > > > >> >> >> > > > > > > > >Mike >> >> >> > > > > > > > > >> >> >> > > > > > > > >> David >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >-----Original Message----- >> >> >> > > > > > > > >> >From: Mike Burns >> >> >> > > > > > > > >> >[mailto:mburns@redhat.com] >> >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 >> >> >> > > > > > > > >> >6:53 PM >> >> >> > > > > > > > >> >To: Li, David >> >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, >> >> >> > > > > > > > >> >Li, David wrote: >> >> >> > > > > > > > >> >> Ok, I built an iso out of archipel >> >> >> > > > > > > > >> >> and pxebooted it with stateless >> >> >> > > > > > > > >> >> option. Now >> >> >> > > > > > > > >> >I got a "localhost" login prompt. >> >> >> > > > > > > > >> >Any idea what should I put >> >> >in as user/pwd? >> >> >> > > > > > > > >> >> David >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >You will need to pass a password in >> >> >> > > > > > > > >> >on the command line as well >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >adminpw=<hashed_password> >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >You can generate the hashed password using: >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >$ openssl passwd >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >Assuming the password was abc123 >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >$ openssl passwd abc123 >> >> >> > > > > > > > >> >tKrQfufCbosr6 >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >Mike >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> >-----Original Message----- >> >> >> > > > > > > > >> >> >From: Mike Burns >> >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] >> >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, >> >> >> > > > > > > > >> >> >2012 4:31 PM >> >> >> > > > > > > > >> >> >To: Li, David >> >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 >> >> >> > > > > > > > >> >> >-0800, Li, David >wrote: >> >> >> > > > > > > > >> >> >> Ok, I think we are on the same >> >> >> > > > > > > > >> >> >> page now regarding >> >> >stateless node. >> >> >> > > > > > > > >> >> >> It looks like the achipel diff >> >> >> > > > > > > > >> >> >> you just pulled in might be >> >> >> > > > > > > > >> >> >> able to do this. But I can't >> >> >> > > > > > > > >> >> >> quite make it out what the >> >> >> > > > > > > > >> >> >> kernel option should >> >> >> > > > > > > > >be. >> >> >> > > > > > > > >> >> >> Is it "stateless=1"? >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >> David >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >-----Original Message----- >> >> >> > > > > > > > >> >> >> >From: Mike Burns >> >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] >> >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, >> >> >> > > > > > > > >> >> >> >2012 >> >> >> > > > > > > > >> >> >> >3:27 PM >> >> >> > > > > > > > >> >> >> >To: Li, David >> >> >> > > > > > > > >> >> >> >Cc: Perry Myers; >> >> >> > > > > > > > >> >> >> >users@ovirt.org >> >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 >> >> >> > > > > > > > >> >> >> >-0800, Li, David >> >wrote: >> >> >> > > > > > > > >> >> >> >> Perry, >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. >> >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to >> >> >> > > > > > > > >> >> >> >> run the root fs entirely in >> >> >RAM. >> >> >> > > > > > > > >> >> >> >> In fact that would >> >> >> > > > > > > > >> >> >> >be ideal for me. It's just I >> >> >> > > > > > > > >> >> >> >am not quite sure how to use >> >> >> > > > > > > > >> >> >> >pxeboot to achieve this. >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> I am doing a test now using >> >> >> > > > > > > > >> >> >> >> the tftpboot files >> >> >created from the iso. >> >> >> > > > > > > > >> >> >> >> As far as I see, the kernel >> >> >> > > > > > > > >> >> >> >> boot options >> >> >(pxelinux.cfg/default) has: >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2- 1.1. >> >> >> > > > > > > > >> >> >> >> fc1 6.i so >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot >> >> >> > > > > > > > >> >> >> >> to the intall screen. What >> >> >> > > > > > > > >> >> >> >> should I use to let the >> >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? >> >> >> > > > > > > > >> >> >> >Something like >> >> >> > > > > > > > >root=/dev/ram0? >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> David >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt- node. >> >> >> > > > > > > > >> >> >> >That's the whole stateless >> >> >> > > > > > > > >> >> >> >feature that we outlined. >> >> >> > > > > > > > >> >> >> >Once we actually have it >> >> >> > > > > > > > >> >> >> >implemented, it will be >> >> >> > > > > > > > >> >> >> >something along the lines of >> >> >> > > > > > > > >> >> >> >adding "stateless" to >> >> >> > > > > > > > >> >> >the kernel commandline. >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >Mike >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- >> >> >> > > > > > > > >> >> >> >> >From: Perry Myers >> >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] >> >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February >> >> >> > > > > > > > >> >> >> >> >08, 2012 >> >> >> > > > > > > > >> >> >> >> >2:54 PM >> >> >> > > > > > > > >> >> >> >> >To: Mike Burns >> >> >> > > > > > > > >> >> >> >> >Cc: Li, David; >> >> >> > > > > > > > >> >> >> >> >users@ovirt.org >> >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] >> >> >> > > > > > > > >> >> >> >> >Pxeboot >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, >> >> >> > > > > > > > >> >> >> >> >Mike Burns wrote: >> >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at >> >> >> > > > > > > > >> >> >> >> >> 13:46 -0800, Li, David >> >> >wrote: >> >> >> > > > > > > > >> >> >> >> >>> Mike, >> >> >> > > > > > > > >> >> >> >> >>> >> >> >> > > > > > > > >> >> >> >> >>> If I understand this >> >> >> > > > > > > > >> >> >> >> >>> correctly, today I >> >> >> > > > > > > > >> >> >> >> >>> should be able to >> >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount >> >> >> > > > > > > > >> >> >> >> >>> the >> >> >root fs from a remote server. >> >> >> > > > > > > > >> >> >> >> >>> Apart from setting up >> >> >> > > > > > > > >> >> >> >> >>> the pxe stuff, I 'd have >> >> >> > > > > > > > >> >> >> >> >>> to populate the ovirt >> >> >> > > > > > > > >> >> >> >> >>> node root fs on the >> >> >> > > > > > > > >> >> >> >> >>> server >> >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. >> >> >> > > > > > > > >> >> >> >> >>> In other words I am >> >> >> > > > > > > > >> >> >> >> >>> concerned about the >> >> >> > > > > > > > >> >> >> >> >>> point from which the >> >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute >> >> >> > > > > > > > >> >> >> >> >>> /init script (in the >> >> >> > > > > > > > >> >> >> >> >>> initramfs) to the >> >> >point /init is able to mount the final root fs from a remote server. >> >> >> > > > > > > > >> >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to >> >> >> > > > > > > > >> >> >> >> >> set this up currently in >> >> >ovirt-node. >> >> >> > > > > > > > >> >> >> >> >> You could install using a >> >> >> > > > > > > > >> >> >> >> >> remote iscsi lun if you >> >> >> > > > > > > > >> >> >> >> >> have a hardware iscsi >> >> >> > > > > > > > >> >> >> >> >> HBA, but there isn't a >> >> >> > > > > > > > >> >> >> >> >> way to mount a remote nfs >> >> >> > > > > > > > >> >> >> >> >> share as the >> >> >> > > > > > > > >> >> >root fs. >> >> >> > > > > > > > >> >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS >> >> >> > > > > > > > >> >> >> >> >> share as the root fs >> >> >> > > > > > > > >> >> >> >> >> isn't even something that >> >> >> > > > > > > > >> >> >> >> >> requested as an RFE at >> >> >> > > > > > > > >> >> >> >> >> this point or on the >> >> >> > > > > > > > >> >> >> >> >> roadmap as far as >> >> >I'm aware. >> >> >> > > > > > > > >> >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> It sounds like what >> >> >> > > > > > > > >> >> >> >> >> you're really looking for >> >> >> > > > > > > > >> >> >> >> >> is a shared root fs that multiple hosts could use. >> >> >> > > > > > > > >> >> >> >> >> This is something that we >> >> >> > > > > > > > >> >> >> >> >> will probably look into >> >> >> > > > > > > > >> >> >> >> >> eventually, but it's not >> >> >> > > > > > > > >> >> >> >> >> on the immediate >> >> >> > > > > > > > >> >> >roadmap. >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >Given that the rootfs of >> >> >> > > > > > > > >> >> >> >> >oVirt Node is fairly small >> >> >> > > > > > > > >> >> >> >> >and in a truly stateless >> >> >> > > > > > > > >> >> >> >> >environment would just run >> >> >> > > > > > > > >> >> >> >> >out of system RAM, there's >> >> >> > > > > > > > >> >> >> >> >no real reason to try to do >> >> >> > > > > > > > >> >> >> >> >a shared NFS based >> >> >> > > > > > > > >rootfs. >> >> >> > > > > > > > >> >> >> >> >It's an unnecessary >> >> >> > > > > > > > >> >> >> >> >complication I think, if >> >> >> > > > > > > > >> >> >> >> >the end goal is to move to >> >> >> > > > > > > > >> >> >> >> >truly >> >> >> > > > > > > > >> >> >> >stateless. >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >For larger systems where >> >> >> > > > > > > > >> >> >> >> >the rootfs is on the order >> >> >> > > > > > > > >> >> >> >> >of GB's, shared root may >> >> >> > > > > > > > >> >> >> >> >make more >> >> >sense. >> >> >> > > > > > > > >> >> >> >> >> >> >____________________________________________ >> >> >> > > > > > > > >> >> >> >> ___ Users mailing list >> >> >> > > > > > > > >> >> >> >> Users@ovirt.org >> >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailm >> >> >> > > > > > > > >> >> >> >> an/list inf o/u ser s >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> >> >> >_______________________________________________ >> >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org >> >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/lis >> >> >> > > > > > > > >> >> tinfo/user >> >> >> > > > > > > > >> >> s >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >_______________________________________________ >> >> >> > > > > > > > >> Users mailing list Users@ovirt.org >> >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listin >> >> >> > > > > > > > >> fo/users >> >> >> > > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >_______________________________________________ >> >> >> > > > > > > Users mailing list Users@ovirt.org >> >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/us >> >> >> > > > > > > ers >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > > >_______________________________________________ >> >> >> > > > > > Users mailing list Users@ovirt.org >> >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/user >> >> >> > > > > > s >> >> >> > > > > >> >> >> > > > > >> >> >> > > > >> >> >> > > > >> >> >> > > >> >> >> > > >> >> >> > >
>> >> >> > > Users mailing list Users@ovirt.org >> >> >> > > http://lists.ovirt.org/mailman/listinfo/users >> >> >> > >> >> >> > >> >> >> >
>> >> >> > Users mailing list >> >> >> > Users@ovirt.org >> >> >> > http://lists.ovirt.org/mailman/listinfo/users >> >> >> >> >> >> >> >> >>
>> >> >> Users mailing list >> >> >> Users@ovirt.org >> >> >> http://lists.ovirt.org/mailman/listinfo/users >> >> > >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> Users@ovirt.org >> >> http://lists.ovirt.org/mailman/listinfo/users >> > >> >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, 2012-02-13 at 07:20 -0800, Li, David wrote:
Hi Mike,
I will also double check my side starting from a new clone. To get all the patches you 've put in for stateless, are these the steps I need to take?
git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node
git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 don't need this one ^^. It's already in master.
git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Monday, February 13, 2012 5:56 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Sat, 2012-02-11 at 07:39 -0800, Li, David wrote:
Mike,
Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth
When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message.
Tried to ssh into the node, but was rejected too:
[xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Hmm, looks like something isn't right with ssh_pwauth then. I'll look into that, but for now, try using rootpw instead of adminpw. Then login as root. Once you're in as root, you can su - admin to go the the TUI (or in this case, get the stack trace for why the TUI is failing).
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name
07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name
a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run
$ git log
and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote: > Mike, > I think I got a glimpse of the error message - something like > "persistent storage not available" after I tried to login with the new passwd. > Does this make sense?
Try this patch with the other one I just sent:
Mike > > David > > > >-----Original Message----- > >From: Mike Burns [mailto:mburns@redhat.com] > >Sent: Friday, February 10, 2012 7:37 AM > >To: Li, David > >Cc: users@ovirt.org > >Subject: RE: [Users] Pxeboot - pwd/login issue > > > >On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: > >> Hi Mike, > >> > >> I ran into the login/pwd problem again with this new build. > >> Kernel option adminpw worked but only for a short time. I > >> was asked to change pwd immediately after login but then > >> rejected again after I did that. > >> There was an short-lived error message on the screen but I > >> wasn't able to capture it. > > > >You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the > >command line. > >This will configure networking and enable SSH password
authentication.
> >Then you can ssh admin@<your host> and it will show you the error. > > > >> > >> I tried the latest from archipel source and it worked > >> without password issue. I pulled it from: > >> > >> git clone https://github.com/primalmotion/Archipel.git > > > >I'm using git://github.com/primalmotion/Node.git > > > >The only differences I see between the 2 are some minor > >formatting and conditional changes in recipe/Makefile.am and a > >couple patches that were pushed since the github repo was > >updated. These patches are all on the gerrit.ovirt.org side. > > > >Note: there is an incompatible change that was merged into > >master this morning. I'm working on a rebase of the archipel > >stuff now to include it. > > > >Mike > > > >> > >> There might be a few updates right after you pulled it last time. > >> > >> Would you mind merge the new updates into ovirt node again? > >> > >> Thanks. > >> > >> David > >> > >> > >> >-----Original Message----- > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >Sent: Thursday, February 09, 2012 5:10 PM > >> >To: Li, David > >> >Cc: Perry Myers; users@ovirt.org > >> >Subject: Re: [Users] Pxeboot > >> > > >> >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: > >> >> Mike, > >> >> Built it finally! > >> >> Thanks a lot! > >> > > >> >Woot! > >> > > >> >> > >> >> >-----Original Message----- > >> >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> >Sent: Thursday, February 09, 2012 4:18 PM > >> >> >To: Li, David > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >Subject: Re: [Users] Pxeboot > >> >> > > >> >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: > >> >> >> MIke, > >> >> >> > >> >> >> Got something new this time in make publish: > >> >> >> > >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' > >> >> >> /bin/sh: -c: line 36: `)' > >> >> >> make[1]: *** [repos.ks] Error 1 > >> >> >> make[1]: Leaving directory > >> >> >> `/home/lid/workspace/ovirt/node-archipel- > >> >> >2.2.2/ovirt-node/recipe' > >> >> >> make: *** [distdir] Error 1 > >> >> >> > >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR > >> >$OVIRT_LOCAL_REPO > >> >> >> /home/lid/ovirt-cache > >> >> >> file:///home/lid/ovirt-cache/ovirt > >> >> >> [lid@FC16-1 ovirt-node]$ > >> >> > > >> >> >Oops, bad merge on my part. > >> >> > > >> >> >$ git reset --hard origin/master #sets you back to head > >> >> >of the master branch $ git fetch > >> >> >http://gerrit.ovirt.org/p/ovirt-node > >> >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # > >> >> >checks out the > >> >new version of the patch set. > >> >> > > >> >> >Mike > >> >> > > >> >> >> > >> >> >> > >> >> >> - David > >> >> >> ________________________________________ > >> >> >> From: Mike Burns [mburns@redhat.com] > >> >> >> Sent: Thursday, February 09, 2012 2:12 PM > >> >> >> To: Li, David > >> >> >> Cc: Perry Myers; users@ovirt.org > >> >> >> Subject: Re: [Users] Pxeboot > >> >> >> > >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: > >> >> >> > Mike, > >> >> >> > > >> >> >> > It seems it needs couple vdsm pkgs: > >> >> >> > > >> >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> > Failed to find package 'vdsm-cli' : No > >> >> >> > package(s) available to install mv > >> >> >> > ovirt-node-image.iso > >> >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> > mv: cannot stat `ovirt-node-image.iso': No such file > >> >> >> > or directory > >> >> >> > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > >> >> >> > > >> >> >> > can I remove them from ks files? > >> >> >> > >> >> >> Not if you want to use ovirt-node with ovirt-engine. > >> >> >> There was a bug in that patch set that is fixed in > >> >> >> patch set 2 (along with the bad ===== package). I > >> >> >> hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. > >> >> >> > >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD > >> >> >> > >> >> >> This should fix the problem. > >> >> >> > >> >> >> Mike > >> >> >> > >> >> >> > > >> >> >> > - David > >> >> >> > ________________________________________ > >> >> >> > From: Mike Burns [mburns@redhat.com] > >> >> >> > Sent: Thursday, February 09, 2012 12:07 PM > >> >> >> > To: Li, David > >> >> >> > Cc: Perry Myers; users@ovirt.org > >> >> >> > Subject: Re: [Users] Pxeboot > >> >> >> > > >> >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: > >> >> >> > > It's still the same error: > >> >> >> > > > >> >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ > >> >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> > > echo "VERSION=2.2.3" ;\ > >> >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> >> > > ) > version.ks > >> >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> > > Failed to find package '=======' : No package(s) > >> >> >> > > available to install mv ovirt-node-image.iso > >> >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> > > mv: cannot stat `ovirt-node-image.iso': No such > >> >> >> > > file or directory > >> >> >> > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> >> > > [lid@FC16-1 recipe]$ ll > >> >> >> > > /home/lid/ovirt-cache/ovirt/ total > >> >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch > >> >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. > >> >> >> > > 2 lid lid 4096 Feb 9 > >> >> >> > > 11:10 src > >> >> >> > > >> >> >> > That's a bug in the patch. edit > >> >> >> > recipe/common-pkgs.ks and remove the last line which is "=======" > >> >> >> > > >> >> >> > Mike > >> >> >> > > > >> >> >> > > > >> >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? > >> >> >> > > > >> >> >> > > - David > >> >> >> > > ________________________________________ > >> >> >> > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > Sent: Thursday, February 09, 2012 11:44 AM > >> >> >> > > To: Li, David > >> >> >> > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > Subject: RE: [Users] Pxeboot > >> >> >> > > > >> >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: > >> >> >> > > > The error seems a little stubborn. > >> >> >> > > > > >> >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> >> > > > file://home/lid/ovirt-cache/ovirt > >> >> >> > > > >> >> >> > > You need 3 slashes. > >> >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> >> > > > >> >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> > > > echo "VERSION=2.2.3" ;\ > >> >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> >> > > > ) > version.ks > >> >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> > > > Unable to download from repo : Cannot retrieve > >> >> >> > > > repository metadata (repomd.xml) for repository: local. > >> >> >> > > > Please verify its path and try again mv > >> >> >> > > > ovirt-node-image.iso > >> >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such > >> >> >> > > > file or directory > >> >> >> > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > > > >> >> >> > > > There is also a pop-up window: Unable to open a > >> >> >> > > > folder for _ovirt-node-imag > >> >> >> > > > > >> >> >> > > > maybe it's looking at the wrong place? > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > - David > >> >> >> > > > ________________________________________ > >> >> >> > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM > >> >> >> > > > To: Li, David > >> >> >> > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > Subject: RE: [Users] Pxeboot > >> >> >> > > > > >> >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: > >> >> >> > > > > ok, that's my bad:) > >> >> >> > > > > > >> >> >> > > > > Ran into error at the last iso build step: > >> >> >> > > > > > >> >> >> > > > > Start building ISO image.... > >> >> >> > > > > ( \ > >> >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> > > > > echo "VERSION=2.2.3" ;\ > >> >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ > >> >> >> > > > > ) > version.ks ./node-creator > >> >> >> > > > > ovirt-node-image.ks Error creating Live CD : > >> >> >> > > > > Unable to download from repo : Cannot retrieve > >> >> >> > > > > repository metadata (repomd.xml) for repository: local. > >> >> >> > > > > Please verify its path and try again mv > >> >> >> > > > > ovirt-node-image.iso > >> >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso > >> >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No > >> >> >> > > > > such file or directory > >> >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > > > >> >> >> > > > IIRC, this is usually because you have > >> >> >> > > > OVIRT_LOCAL_REPO defined, but not correctly. It needs to be like this: > >> >> >> > > > file:///home/mburns/rpmbuild/RPMS > >> >> >> > > > > >> >> >> > > > Ok, I just looked at the Node Building page, and > >> >> >> > > > it needs some > >> >updates. > >> >> >> > > > Try this from the base directory of the git repo > >> >> >> > > > > >> >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache > >> >> >> > > > $ export > >> >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt > >> >> >> > > > $ ./autogen.sh --with-image-minimizer $ make > >> >> >> > > > publish #this builds the rpms and puts them in > >> >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make > >> >> >> > > > ovirt-node-image.iso > >> >> >> > > > > >> >> >> > > > Mike > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > I wonder which repo my machine is lacking? > >> >> >> > > > > > >> >> >> > > > > - David > >> >> >> > > > > ________________________________________ > >> >> >> > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM > >> >> >> > > > > To: Li, David > >> >> >> > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > Subject: Re: [Users] Pxeboot > >> >> >> > > > > > >> >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: > >> >> >> > > > > > Got an error: > >> >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch > >> >> >> > > > > > http://gerrit.ovirt.org/ > >> >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick > >> >> >> > > > > > FETCH_HEAD > >> >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: > >> >> >> > > > > > did you run git > >> >> >update-server-info on the server? > >> >> >> > > > > > >> >> >> > > > > Bad copy/paste: > >> >> >> > > > > > >> >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> >> > > > > FETCH_HEAD > >> >> >> > > > > > > >> >> >> > > > > > any ideas? > >> >> >> > > > > > > >> >> >> > > > > > - David > >> >> >> > > > > >
> >> >> >> > > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM > >> >> >> > > > > > To: Li, David > >> >> >> > > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > >> >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: > >> >> >> > > > > > > Mike, > >> >> >> > > > > > > > >> >> >> > > > > > > Two quick questions before I kick off a build: > >> >> >> > > > > > > > >> >> >> > > > > > > 1. Git errors. Do they matter? > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git > >> >> >> > > > > > > clone > >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning > >> >> >into refs/changes/38/1738/1... > >> >> >> > > > > > > remote: Counting objects: 14791, done > >> >> >> > > > > > > remote: Finding sources: 100% > >> >> >> > > > > > > (14791/14791) > >> >> >> > > > > > > remote: Total 14791 (delta 10855), reused > >> >> >> > > > > > > 14778 (delta > >> >> >> > > > > > > 10855) Receiving objects: 100% > >> >> >> > > > > > > (14791/14791), > >> >> >> > > > > > > 16.92 MiB > >> >> >> > > > > > > | 154 > >> >> >KiB/s, done. > >> >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. > >> >> >> > > > > > > fatal: Not a git repository (or any of the > >> >> >> > > > > > > parent > >> >> >> > > > > > > directories): .git > >> >> >> > > > > > > >> >> >> > > > > > try this instead: > >> >> >> > > > > > > >> >> >> > > > > > git clone > >> >> >> > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >> >> > > > > > cd ovirt-node git fetch > >> >> >> > > > > > http://gerrit.ovirt.org/p/ovirt-node > >> >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> >> > > > > > FETCH_HEAD > >> >> >> > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > 2. Build machine. > >> >> >> > > > > > > > >> >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. > >> >> >> > > > > > > My target is > >> >> >x86_64 Intel board. Is this ok? > >> >> >> > > > > > > >> >> >> > > > > > Should be fine. > >> >> >> > > > > > > >> >> >> > > > > > Mike > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > - David > >> >> >> > > > > > >
> >> >> >> > > > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM > >> >> >> > > > > > > To: Li, David > >> >> >> > > > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > Subject: RE: [Users] Pxeboot > >> >> >> > > > > > > > >> >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: > >> >> >> > > > > > > > Not sure where the boot log is since I can't login. > >> >> >> > > > > > > > > >> >> >> > > > > > > > I got the source from > >> >> >> > > > > > > > https://github.com/primalmotion/archipel > >> >> >> > > > > > > > -node and followed the build > >> >> >> > > > > > > > instructions in > >> >> >> > > > > > > > http://ovirt.org/wiki/Node_Building > >> >> >> > > > > > > > > >> >> >> > > > > > > > maybe I should rebuild the iso from the > >> >> >> > > > > > > > ovirt node source tree > >> >> >as you have pulled in archipel changes yesterday. How do I do that? > >> >> >> > > > > > > > >> >> >> > > > > > > git fetch > >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node > >> >> >> > > > > > > refs/changes/38/1738/1 && git checkout > >> >> >> > > > > > > FETCH_HEAD > >> >> >> > > > > > > > >> >> >> > > > > > > That command will checkout the current > >> >> >> > > > > > > version of the archipel-node changes. > >> >> >> > > > > > > Then you can just follow the Node_Building > >> >> >> > > > > > > process. Note that the changes aren't > >> >> >> > > > > > > merged into master yet. I'm still in the > >> >> >> > > > > > > process of reviewing > >> >them. > >> >> >> > > > > > > > >> >> >> > > > > > > Mike > >> >> >> > > > > > > > > >> >> >> > > > > > > > - David > >> >> >> > > > > > > > > >> >> >> > > > > > > > > >> >> >> > > > > > > > >-----Original Message----- > >> >> >> > > > > > > > >From: Mike Burns > >> >> >> > > > > > > > >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 > >> >> >> > > > > > > > >AM > >> >> >> > > > > > > > >To: Li, David > >> >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > > >Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: > >> >> >> > > > > > > > >> Mike, > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> I added adminpw as a kernel option. > >> >> >> > > > > > > > >> After boot, I tried > >> >> >"admin/abc123" > >> >> >> > > > > > > > >> and "root/abc123" but not able to login. > >> >> >> > > > > > > > >> Any idea? > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >Are there any errors in your build or boot logs? > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >Mike > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >> David > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >-----Original Message----- > >> >> >> > > > > > > > >> >From: Mike Burns > >> >> >> > > > > > > > >> >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 > >> >> >> > > > > > > > >> >6:53 PM > >> >> >> > > > > > > > >> >To: Li, David > >> >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, > >> >> >> > > > > > > > >> >Li, David wrote: > >> >> >> > > > > > > > >> >> Ok, I built an iso out of archipel > >> >> >> > > > > > > > >> >> and pxebooted it with stateless > >> >> >> > > > > > > > >> >> option. Now > >> >> >> > > > > > > > >> >I got a "localhost" login prompt. > >> >> >> > > > > > > > >> >Any idea what should I put > >> >> >in as user/pwd? > >> >> >> > > > > > > > >> >> David > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >You will need to pass a password in > >> >> >> > > > > > > > >> >on the command line as well > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >adminpw=<hashed_password> > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >You can generate the hashed password using: > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >$ openssl passwd > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >Assuming the password was abc123 > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >$ openssl passwd abc123 > >> >> >> > > > > > > > >> >tKrQfufCbosr6 > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >Mike > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >-----Original Message----- > >> >> >> > > > > > > > >> >> >From: Mike Burns > >> >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, > >> >> >> > > > > > > > >> >> >2012 4:31 PM > >> >> >> > > > > > > > >> >> >To: Li, David > >> >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 > >> >> >> > > > > > > > >> >> >-0800, Li, David > >wrote: > >> >> >> > > > > > > > >> >> >> Ok, I think we are on the same > >> >> >> > > > > > > > >> >> >> page now regarding > >> >> >stateless node. > >> >> >> > > > > > > > >> >> >> It looks like the achipel diff > >> >> >> > > > > > > > >> >> >> you just pulled in might be > >> >> >> > > > > > > > >> >> >> able to do this. But I can't > >> >> >> > > > > > > > >> >> >> quite make it out what the > >> >> >> > > > > > > > >> >> >> kernel option should > >> >> >> > > > > > > > >be. > >> >> >> > > > > > > > >> >> >> Is it "stateless=1"? > >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> >> David > >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >-----Original Message----- > >> >> >> > > > > > > > >> >> >> >From: Mike Burns > >> >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, > >> >> >> > > > > > > > >> >> >> >2012 > >> >> >> > > > > > > > >> >> >> >3:27 PM > >> >> >> > > > > > > > >> >> >> >To: Li, David > >> >> >> > > > > > > > >> >> >> >Cc: Perry Myers; > >> >> >> > > > > > > > >> >> >> >users@ovirt.org > >> >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 > >> >> >> > > > > > > > >> >> >> >-0800, Li, David > >> >wrote: > >> >> >> > > > > > > > >> >> >> >> Perry, > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. > >> >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to > >> >> >> > > > > > > > >> >> >> >> run the root fs entirely in > >> >> >RAM. > >> >> >> > > > > > > > >> >> >> >> In fact that would > >> >> >> > > > > > > > >> >> >> >be ideal for me. It's just I > >> >> >> > > > > > > > >> >> >> >am not quite sure how to use > >> >> >> > > > > > > > >> >> >> >pxeboot to achieve this. > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> I am doing a test now using > >> >> >> > > > > > > > >> >> >> >> the tftpboot files > >> >> >created from the iso. > >> >> >> > > > > > > > >> >> >> >> As far as I see, the kernel > >> >> >> > > > > > > > >> >> >> >> boot options > >> >> >(pxelinux.cfg/default) has: > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2- 1.1. > >> >> >> > > > > > > > >> >> >> >> fc1 6.i so > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot > >> >> >> > > > > > > > >> >> >> >> to the intall screen. What > >> >> >> > > > > > > > >> >> >> >> should I use to let the > >> >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? > >> >> >> > > > > > > > >> >> >> >Something like > >> >> >> > > > > > > > >root=/dev/ram0? > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> David > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt- node. > >> >> >> > > > > > > > >> >> >> >That's the whole stateless > >> >> >> > > > > > > > >> >> >> >feature that we outlined. > >> >> >> > > > > > > > >> >> >> >Once we actually have it > >> >> >> > > > > > > > >> >> >> >implemented, it will be > >> >> >> > > > > > > > >> >> >> >something along the lines of > >> >> >> > > > > > > > >> >> >> >adding "stateless" to > >> >> >> > > > > > > > >> >> >the kernel commandline. > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> >Mike > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- > >> >> >> > > > > > > > >> >> >> >> >From: Perry Myers > >> >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] > >> >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February > >> >> >> > > > > > > > >> >> >> >> >08, 2012 > >> >> >> > > > > > > > >> >> >> >> >2:54 PM > >> >> >> > > > > > > > >> >> >> >> >To: Mike Burns > >> >> >> > > > > > > > >> >> >> >> >Cc: Li, David; > >> >> >> > > > > > > > >> >> >> >> >users@ovirt.org > >> >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] > >> >> >> > > > > > > > >> >> >> >> >Pxeboot > >> >> >> > > > > > > > >> >> >> >> > > >> >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, > >> >> >> > > > > > > > >> >> >> >> >Mike Burns wrote: > >> >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at > >> >> >> > > > > > > > >> >> >> >> >> 13:46 -0800, Li, David > >> >> >wrote: > >> >> >> > > > > > > > >> >> >> >> >>> Mike, > >> >> >> > > > > > > > >> >> >> >> >>> > >> >> >> > > > > > > > >> >> >> >> >>> If I understand this > >> >> >> > > > > > > > >> >> >> >> >>> correctly, today I > >> >> >> > > > > > > > >> >> >> >> >>> should be able to > >> >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount > >> >> >> > > > > > > > >> >> >> >> >>> the > >> >> >root fs from a remote server. > >> >> >> > > > > > > > >> >> >> >> >>> Apart from setting up > >> >> >> > > > > > > > >> >> >> >> >>> the pxe stuff, I 'd have > >> >> >> > > > > > > > >> >> >> >> >>> to populate the ovirt > >> >> >> > > > > > > > >> >> >> >> >>> node root fs on the > >> >> >> > > > > > > > >> >> >> >> >>> server > >> >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. > >> >> >> > > > > > > > >> >> >> >> >>> In other words I am > >> >> >> > > > > > > > >> >> >> >> >>> concerned about the > >> >> >> > > > > > > > >> >> >> >> >>> point from which the > >> >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute > >> >> >> > > > > > > > >> >> >> >> >>> /init script (in the > >> >> >> > > > > > > > >> >> >> >> >>> initramfs) to the > >> >> >point /init is able to mount the final root fs from a remote server. > >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to > >> >> >> > > > > > > > >> >> >> >> >> set this up currently in > >> >> >ovirt-node. > >> >> >> > > > > > > > >> >> >> >> >> You could install using a > >> >> >> > > > > > > > >> >> >> >> >> remote iscsi lun if you > >> >> >> > > > > > > > >> >> >> >> >> have a hardware iscsi > >> >> >> > > > > > > > >> >> >> >> >> HBA, but there isn't a > >> >> >> > > > > > > > >> >> >> >> >> way to mount a remote nfs > >> >> >> > > > > > > > >> >> >> >> >> share as the > >> >> >> > > > > > > > >> >> >root fs. > >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS > >> >> >> > > > > > > > >> >> >> >> >> share as the root fs > >> >> >> > > > > > > > >> >> >> >> >> isn't even something that > >> >> >> > > > > > > > >> >> >> >> >> requested as an RFE at > >> >> >> > > > > > > > >> >> >> >> >> this point or on the > >> >> >> > > > > > > > >> >> >> >> >> roadmap as far as > >> >> >I'm aware. > >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> It sounds like what > >> >> >> > > > > > > > >> >> >> >> >> you're really looking for > >> >> >> > > > > > > > >> >> >> >> >> is a shared root fs that multiple hosts could use. > >> >> >> > > > > > > > >> >> >> >> >> This is something that we > >> >> >> > > > > > > > >> >> >> >> >> will probably look into > >> >> >> > > > > > > > >> >> >> >> >> eventually, but it's not > >> >> >> > > > > > > > >> >> >> >> >> on the immediate > >> >> >> > > > > > > > >> >> >roadmap. > >> >> >> > > > > > > > >> >> >> >> > > >> >> >> > > > > > > > >> >> >> >> >Given that the rootfs of > >> >> >> > > > > > > > >> >> >> >> >oVirt Node is fairly small > >> >> >> > > > > > > > >> >> >> >> >and in a truly stateless > >> >> >> > > > > > > > >> >> >> >> >environment would just run > >> >> >> > > > > > > > >> >> >> >> >out of system RAM, there's > >> >> >> > > > > > > > >> >> >> >> >no real reason to try to do > >> >> >> > > > > > > > >> >> >> >> >a shared NFS based > >> >> >> > > > > > > > >rootfs. > >> >> >> > > > > > > > >> >> >> >> >It's an unnecessary > >> >> >> > > > > > > > >> >> >> >> >complication I think, if > >> >> >> > > > > > > > >> >> >> >> >the end goal is to move to > >> >> >> > > > > > > > >> >> >> >> >truly > >> >> >> > > > > > > > >> >> >> >stateless. > >> >> >> > > > > > > > >> >> >> >> > > >> >> >> > > > > > > > >> >> >> >> >For larger systems where > >> >> >> > > > > > > > >> >> >> >> >the rootfs is on the order > >> >> >> > > > > > > > >> >> >> >> >of GB's, shared root may > >> >> >> > > > > > > > >> >> >> >> >make more > >> >> >sense. > >> >> >> > > > > > > > >> >> >> >> > >> >> >____________________________________________ > >> >> >> > > > > > > > >> >> >> >> ___ Users mailing list > >> >> >> > > > > > > > >> >> >> >> Users@ovirt.org > >> >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailm > >> >> >> > > > > > > > >> >> >> >> an/list inf o/u ser s > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> > >> >> >_______________________________________________ > >> >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org > >> >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/lis > >> >> >> > > > > > > > >> >> tinfo/user > >> >> >> > > > > > > > >> >> s > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> > >> >> >_______________________________________________ > >> >> >> > > > > > > > >> Users mailing list Users@ovirt.org > >> >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listin > >> >> >> > > > > > > > >> fo/users > >> >> >> > > > > > > > > > >> >> >> > > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >_______________________________________________ > >> >> >> > > > > > > Users mailing list Users@ovirt.org > >> >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/us > >> >> >> > > > > > > ers > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >_______________________________________________ > >> >> >> > > > > > Users mailing list Users@ovirt.org > >> >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/user > >> >> >> > > > > > s > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > >> >> >> > > > >> >> >> > >
> >> >> >> > > Users mailing list Users@ovirt.org > >> >> >> > > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> > > >> >> >> > > >> >> >> >
> >> >> >> > Users mailing list > >> >> >> > Users@ovirt.org > >> >> >> > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> > >> >> >> > >> >> >>
> >> >> >> Users mailing list > >> >> >> Users@ovirt.org > >> >> >> http://lists.ovirt.org/mailman/listinfo/users > >> >> > > >> >> > >> >> _______________________________________________ > >> >> Users mailing list > >> >> Users@ovirt.org > >> >> http://lists.ovirt.org/mailman/listinfo/users > >> > > >> > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Mike, Ran into a problem at make ovirt-node-image.iso: ) ./node-creator ovirt-node-image.ks Traceback (most recent call last): File "/usr/bin/livecd-creator", line 210, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 167, in main ks = imgcreate.read_kickstart(options.kscfg) File "/usr/lib/python2.7/site-packages/imgcreate/kickstart.py", line 61, in read_kickstart e.args[0])) imgcreate.errors.KickstartError: Failed to read kickstart file '/mnt/storage/home/lid/ovirt-cache/node-creator-x86_64-tmp/ovirt-node-image.ks' : Local file does not exist: /mnt/storage/home/lid/ovirt-cache/node-creator-x86_64-tmp/ovirt-node-image.ks mv ovirt-node-image.iso ovirt-node-image-2.2.3-0.1.fc16.gitd7dbc01.iso mv: cannot stat `ovirt-node-image.iso': No such file or directory make: *** [ovirt-node-image.iso] Error 1 I checked but the file is there: [lid@fc16-lid recipe]$ ls -al /mnt/storage/home/lid/ovirt-cache/node-creator-x86_64-tmp/ovirt-node-image.ks -rw-r--r--. 1 lid Engineering 29910 Feb 13 09:13 /mnt/storage/home/lid/ovirt-cache/node-creator-x86_64-tmp/ovirt-node-image.ks Any clue? - David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Monday, February 13, 2012 7:28 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue On Mon, 2012-02-13 at 07:20 -0800, Li, David wrote:
Hi Mike,
I will also double check my side starting from a new clone. To get all the patches you 've put in for stateless, are these the steps I need to take?
git clone http://gerrit.ovirt.org/p/ovirt-node.git cd ovirt-node
git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/38/1738/3 don't need this one ^^. It's already in master.
git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Monday, February 13, 2012 5:56 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Sat, 2012-02-11 at 07:39 -0800, Li, David wrote:
Mike,
Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth
When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message.
Tried to ssh into the node, but was rejected too:
[xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Hmm, looks like something isn't right with ssh_pwauth then. I'll look into that, but for now, try using rootpw instead of adminpw. Then login as root. Once you're in as root, you can su - admin to go the the TUI (or in this case, get the stack trace for why the TUI is failing).
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name
07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name
a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run
$ git log
and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote: > Mike, > I think I got a glimpse of the error message - something like > "persistent storage not available" after I tried to login with the new passwd. > Does this make sense?
Try this patch with the other one I just sent:
Mike > > David > > > >-----Original Message----- > >From: Mike Burns [mailto:mburns@redhat.com] > >Sent: Friday, February 10, 2012 7:37 AM > >To: Li, David > >Cc: users@ovirt.org > >Subject: RE: [Users] Pxeboot - pwd/login issue > > > >On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: > >> Hi Mike, > >> > >> I ran into the login/pwd problem again with this new build. > >> Kernel option adminpw worked but only for a short time. I > >> was asked to change pwd immediately after login but then > >> rejected again after I did that. > >> There was an short-lived error message on the screen but I > >> wasn't able to capture it. > > > >You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the > >command line. > >This will configure networking and enable SSH password
authentication.
> >Then you can ssh admin@<your host> and it will show you the error. > > > >> > >> I tried the latest from archipel source and it worked > >> without password issue. I pulled it from: > >> > >> git clone https://github.com/primalmotion/Archipel.git > > > >I'm using git://github.com/primalmotion/Node.git > > > >The only differences I see between the 2 are some minor > >formatting and conditional changes in recipe/Makefile.am and a > >couple patches that were pushed since the github repo was > >updated. These patches are all on the gerrit.ovirt.org side. > > > >Note: there is an incompatible change that was merged into > >master this morning. I'm working on a rebase of the archipel > >stuff now to include it. > > > >Mike > > > >> > >> There might be a few updates right after you pulled it last time. > >> > >> Would you mind merge the new updates into ovirt node again? > >> > >> Thanks. > >> > >> David > >> > >> > >> >-----Original Message----- > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >Sent: Thursday, February 09, 2012 5:10 PM > >> >To: Li, David > >> >Cc: Perry Myers; users@ovirt.org > >> >Subject: Re: [Users] Pxeboot > >> > > >> >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: > >> >> Mike, > >> >> Built it finally! > >> >> Thanks a lot! > >> > > >> >Woot! > >> > > >> >> > >> >> >-----Original Message----- > >> >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> >Sent: Thursday, February 09, 2012 4:18 PM > >> >> >To: Li, David > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >Subject: Re: [Users] Pxeboot > >> >> > > >> >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: > >> >> >> MIke, > >> >> >> > >> >> >> Got something new this time in make publish: > >> >> >> > >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' > >> >> >> /bin/sh: -c: line 36: `)' > >> >> >> make[1]: *** [repos.ks] Error 1 > >> >> >> make[1]: Leaving directory > >> >> >> `/home/lid/workspace/ovirt/node-archipel- > >> >> >2.2.2/ovirt-node/recipe' > >> >> >> make: *** [distdir] Error 1 > >> >> >> > >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR > >> >$OVIRT_LOCAL_REPO > >> >> >> /home/lid/ovirt-cache > >> >> >> file:///home/lid/ovirt-cache/ovirt > >> >> >> [lid@FC16-1 ovirt-node]$ > >> >> > > >> >> >Oops, bad merge on my part. > >> >> > > >> >> >$ git reset --hard origin/master #sets you back to head > >> >> >of the master branch $ git fetch > >> >> >http://gerrit.ovirt.org/p/ovirt-node > >> >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # > >> >> >checks out the > >> >new version of the patch set. > >> >> > > >> >> >Mike > >> >> > > >> >> >> > >> >> >> > >> >> >> - David > >> >> >> ________________________________________ > >> >> >> From: Mike Burns [mburns@redhat.com] > >> >> >> Sent: Thursday, February 09, 2012 2:12 PM > >> >> >> To: Li, David > >> >> >> Cc: Perry Myers; users@ovirt.org > >> >> >> Subject: Re: [Users] Pxeboot > >> >> >> > >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: > >> >> >> > Mike, > >> >> >> > > >> >> >> > It seems it needs couple vdsm pkgs: > >> >> >> > > >> >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> > Failed to find package 'vdsm-cli' : No > >> >> >> > package(s) available to install mv > >> >> >> > ovirt-node-image.iso > >> >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> > mv: cannot stat `ovirt-node-image.iso': No such file > >> >> >> > or directory > >> >> >> > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > >> >> >> > > >> >> >> > can I remove them from ks files? > >> >> >> > >> >> >> Not if you want to use ovirt-node with ovirt-engine. > >> >> >> There was a bug in that patch set that is fixed in > >> >> >> patch set 2 (along with the bad ===== package). I > >> >> >> hadn't pulled the patch set together and uploaded to gerrit yet, but it's there now. > >> >> >> > >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD > >> >> >> > >> >> >> This should fix the problem. > >> >> >> > >> >> >> Mike > >> >> >> > >> >> >> > > >> >> >> > - David > >> >> >> > ________________________________________ > >> >> >> > From: Mike Burns [mburns@redhat.com] > >> >> >> > Sent: Thursday, February 09, 2012 12:07 PM > >> >> >> > To: Li, David > >> >> >> > Cc: Perry Myers; users@ovirt.org > >> >> >> > Subject: Re: [Users] Pxeboot > >> >> >> > > >> >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: > >> >> >> > > It's still the same error: > >> >> >> > > > >> >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ > >> >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> > > echo "VERSION=2.2.3" ;\ > >> >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> >> > > ) > version.ks > >> >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> > > Failed to find package '=======' : No package(s) > >> >> >> > > available to install mv ovirt-node-image.iso > >> >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> > > mv: cannot stat `ovirt-node-image.iso': No such > >> >> >> > > file or directory > >> >> >> > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> >> > > [lid@FC16-1 recipe]$ ll > >> >> >> > > /home/lid/ovirt-cache/ovirt/ total > >> >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch > >> >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. > >> >> >> > > 2 lid lid 4096 Feb 9 > >> >> >> > > 11:10 src > >> >> >> > > >> >> >> > That's a bug in the patch. edit > >> >> >> > recipe/common-pkgs.ks and remove the last line which is "=======" > >> >> >> > > >> >> >> > Mike > >> >> >> > > > >> >> >> > > > >> >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? > >> >> >> > > > >> >> >> > > - David > >> >> >> > > ________________________________________ > >> >> >> > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > Sent: Thursday, February 09, 2012 11:44 AM > >> >> >> > > To: Li, David > >> >> >> > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > Subject: RE: [Users] Pxeboot > >> >> >> > > > >> >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: > >> >> >> > > > The error seems a little stubborn. > >> >> >> > > > > >> >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> >> > > > file://home/lid/ovirt-cache/ovirt > >> >> >> > > > >> >> >> > > You need 3 slashes. > >> >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> >> > > > >> >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> > > > echo "VERSION=2.2.3" ;\ > >> >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> >> > > > ) > version.ks > >> >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> >> > > > Unable to download from repo : Cannot retrieve > >> >> >> > > > repository metadata (repomd.xml) for repository: local. > >> >> >> > > > Please verify its path and try again mv > >> >> >> > > > ovirt-node-image.iso > >> >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such > >> >> >> > > > file or directory > >> >> >> > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > > > >> >> >> > > > There is also a pop-up window: Unable to open a > >> >> >> > > > folder for _ovirt-node-imag > >> >> >> > > > > >> >> >> > > > maybe it's looking at the wrong place? > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > - David > >> >> >> > > > ________________________________________ > >> >> >> > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM > >> >> >> > > > To: Li, David > >> >> >> > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > Subject: RE: [Users] Pxeboot > >> >> >> > > > > >> >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: > >> >> >> > > > > ok, that's my bad:) > >> >> >> > > > > > >> >> >> > > > > Ran into error at the last iso build step: > >> >> >> > > > > > >> >> >> > > > > Start building ISO image.... > >> >> >> > > > > ( \ > >> >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> >> > > > > echo "VERSION=2.2.3" ;\ > >> >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ > >> >> >> > > > > ) > version.ks ./node-creator > >> >> >> > > > > ovirt-node-image.ks Error creating Live CD : > >> >> >> > > > > Unable to download from repo : Cannot retrieve > >> >> >> > > > > repository metadata (repomd.xml) for repository: local. > >> >> >> > > > > Please verify its path and try again mv > >> >> >> > > > > ovirt-node-image.iso > >> >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso > >> >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No > >> >> >> > > > > such file or directory > >> >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> >> > > > > >> >> >> > > > IIRC, this is usually because you have > >> >> >> > > > OVIRT_LOCAL_REPO defined, but not correctly. It needs to be like this: > >> >> >> > > > file:///home/mburns/rpmbuild/RPMS > >> >> >> > > > > >> >> >> > > > Ok, I just looked at the Node Building page, and > >> >> >> > > > it needs some > >> >updates. > >> >> >> > > > Try this from the base directory of the git repo > >> >> >> > > > > >> >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache > >> >> >> > > > $ export > >> >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt > >> >> >> > > > $ ./autogen.sh --with-image-minimizer $ make > >> >> >> > > > publish #this builds the rpms and puts them in > >> >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make > >> >> >> > > > ovirt-node-image.iso > >> >> >> > > > > >> >> >> > > > Mike > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > I wonder which repo my machine is lacking? > >> >> >> > > > > > >> >> >> > > > > - David > >> >> >> > > > > ________________________________________ > >> >> >> > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM > >> >> >> > > > > To: Li, David > >> >> >> > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > Subject: Re: [Users] Pxeboot > >> >> >> > > > > > >> >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: > >> >> >> > > > > > Got an error: > >> >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch > >> >> >> > > > > > http://gerrit.ovirt.org/ > >> >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick > >> >> >> > > > > > FETCH_HEAD > >> >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: > >> >> >> > > > > > did you run git > >> >> >update-server-info on the server? > >> >> >> > > > > > >> >> >> > > > > Bad copy/paste: > >> >> >> > > > > > >> >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> >> > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> >> > > > > FETCH_HEAD > >> >> >> > > > > > > >> >> >> > > > > > any ideas? > >> >> >> > > > > > > >> >> >> > > > > > - David > >> >> >> > > > > >
> >> >> >> > > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM > >> >> >> > > > > > To: Li, David > >> >> >> > > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > >> >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: > >> >> >> > > > > > > Mike, > >> >> >> > > > > > > > >> >> >> > > > > > > Two quick questions before I kick off a build: > >> >> >> > > > > > > > >> >> >> > > > > > > 1. Git errors. Do they matter? > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git > >> >> >> > > > > > > clone > >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning > >> >> >into refs/changes/38/1738/1... > >> >> >> > > > > > > remote: Counting objects: 14791, done > >> >> >> > > > > > > remote: Finding sources: 100% > >> >> >> > > > > > > (14791/14791) > >> >> >> > > > > > > remote: Total 14791 (delta 10855), reused > >> >> >> > > > > > > 14778 (delta > >> >> >> > > > > > > 10855) Receiving objects: 100% > >> >> >> > > > > > > (14791/14791), > >> >> >> > > > > > > 16.92 MiB > >> >> >> > > > > > > | 154 > >> >> >KiB/s, done. > >> >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. > >> >> >> > > > > > > fatal: Not a git repository (or any of the > >> >> >> > > > > > > parent > >> >> >> > > > > > > directories): .git > >> >> >> > > > > > > >> >> >> > > > > > try this instead: > >> >> >> > > > > > > >> >> >> > > > > > git clone > >> >> >> > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >> >> > > > > > cd ovirt-node git fetch > >> >> >> > > > > > http://gerrit.ovirt.org/p/ovirt-node > >> >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> >> > > > > > FETCH_HEAD > >> >> >> > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > 2. Build machine. > >> >> >> > > > > > > > >> >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. > >> >> >> > > > > > > My target is > >> >> >x86_64 Intel board. Is this ok? > >> >> >> > > > > > > >> >> >> > > > > > Should be fine. > >> >> >> > > > > > > >> >> >> > > > > > Mike > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > - David > >> >> >> > > > > > >
> >> >> >> > > > > > > From: Mike Burns [mburns@redhat.com] > >> >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM > >> >> >> > > > > > > To: Li, David > >> >> >> > > > > > > Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > Subject: RE: [Users] Pxeboot > >> >> >> > > > > > > > >> >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: > >> >> >> > > > > > > > Not sure where the boot log is since I can't login. > >> >> >> > > > > > > > > >> >> >> > > > > > > > I got the source from > >> >> >> > > > > > > > https://github.com/primalmotion/archipel > >> >> >> > > > > > > > -node and followed the build > >> >> >> > > > > > > > instructions in > >> >> >> > > > > > > > http://ovirt.org/wiki/Node_Building > >> >> >> > > > > > > > > >> >> >> > > > > > > > maybe I should rebuild the iso from the > >> >> >> > > > > > > > ovirt node source tree > >> >> >as you have pulled in archipel changes yesterday. How do I do that? > >> >> >> > > > > > > > >> >> >> > > > > > > git fetch > >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node > >> >> >> > > > > > > refs/changes/38/1738/1 && git checkout > >> >> >> > > > > > > FETCH_HEAD > >> >> >> > > > > > > > >> >> >> > > > > > > That command will checkout the current > >> >> >> > > > > > > version of the archipel-node changes. > >> >> >> > > > > > > Then you can just follow the Node_Building > >> >> >> > > > > > > process. Note that the changes aren't > >> >> >> > > > > > > merged into master yet. I'm still in the > >> >> >> > > > > > > process of reviewing > >> >them. > >> >> >> > > > > > > > >> >> >> > > > > > > Mike > >> >> >> > > > > > > > > >> >> >> > > > > > > > - David > >> >> >> > > > > > > > > >> >> >> > > > > > > > > >> >> >> > > > > > > > >-----Original Message----- > >> >> >> > > > > > > > >From: Mike Burns > >> >> >> > > > > > > > >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 > >> >> >> > > > > > > > >AM > >> >> >> > > > > > > > >To: Li, David > >> >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > > >Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: > >> >> >> > > > > > > > >> Mike, > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> I added adminpw as a kernel option. > >> >> >> > > > > > > > >> After boot, I tried > >> >> >"admin/abc123" > >> >> >> > > > > > > > >> and "root/abc123" but not able to login. > >> >> >> > > > > > > > >> Any idea? > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >Are there any errors in your build or boot logs? > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >Mike > >> >> >> > > > > > > > > > >> >> >> > > > > > > > >> David > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >-----Original Message----- > >> >> >> > > > > > > > >> >From: Mike Burns > >> >> >> > > > > > > > >> >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 > >> >> >> > > > > > > > >> >6:53 PM > >> >> >> > > > > > > > >> >To: Li, David > >> >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, > >> >> >> > > > > > > > >> >Li, David wrote: > >> >> >> > > > > > > > >> >> Ok, I built an iso out of archipel > >> >> >> > > > > > > > >> >> and pxebooted it with stateless > >> >> >> > > > > > > > >> >> option. Now > >> >> >> > > > > > > > >> >I got a "localhost" login prompt. > >> >> >> > > > > > > > >> >Any idea what should I put > >> >> >in as user/pwd? > >> >> >> > > > > > > > >> >> David > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >You will need to pass a password in > >> >> >> > > > > > > > >> >on the command line as well > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >adminpw=<hashed_password> > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >You can generate the hashed password using: > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >$ openssl passwd > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >Assuming the password was abc123 > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >$ openssl passwd abc123 > >> >> >> > > > > > > > >> >tKrQfufCbosr6 > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >Mike > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >-----Original Message----- > >> >> >> > > > > > > > >> >> >From: Mike Burns > >> >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, > >> >> >> > > > > > > > >> >> >2012 4:31 PM > >> >> >> > > > > > > > >> >> >To: Li, David > >> >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 > >> >> >> > > > > > > > >> >> >-0800, Li, David > >wrote: > >> >> >> > > > > > > > >> >> >> Ok, I think we are on the same > >> >> >> > > > > > > > >> >> >> page now regarding > >> >> >stateless node. > >> >> >> > > > > > > > >> >> >> It looks like the achipel diff > >> >> >> > > > > > > > >> >> >> you just pulled in might be > >> >> >> > > > > > > > >> >> >> able to do this. But I can't > >> >> >> > > > > > > > >> >> >> quite make it out what the > >> >> >> > > > > > > > >> >> >> kernel option should > >> >> >> > > > > > > > >be. > >> >> >> > > > > > > > >> >> >> Is it "stateless=1"? > >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> >> David > >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >-----Original Message----- > >> >> >> > > > > > > > >> >> >> >From: Mike Burns > >> >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] > >> >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, > >> >> >> > > > > > > > >> >> >> >2012 > >> >> >> > > > > > > > >> >> >> >3:27 PM > >> >> >> > > > > > > > >> >> >> >To: Li, David > >> >> >> > > > > > > > >> >> >> >Cc: Perry Myers; > >> >> >> > > > > > > > >> >> >> >users@ovirt.org > >> >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 > >> >> >> > > > > > > > >> >> >> >-0800, Li, David > >> >wrote: > >> >> >> > > > > > > > >> >> >> >> Perry, > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. > >> >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to > >> >> >> > > > > > > > >> >> >> >> run the root fs entirely in > >> >> >RAM. > >> >> >> > > > > > > > >> >> >> >> In fact that would > >> >> >> > > > > > > > >> >> >> >be ideal for me. It's just I > >> >> >> > > > > > > > >> >> >> >am not quite sure how to use > >> >> >> > > > > > > > >> >> >> >pxeboot to achieve this. > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> I am doing a test now using > >> >> >> > > > > > > > >> >> >> >> the tftpboot files > >> >> >created from the iso. > >> >> >> > > > > > > > >> >> >> >> As far as I see, the kernel > >> >> >> > > > > > > > >> >> >> >> boot options > >> >> >(pxelinux.cfg/default) has: > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2- 1.1. > >> >> >> > > > > > > > >> >> >> >> fc1 6.i so > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot > >> >> >> > > > > > > > >> >> >> >> to the intall screen. What > >> >> >> > > > > > > > >> >> >> >> should I use to let the > >> >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? > >> >> >> > > > > > > > >> >> >> >Something like > >> >> >> > > > > > > > >root=/dev/ram0? > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> David > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt- node. > >> >> >> > > > > > > > >> >> >> >That's the whole stateless > >> >> >> > > > > > > > >> >> >> >feature that we outlined. > >> >> >> > > > > > > > >> >> >> >Once we actually have it > >> >> >> > > > > > > > >> >> >> >implemented, it will be > >> >> >> > > > > > > > >> >> >> >something along the lines of > >> >> >> > > > > > > > >> >> >> >adding "stateless" to > >> >> >> > > > > > > > >> >> >the kernel commandline. > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> >Mike > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- > >> >> >> > > > > > > > >> >> >> >> >From: Perry Myers > >> >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] > >> >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February > >> >> >> > > > > > > > >> >> >> >> >08, 2012 > >> >> >> > > > > > > > >> >> >> >> >2:54 PM > >> >> >> > > > > > > > >> >> >> >> >To: Mike Burns > >> >> >> > > > > > > > >> >> >> >> >Cc: Li, David; > >> >> >> > > > > > > > >> >> >> >> >users@ovirt.org > >> >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] > >> >> >> > > > > > > > >> >> >> >> >Pxeboot > >> >> >> > > > > > > > >> >> >> >> > > >> >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, > >> >> >> > > > > > > > >> >> >> >> >Mike Burns wrote: > >> >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at > >> >> >> > > > > > > > >> >> >> >> >> 13:46 -0800, Li, David > >> >> >wrote: > >> >> >> > > > > > > > >> >> >> >> >>> Mike, > >> >> >> > > > > > > > >> >> >> >> >>> > >> >> >> > > > > > > > >> >> >> >> >>> If I understand this > >> >> >> > > > > > > > >> >> >> >> >>> correctly, today I > >> >> >> > > > > > > > >> >> >> >> >>> should be able to > >> >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount > >> >> >> > > > > > > > >> >> >> >> >>> the > >> >> >root fs from a remote server. > >> >> >> > > > > > > > >> >> >> >> >>> Apart from setting up > >> >> >> > > > > > > > >> >> >> >> >>> the pxe stuff, I 'd have > >> >> >> > > > > > > > >> >> >> >> >>> to populate the ovirt > >> >> >> > > > > > > > >> >> >> >> >>> node root fs on the > >> >> >> > > > > > > > >> >> >> >> >>> server > >> >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. > >> >> >> > > > > > > > >> >> >> >> >>> In other words I am > >> >> >> > > > > > > > >> >> >> >> >>> concerned about the > >> >> >> > > > > > > > >> >> >> >> >>> point from which the > >> >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute > >> >> >> > > > > > > > >> >> >> >> >>> /init script (in the > >> >> >> > > > > > > > >> >> >> >> >>> initramfs) to the > >> >> >point /init is able to mount the final root fs from a remote server. > >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to > >> >> >> > > > > > > > >> >> >> >> >> set this up currently in > >> >> >ovirt-node. > >> >> >> > > > > > > > >> >> >> >> >> You could install using a > >> >> >> > > > > > > > >> >> >> >> >> remote iscsi lun if you > >> >> >> > > > > > > > >> >> >> >> >> have a hardware iscsi > >> >> >> > > > > > > > >> >> >> >> >> HBA, but there isn't a > >> >> >> > > > > > > > >> >> >> >> >> way to mount a remote nfs > >> >> >> > > > > > > > >> >> >> >> >> share as the > >> >> >> > > > > > > > >> >> >root fs. > >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS > >> >> >> > > > > > > > >> >> >> >> >> share as the root fs > >> >> >> > > > > > > > >> >> >> >> >> isn't even something that > >> >> >> > > > > > > > >> >> >> >> >> requested as an RFE at > >> >> >> > > > > > > > >> >> >> >> >> this point or on the > >> >> >> > > > > > > > >> >> >> >> >> roadmap as far as > >> >> >I'm aware. > >> >> >> > > > > > > > >> >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> It sounds like what > >> >> >> > > > > > > > >> >> >> >> >> you're really looking for > >> >> >> > > > > > > > >> >> >> >> >> is a shared root fs that multiple hosts could use. > >> >> >> > > > > > > > >> >> >> >> >> This is something that we > >> >> >> > > > > > > > >> >> >> >> >> will probably look into > >> >> >> > > > > > > > >> >> >> >> >> eventually, but it's not > >> >> >> > > > > > > > >> >> >> >> >> on the immediate > >> >> >> > > > > > > > >> >> >roadmap. > >> >> >> > > > > > > > >> >> >> >> > > >> >> >> > > > > > > > >> >> >> >> >Given that the rootfs of > >> >> >> > > > > > > > >> >> >> >> >oVirt Node is fairly small > >> >> >> > > > > > > > >> >> >> >> >and in a truly stateless > >> >> >> > > > > > > > >> >> >> >> >environment would just run > >> >> >> > > > > > > > >> >> >> >> >out of system RAM, there's > >> >> >> > > > > > > > >> >> >> >> >no real reason to try to do > >> >> >> > > > > > > > >> >> >> >> >a shared NFS based > >> >> >> > > > > > > > >rootfs. > >> >> >> > > > > > > > >> >> >> >> >It's an unnecessary > >> >> >> > > > > > > > >> >> >> >> >complication I think, if > >> >> >> > > > > > > > >> >> >> >> >the end goal is to move to > >> >> >> > > > > > > > >> >> >> >> >truly > >> >> >> > > > > > > > >> >> >> >stateless. > >> >> >> > > > > > > > >> >> >> >> > > >> >> >> > > > > > > > >> >> >> >> >For larger systems where > >> >> >> > > > > > > > >> >> >> >> >the rootfs is on the order > >> >> >> > > > > > > > >> >> >> >> >of GB's, shared root may > >> >> >> > > > > > > > >> >> >> >> >make more > >> >> >sense. > >> >> >> > > > > > > > >> >> >> >> > >> >> >____________________________________________ > >> >> >> > > > > > > > >> >> >> >> ___ Users mailing list > >> >> >> > > > > > > > >> >> >> >> Users@ovirt.org > >> >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailm > >> >> >> > > > > > > > >> >> >> >> an/list inf o/u ser s > >> >> >> > > > > > > > >> >> >> > > >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> > > >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> > >> >> >_______________________________________________ > >> >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org > >> >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/lis > >> >> >> > > > > > > > >> >> tinfo/user > >> >> >> > > > > > > > >> >> s > >> >> >> > > > > > > > >> > > >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> > >> >> >_______________________________________________ > >> >> >> > > > > > > > >> Users mailing list Users@ovirt.org > >> >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listin > >> >> >> > > > > > > > >> fo/users > >> >> >> > > > > > > > > > >> >> >> > > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >_______________________________________________ > >> >> >> > > > > > > Users mailing list Users@ovirt.org > >> >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/us > >> >> >> > > > > > > ers > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >_______________________________________________ > >> >> >> > > > > > Users mailing list Users@ovirt.org > >> >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/user > >> >> >> > > > > > s > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > >> >> >> > > > >> >> >> > >
> >> >> >> > > Users mailing list Users@ovirt.org > >> >> >> > > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> > > >> >> >> > > >> >> >> >
> >> >> >> > Users mailing list > >> >> >> > Users@ovirt.org > >> >> >> > http://lists.ovirt.org/mailman/listinfo/users > >> >> >> > >> >> >> > >> >> >>
> >> >> >> Users mailing list > >> >> >> Users@ovirt.org > >> >> >> http://lists.ovirt.org/mailman/listinfo/users > >> >> > > >> >> > >> >> _______________________________________________ > >> >> Users mailing list > >> >> Users@ovirt.org > >> >> http://lists.ovirt.org/mailman/listinfo/users > >> > > >> > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Mike, Root pwd worked. Ssh is still broken. su - admin produced an error message - too fast to be caputured with my eyes. It seemed simiar to the one before. ssh admin@ip also failed: ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 0b:e5:90:dd:68:15:e5:f4:d5:3c:34:83:b8:77:f4:a3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). - David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Monday, February 13, 2012 5:55 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue On Sat, 2012-02-11 at 07:39 -0800, Li, David wrote:
Mike,
Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth
When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message.
Tried to ssh into the node, but was rejected too:
[xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Hmm, looks like something isn't right with ssh_pwauth then. I'll look into that, but for now, try using rootpw instead of adminpw. Then login as root. Once you're in as root, you can su - admin to go the the TUI (or in this case, get the stack trace for why the TUI is failing). Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name 07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run
$ git log
and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote:
Mike, I think I got a glimpse of the error message - something like "persistent storage not available" after I tried to login with the new passwd. Does this make sense?
Try this patch with the other one I just sent:
Mike
David
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 7:37 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: > Hi Mike, > > I ran into the login/pwd problem again with this new build. Kernel > option adminpw worked but only for a short time. I was asked to > change pwd immediately after login but then rejected again after I did
> There was an short-lived error message on the screen but I wasn't > able to capture it.
You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the command
This will configure networking and enable SSH password authentication. Then you can ssh admin@<your host> and it will show you the error.
> > I tried the latest from archipel source and it worked without > password issue. I pulled it from: > > git clone https://github.com/primalmotion/Archipel.git
I'm using git://github.com/primalmotion/Node.git
The only differences I see between the 2 are some minor formatting and conditional changes in recipe/Makefile.am and a couple patches that were pushed since the github repo was updated. These patches are all on the gerrit.ovirt.org side.
Note: there is an incompatible change that was merged into master this morning. I'm working on a rebase of the archipel stuff now to include it.
Mike
> > There might be a few updates right after you pulled it last time. > > Would you mind merge the new updates into ovirt node again? > > Thanks. > > David > > > >-----Original Message----- > >From: Mike Burns [mailto:mburns@redhat.com] > >Sent: Thursday, February 09, 2012 5:10 PM > >To: Li, David > >Cc: Perry Myers; users@ovirt.org > >Subject: Re: [Users] Pxeboot > > > >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: > >> Mike, > >> Built it finally! > >> Thanks a lot! > > > >Woot! > > > >> > >> >-----Original Message----- > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >Sent: Thursday, February 09, 2012 4:18 PM > >> >To: Li, David > >> >Cc: Perry Myers; users@ovirt.org > >> >Subject: Re: [Users] Pxeboot > >> > > >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: > >> >> MIke, > >> >> > >> >> Got something new this time in make publish: > >> >> > >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' > >> >> /bin/sh: -c: line 36: `)' > >> >> make[1]: *** [repos.ks] Error 1 > >> >> make[1]: Leaving directory > >> >> `/home/lid/workspace/ovirt/node-archipel- > >> >2.2.2/ovirt-node/recipe' > >> >> make: *** [distdir] Error 1 > >> >> > >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR > >$OVIRT_LOCAL_REPO > >> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt > >> >> [lid@FC16-1 ovirt-node]$ > >> > > >> >Oops, bad merge on my part. > >> > > >> >$ git reset --hard origin/master #sets you back to head of the > >> >master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks > >> >out the > >new version of the patch set. > >> > > >> >Mike > >> > > >> >> > >> >> > >> >> - David > >> >> ________________________________________ > >> >> From: Mike Burns [mburns@redhat.com] > >> >> Sent: Thursday, February 09, 2012 2:12 PM > >> >> To: Li, David > >> >> Cc: Perry Myers; users@ovirt.org > >> >> Subject: Re: [Users] Pxeboot > >> >> > >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: > >> >> > Mike, > >> >> > > >> >> > It seems it needs couple vdsm pkgs: > >> >> > > >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > Failed to find package 'vdsm-cli' : No > >> >> > package(s) available to install mv ovirt-node-image.iso > >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> > directory > >> >> > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > >> >> > > >> >> > can I remove them from ks files? > >> >> > >> >> Not if you want to use ovirt-node with ovirt-engine. There > >> >> was a bug in that patch set that is fixed in patch set 2 > >> >> (along with the bad ===== package). I hadn't pulled the > >> >> patch set together and uploaded to gerrit yet, but it's there now. > >> >> > >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD > >> >> > >> >> This should fix the problem. > >> >> > >> >> Mike > >> >> > >> >> > > >> >> > - David > >> >> > ________________________________________ > >> >> > From: Mike Burns [mburns@redhat.com] > >> >> > Sent: Thursday, February 09, 2012 12:07 PM > >> >> > To: Li, David > >> >> > Cc: Perry Myers; users@ovirt.org > >> >> > Subject: Re: [Users] Pxeboot > >> >> > > >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: > >> >> > > It's still the same error: > >> >> > > > >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ > >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> > > echo "VERSION=2.2.3" ;\ > >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> > > ) > version.ks > >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > > Failed to find package '=======' : No package(s) > >> >> > > available to install mv ovirt-node-image.iso > >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> > > directory > >> >> > > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> > > file:///home/lid/ovirt-cache/ovirt > >> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ > >> >> > > total > >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch > >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. > >> >> > > 2 lid lid 4096 Feb 9 > >> >> > > 11:10 src > >> >> > > >> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and > >> >> > remove the last line which is "=======" > >> >> > > >> >> > Mike > >> >> > > > >> >> > > > >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? > >> >> > > > >> >> > > - David > >> >> > > ________________________________________ > >> >> > > From: Mike Burns [mburns@redhat.com] > >> >> > > Sent: Thursday, February 09, 2012 11:44 AM > >> >> > > To: Li, David > >> >> > > Cc: Perry Myers; users@ovirt.org > >> >> > > Subject: RE: [Users] Pxeboot > >> >> > > > >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: > >> >> > > > The error seems a little stubborn. > >> >> > > > > >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO > >> >> > > > file://home/lid/ovirt-cache/ovirt > >> >> > > > >> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt > >> >> > > > >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ > >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> > > > echo "VERSION=2.2.3" ;\ > >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ > >> >> > > > ) > version.ks > >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > > > Unable to download from repo : Cannot retrieve > >> >> > > > repository metadata (repomd.xml) for repository: local. > >> >> > > > Please verify its path and try again mv > >> >> > > > ovirt-node-image.iso > >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso > >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or > >> >> > > > directory > >> >> > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > > > >> >> > > > There is also a pop-up window: Unable to open a folder > >> >> > > > for _ovirt-node-imag > >> >> > > > > >> >> > > > maybe it's looking at the wrong place? > >> >> > > > > >> >> > > > > >> >> > > > - David > >> >> > > > ________________________________________ > >> >> > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM > >> >> > > > To: Li, David > >> >> > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > Subject: RE: [Users] Pxeboot > >> >> > > > > >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: > >> >> > > > > ok, that's my bad:) > >> >> > > > > > >> >> > > > > Ran into error at the last iso build step: > >> >> > > > > > >> >> > > > > Start building ISO image.... > >> >> > > > > ( \ > >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ > >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ > >> >> > > > > echo "VERSION=2.2.3" ;\ > >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ > >> >> > > > > ) > version.ks > >> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD : > >> >> > > > > Unable to download from repo : Cannot retrieve > >> >> > > > > repository metadata (repomd.xml) for repository: local. > >> >> > > > > Please verify its path and try again mv > >> >> > > > > ovirt-node-image.iso > >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso > >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file > >> >> > > > > or directory > >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 > >> >> > > > > >> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO > >> >> > > > defined, but not correctly. It needs to be like this: > >> >> > > > file:///home/mburns/rpmbuild/RPMS > >> >> > > > > >> >> > > > Ok, I just looked at the Node Building page, and it > >> >> > > > needs some > >updates. > >> >> > > > Try this from the base directory of the git repo > >> >> > > > > >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache > >> >> > > > $ export > >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt > >> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish > >> >> > > > #this builds the rpms and puts them in > >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make > >> >> > > > ovirt-node-image.iso > >> >> > > > > >> >> > > > Mike > >> >> > > > > > >> >> > > > > > >> >> > > > > > >> >> > > > > I wonder which repo my machine is lacking? > >> >> > > > > > >> >> > > > > - David > >> >> > > > > ________________________________________ > >> >> > > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM > >> >> > > > > To: Li, David > >> >> > > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > > Subject: Re: [Users] Pxeboot > >> >> > > > > > >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: > >> >> > > > > > Got an error: > >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch > >> >> > > > > > http://gerrit.ovirt.org/ > >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD > >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: > >> >> > > > > > did you run git > >> >update-server-info on the server? > >> >> > > > > > >> >> > > > > Bad copy/paste: > >> >> > > > > > >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD > >> >> > > > > > > >> >> > > > > > any ideas? > >> >> > > > > > > >> >> > > > > > - David > >> >> > > > > > ________________________________________ > >> >> > > > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM > >> >> > > > > > To: Li, David > >> >> > > > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > > > Subject: Re: [Users] Pxeboot > >> >> > > > > > > >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: > >> >> > > > > > > Mike, > >> >> > > > > > > > >> >> > > > > > > Two quick questions before I kick off a build: > >> >> > > > > > > > >> >> > > > > > > 1. Git errors. Do they matter? > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone > >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git > >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into > >> >refs/changes/38/1738/1... > >> >> > > > > > > remote: Counting objects: 14791, done > >> >> > > > > > > remote: Finding sources: 100% (14791/14791) > >> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 > >> >> > > > > > > (delta > >> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), > >> >> > > > > > > 16.92 MiB > >> >> > > > > > > | 154 > >> >KiB/s, done. > >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. > >> >> > > > > > > fatal: Not a git repository (or any of the parent > >> >> > > > > > > directories): .git > >> >> > > > > > > >> >> > > > > > try this instead: > >> >> > > > > > > >> >> > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git > >> >> > > > > > cd ovirt-node > >> >> > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick > >> >> > > > > > FETCH_HEAD > >> >> > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > 2. Build machine. > >> >> > > > > > > > >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. > >> >> > > > > > > My target is > >> >x86_64 Intel board. Is this ok? > >> >> > > > > > > >> >> > > > > > Should be fine. > >> >> > > > > > > >> >> > > > > > Mike > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > - David > >> >> > > > > > > ________________________________________ > >> >> > > > > > > From: Mike Burns [mburns@redhat.com] > >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM > >> >> > > > > > > To: Li, David > >> >> > > > > > > Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > Subject: RE: [Users] Pxeboot > >> >> > > > > > > > >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: > >> >> > > > > > > > Not sure where the boot log is since I can't login. > >> >> > > > > > > > > >> >> > > > > > > > I got the source from > >> >> > > > > > > > https://github.com/primalmotion/archipel-node > >> >> > > > > > > > and followed the build instructions in > >> >> > > > > > > > http://ovirt.org/wiki/Node_Building > >> >> > > > > > > > > >> >> > > > > > > > maybe I should rebuild the iso from the ovirt > >> >> > > > > > > > node source tree > >> >as you have pulled in archipel changes yesterday. How do I do that? > >> >> > > > > > > > >> >> > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node > >> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD > >> >> > > > > > > > >> >> > > > > > > That command will checkout the current version of > >> >> > > > > > > the archipel-node changes. Then you can just > >> >> > > > > > > follow the Node_Building process. Note that the > >> >> > > > > > > changes aren't merged into master yet. I'm still > >> >> > > > > > > in the process of reviewing > >them. > >> >> > > > > > > > >> >> > > > > > > Mike > >> >> > > > > > > > > >> >> > > > > > > > - David > >> >> > > > > > > > > >> >> > > > > > > > > >> >> > > > > > > > >-----Original Message----- > >> >> > > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] > >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM > >> >> > > > > > > > >To: Li, David > >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > > > >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: > >> >> > > > > > > > >> Mike, > >> >> > > > > > > > >> > >> >> > > > > > > > >> I added adminpw as a kernel option. After > >> >> > > > > > > > >> boot, I tried > >> >"admin/abc123" > >> >> > > > > > > > >> and "root/abc123" but not able to login. > >> >> > > > > > > > >> Any idea? > >> >> > > > > > > > >> > >> >> > > > > > > > > > >> >> > > > > > > > >Are there any errors in your build or boot logs? > >> >> > > > > > > > > > >> >> > > > > > > > >Mike > >> >> > > > > > > > > > >> >> > > > > > > > >> David > >> >> > > > > > > > >> > >> >> > > > > > > > >> > >> >> > > > > > > > >> >-----Original Message----- > >> >> > > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] > >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM > >> >> > > > > > > > >> >To: Li, David > >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David wrote: > >> >> > > > > > > > >> >> Ok, I built an iso out of archipel and > >> >> > > > > > > > >> >> pxebooted it with stateless option. Now > >> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea > >> >> > > > > > > > >> >what should I put > >> >in as user/pwd? > >> >> > > > > > > > >> >> David > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >You will need to pass a password in on the > >> >> > > > > > > > >> >command line as well > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >adminpw=<hashed_password> > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >You can generate the hashed password using: > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >$ openssl passwd > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >Assuming the password was abc123 > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >$ openssl passwd abc123 > >> >> > > > > > > > >> >tKrQfufCbosr6 > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >Mike > >> >> > > > > > > > >> > > >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> >-----Original Message----- > >> >> > > > > > > > >> >> >From: Mike Burns > >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] > >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 > >> >> > > > > > > > >> >> >PM > >> >> > > > > > > > >> >> >To: Li, David > >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, > >> >> > > > > > > > >> >> >David wrote: > >> >> > > > > > > > >> >> >> Ok, I think we are on the same page > >> >> > > > > > > > >> >> >> now regarding > >> >stateless node. > >> >> > > > > > > > >> >> >> It looks like the achipel diff you > >> >> > > > > > > > >> >> >> just pulled in might be able to do > >> >> > > > > > > > >> >> >> this. But I can't quite make it out > >> >> > > > > > > > >> >> >> what the kernel option should > >> >> > > > > > > > >be. > >> >> > > > > > > > >> >> >> Is it "stateless=1"? > >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> >> David > >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> >> >-----Original Message----- > >> >> > > > > > > > >> >> >> >From: Mike Burns > >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] > >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 > >> >> > > > > > > > >> >> >> >3:27 PM > >> >> > > > > > > > >> >> >> >To: Li, David > >> >> > > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org > >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, > >> >> > > > > > > > >> >> >> >Li, David > >wrote: > >> >> > > > > > > > >> >> >> >> Perry, > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> I am glad you brought this up. > >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the > >> >> > > > > > > > >> >> >> >> root fs entirely in > >> >RAM. > >> >> > > > > > > > >> >> >> >> In fact that would > >> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not > >> >> > > > > > > > >> >> >> >quite sure how to use pxeboot to achieve
that. line. this.
> >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> I am doing a test now using the > >> >> > > > > > > > >> >> >> >> tftpboot files > >> >created from the iso. > >> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot > >> >> > > > > > > > >> >> >> >> options > >> >(pxelinux.cfg/default) has: > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1. > >> >> > > > > > > > >> >> >> >> fc1 6.i so > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the > >> >> > > > > > > > >> >> >> >> intall screen. What should I use > >> >> > > > > > > > >> >> >> >> to let the > >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? > >> >> > > > > > > > >> >> >> >Something like > >> >> > > > > > > > >root=/dev/ram0? > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> David > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node. > >> >> > > > > > > > >> >> >> >That's the whole stateless feature > >> >> > > > > > > > >> >> >> >that we outlined. Once we actually > >> >> > > > > > > > >> >> >> >have it implemented, it will be > >> >> > > > > > > > >> >> >> >something along the lines of adding > >> >> > > > > > > > >> >> >> >"stateless" to > >> >> > > > > > > > >> >> >the kernel commandline. > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> >Mike > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> > >> >> > > > > > > > >> >> >> >> >-----Original Message----- > >> >> > > > > > > > >> >> >> >> >From: Perry Myers > >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] > >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 > >> >> > > > > > > > >> >> >> >> >2:54 PM > >> >> > > > > > > > >> >> >> >> >To: Mike Burns > >> >> > > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org > >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot > >> >> > > > > > > > >> >> >> >> > > >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote: > >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 > >> >> > > > > > > > >> >> >> >> >> -0800, Li, David > >> >wrote: > >> >> > > > > > > > >> >> >> >> >>> Mike, > >> >> > > > > > > > >> >> >> >> >>> > >> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, > >> >> > > > > > > > >> >> >> >> >>> today I should be able to > >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount the > >> >root fs from a remote server. > >> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe > >> >> > > > > > > > >> >> >> >> >>> stuff, I 'd have to populate > >> >> > > > > > > > >> >> >> >> >>> the ovirt node root fs on the > >> >> > > > > > > > >> >> >> >> >>> server > >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. > >> >> > > > > > > > >> >> >> >> >>> In other words I am concerned > >> >> > > > > > > > >> >> >> >> >>> about the point from which the > >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute /init > >> >> > > > > > > > >> >> >> >> >>> script (in the initramfs) to > >> >> > > > > > > > >> >> >> >> >>> the > >> >point /init is able to mount the final root fs from a remote server. > >> >> > > > > > > > >> >> >> >> >> > >> >> > > > > > > > >> >> >> >> >> No, there is no way to set this > >> >> > > > > > > > >> >> >> >> >> up currently in > >> >ovirt-node. > >> >> > > > > > > > >> >> >> >> >> You could install using a remote > >> >> > > > > > > > >> >> >> >> >> iscsi lun if you have a hardware > >> >> > > > > > > > >> >> >> >> >> iscsi HBA, but there isn't a way > >> >> > > > > > > > >> >> >> >> >> to mount a remote nfs share as > >> >> > > > > > > > >> >> >> >> >> the > >> >> > > > > > > > >> >> >root fs. > >> >> > > > > > > > >> >> >> >> >> > >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as > >> >> > > > > > > > >> >> >> >> >> the root fs isn't even something > >> >> > > > > > > > >> >> >> >> >> that requested as an RFE at this > >> >> > > > > > > > >> >> >> >> >> point or on the roadmap as far > >> >> > > > > > > > >> >> >> >> >> as > >> >I'm aware. > >> >> > > > > > > > >> >> >> >> >> > >> >> > > > > > > > >> >> >> >> >> It sounds like what you're > >> >> > > > > > > > >> >> >> >> >> really looking for is a shared > >> >> > > > > > > > >> >> >> >> >> root fs that multiple hosts could use. > >> >> > > > > > > > >> >> >> >> >> This is something that we will > >> >> > > > > > > > >> >> >> >> >> probably look into eventually, > >> >> > > > > > > > >> >> >> >> >> but it's not on the immediate > >> >> > > > > > > > >> >> >roadmap. > >> >> > > > > > > > >> >> >> >> > > >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt > >> >> > > > > > > > >> >> >> >> >Node is fairly small and in a > >> >> > > > > > > > >> >> >> >> >truly stateless environment would > >> >> > > > > > > > >> >> >> >> >just run out of system RAM, > >> >> > > > > > > > >> >> >> >> >there's no real reason to try to > >> >> > > > > > > > >> >> >> >> >do a shared NFS based > >> >> > > > > > > > >rootfs. > >> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I > >> >> > > > > > > > >> >> >> >> >think, if the end goal is to move > >> >> > > > > > > > >> >> >> >> >to truly > >> >> > > > > > > > >> >> >> >stateless. > >> >> > > > > > > > >> >> >> >> > > >> >> > > > > > > > >> >> >> >> >For larger systems where the > >> >> > > > > > > > >> >> >> >> >rootfs is on the order of GB's, > >> >> > > > > > > > >> >> >> >> >shared root may make more > >> >sense. > >> >> > > > > > > > >> >> >> >> > >> >____________________________________________ > >> >> > > > > > > > >> >> >> >> ___ Users mailing list > >> >> > > > > > > > >> >> >> >> Users@ovirt.org > >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/list > >> >> > > > > > > > >> >> >> >> inf o/u ser s > >> >> > > > > > > > >> >> >> > > >> >> > > > > > > > >> >> >> > >> >> > > > > > > > >> >> > > >> >> > > > > > > > >> >> > >> >> > > > > > > > >> >> > >> >_______________________________________________ > >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org > >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/user > >> >> > > > > > > > >> >> s > >> >> > > > > > > > >> > > >> >> > > > > > > > >> > >> >> > > > > > > > >> > >> >_______________________________________________ > >> >> > > > > > > > >> Users mailing list Users@ovirt.org > >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users > >> >> > > > > > > > > > >> >> > > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > > _______________________________________________ > >> >> > > > > > > Users mailing list > >> >> > > > > > > Users@ovirt.org > >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/users > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > _______________________________________________ > >> >> > > > > > Users mailing list > >> >> > > > > > Users@ovirt.org > >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/users > >> >> > > > > > >> >> > > > > > >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > > _______________________________________________ > >> >> > > Users mailing list > >> >> > > Users@ovirt.org > >> >> > > http://lists.ovirt.org/mailman/listinfo/users > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > Users mailing list > >> >> > Users@ovirt.org > >> >> > http://lists.ovirt.org/mailman/listinfo/users > >> >> > >> >> > >> >> _______________________________________________ > >> >> Users mailing list > >> >> Users@ovirt.org > >> >> http://lists.ovirt.org/mailman/listinfo/users > >> > > >> > >> _______________________________________________ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, 2012-02-13 at 11:13 -0800, Li, David wrote:
Mike,
Root pwd worked. Ssh is still broken.
Haven't looked at ssh yet, but I will.
su - admin produced an error message - too fast to be caputured with my eyes. It seemed simiar to the one before. ssh admin@ip also failed:
ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 0b:e5:90:dd:68:15:e5:f4:d5:3c:34:83:b8:77:f4:a3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Take your current git repository, and run: git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/80/1880/1 && git cherry-pick FETCH_HEAD That will get you a fix for the TUI to work in stateless. Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Monday, February 13, 2012 5:55 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Sat, 2012-02-11 at 07:39 -0800, Li, David wrote:
Mike,
Tried the new ssh patch and the problem still there. Both options were used BOOTIF and ssh_pwauth
When I logged in first time and changed pwd, any subsequent logins were rejected. Again I couldn't capture the error message.
Tried to ssh into the node, but was rejected too:
[xxx oVirtNode]# ssh admin@192.168.36.114 The authenticity of host '192.168.36.114 (192.168.36.114)' can't be established. RSA key fingerprint is 23:6f:98:80:80:ec:d7:bb:e5:2a:02:59:93:85:38:39. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.36.114' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Hmm, looks like something isn't right with ssh_pwauth then. I'll look into that, but for now, try using rootpw instead of adminpw. Then login as root. Once you're in as root, you can su - admin to go the the TUI (or in this case, get the stack trace for why the TUI is failing).
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:34 AM To: Li, David Cc: users@ovirt.org Subject: RE: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:22 -0800, Li, David wrote:
ok, I have already patched like this. Hope this is ok:
[lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git checkout FETCH_HEAD remote: Counting objects: 57, done remote: Finding sources: 100% (39/39) remote: Total 39 (delta 28), reused 39 (delta 28) Unpacking objects: 100% (39/39), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/07/1807/1 -> FETCH_HEAD Warning: you are leaving 1 commit behind, not connected to any of your branches:
07d8a0f Add archipel option with stateless boot
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name 07d8a0fc5007c5f74f9421b7a565cd2db2d9e772
HEAD is now at a94c33c... fix ssh_pwauth handling in autoinstall [lid@FC16-1 ovirt-node]$ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git checkout FETCH_HEAD remote: Counting objects: 62, done remote: Finding sources: 100% (44/44) remote: Total 44 (delta 32), reused 44 (delta 32) Unpacking objects: 100% (44/44), done. From http://gerrit.ovirt.org/p/ovirt-node * branch refs/changes/08/1808/1 -> FETCH_HEAD Warning: you are leaving 5 commits behind, not connected to any of your branches:
a94c33c fix ssh_pwauth handling in autoinstall 893a095 Add archipel option with stateless boot a1053cb regenerate repos.ks when building iso 237870c Add network configure before dropping into emergency shell 5bb3613 add error handling to recent rhn.py commit
If you want to keep them by creating a new branch, this may be a good time to do so with:
git branch new_branch_name a94c33c6d0957391a48ab0cd2e78e4a15e5ad80e
HEAD is now at 3daa6d3... when stateless, don't execute store_config and remove_config [lid@FC16-1 ovirt-node]$
I *think* you're ok, because I pushed the commits such that this last command should get both. The way to check is to run
$ git log
and look at the commits in the log. You should see both the commits "fix ssh_pwauth handling..." and "when stateless..." commits at the top of the log.
ONE MORE QUESTION: do I need to run 'make publish' before make iso?
Yes, always rerun make publish. In general, I'd say rerun the autogen.sh too, but in this case you're fine.
Mike
- David ________________________________________ From: Mike Burns [mburns@redhat.com] Sent: Friday, February 10, 2012 11:19 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 11:09 -0800, Li, David wrote:
Ok, what's the right cmd to get both? Do I have to start from scratch?
No need to start from scratch.
First, figure out the name of the remote. $ git remote show It will most likely return just one entry, and it's probably named origin. If it's something other than origin, then just substitute in the following commands:
$ git fetch origin $ git reset --hard origin/master $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/07/1807/1 && git cherry-pick FETCH_HEAD $ git fetch http://gerrit.ovirt.org/p/ovirt-node refs/changes/08/1808/1 && git cherry-pick FETCH_HEAD
$ git status # should show something like: # On branch master # Your branch is ahead of 'origin/master' by 2 commits.
Now you should be good to build.
Mike
-----Original Message----- From: Mike Burns [mailto:mburns@redhat.com] Sent: Friday, February 10, 2012 11:01 AM To: Li, David Cc: users@ovirt.org Subject: Re: [Users] Pxeboot - pwd/login issue
On Fri, 2012-02-10 at 10:49 -0800, Li, David wrote:
Mike, I think I got a glimpse of the error message - something like "persistent storage not available" after I tried to login with the new passwd. Does this make sense?
Try this patch with the other one I just sent:
Mike
David
>-----Original Message----- >From: Mike Burns [mailto:mburns@redhat.com] >Sent: Friday, February 10, 2012 7:37 AM >To: Li, David >Cc: users@ovirt.org >Subject: RE: [Users] Pxeboot - pwd/login issue > >On Fri, 2012-02-10 at 07:17 -0800, Li, David wrote: >> Hi Mike, >> >> I ran into the login/pwd problem again with this new build. Kernel >> option adminpw worked but only for a short time. I was asked to >> change pwd immediately after login but then rejected again after I did
>> There was an short-lived error message on the screen but I wasn't >> able to capture it. > >You can try booting with "BOOTIF=eth0 ssh_pwauth=1" in the command
>This will configure networking and enable SSH password authentication. >Then you can ssh admin@<your host> and it will show you the error. > >> >> I tried the latest from archipel source and it worked without >> password issue. I pulled it from: >> >> git clone https://github.com/primalmotion/Archipel.git > >I'm using git://github.com/primalmotion/Node.git > >The only differences I see between the 2 are some minor formatting >and conditional changes in recipe/Makefile.am and a couple patches >that were pushed since the github repo was updated. These patches >are all on the gerrit.ovirt.org side. > >Note: there is an incompatible change that was merged into master >this morning. I'm working on a rebase of the archipel stuff now to include it. > >Mike > >> >> There might be a few updates right after you pulled it last time. >> >> Would you mind merge the new updates into ovirt node again? >> >> Thanks. >> >> David >> >> >> >-----Original Message----- >> >From: Mike Burns [mailto:mburns@redhat.com] >> >Sent: Thursday, February 09, 2012 5:10 PM >> >To: Li, David >> >Cc: Perry Myers; users@ovirt.org >> >Subject: Re: [Users] Pxeboot >> > >> >On Thu, 2012-02-09 at 17:05 -0800, Li, David wrote: >> >> Mike, >> >> Built it finally! >> >> Thanks a lot! >> > >> >Woot! >> > >> >> >> >> >-----Original Message----- >> >> >From: Mike Burns [mailto:mburns@redhat.com] >> >> >Sent: Thursday, February 09, 2012 4:18 PM >> >> >To: Li, David >> >> >Cc: Perry Myers; users@ovirt.org >> >> >Subject: Re: [Users] Pxeboot >> >> > >> >> >On Thu, 2012-02-09 at 15:50 -0800, Li, David wrote: >> >> >> MIke, >> >> >> >> >> >> Got something new this time in make publish: >> >> >> >> >> >> /bin/sh: -c: line 36: syntax error near unexpected token `)' >> >> >> /bin/sh: -c: line 36: `)' >> >> >> make[1]: *** [repos.ks] Error 1 >> >> >> make[1]: Leaving directory >> >> >> `/home/lid/workspace/ovirt/node-archipel- >> >> >2.2.2/ovirt-node/recipe' >> >> >> make: *** [distdir] Error 1 >> >> >> >> >> >> [lid@FC16-1 ovirt-node]$ echo $OVIRT_CACHE_DIR >> >$OVIRT_LOCAL_REPO >> >> >> /home/lid/ovirt-cache file:///home/lid/ovirt-cache/ovirt >> >> >> [lid@FC16-1 ovirt-node]$ >> >> > >> >> >Oops, bad merge on my part. >> >> > >> >> >$ git reset --hard origin/master #sets you back to head of the >> >> >master branch $ git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >refs/changes/38/1738/3 && git cherry-pick FETCH_HEAD # checks >> >> >out the >> >new version of the patch set. >> >> > >> >> >Mike >> >> > >> >> >> >> >> >> >> >> >> - David >> >> >> ________________________________________ >> >> >> From: Mike Burns [mburns@redhat.com] >> >> >> Sent: Thursday, February 09, 2012 2:12 PM >> >> >> To: Li, David >> >> >> Cc: Perry Myers; users@ovirt.org >> >> >> Subject: Re: [Users] Pxeboot >> >> >> >> >> >> On Thu, 2012-02-09 at 13:34 -0800, Li, David wrote: >> >> >> > Mike, >> >> >> > >> >> >> > It seems it needs couple vdsm pkgs: >> >> >> > >> >> >> > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > Failed to find package 'vdsm-cli' : No >> >> >> > package(s) available to install mv ovirt-node-image.iso >> >> >> > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> >> > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> >> > directory >> >> >> > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > >> >> >> > >> >> >> > can I remove them from ks files? >> >> >> >> >> >> Not if you want to use ovirt-node with ovirt-engine. There >> >> >> was a bug in that patch set that is fixed in patch set 2 >> >> >> (along with the bad ===== package). I hadn't pulled the >> >> >> patch set together and uploaded to gerrit yet, but it's there now. >> >> >> >> >> >> git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >> refs/changes/38/1738/2 && git checkout FETCH_HEAD >> >> >> >> >> >> This should fix the problem. >> >> >> >> >> >> Mike >> >> >> >> >> >> > >> >> >> > - David >> >> >> > ________________________________________ >> >> >> > From: Mike Burns [mburns@redhat.com] >> >> >> > Sent: Thursday, February 09, 2012 12:07 PM >> >> >> > To: Li, David >> >> >> > Cc: Perry Myers; users@ovirt.org >> >> >> > Subject: Re: [Users] Pxeboot >> >> >> > >> >> >> > On Thu, 2012-02-09 at 11:52 -0800, Li, David wrote: >> >> >> > > It's still the same error: >> >> >> > > >> >> >> > > [lid@FC16-1 ovirt-node]$ cd recipe/ >> >> >> > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> >> > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > echo "PACKAGE=ovirt-node-image" ;\ >> >> >> > > echo "VERSION=2.2.3" ;\ >> >> >> > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> >> > > ) > version.ks >> >> >> > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > > Failed to find package '=======' : No package(s) >> >> >> > > available to install mv ovirt-node-image.iso >> >> >> > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> >> > > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> >> > > directory >> >> >> > > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> >> > > file:///home/lid/ovirt-cache/ovirt >> >> >> > > [lid@FC16-1 recipe]$ ll /home/lid/ovirt-cache/ovirt/ >> >> >> > > total >> >> >> > > 12 drwxr-xr-x. 2 lid lid 4096 Feb 9 11:10 noarch >> >> >> > > drwxrwxr-x. 2 lid lid 4096 Feb 9 11:10 repodata drwxrwxr-x. >> >> >> > > 2 lid lid 4096 Feb 9 >> >> >> > > 11:10 src >> >> >> > >> >> >> > That's a bug in the patch. edit recipe/common-pkgs.ks and >> >> >> > remove the last line which is "=======" >> >> >> > >> >> >> > Mike >> >> >> > > >> >> >> > > >> >> >> > > Did make publish store the rpms in $OVIRT_LOCAL_REPO? >> >> >> > > >> >> >> > > - David >> >> >> > > ________________________________________ >> >> >> > > From: Mike Burns [mburns@redhat.com] >> >> >> > > Sent: Thursday, February 09, 2012 11:44 AM >> >> >> > > To: Li, David >> >> >> > > Cc: Perry Myers; users@ovirt.org >> >> >> > > Subject: RE: [Users] Pxeboot >> >> >> > > >> >> >> > > On Thu, 2012-02-09 at 11:40 -0800, Li, David wrote: >> >> >> > > > The error seems a little stubborn. >> >> >> > > > >> >> >> > > > [lid@FC16-1 recipe]$ echo $OVIRT_LOCAL_REPO >> >> >> > > > file://home/lid/ovirt-cache/ovirt >> >> >> > > >> >> >> > > You need 3 slashes. file:///home/lid/ovirt-cache/ovirt >> >> >> > > >> >> >> > > > [lid@FC16-1 recipe]$ make ovirt-node-image.iso ( \ >> >> >> > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> >> > > > echo "VERSION=2.2.3" ;\ >> >> >> > > > echo "RELEASE=0.1fc16.git16688ea" ;\ >> >> >> > > > ) > version.ks >> >> >> > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > > > Unable to download from repo : Cannot retrieve >> >> >> > > > repository metadata (repomd.xml) for repository: local. >> >> >> > > > Please verify its path and try again mv >> >> >> > > > ovirt-node-image.iso >> >> >> > > > ovirt-node-image-2.2.3-0.1fc16.git16688ea.iso >> >> >> > > > mv: cannot stat `ovirt-node-image.iso': No such file or >> >> >> > > > directory >> >> >> > > > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > > > >> >> >> > > > There is also a pop-up window: Unable to open a folder >> >> >> > > > for _ovirt-node-imag >> >> >> > > > >> >> >> > > > maybe it's looking at the wrong place? >> >> >> > > > >> >> >> > > > >> >> >> > > > - David >> >> >> > > > ________________________________________ >> >> >> > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > Sent: Thursday, February 09, 2012 11:15 AM >> >> >> > > > To: Li, David >> >> >> > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > Subject: RE: [Users] Pxeboot >> >> >> > > > >> >> >> > > > On Thu, 2012-02-09 at 10:57 -0800, Li, David wrote: >> >> >> > > > > ok, that's my bad:) >> >> >> > > > > >> >> >> > > > > Ran into error at the last iso build step: >> >> >> > > > > >> >> >> > > > > Start building ISO image.... >> >> >> > > > > ( \ >> >> >> > > > > echo "PRODUCT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > > echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\ >> >> >> > > > > echo "PACKAGE=ovirt-node-image" ;\ >> >> >> > > > > echo "VERSION=2.2.3" ;\ >> >> >> > > > > echo "RELEASE=0.1.fc16.git16688ea" ;\ >> >> >> > > > > ) > version.ks >> >> >> > > > > ./node-creator ovirt-node-image.ks Error creating Live CD : >> >> >> > > > > Unable to download from repo : Cannot retrieve >> >> >> > > > > repository metadata (repomd.xml) for repository: local. >> >> >> > > > > Please verify its path and try again mv >> >> >> > > > > ovirt-node-image.iso >> >> >> > > > > ovirt-node-image-2.2.3-0.1.fc16.git16688ea.iso >> >> >> > > > > mv: cannot stat `ovirt-node-image.iso': No such file >> >> >> > > > > or directory >> >> >> > > > > make: *** [ovirt-node-image.iso] Error 1 >> >> >> > > > >> >> >> > > > IIRC, this is usually because you have OVIRT_LOCAL_REPO >> >> >> > > > defined, but not correctly. It needs to be like this: >> >> >> > > > file:///home/mburns/rpmbuild/RPMS >> >> >> > > > >> >> >> > > > Ok, I just looked at the Node Building page, and it >> >> >> > > > needs some >> >updates. >> >> >> > > > Try this from the base directory of the git repo >> >> >> > > > >> >> >> > > > $ export OVIRT_CACHE_DIR=${HOME}/ovirt-cache >> >> >> > > > $ export >> >> >> > > > OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt >> >> >> > > > $ ./autogen.sh --with-image-minimizer $ make publish >> >> >> > > > #this builds the rpms and puts them in >> >> >> > > > ${OVIRT_CACHE_DIR} $ cd recipe $ make >> >> >> > > > ovirt-node-image.iso >> >> >> > > > >> >> >> > > > Mike >> >> >> > > > > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > > I wonder which repo my machine is lacking? >> >> >> > > > > >> >> >> > > > > - David >> >> >> > > > > ________________________________________ >> >> >> > > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > > Sent: Thursday, February 09, 2012 10:02 AM >> >> >> > > > > To: Li, David >> >> >> > > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > > Subject: Re: [Users] Pxeboot >> >> >> > > > > >> >> >> > > > > On Thu, 2012-02-09 at 09:47 -0800, Li, David wrote: >> >> >> > > > > > Got an error: >> >> >> > > > > > [lid@FC16-1 ovirt-node]$ git fetch >> >> >> > > > > > http://gerrit.ovirt.org/ >> >> >> > > > > > refs/changes/38/1738/1&&git cherry-pick FETCH_HEAD >> >> >> > > > > > fatal: http://gerrit.ovirt.org/info/refs not found: >> >> >> > > > > > did you run git >> >> >update-server-info on the server? >> >> >> > > > > >> >> >> > > > > Bad copy/paste: >> >> >> > > > > >> >> >> > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >> > > > > refs/changes/38/1738/1 && git cherry-pick FETCH_HEAD >> >> >> > > > > > >> >> >> > > > > > any ideas? >> >> >> > > > > > >> >> >> > > > > > - David >> >> >> > > > > > ________________________________________ >> >> >> > > > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > > > Sent: Thursday, February 09, 2012 8:37 AM >> >> >> > > > > > To: Li, David >> >> >> > > > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > Subject: Re: [Users] Pxeboot >> >> >> > > > > > >> >> >> > > > > > On Thu, 2012-02-09 at 08:30 -0800, Li, David wrote: >> >> >> > > > > > > Mike, >> >> >> > > > > > > >> >> >> > > > > > > Two quick questions before I kick off a build: >> >> >> > > > > > > >> >> >> > > > > > > 1. Git errors. Do they matter? >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > [lid@FC16-1 node-archipel-2.2.2]$ git clone >> >> >> > > > > > > http://gerrit.ovirt.org/p/ovirt-node.git >> >> >refs/changes/38/1738/1&&git checkout FETCH_HEAD Cloning into >> >> >refs/changes/38/1738/1... >> >> >> > > > > > > remote: Counting objects: 14791, done >> >> >> > > > > > > remote: Finding sources: 100% (14791/14791) >> >> >> > > > > > > remote: Total 14791 (delta 10855), reused 14778 >> >> >> > > > > > > (delta >> >> >> > > > > > > 10855) Receiving objects: 100% (14791/14791), >> >> >> > > > > > > 16.92 MiB >> >> >> > > > > > > | 154 >> >> >KiB/s, done. >> >> >> > > > > > > Resolving deltas: 100% (10855/10855), done. >> >> >> > > > > > > fatal: Not a git repository (or any of the parent >> >> >> > > > > > > directories): .git >> >> >> > > > > > >> >> >> > > > > > try this instead: >> >> >> > > > > > >> >> >> > > > > > git clone http://gerrit.ovirt.org/p/ovirt-node.git >> >> >> > > > > > cd ovirt-node >> >> >> > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >> > > > > > refs/changes/38/1738/1 && git cherry-pick >> >> >> > > > > > FETCH_HEAD >> >> >> > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > 2. Build machine. >> >> >> > > > > > > >> >> >> > > > > > > I am using a x86_64 FC16 VM as the build machine. >> >> >> > > > > > > My target is >> >> >x86_64 Intel board. Is this ok? >> >> >> > > > > > >> >> >> > > > > > Should be fine. >> >> >> > > > > > >> >> >> > > > > > Mike >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > - David >> >> >> > > > > > > ________________________________________ >> >> >> > > > > > > From: Mike Burns [mburns@redhat.com] >> >> >> > > > > > > Sent: Thursday, February 09, 2012 8:16 AM >> >> >> > > > > > > To: Li, David >> >> >> > > > > > > Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > Subject: RE: [Users] Pxeboot >> >> >> > > > > > > >> >> >> > > > > > > On Thu, 2012-02-09 at 08:10 -0800, Li, David wrote: >> >> >> > > > > > > > Not sure where the boot log is since I can't login. >> >> >> > > > > > > > >> >> >> > > > > > > > I got the source from >> >> >> > > > > > > > https://github.com/primalmotion/archipel-node >> >> >> > > > > > > > and followed the build instructions in >> >> >> > > > > > > > http://ovirt.org/wiki/Node_Building >> >> >> > > > > > > > >> >> >> > > > > > > > maybe I should rebuild the iso from the ovirt >> >> >> > > > > > > > node source tree >> >> >as you have pulled in archipel changes yesterday. How do I do that? >> >> >> > > > > > > >> >> >> > > > > > > git fetch http://gerrit.ovirt.org/p/ovirt-node >> >> >> > > > > > > refs/changes/38/1738/1 && git checkout FETCH_HEAD >> >> >> > > > > > > >> >> >> > > > > > > That command will checkout the current version of >> >> >> > > > > > > the archipel-node changes. Then you can just >> >> >> > > > > > > follow the Node_Building process. Note that the >> >> >> > > > > > > changes aren't merged into master yet. I'm still >> >> >> > > > > > > in the process of reviewing >> >them. >> >> >> > > > > > > >> >> >> > > > > > > Mike >> >> >> > > > > > > > >> >> >> > > > > > > > - David >> >> >> > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > > >-----Original Message----- >> >> >> > > > > > > > >From: Mike Burns [mailto:mburns@redhat.com] >> >> >> > > > > > > > >Sent: Thursday, February 09, 2012 7:22 AM >> >> >> > > > > > > > >To: Li, David >> >> >> > > > > > > > >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > > >> >> >> > > > > > > > >On Thu, 2012-02-09 at 07:06 -0800, Li, David wrote: >> >> >> > > > > > > > >> Mike, >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> I added adminpw as a kernel option. After >> >> >> > > > > > > > >> boot, I tried >> >> >"admin/abc123" >> >> >> > > > > > > > >> and "root/abc123" but not able to login. >> >> >> > > > > > > > >> Any idea? >> >> >> > > > > > > > >> >> >> >> > > > > > > > > >> >> >> > > > > > > > >Are there any errors in your build or boot logs? >> >> >> > > > > > > > > >> >> >> > > > > > > > >Mike >> >> >> > > > > > > > > >> >> >> > > > > > > > >> David >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >-----Original Message----- >> >> >> > > > > > > > >> >From: Mike Burns [mailto:mburns@redhat.com] >> >> >> > > > > > > > >> >Sent: Wednesday, February 08, 2012 6:53 PM >> >> >> > > > > > > > >> >To: Li, David >> >> >> > > > > > > > >> >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >> >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >On Wed, 2012-02-08 at 17:11 -0800, Li, David wrote: >> >> >> > > > > > > > >> >> Ok, I built an iso out of archipel and >> >> >> > > > > > > > >> >> pxebooted it with stateless option. Now >> >> >> > > > > > > > >> >I got a "localhost" login prompt. Any idea >> >> >> > > > > > > > >> >what should I put >> >> >in as user/pwd? >> >> >> > > > > > > > >> >> David >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >You will need to pass a password in on the >> >> >> > > > > > > > >> >command line as well >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >adminpw=<hashed_password> >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >You can generate the hashed password using: >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >$ openssl passwd >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >Assuming the password was abc123 >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >$ openssl passwd abc123 >> >> >> > > > > > > > >> >tKrQfufCbosr6 >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >adminpw=tKrQfufCbosr6 >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >Mike >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> >-----Original Message----- >> >> >> > > > > > > > >> >> >From: Mike Burns >> >> >> > > > > > > > >> >> >[mailto:mburns@redhat.com] >> >> >> > > > > > > > >> >> >Sent: Wednesday, February 08, 2012 4:31 >> >> >> > > > > > > > >> >> >PM >> >> >> > > > > > > > >> >> >To: Li, David >> >> >> > > > > > > > >> >> >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >> >> >Subject: RE: [Users] Pxeboot >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >On Wed, 2012-02-08 at 15:43 -0800, Li, >> >> >> > > > > > > > >> >> >David >wrote: >> >> >> > > > > > > > >> >> >> Ok, I think we are on the same page >> >> >> > > > > > > > >> >> >> now regarding >> >> >stateless node. >> >> >> > > > > > > > >> >> >> It looks like the achipel diff you >> >> >> > > > > > > > >> >> >> just pulled in might be able to do >> >> >> > > > > > > > >> >> >> this. But I can't quite make it out >> >> >> > > > > > > > >> >> >> what the kernel option should >> >> >> > > > > > > > >be. >> >> >> > > > > > > > >> >> >> Is it "stateless=1"? >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >stateless=1 or just stateless, both will work. >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >> David >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> >> >-----Original Message----- >> >> >> > > > > > > > >> >> >> >From: Mike Burns >> >> >> > > > > > > > >> >> >> >[mailto:mburns@redhat.com] >> >> >> > > > > > > > >> >> >> >Sent: Wednesday, February 08, 2012 >> >> >> > > > > > > > >> >> >> >3:27 PM >> >> >> > > > > > > > >> >> >> >To: Li, David >> >> >> > > > > > > > >> >> >> >Cc: Perry Myers; users@ovirt.org >> >> >> > > > > > > > >> >> >> >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >On Wed, 2012-02-08 at 15:19 -0800, >> >> >> > > > > > > > >> >> >> >Li, David >> >wrote: >> >> >> > > > > > > > >> >> >> >> Perry, >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> I am glad you brought this up. >> >> >> > > > > > > > >> >> >> >> I 'd be perfectly happy to run the >> >> >> > > > > > > > >> >> >> >> root fs entirely in >> >> >RAM. >> >> >> > > > > > > > >> >> >> >> In fact that would >> >> >> > > > > > > > >> >> >> >be ideal for me. It's just I am not >> >> >> > > > > > > > >> >> >> >quite sure how to use pxeboot to achieve
that. line. this.
>> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> I am doing a test now using the >> >> >> > > > > > > > >> >> >> >> tftpboot files >> >> >created from the iso. >> >> >> > > > > > > > >> >> >> >> As far as I see, the kernel boot >> >> >> > > > > > > > >> >> >> >> options >> >> >(pxelinux.cfg/default) has: >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> root=live:/ovirt-node-image-2.2.2-1.1. >> >> >> > > > > > > > >> >> >> >> fc1 6.i so >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> With this I can only pxeboot to the >> >> >> > > > > > > > >> >> >> >> intall screen. What should I use >> >> >> > > > > > > > >> >> >> >> to let the >> >> >> > > > > > > > >> >> >> >kernel mount the root fs in memory? >> >> >> > > > > > > > >> >> >> >Something like >> >> >> > > > > > > > >root=/dev/ram0? >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> David >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >It's not currently possible with ovirt-node. >> >> >> > > > > > > > >> >> >> >That's the whole stateless feature >> >> >> > > > > > > > >> >> >> >that we outlined. Once we actually >> >> >> > > > > > > > >> >> >> >have it implemented, it will be >> >> >> > > > > > > > >> >> >> >something along the lines of adding >> >> >> > > > > > > > >> >> >> >"stateless" to >> >> >> > > > > > > > >> >> >the kernel commandline. >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >Mike >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >-----Original Message----- >> >> >> > > > > > > > >> >> >> >> >From: Perry Myers >> >> >> > > > > > > > >> >> >> >> >[mailto:pmyers@redhat.com] >> >> >> > > > > > > > >> >> >> >> >Sent: Wednesday, February 08, 2012 >> >> >> > > > > > > > >> >> >> >> >2:54 PM >> >> >> > > > > > > > >> >> >> >> >To: Mike Burns >> >> >> > > > > > > > >> >> >> >> >Cc: Li, David; users@ovirt.org >> >> >> > > > > > > > >> >> >> >> >Subject: Re: [Users] Pxeboot >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >On 02/08/2012 05:03 PM, Mike Burns wrote: >> >> >> > > > > > > > >> >> >> >> >> On Wed, 2012-02-08 at 13:46 >> >> >> > > > > > > > >> >> >> >> >> -0800, Li, David >> >> >wrote: >> >> >> > > > > > > > >> >> >> >> >>> Mike, >> >> >> > > > > > > > >> >> >> >> >>> >> >> >> > > > > > > > >> >> >> >> >>> If I understand this correctly, >> >> >> > > > > > > > >> >> >> >> >>> today I should be able to >> >> >> > > > > > > > >> >> >> >> >>> pxeboot and nfs mount the >> >> >root fs from a remote server. >> >> >> > > > > > > > >> >> >> >> >>> Apart from setting up the pxe >> >> >> > > > > > > > >> >> >> >> >>> stuff, I 'd have to populate >> >> >> > > > > > > > >> >> >> >> >>> the ovirt node root fs on the >> >> >> > > > > > > > >> >> >> >> >>> server >> >> >> > > > > > > > >> >> >> >> >>> - perhaps steal it from a disk install. >> >> >> > > > > > > > >> >> >> >> >>> In other words I am concerned >> >> >> > > > > > > > >> >> >> >> >>> about the point from which the >> >> >> > > > > > > > >> >> >> >> >>> kernel starts to execute /init >> >> >> > > > > > > > >> >> >> >> >>> script (in the initramfs) to >> >> >> > > > > > > > >> >> >> >> >>> the >> >> >point /init is able to mount the final root fs from a remote server. >> >> >> > > > > > > > >> >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> No, there is no way to set this >> >> >> > > > > > > > >> >> >> >> >> up currently in >> >> >ovirt-node. >> >> >> > > > > > > > >> >> >> >> >> You could install using a remote >> >> >> > > > > > > > >> >> >> >> >> iscsi lun if you have a hardware >> >> >> > > > > > > > >> >> >> >> >> iscsi HBA, but there isn't a way >> >> >> > > > > > > > >> >> >> >> >> to mount a remote nfs share as >> >> >> > > > > > > > >> >> >> >> >> the >> >> >> > > > > > > > >> >> >root fs. >> >> >> > > > > > > > >> >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> Supporting a remote NFS share as >> >> >> > > > > > > > >> >> >> >> >> the root fs isn't even something >> >> >> > > > > > > > >> >> >> >> >> that requested as an RFE at this >> >> >> > > > > > > > >> >> >> >> >> point or on the roadmap as far >> >> >> > > > > > > > >> >> >> >> >> as >> >> >I'm aware. >> >> >> > > > > > > > >> >> >> >> >> >> >> >> > > > > > > > >> >> >> >> >> It sounds like what you're >> >> >> > > > > > > > >> >> >> >> >> really looking for is a shared >> >> >> > > > > > > > >> >> >> >> >> root fs that multiple hosts could use. >> >> >> > > > > > > > >> >> >> >> >> This is something that we will >> >> >> > > > > > > > >> >> >> >> >> probably look into eventually, >> >> >> > > > > > > > >> >> >> >> >> but it's not on the immediate >> >> >> > > > > > > > >> >> >roadmap. >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >Given that the rootfs of oVirt >> >> >> > > > > > > > >> >> >> >> >Node is fairly small and in a >> >> >> > > > > > > > >> >> >> >> >truly stateless environment would >> >> >> > > > > > > > >> >> >> >> >just run out of system RAM, >> >> >> > > > > > > > >> >> >> >> >there's no real reason to try to >> >> >> > > > > > > > >> >> >> >> >do a shared NFS based >> >> >> > > > > > > > >rootfs. >> >> >> > > > > > > > >> >> >> >> >It's an unnecessary complication I >> >> >> > > > > > > > >> >> >> >> >think, if the end goal is to move >> >> >> > > > > > > > >> >> >> >> >to truly >> >> >> > > > > > > > >> >> >> >stateless. >> >> >> > > > > > > > >> >> >> >> > >> >> >> > > > > > > > >> >> >> >> >For larger systems where the >> >> >> > > > > > > > >> >> >> >> >rootfs is on the order of GB's, >> >> >> > > > > > > > >> >> >> >> >shared root may make more >> >> >sense. >> >> >> > > > > > > > >> >> >> >> >> >> >____________________________________________ >> >> >> > > > > > > > >> >> >> >> ___ Users mailing list >> >> >> > > > > > > > >> >> >> >> Users@ovirt.org >> >> >> > > > > > > > >> >> >> >> http://lists.ovirt.org/mailman/list >> >> >> > > > > > > > >> >> >> >> inf o/u ser s >> >> >> > > > > > > > >> >> >> > >> >> >> > > > > > > > >> >> >> >> >> >> > > > > > > > >> >> > >> >> >> > > > > > > > >> >> >> >> >> > > > > > > > >> >> >> >> >_______________________________________________ >> >> >> > > > > > > > >> >> Users mailing list Users@ovirt.org >> >> >> > > > > > > > >> >> http://lists.ovirt.org/mailman/listinfo/user >> >> >> > > > > > > > >> >> s >> >> >> > > > > > > > >> > >> >> >> > > > > > > > >> >> >> >> > > > > > > > >> >> >> >_______________________________________________ >> >> >> > > > > > > > >> Users mailing list Users@ovirt.org >> >> >> > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users >> >> >> > > > > > > > > >> >> >> > > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >> >> >> > > > > > > >_______________________________________________ >> >> >> > > > > > > Users mailing list >> >> >> > > > > > > Users@ovirt.org >> >> >> > > > > > > http://lists.ovirt.org/mailman/listinfo/users >> >> >> > > > > > >> >> >> > > > > > >> >> >> > > > > > >_______________________________________________ >> >> >> > > > > > Users mailing list >> >> >> > > > > > Users@ovirt.org >> >> >> > > > > > http://lists.ovirt.org/mailman/listinfo/users >> >> >> > > > > >> >> >> > > > > >> >> >> > > > >> >> >> > > > >> >> >> > > >> >> >> > > >> >> >> > > _______________________________________________ >> >> >> > > Users mailing list >> >> >> > > Users@ovirt.org >> >> >> > > http://lists.ovirt.org/mailman/listinfo/users >> >> >> > >> >> >> > >> >> >> > _______________________________________________ >> >> >> > Users mailing list >> >> >> > Users@ovirt.org >> >> >> > http://lists.ovirt.org/mailman/listinfo/users >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> Users mailing list >> >> >> Users@ovirt.org >> >> >> http://lists.ovirt.org/mailman/listinfo/users >> >> > >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> Users@ovirt.org >> >> http://lists.ovirt.org/mailman/listinfo/users >> > >> >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Li, David
-
Mike Burns