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 [mbu...@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 * branchrefs/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 * branchrefs/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 [mbu...@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:mbu...@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
Re: [Users] Pxeboot - pwd/login issue
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 [mbu...@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:mbu...@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 [mbu...@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 * branchrefs/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 * branchrefs/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
Re: [Users] Pxeboot - pwd/login issue
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 [mbu...@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 [mbu...@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 * branchrefs/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 * branchrefs/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 [mbu...@redhat.com] Sent: Friday
Re: [Users] Pxeboot - pwd/login issue
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 [mbu...@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 * branchrefs/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 * branchrefs/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 [mbu...@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:mbu...@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:mbu...@redhat.com] Sent: Friday, February 10, 2012 7:37 AM To: Li, David Cc: users
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:mbu...@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:mbu...@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 [mbu...@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 [mbu...@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
Re: [Users] Pxeboot - pwd/login issue
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. - David From: Mike Burns [mbu...@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: 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:mbu...@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:mbu...@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 [mbu...@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 [mbu...@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
Re: [Users] Pxeboot - pwd/login issue
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:mbu...@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:mbu...@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:mbu...@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 [mbu...@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 [mbu...@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
Re: [Users] Pxeboot - pwd/login issue
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 [mbu...@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: 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:mbu...@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:mbu...@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 [mbu...@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 [mbu
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:mbu...@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:mbu...@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:mbu...@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 [mbu...@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 [mbu...@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
Re: [Users] Pxeboot - pwd/login issue
Ok, what's the right cmd to get both? Do I have to start from scratch? -Original Message- From: Mike Burns [mailto:mbu...@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:mbu...@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:mbu...@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:mbu...@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 [mbu...@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 [mbu...@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
Re: [Users] Pxeboot - pwd/login issue
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 * branchrefs/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 * branchrefs/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 [mbu...@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:mbu...@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:mbu...@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
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 * branchrefs/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 * branchrefs/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 [mbu...@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:mbu...@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:mbu...@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