You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(18) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(21) |
Feb
(8) |
Mar
(8) |
Apr
(7) |
May
(1) |
Jun
(1) |
Jul
(5) |
Aug
(42) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(8) |
Sep
(13) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
From: Jon A. H. <jo...@gm...> - 2011-08-18 16:34:08
|
Hello, 2011/8/18 Eray Ozkural <exa...@gm...>: > Hi there, > The core of all the NFSv4 mount problems is that rpc.idmapd does not work. > You can check that by giving "rdbreak=pre-pivot" and drop into dracut debug > shell. > When you try to start rpc.idmapd manually it gives the error: > rpc.idmapd: cannot find user "nobody" > and dies. This debug message isn't very informative in itself. > I've installed strace and other debug tools in a new dracut-013 build to see > what happens. It turns out that rpc.idmapd dies when it tries to query the > user because it goes to nsswitch and nss lib can't be loaded. I can't paste > the strace because there isn't proper logging in dracut (we need network > logging). Interesting... Something that also worries me is that I am not able to manually start rpc.idmapd on Ubuntu. It only starts correctly if started by upstart. Are you able to start it manually on the frontend? But if a replace the init program with /bin/bash, I am able to start rpc.idmapd which is really weird... > I've found a very relevant bug report on dracut wrt this issue. It's amusing > that the bug used to happen in an old version of dracut and now it pops up > again. I guess nobody really uses the net boot, what a shame :) > https://bugzilla.redhat.com/show_bug.cgi?id=537969 That is an specific bug of Fedora. Probably Fedora restarts rpc.idmapd just after init starts and before starting anything else, and avoiding the lack of rpc.idmapd. Also note that the readonly root and the non writable /var/run (for registering the pid) is fixed on Fedora with the new /run standard which is mounted with a tmpfs. > There it says that adding the debug module to dracut solved his problem, but > it hadn't fixed mine, the newer debug module lacks the nss lib I think. I'm > going to try adding them to network module and see. I think that we can avoid any issue of idmapd starting it before running init. We create a /sbin/init.kestrel script, and add option=/sbin/init.kestrel to the cmdline. /sbin/init.kestrel: #!/bin/bash rpc.idmapd || echo "idmapd failed to start :-S" exec /sbin/init --verbose > BTW, I also tried using initramfs-tools in ubuntu, but that wasn't helpful > either, that image only supports nfsv3 (I think) and nfsv3 mount dies with > the "incorrect mount option" error on unfortunately (I haven't figured out > what that error is caused by though)..... > For debugging purposes, I strongly recommend that you build a dracut with > the debug and busybox modules, it's quite helpful that way. I also added a > module of my own with other debug tools. It would be neat to provide this > option in kestrelhpc by default. Yeah, that sound interesting. By the way the Dracut 0.10 used on KestrelHPC was packaged by me, I was planning to update it to 0.13 and upload it to Debian and Ubuntu, but it requires still somework like testing/fixing the issues arised from the tests. Regards, JonAn. |
From: Eray O. <exa...@gm...> - 2011-08-18 14:23:10
|
Hi there, The core of all the NFSv4 mount problems is that rpc.idmapd does not work. You can check that by giving "rdbreak=pre-pivot" and drop into dracut debug shell. When you try to start rpc.idmapd manually it gives the error: rpc.idmapd: cannot find user "nobody" and dies. This debug message isn't very informative in itself. I've installed strace and other debug tools in a new dracut-013 build to see what happens. It turns out that rpc.idmapd dies when it tries to query the user because it goes to nsswitch and nss lib can't be loaded. I can't paste the strace because there isn't proper logging in dracut (we need network logging). I've found a very relevant bug report on dracut wrt this issue. It's amusing that the bug used to happen in an old version of dracut and now it pops up again. I guess nobody really uses the net boot, what a shame :) https://bugzilla.redhat.com/show_bug.cgi?id=537969 There it says that adding the debug module to dracut solved his problem, but it hadn't fixed mine, the newer debug module lacks the nss lib I think. I'm going to try adding them to network module and see. BTW, I also tried using initramfs-tools in ubuntu, but that wasn't helpful either, that image only supports nfsv3 (I think) and nfsv3 mount dies with the "incorrect mount option" error on unfortunately (I haven't figured out what that error is caused by though)..... For debugging purposes, I strongly recommend that you build a dracut with the debug and busybox modules, it's quite helpful that way. I also added a module of my own with other debug tools. It would be neat to provide this option in kestrelhpc by default. Best, -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 18:48:33
|
Dear Jon Ander, Have a great vacation :) The issue is that rpc.idmapd does not start on dracut. If it did, everything would be okay. It gives the following error and dies: rpc.idmapd: cannot find user "nobody" I see this error both in startup, and when I try to manually start it. Though nobody user can be seen in /etc/passwd. I wonder if there is anything to be done. Can I try another version of dracut? Why does this bug occur have any ideas? Best, On Wed, Aug 17, 2011 at 7:22 PM, Jon Ander Hernandez <jo...@gm...>wrote: > Hi Eray, > > I'm sorry, I've had my laptop broken till yesterday and I'm on > vacation in the US. > > NFS4 requires idmapd for the user mapping, but nfs3 should work. I > suggest you to try to mount the nfs share (as nfs3) from another > computer: > > another-computer$ sudo mount -t nfs3 <frontend_ip>/kestrel/<image_name> > /mnt/ > > The nobody issue I think that it is because since idmapd is not > working probably the fallback user is "nobody" user. > > Regards, > > JonAn. > -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 17:39:30
|
The thing with -t nfs option, it's not -t nfs3 as I wrote, sorry. In the new mount version, nfsv4 is on by default it seems: examachine@cylon:~$ sudo mount -t nfs -v 192.168.2.64:/kestrel/image1 /mnt mount.nfs: timeout set for Wed Aug 17 20:39:22 2011 mount.nfs: trying text-based options 'vers=4,addr=192.168.2.64,clientaddr=192.168.2.64' 192.168.2.64:/kestrel/image1 on /mnt type nfs (rw) -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 17:06:43
|
On Wed, Aug 17, 2011 at 8:01 PM, Jon Ander Hernandez <jo...@gm...>wrote: > 2011/8/17 Eray Ozkural <exa...@gm...>: > > > Dear JonAn, > > > > Thanks to the suggestions of Ubuntu devs, I've managed to get nfsv4 to > work > > on the frontend node, so idmapd now works. It seems there is a weird > > configuration error on ubuntu 11.04 client distro: although the > nfs-common > > configuration file is correct, idmapd didn't start in my case, so I had > to > > manually start it. Anyway, once you make sure that the idmapd process > runs > > (by issuing "sudo start idmapd" and then searching for the process etc.), > > nfsv4 does work on the frontend node. So, now I'm back to trying nfsv4 > > because I couldn't get nfs3 to work due to the "incorrect mount option" > > error. Let me see, I haven't given up yet! > > Nice! :-) > There is a caveat though. In /etc/exports: # Autogenerated by kestrel_reconfigure /exports/kestrel/image1 *(ro,async,nohide,no_subtree_check,no_root_squash) /exports/kestrel/image1/lib/modules/ *(ro,async,nohide,no_subtree_check,no_root_squash) /exports/kestrel/home *(rw,async,nohide,no_subtree_check,no_root_squash) I had to remove the line for /exports/kestrel (before home) it's not needed, and I think it causes an error. Strangely, I saw the uid/gid error when it was present. But the above works all right on the frontend. In 5 mins, I'll be trying the network boot, last time I got the "rc.idmapd: cannot find user "nobody"" error so I think I have to fix the idmapd.conf, I had changed it to another domain on the frontend. Will let you know how it goes! Cheers, -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 17:02:46
|
On Wed, Aug 17, 2011 at 7:56 PM, Jon Ander Hernandez <jo...@gm...>wrote: > 2011/8/17 Jon Ander Hernandez <jo...@gm...>: > > > With NFS3 you need to use the whole path (like on the frontend) : > > > > $ mount -t nfs3 <ip>:/export/kestrel/<image_name> /mnt > > # mount -t nfs3 <ip>:/exports/kestrel/<image_name> /mnt > > Sorry, it is "exports", not "export" :-S > Here is what happens with NFS3. The above sort of command works on the frontend. But on dracut, it doesn't. It falls back to rdshell (I'm using debug options), and even in shell, when I issue the command # mount -t nfs3 -o 'vers=3,nolock' <ip>:/exports/kestrel/<image_name> /sysroot I hold my breath but nothing happens, it just dies with the "incorrect mount option" error. Anybody seen this before? Starting statd and removing nolock doesn't help either. Any suggestions for that? Regards, -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Jon A. H. <jo...@gm...> - 2011-08-17 17:01:32
|
2011/8/17 Eray Ozkural <exa...@gm...>: > Dear JonAn, > > Thanks to the suggestions of Ubuntu devs, I've managed to get nfsv4 to work > on the frontend node, so idmapd now works. It seems there is a weird > configuration error on ubuntu 11.04 client distro: although the nfs-common > configuration file is correct, idmapd didn't start in my case, so I had to > manually start it. Anyway, once you make sure that the idmapd process runs > (by issuing "sudo start idmapd" and then searching for the process etc.), > nfsv4 does work on the frontend node. So, now I'm back to trying nfsv4 > because I couldn't get nfs3 to work due to the "incorrect mount option" > error. Let me see, I haven't given up yet! Nice! :-) |
From: Eray O. <exa...@gm...> - 2011-08-17 16:59:28
|
On Wed, Aug 17, 2011 at 7:47 PM, Jon Ander Hernandez <jo...@gm...>wrote: > > ubuntu 11.04 amd64 version. right now, i think you can assume that > > kestrelhpc definitely doesn't work on 11.04 amd64 due to inexplicable > nfsv4 > > errors. either the volume can't be booted (nfsv3) or the uid/gid's are > all > > wrong (they are -2, -2, and do not correspond to either root or nobody on > > dracut!) if you have any suggestions at all, well, i'm open to them! > > > i'll let you know if i find a solution (using kestrel or otherwise) on > First try to check if NFS3 exports work. They don't require idmapd, > etc... they should work, if they don't then there is something really > wrong. > > Are you using a firewall? Currently kestrel fails if you enable a > firewall because it uses dinamic ports by default (It is a feature > implemented on the next version). > Dear JonAn, Thanks to the suggestions of Ubuntu devs, I've managed to get nfsv4 to work on the frontend node, so idmapd now works. It seems there is a weird configuration error on ubuntu 11.04 client distro: although the nfs-common configuration file is correct, idmapd didn't start in my case, so I had to manually start it. Anyway, once you make sure that the idmapd process runs (by issuing "sudo start idmapd" and then searching for the process etc.), nfsv4 does work on the frontend node. So, now I'm back to trying nfsv4 because I couldn't get nfs3 to work due to the "incorrect mount option" error. Let me see, I haven't given up yet! Cheers, -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Jon A. H. <jo...@gm...> - 2011-08-17 16:56:31
|
2011/8/17 Jon Ander Hernandez <jo...@gm...>: > With NFS3 you need to use the whole path (like on the frontend) : > > $ mount -t nfs3 <ip>:/export/kestrel/<image_name> /mnt # mount -t nfs3 <ip>:/exports/kestrel/<image_name> /mnt Sorry, it is "exports", not "export" :-S |
From: Jon A. H. <jo...@gm...> - 2011-08-17 16:50:45
|
2011/8/16 Eray Ozkural <exa...@gm...>: > hello, > > all right, this nfs4 thing is b0rked as hell. i have no idea why they are > even distributing this stuff. lame. (greetings to its authors: you are > natural born lamers.) NFS4 is a much better protocol than NFS3 is... but our stack is quite complex, and I have also experienced troubles with it, that is why by default the first boot entry on the bootloader tries to use NFS3 instead of NFS4. It is a complex because live nodes require a writable overlay over the readonly NFS4 shared directory, and probably the union filesystem (aufs) is failing at somepoint. > i'm using ubuntu 11.04 and the kestrel apt source, the latest thing. > > the strange part is that i can't even mount nfs4 shares properly on the > frontend node. That is quite strange... :-S. Does it show any message, or it gets freezed trying to mount the nfs4 share? Does the nfs3 work? > this might be due to the architecture, i'm using x86_64, the uid and gid's > turn out to be -2 (shown as a big unsigned integer in ls)! so they are not > even nobody/nogroup, they don't correspond to any user, and of course > nothing works like that. i think the code simply doesn't work, maybe it's > trying to set it to nobody but it's mixing things up in 64-bit, i don't > know. no amount of fiddling with idmapd.conf fixes this, puzzling. > > so i tried to use nfs3, i changed the exports, and on the frontend node, You should not change the autogenerated exports, they should work for both nfs3 and nfs4. What changes is the name of the export. With NFS3 you need to use the whole path (like on the frontend) : $ mount -t nfs3 <ip>:/export/kestrel/<image_name> /mnt While with NFS4 it would be : $ mount -t nfs4 <ip>:/kestrel/<image_name> /mnt If you reconfigure kestrel, it will recreate the export file. > i can mount root with anonuid and anongid options and by explicitly passing > vers=3. however, in dracut on the compute node, it is impossible to mount > nfs3 volumes, the mount command passes vers=4 by default, if you pass vers=3 > (you must pass it as -o 'vers=3') it claims incorrect mount option and > halts. while of course there is no such thing. it also fails to apply the > nfs options in the dracut boot cmdline (using > nfs:server:/exports/kestrel/image1 for root). i'll try a few other things, > and if that doesn't work out, begin rolling my own diskless using another > initramfs setup, this is way too much hassle. and i couldn't find a package > for nfs-user-server on 11.04, i want to get rid of this terrible nfsv4 > immediately. we used to have NIS/NFS3, and NFS3 alone on previous clusters > and it worked perfectly. i have no idea why they can't even fix a simple uid > bug on 64-bit systems, but i have no intention to find out! The current nfs server allows to use both protocols, and you can always use NFS3, and in fact by default Kestrel uses NFS3. > i'll let you know if i find a solution (using kestrel or otherwise) on > ubuntu 11.04 amd64 version. right now, i think you can assume that > kestrelhpc definitely doesn't work on 11.04 amd64 due to inexplicable nfsv4 > errors. either the volume can't be booted (nfsv3) or the uid/gid's are all > wrong (they are -2, -2, and do not correspond to either root or nobody on > dracut!) if you have any suggestions at all, well, i'm open to them! First try to check if NFS3 exports work. They don't require idmapd, etc... they should work, if they don't then there is something really wrong. Are you using a firewall? Currently kestrel fails if you enable a firewall because it uses dinamic ports by default (It is a feature implemented on the next version). Regards, JonAn. |
From: Jon A. H. <jo...@gm...> - 2011-08-17 16:22:34
|
Hi Eray, I'm sorry, I've had my laptop broken till yesterday and I'm on vacation in the US. NFS4 requires idmapd for the user mapping, but nfs3 should work. I suggest you to try to mount the nfs share (as nfs3) from another computer: another-computer$ sudo mount -t nfs3 <frontend_ip>/kestrel/<image_name> /mnt/ The nobody issue I think that it is because since idmapd is not working probably the fallback user is "nobody" user. Regards, JonAn. |
From: Eray O. <exa...@gm...> - 2011-08-17 06:45:31
|
dear manish, On Wed, Aug 17, 2011 at 9:01 AM, MANISH <ma...@wo...> wrote: > well nfs4 have mounting problem with 64bit machine on ubuntu.nfs4 is > working perfectly with debian core on 64bit machine.so you can use debain > core for nfs4.use debain core with nfs-patch.or if you want to use ubuntu > then modify permission on debootstarp. > thanks for your interest. i've already installed ubuntu so i'd rather use that. they ought be quite similar anyway, right? what do you mean by modifying permissions on debootstrap? which permissions? what happens with nfs3 is the following. on the nfs3 client, dracut cannot mount nfs3 shares, it fails with "incorrect mount option", whenever I try to use the NFS 3 boot option. no changes that i tried could fix that. that problem is not with the server but the client it seems. on the nfs3 server (192.168.2.64), a command like: mount -t nfs -o 'vers=3' 192.168.2.64:/exports/kestrel/image1 /mnt does work and i get root/root for uid/gid as I want to. if i could do the same on the client, the boot would probably proceed. however, in the dracut debug shell on the other machine, exactly the same command fails, although i check that it's trying the same protocol (version 3, protocol 17), it fails with the "incorrect mount option" error, therefore I think that the dracut release has some sort of compatibility problem or it's missing something. what could i try? where do you think the problem is? the server or the client? (recall that it also fails when nfs:.... command line option is given, it simply can't handle nfs3 mounts correctly, and as you know nfs4 mounts are handled incorrectly). i could also change stuff in kestrel if you point out where i should hack. :) anyway, on my system, neither nfs4 nor nfs3 works for kestrelhpc, that's my problem :) regards, On Wed, Aug 17, 2011 at 10:29 AM, Eray Ozkural <exa...@gm...> wrote: > >> hello, >> >> all right, this nfs4 thing is b0rked as hell. i have no idea why they are >> even distributing this stuff. lame. (greetings to its authors: you are >> natural born lamers.) >> >> i'm using ubuntu 11.04 and the kestrel apt source, the latest thing. >> >> the strange part is that i can't even mount nfs4 shares properly on the >> frontend node. >> >> this might be due to the architecture, i'm using x86_64, the uid and gid's >> turn out to be -2 (shown as a big unsigned integer in ls)! so they are not >> even nobody/nogroup, they don't correspond to any user, and of course >> nothing works like that. i think the code simply doesn't work, maybe it's >> trying to set it to nobody but it's mixing things up in 64-bit, i don't >> know. no amount of fiddling with idmapd.conf fixes this, puzzling. >> >> so i tried to use nfs3, i changed the exports, and on the frontend node, i >> can mount root with anonuid and anongid options and by explicitly passing >> vers=3. however, in dracut on the compute node, it is impossible to mount >> nfs3 volumes, the mount command passes vers=4 by default, if you pass vers=3 >> (you must pass it as -o 'vers=3') it claims incorrect mount option and >> halts. while of course there is no such thing. it also fails to apply the >> nfs options in the dracut boot cmdline (using >> nfs:server:/exports/kestrel/image1 for root). i'll try a few other things, >> and if that doesn't work out, begin rolling my own diskless using another >> initramfs setup, this is way too much hassle. and i couldn't find a package >> for nfs-user-server on 11.04, i want to get rid of this terrible nfsv4 >> immediately. we used to have NIS/NFS3, and NFS3 alone on previous clusters >> and it worked perfectly. i have no idea why they can't even fix a simple uid >> bug on 64-bit systems, but i have no intention to find out! >> >> i'll let you know if i find a solution (using kestrel or otherwise) on >> ubuntu 11.04 amd64 version. right now, i think you can assume that >> kestrelhpc definitely doesn't work on 11.04 amd64 due to inexplicable nfsv4 >> errors. either the volume can't be booted (nfsv3) or the uid/gid's are all >> wrong (they are -2, -2, and do not correspond to either root or nobody on >> dracut!) if you have any suggestions at all, well, i'm open to them! >> >> cheers, >> >> -- >> Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara >> http://groups.yahoo.com/group/ai-philosophy >> http://myspace.com/arizanesil http://myspace.com/malfunct >> >> >> >> ------------------------------------------------------------------------------ >> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >> user administration capabilities and model configuration. Take >> the hassle out of deploying and managing Subversion and the >> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 >> _______________________________________________ >> Kestrelhpc-developers mailing list >> Kes...@li... >> https://lists.sourceforge.net/lists/listinfo/kestrelhpc-developers >> >> > > > -- > > Warm Regards, > > Manish Kumar Abhishek > Project Engineer C-DAC(PUNE) > Mob - +91-7350661889 > Mail- ma...@wo... > www.worldofmanish.co.in > > > Let us all plant a tree, else, print sensibly. > > -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 04:59:46
|
hello, all right, this nfs4 thing is b0rked as hell. i have no idea why they are even distributing this stuff. lame. (greetings to its authors: you are natural born lamers.) i'm using ubuntu 11.04 and the kestrel apt source, the latest thing. the strange part is that i can't even mount nfs4 shares properly on the frontend node. this might be due to the architecture, i'm using x86_64, the uid and gid's turn out to be -2 (shown as a big unsigned integer in ls)! so they are not even nobody/nogroup, they don't correspond to any user, and of course nothing works like that. i think the code simply doesn't work, maybe it's trying to set it to nobody but it's mixing things up in 64-bit, i don't know. no amount of fiddling with idmapd.conf fixes this, puzzling. so i tried to use nfs3, i changed the exports, and on the frontend node, i can mount root with anonuid and anongid options and by explicitly passing vers=3. however, in dracut on the compute node, it is impossible to mount nfs3 volumes, the mount command passes vers=4 by default, if you pass vers=3 (you must pass it as -o 'vers=3') it claims incorrect mount option and halts. while of course there is no such thing. it also fails to apply the nfs options in the dracut boot cmdline (using nfs:server:/exports/kestrel/image1 for root). i'll try a few other things, and if that doesn't work out, begin rolling my own diskless using another initramfs setup, this is way too much hassle. and i couldn't find a package for nfs-user-server on 11.04, i want to get rid of this terrible nfsv4 immediately. we used to have NIS/NFS3, and NFS3 alone on previous clusters and it worked perfectly. i have no idea why they can't even fix a simple uid bug on 64-bit systems, but i have no intention to find out! i'll let you know if i find a solution (using kestrel or otherwise) on ubuntu 11.04 amd64 version. right now, i think you can assume that kestrelhpc definitely doesn't work on 11.04 amd64 due to inexplicable nfsv4 errors. either the volume can't be booted (nfsv3) or the uid/gid's are all wrong (they are -2, -2, and do not correspond to either root or nobody on dracut!) if you have any suggestions at all, well, i'm open to them! cheers, -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 02:22:28
|
I'm seeing a similar situation, the / filesystem is mounted with (-2) ID. This is really driving me crazy, what banality. And I can't even fix it by changing anything :/ If I could mount root, then the rest would be easier..... Please somebody help me, why isn't the idmapper working? http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise/suse-linux-enterprise-desktop-sled/sled-networking/389415-nfs4-strange-anonuid-anongid-values.html On Wed, Aug 17, 2011 at 4:50 AM, Eray Ozkural <exa...@gm...> wrote: > I've found the following comment in the ubuntu wiki > > https://help.ubuntu.com/community/NFSv4Howto > > Note regarding UID/GID permissions on NFSv4 without Kerberos They do not > work. Can someone please help investigating? Following this guide will > result in UID/GID on the export being generic despite having same UID on > client and server. Mounting same shar on NFSv3 works correctly with regards > to UID/GID. Does this need Kerberos to work fully? This is a possibly > related bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500778 > > ??? > > can this be true? that somehow incompetent coders made a new version of > nfsv3, completely breaking previous working functionality just to add > kerberos support? i hate it when this happens...... how to get around > this??????????? > > > On Wed, Aug 17, 2011 at 4:39 AM, Eray Ozkural <exa...@gm...>wrote: > >> the intelligible error messages i see before that. >> >> rc.idmapd: cannot find user "nobody" >> >> and then it cannot mount /, it says "only root can do that".| >> >> this seems to be caused by idmapper NOT WORKING. how to fix this? i did >> make sure that "localdomain" is specified in idmapd config on both the >> server and the client. there isn't any problem with that part. is there >> something else that i need to make sure about that? i added >> localhost.localdomain to /etc/hosts, but perhaps i should use a domain that >> is not localdomain? i'm puzzled. why isn't the idmapd not working? blah. >> using nfs3 didn't work for me either (by disabling nfs4 support in kestrel >> config file), what must i do? >> >> >> On Tue, Aug 16, 2011 at 11:31 PM, Eray Ozkural <exa...@gm...>wrote: >> >>> Hi there, >>> >>> Some more info, the exact command where it fails is: >>> exec switch_root /sysroot /sbin/init >>> >>> it says then that plymouth process terminated, and a whole bunch of mount >>> errors follow. any ideas? >>> >>> >>> On Tue, Aug 16, 2011 at 8:35 AM, Eray Ozkural <exa...@gm...>wrote: >>> >>>> hi there, >>>> >>>> >>>> i'm using latest ubuntu release and the kestrelhpc. >>>> >>>> examachine@cylon:~$ dpkg -s kestrelhpc | grep Ver >>>> >>>> Version: 2.0.2011.03.03 >>>> >>>> i installed and configured fine, however, when registering my first >>>> node, the boot script hangs where it switches root to /sysroot, it complains >>>> that only root can mount directories like /sys, and hangs without even >>>> dropping to a shell. i tried (with some difficulty) both nfs4 and nfs3 >>>> exports, it's the same. i used the debug options to find what caused the >>>> error. how to fix it? anybody else seen this error? >>>> >>>> >>>> cheers, >>>> >>>> >>>> -- >>>> >>>> Eray Ozkural, PhD candidate, Comp. Engr. Dept. Bilkent University, >>>> Ankara >>>> >>> >>> >>> >>> -- >>> Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, >>> Ankara >>> http://groups.yahoo.com/group/ai-philosophy >>> http://myspace.com/arizanesil http://myspace.com/malfunct >>> >>> >> >> >> -- >> Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara >> http://groups.yahoo.com/group/ai-philosophy >> http://myspace.com/arizanesil http://myspace.com/malfunct >> >> > > > -- > Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara > http://groups.yahoo.com/group/ai-philosophy > http://myspace.com/arizanesil http://myspace.com/malfunct > > -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 01:51:04
|
I've found the following comment in the ubuntu wiki https://help.ubuntu.com/community/NFSv4Howto Note regarding UID/GID permissions on NFSv4 without Kerberos They do not work. Can someone please help investigating? Following this guide will result in UID/GID on the export being generic despite having same UID on client and server. Mounting same shar on NFSv3 works correctly with regards to UID/GID. Does this need Kerberos to work fully? This is a possibly related bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500778 ??? can this be true? that somehow incompetent coders made a new version of nfsv3, completely breaking previous working functionality just to add kerberos support? i hate it when this happens...... how to get around this??????????? On Wed, Aug 17, 2011 at 4:39 AM, Eray Ozkural <exa...@gm...> wrote: > the intelligible error messages i see before that. > > rc.idmapd: cannot find user "nobody" > > and then it cannot mount /, it says "only root can do that".| > > this seems to be caused by idmapper NOT WORKING. how to fix this? i did > make sure that "localdomain" is specified in idmapd config on both the > server and the client. there isn't any problem with that part. is there > something else that i need to make sure about that? i added > localhost.localdomain to /etc/hosts, but perhaps i should use a domain that > is not localdomain? i'm puzzled. why isn't the idmapd not working? blah. > using nfs3 didn't work for me either (by disabling nfs4 support in kestrel > config file), what must i do? > > > On Tue, Aug 16, 2011 at 11:31 PM, Eray Ozkural <exa...@gm...>wrote: > >> Hi there, >> >> Some more info, the exact command where it fails is: >> exec switch_root /sysroot /sbin/init >> >> it says then that plymouth process terminated, and a whole bunch of mount >> errors follow. any ideas? >> >> >> On Tue, Aug 16, 2011 at 8:35 AM, Eray Ozkural <exa...@gm...>wrote: >> >>> hi there, >>> >>> >>> i'm using latest ubuntu release and the kestrelhpc. >>> >>> examachine@cylon:~$ dpkg -s kestrelhpc | grep Ver >>> >>> Version: 2.0.2011.03.03 >>> >>> i installed and configured fine, however, when registering my first node, >>> the boot script hangs where it switches root to /sysroot, it complains that >>> only root can mount directories like /sys, and hangs without even dropping >>> to a shell. i tried (with some difficulty) both nfs4 and nfs3 exports, it's >>> the same. i used the debug options to find what caused the error. how to fix >>> it? anybody else seen this error? >>> >>> >>> cheers, >>> >>> >>> -- >>> >>> Eray Ozkural, PhD candidate, Comp. Engr. Dept. Bilkent University, Ankara >>> >> >> >> >> -- >> Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara >> http://groups.yahoo.com/group/ai-philosophy >> http://myspace.com/arizanesil http://myspace.com/malfunct >> >> > > > -- > Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara > http://groups.yahoo.com/group/ai-philosophy > http://myspace.com/arizanesil http://myspace.com/malfunct > > -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-17 01:39:49
|
the intelligible error messages i see before that. rc.idmapd: cannot find user "nobody" and then it cannot mount /, it says "only root can do that".| this seems to be caused by idmapper NOT WORKING. how to fix this? i did make sure that "localdomain" is specified in idmapd config on both the server and the client. there isn't any problem with that part. is there something else that i need to make sure about that? i added localhost.localdomain to /etc/hosts, but perhaps i should use a domain that is not localdomain? i'm puzzled. why isn't the idmapd not working? blah. using nfs3 didn't work for me either (by disabling nfs4 support in kestrel config file), what must i do? On Tue, Aug 16, 2011 at 11:31 PM, Eray Ozkural <exa...@gm...> wrote: > Hi there, > > Some more info, the exact command where it fails is: > exec switch_root /sysroot /sbin/init > > it says then that plymouth process terminated, and a whole bunch of mount > errors follow. any ideas? > > > On Tue, Aug 16, 2011 at 8:35 AM, Eray Ozkural <exa...@gm...>wrote: > >> hi there, >> >> >> i'm using latest ubuntu release and the kestrelhpc. >> >> examachine@cylon:~$ dpkg -s kestrelhpc | grep Ver >> >> Version: 2.0.2011.03.03 >> >> i installed and configured fine, however, when registering my first node, >> the boot script hangs where it switches root to /sysroot, it complains that >> only root can mount directories like /sys, and hangs without even dropping >> to a shell. i tried (with some difficulty) both nfs4 and nfs3 exports, it's >> the same. i used the debug options to find what caused the error. how to fix >> it? anybody else seen this error? >> >> >> cheers, >> >> >> -- >> >> Eray Ozkural, PhD candidate, Comp. Engr. Dept. Bilkent University, Ankara >> > > > > -- > Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara > http://groups.yahoo.com/group/ai-philosophy > http://myspace.com/arizanesil http://myspace.com/malfunct > > -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-16 20:31:15
|
Hi there, Some more info, the exact command where it fails is: exec switch_root /sysroot /sbin/init it says then that plymouth process terminated, and a whole bunch of mount errors follow. any ideas? On Tue, Aug 16, 2011 at 8:35 AM, Eray Ozkural <exa...@gm...> wrote: > hi there, > > > i'm using latest ubuntu release and the kestrelhpc. > > examachine@cylon:~$ dpkg -s kestrelhpc | grep Ver > > Version: 2.0.2011.03.03 > > i installed and configured fine, however, when registering my first node, > the boot script hangs where it switches root to /sysroot, it complains that > only root can mount directories like /sys, and hangs without even dropping > to a shell. i tried (with some difficulty) both nfs4 and nfs3 exports, it's > the same. i used the debug options to find what caused the error. how to fix > it? anybody else seen this error? > > > cheers, > > > -- > > Eray Ozkural, PhD candidate, Comp. Engr. Dept. Bilkent University, Ankara > -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct |
From: Eray O. <exa...@gm...> - 2011-08-16 05:35:16
|
hi there, i'm using latest ubuntu release and the kestrelhpc. examachine@cylon:~$ dpkg -s kestrelhpc | grep Ver Version: 2.0.2011.03.03 i installed and configured fine, however, when registering my first node, the boot script hangs where it switches root to /sysroot, it complains that only root can mount directories like /sys, and hangs without even dropping to a shell. i tried (with some difficulty) both nfs4 and nfs3 exports, it's the same. i used the debug options to find what caused the error. how to fix it? anybody else seen this error? cheers, -- Eray Ozkural, PhD candidate, Comp. Engr. Dept. Bilkent University, Ankara |
From: €®Ïk _ <ej...@ho...> - 2011-07-13 19:01:29
|
Thans for awnser. … €®Ïk > Date: Tue, 12 Jul 2011 15:58:28 +0200 > Subject: Re: [Kestrelhpc-developers] Problem configuriting > From: jo...@gm... > To: ej...@ho... > CC: kes...@li... > > Interesting... It seems that debootstrap failed somehow, but continued > trying to reconfigure an empty/corrupted image. > > > debootstrap is a Debian util which helps creating minimal Debian > images, but it failed to create the image, and that is why it failing > to find /var/lib/kestrel/images/image/proc, > /var/lib/kestrel/images/image/sys, etc... > > Maybe you tried to create the images without a network connection? > > > It maybe have created an empty/corrupted cached image (I'm not sure) > so before trying again delete it : > > rm -R /var/lib/kestrel/images/cached-image/ > > > Thanks for the bug report, I will improve deboostrap's error handling. > > Regards, > > JonAn. |
From: Jon A. H. <jo...@gm...> - 2011-07-12 13:58:29
|
Interesting... It seems that debootstrap failed somehow, but continued trying to reconfigure an empty/corrupted image. debootstrap is a Debian util which helps creating minimal Debian images, but it failed to create the image, and that is why it failing to find /var/lib/kestrel/images/image/proc, /var/lib/kestrel/images/image/sys, etc... Maybe you tried to create the images without a network connection? It maybe have created an empty/corrupted cached image (I'm not sure) so before trying again delete it : rm -R /var/lib/kestrel/images/cached-image/ Thanks for the bug report, I will improve deboostrap's error handling. Regards, JonAn. |
From: €®Ïk _ <ej...@ho...> - 2011-07-09 19:39:01
|
Hi I am new user of software. I install the software nomally but when run command: #kestrel-images --new "image" The out is: Detecting host : Architecture: i686 Distribution: Debian Codename: squeeze Release: 6.0.2 Creating image from image cache Copying debootstrap Copying var mount: el punto de montaje /var/lib/kestrel/images/image/proc no existe mount: el punto de montaje /var/lib/kestrel/images/image/sys no existe mount: el punto de montaje /var/lib/kestrel/images/image/tmp no existe mount: el punto de montaje /var/lib/kestrel/images/image/dev/pts no existe mount: el punto de montaje /var/lib/kestrel/images/image/dev/shm no existe mount: el punto de montaje /var/lib/kestrel/images/image/etc/apt/ no existe mv: no se puede efectuar `stat' sobre «/var/lib/kestrel/images/image/sbin/start-stop-daemon»: No existe el fichero o el directorio ln: accediendo a «/var/lib/kestrel/images/image/bin/true»: No existe el fichero o el directorio ln: accediendo a «/var/lib/kestrel/images/image/bin/true»: No existe el fichero o el directorio Executing install scripts Executing : host_nfs_export-image Executing : host_pxe_add-to-imagelist Executing : image_core_add-kestrel-users chroot: failed to run command `groupadd': No such file or directory chroot: failed to run command `useradd': No such file or directory Executing : image_core_beep-on-startup_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_beep-on-startup_chroot Executing : image_core_dhclient-hook-set-hostname_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_dhclient-hook-set-hostname_chroot Executing : image_core_dhclient-wol-on-startup_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_dhclient-wol-on-startup_chroot Executing : image_core_disable-dhclient-script_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_disable-dhclient-script_chroot Executing : image_core_disable-dpkg-upstart_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_disable-dpkg-upstart_chroot Executing : image_core_num-of-cpus_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_num-of-cpus_chroot Executing : image_core_set-hostname_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_set-hostname_chroot Installing extra software Installing kestrel extra packages : basic_packages error while installing basic_packages Installing kestrel extra packages : ganglia error while installing ganglia Installing kestrel extra packages : openmpi error while installing openmpi Executing post install scripts Executing : image_core_delete-sshd-motd_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_delete-sshd-motd_chroot Executing : image_nfs_configure_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_nfs_configure_chroot Executing : image_openmpi_fix-oldlinks_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_openmpi_fix-oldlinks_chroot Executing configure scripts Executing : host_nfs_export-image sed: no se puede leer /var/lib/kestrel/images/image/etc/default/nfs-common: No existe el fichero o el directorio error while executing host_nfs_export-image Executing : host_pxe_image-menu Executing : image_core_beep-on-startup_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_beep-on-startup_chroot Executing : image_core_kestrel-rpc_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_core_kestrel-rpc_chroot Executing : image_ganglia_monitor_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_ganglia_monitor_chroot Executing : image_nfs_home-fstab_chroot cp: no se puede crear el fichero regular «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chmod: no se puede acceder a «/var/lib/kestrel/images/image/tmp/hook»: No existe el fichero o el directorio chroot: failed to run command `/tmp/hook': No such file or directory error while executing image_nfs_home-fstab_chroot umount: /var/lib/kestrel/images/image/proc: no se ha encontrado umount: /var/lib/kestrel/images/image/sys: no se ha encontrado umount: /var/lib/kestrel/images/image/tmp: no se ha encontrado umount: /var/lib/kestrel/images/image/dev/pts: no se ha encontrado umount: /var/lib/kestrel/images/image/dev/shm: no se ha encontrado umount: /var/lib/kestrel/images/image/etc/apt/: no se ha encontrado mv: no se puede efectuar `stat' sobre «/var/lib/kestrel/images/image/sbin/start-stop-daemon.real»: No existe el fichero o el directorio Any ideas ???? Thanks … €®Ïk |
From: Jon A. H. <jo...@gm...> - 2011-07-07 13:54:08
|
Hello Carachi, 2011/7/6 Carachi <car...@gm...>: > Hello everybody, > There is a way to manage server with Wake on Lan? > I would like that if my master server is too busy, it launch a Magic > packet to a secondary server and it wake up. If it is not enought and > these 2 server is too busy it launch a other Magic packet to an other > server and it wake up; and so on. > But if these secondary server doesn't work because there isn't enought > work, it shutdown. > > There is a program like this?? Well it could be easily written, but I don't understand completely the scenario. With a server you mean starting up a new frontend or a new node? I can make a configuration variable on KestrelHPC for don't launching mpi jobs on the frontend, this way it can be free for managing the nodes. If you wish I can help you writting a script which does what you want. Regards, JonAn. |
From: Carachi <car...@gm...> - 2011-07-06 10:14:25
|
Hello everybody, There is a way to manage server with Wake on Lan? I would like that if my master server is too busy, it launch a Magic packet to a secondary server and it wake up. If it is not enought and these 2 server is too busy it launch a other Magic packet to an other server and it wake up; and so on. But if these secondary server doesn't work because there isn't enought work, it shutdown. There is a program like this?? Thank you Bye |
From: Carachi <car...@gm...> - 2011-06-28 13:28:42
|
Hello everybody, There is a way to manage server with Wake on Lan? I would like that if my master server is too busy, it launch a Magic packet to a secondary server and it wake up. If it is not enought and these 2 server are too busy it launch an other Magic packet to an other server and it wake up; and so on. But if these secondary server doesn't work because there isn't enought work, it shutdown. There is a program like this?? Thank you Bye |
From: Jon A. H. <jo...@gm...> - 2011-05-05 08:44:05
|
Hello everybody, Lately I'm being too busy to work on KestrelHPC 2.1, and I haven't finished implementing the new script system. That also means that It will require some extra testing, to get it stable. We have two choices : - Delay KestrelHPC 2.1 till the new script system gets merged and tested. - Release KestrelHPC 2.1 as an RC release and it is in the current state (it also requires testing). In both cases I will need some help testing everything since I'm starting exams on a week. Regards, JonAn. |