/srv/irclogs.ubuntu.com/2009/09/24/#ubuntu-server.txt

=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== hggdh_ is now known as hggdh
Kingtiger01Hello Everyone04:33
Kingtiger01Hello, anyone around?04:38
twb!anyone > Kingtiger0104:39
ubottuKingtiger01, please see my private message04:39
Kingtiger01i have a question regarding Clusters...04:41
Kingtiger01just wondering if anyone has any articles in how to setup a cluster on *nix like OS for load balancing...04:42
twbload balancing of what?04:43
twbhttp://en.wikipedia.org/wiki/Load_balancing_(computing) cites both textbooks and external articles.  I can't vouch for any myself.04:44
Kingtiger01im locally hosting mysql/apache/XMPP. but individual services are starting to eat up enough cycles to overload I/O...04:47
Kingtiger01either can i, im new to clusters, im just starting to try and research about Beauwulf style clusters at the moment, trying to get ideas to alleviate some of this...04:48
twbIt's spelt "beowulf".04:49
Kingtiger01i know... simple spelling error.04:49
thorsten11hello all04:50
twbHave you considered profiling your services to see if there are simple optimizations which will obviate the need for a load-balancing cluster?04:50
Kingtiger01To be honest, No. But, i will now considering it is a immediate step.04:53
Kingtiger01ill be back later...04:58
artillerytxevery time i restart bind it tells me * the remote server is using an older version of the command protocol ...06:25
artillerytxnot sure how to fix that06:25
_rubenim guessing your rndc and named executable are from different versions06:35
artillerytxahh06:40
artillerytxso i need to regenerate a rdnc key06:43
artillerytxand paste it where it says06:44
artillerytxIts just #rndc-confgen06:46
artillerytxright06:46
_rubenthe key isnt the problem, the executable is, or your time(zone) stuff is wrong, though that'd only matter when using rndc from a remote box06:46
artillerytxoh06:46
_ruben(judging from my experience that is, could be something else in your else)06:46
_rubens/else/case/06:46
artillerytxwell the only way i access the computer is with ssh on another computer06:46
artillerytxon the same network06:47
_rubenwhich versions do "named -v" and "rndc -v" report?06:47
artillerytxbind  9.5.1-P206:48
artillerytxrndc 9.5.1-P206:48
_rubenodd06:49
artillerytxwell let me give you the full error i get when i do a "/etc/init.d/bind9 restart06:49
artillerytxhttp://pastebin.com/daf403d406:50
_rubenthe logs might show more (probably /var/log/daemon.log)06:50
artillerytxwhat am i looking for exactly06:52
_rubenah, seems list of possible errors is slightly longer than what i've seen myself .. key and acl i hadnt thought of myself06:52
_rubenanything mentioned by "named" at the time of your attempted restart06:52
twbIs rndc a BIND-specific utility, or does it work with arbitrary DNS services?06:52
_rubentwb: its part of bind, so i'd assume the first06:52
_rubenas it uses a special secure control channel06:53
_ruben(re)running rndc-confgen -a might do the trick in this case, or double-check your bind config's settings for the control channel06:54
=== monteith is now known as monteith_afk
artillerytxi see a /etc/bind/named.conf couldn't add command channel 127.0.0.1:953 address in use06:55
_rubensounds like an old named process is still lingering around06:55
_rubensudo killall named might do the trick (optionally with -9)06:55
_rubengotta drop off car at the garage, be back in an hour or 206:56
artillerytxk06:56
artillerytxdo i add a 906:56
artillerytx?06:56
artillerytxahh now i get rndc:connect failed: 127.0.0.1#953: connection refused06:57
LeChacalhello, can someone tell me how to change the order in which modules are load? Or some way that I can get one module to load before another?07:26
sorenLeChacal: Why?07:29
LeChacali have a special mouse driver that i need to load before the usbhid module, and I need the usbhid module for my usb keyboard, and i think my APC UPS because installing the UPS started all the problems with my mouse not working. I am told by the mouse driver maker that usbhid takes over the mouse if it is loaded before the special driver. Before I got the UPS i would just unload both modules then load in the special mouse driver 07:33
LeChacaland before you ask this isnt a server but i have been trying to find an answer for a while and no one has even tried to help me yet anywhere else.07:34
ttxsoren: hey -- feeling better ?07:34
LeChacali have searched google and found an old forum post saying that you can't change the order because udev randomize them at boot, but this was a post about 6.0607:36
sorenttx: Much.07:40
ttxsoren: good :)07:40
ttxsoren: I took the liberty to upload a new eucalyptus release so that my two fixes-of-the-day would make it in karmic before BetaFreeze.07:41
sorenLeChacal: udev has never randomised anything.07:41
ttxopefully I did it correctly and didn't break anything07:41
ttx+h07:41
sorenttx: I can check?07:41
ttxsoren: you can check what ? That I didn't break anything ? Sure :)07:41
LeChacalsoren: this is what i found http://ubuntuforums.org/showthread.php?t=30449107:42
sorenLeChacal: I don't see the string "random" on there anywhere.07:42
LeChacalsoren: last post and he says shuffling07:42
LeChacalsoren: he does give a solution about block udev, but not fully knowing what udev does i didnt want to start playing with that07:43
sorenLeChacal: Try this:07:44
sorenLeChacal: Create a new file in /etc/modprobe.d/ (name whatever.conf)07:44
sorenLeChacal: Add a single line to it:07:45
soreninstall usbhid /sbin/modprobe nameofyourspecialdriver ; /sbin/modprobe --ignore-install usbhid07:45
sorenThat ought to do it.07:45
LeChacalquestion, the first part "install" what is that doing if you dont mind me asking i understand the rest?07:48
sorenLook at man 5 modprobe.conf07:49
LeChacalok that makes since thank you, ill try that07:50
sorenttx: WEll, I could check that you did things correctly.07:57
sorenttx: ...and I think you did.07:58
ttx\o/07:58
sorenSo that's a good start.07:58
* soren takes a short break08:05
LeChacalsoren: thank you that worked perfectly08:06
artillerytxhow does dreamhost have its server set up so that whenever you install a cms and it emails someone it has whatever email you gave the cms ...08:19
artillerytxI have my server running through gmail and it sends from only one account it seems08:19
kinnazis there something like openbsds security script for ubuntu, what send the /etc/ file diffs to mail daily09:02
johegood morning09:10
RoyKgood moaning09:22
uvirtbotNew bug: #434593 in eucalyptus (main) "Autoregister runs euca_conf with "localhost" but that is refused in 1.6~bzr808" [Medium,Triaged] https://launchpad.net/bugs/43459309:57
gamla_kossanI'd liek to do a dist-upgrade, but.. how do I know what the next version will be then?10:15
gamla_kossanI'm thinking it's a little risky jumping from 7 to 9 directly10:16
gamla_kossananyone have any htoughts on this?10:16
_rubengamla_kossan: when upgrading you shouldnt skip versions (single exceptin: lts -> lts upgrades are supported)10:25
_rubenand upgrading using dist-upgrade isnt recommended either10:25
_rubenthere's upgrade docs on the site10:25
sorengamla_kossan: What do you mean by 7 and 9?10:26
kinnazdo-release-upgrade is your friend :)10:26
kinnazsoloslinger,  7.x to 9x10:26
kinnazsoloslinger,  7.x to 9.x i bet10:26
kinnazsoren even10:26
soren7.x and 9.x are both nonsense.10:26
soren7.04 and 7.10 are vastly different releases, as are 9.04 and 9.10.10:27
sorenI'm having a problem with quagga (ospf). :(10:27
kinnaznonsense ?10:28
sorenI've got two routers in my house (well, three really, but the last one is outside my control), and a machine that runs most of my virtual machines.10:28
sorenkinnaz: Yes.10:28
sorenkinnaz: I just explained it.10:28
soren09:27:15 < soren> 7.04 and 7.10 are vastly different releases, as are 9.04 and 9.10.10:28
sorenIt makes no sense to speak of 7.x.10:28
sorenNor 9.x.10:28
kinnazif you say so, for me it seems no nonsense10:29
sorenSo, I've set up quagga to speak ospf on the two routers and the host running the virtual machines.10:29
kinnazi think you will have better luck with ospf in #networking10:30
sorenHmm... Possibly.10:30
uvirtbotNew bug: #435776 in openldap (main) "installing ldap crashes for no apparent reason" [Undecided,New] https://launchpad.net/bugs/43577610:31
_rubenquagga is somewhere down on my (way too large) todo list to investigate10:32
kinnazfor me the list says dynamic routing protocols in general10:34
=== johe|work is now known as johe
_rubenkinnaz: kinda the same here, but with quagga in particular in mind :)10:35
kinnazi have some hardware to play around for starters10:35
_rubenmy hardware would be a set of vms most likely10:36
soren_ruben: It was too for me yesterday. Now it's on the list of stuff I use :)10:41
_rubensoren: hehe10:42
\shugh ospf...10:47
uvirtbotNew bug: #430163 in eucalyptus (main) "Cloud/Walrus/SC init script confusing" [Medium,Triaged] https://launchpad.net/bugs/43016310:48
maxagazhow to know which video driver i'm using10:56
maxagazit's not in xorg.conf10:56
_ruben-server doesnt tend to use xorg at all11:07
=== cjwatson_ is now known as cjwatson
* soren goes to lunch12:31
=== cjwatson_ is now known as cjwatson
gamla_kossansoren: fair enough, from 7.04 to 9.04 then =)12:45
gamla_kossankinnaz: thanks12:45
_rubenstep by step .. 7.04 -> 7.10 -> 8.04 -> 8.10 -> 9.04 .. using do-release-upgrade for each step (assuming that it already existed back then)12:53
uvirtbotNew bug: #359177 in mysql-dfsg-5.0 (main) "Strange or obsolete code in mysql initscript" [Low,Confirmed] https://launchpad.net/bugs/35917713:17
sorenWhoo!13:28
* soren finally got quagga/ospf working.13:28
sorenNow I can access my virtual machines from anywhere in the house.13:28
sorenMan... The pain!13:29
zulmorning13:41
smosersoren, can you take a look at https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/42910613:43
uvirtbotLaunchpad bug 429106 in vm-builder "kernel and initramfs should be available for uec" [Medium,In progress]13:43
smoserand comment on file naming and such for kernels ?13:43
smosersoren, and just an fyi, i turned your crontab entries off on nectarine. now vmbuilder is doing the builds.13:44
sorensmoser: Why wouldn't the kernel build be spitting those out?13:45
smosersplitting what out?13:45
smoseroh. it is spitting them out13:45
sorenspitting. Not splitting.13:45
sorenkernels and ramdisk.13:46
smoserwell, kernel doesn't spit out ramdisk, but install does. the changes just collect them from the image13:46
sorenWhat would VMbuilder be doing to them, then?13:46
sorenI don't think this belongs in VMBuilder at all.13:46
smoserat the moment, vmbuilder doesn't do anything.13:46
sorenNor the automated build scripts.13:46
smoserwell, we need to provide some way for people to easily get a kernel and an initramfs for uec images they've built13:47
smoserand saying "take it from /boot" is not sufficient in my opinion13:47
sorenThat's fair enough.13:48
smosersecond, vmbuilder really *should* be involved, at very least with xen it should give the user a kernel and initrd to use.13:48
sorenEh?13:48
smoser(and should update the xen.conf and such)13:48
sorenAre you talking about Xen or EC2?13:48
smoserthere, i meant xen.13:48
sorenOk.13:48
sorenWell, that may be reasonable. I've ask dozens of people how to do it (I don't use Xen myself), but noone could give me a straight answer.13:49
smoseri will agree that ec2 is less important to have the kernel/initramdisk outside the image13:49
smoserit is also true for the kvm case that it would be useful to offer the option to pull kernels from the image13:50
smoserso that the user can boot with -kernel / -initrd and -append as opposed to grub13:50
sorenWhy, oh why, would anyone want to do that?13:50
sorenMind you, it's called VMBuilder, not VMDisassembler.13:51
soren:p13:51
smoserhm... i dont know, maybe they're following instructions you wrote ? https://wiki.ubuntu.com/UEC/Images/Testing13:51
smoser:)13:51
sorenOk, I'm clearly confused.13:51
sorenYou talk about extracting stuff from an image.13:51
sorenkernel and ramdisk, I presume.13:52
smoseryes.13:52
sorenYet, the stuff I speak of on https://wiki.ubuntu.com/UEC/Images/Testing has neither in the images.13:52
sorenSo what exactly do you mean?13:52
smoserwell, now the uec images do have a kernel/initrd in them.13:52
sorenthey... do?13:52
sorenHow did that happen?13:52
smoseryes. they have 2. linux-ec2 and linux-virtual13:53
sorenBut, but..13:53
smoserthey need modules in them. modules are provided by kernel packages.13:53
sorenWhy would you stick a kernel and a ramdisk in there?13:53
sorenYes, and grub is our bootloader.13:53
sorenExcept on EC2 where everything is conveniently different.13:53
* soren makes quotations marks in the air13:54
smoseri dont think its conveniently different enough to not use the existing kernel packaging.13:55
smoserwe need modules. modules come in kernel packages. kernel packages are built for each kernel basically the same way.13:55
smoserthe uec/ec2 images need kernel modules and for both ec2 (xen) and kvm (uec)13:55
sorenAnother reason why this really, really, really should not be preinstalled, but handled at boot time.13:56
sorenLet me ask this way: Is this a temporary solution because we didn't have time to do it better for Karmic or is this The Plan[tm]?13:57
smoseri really dont know why it wouldn't be the plan.13:58
sorenI can think if quite a few reasons:13:58
smoserif you were building an appliance to run on a full virtualization solution, it would absolutely be "the rigth way"13:59
smoserso, the only difference here is that the kernel and initrd are needed outside the image.13:59
sorenIf you're running on UEC, you have a huge stack of modules and stuff that you will never ever need taking up space.13:59
sorenIf you're running on EC2, you have a huge stack of modules and stuff that you will never ever need taking up space.13:59
smoserhuge stack ~ = 20M13:59
soren20?13:59
sorenPackage: linux-image-2.6.31-10-virtual14:00
sorenInstalled-Size: 3206814:00
sorenPackage: linux-image-2.6.31-300-ec214:01
sorenInstalled-Size: 7038814:01
sorenSo that's 50% and 350% more than 20.14:01
smoser:)14:01
sorenRespectively.14:01
smoser-ec2 will be trimmed14:01
smoserto basically be -virtual14:01
smoserso < 5014:01
smoserin your 10G root fs14:01
smosererr...14:02
smoseri obviosly have issues with math14:02
smosereach one wastes 30206814:02
smosergar14:02
smoserso, ec2 will "waste" -virtual installation. 32M14:02
zulimho ideally for ec2 you just want a package that does the modules and no other kernel bits (except for maybe the config and the System.map)14:02
smoserand uec will "waste" the -ec2 installation. 32M14:02
sorenSorry, phone call.14:03
smoserzul, so, there, the "waste" that the current package has is the size of the kernel. 6M14:03
smoserits not perfect. i will completely agree to it being wasteful of < 40M for each case.14:04
smoseri think its a reasonable tradeoff to make user space work like the rest of ubuntu14:04
smoserie, if you want to build a kernel module for your kernel, you can build one just like any other install14:05
smoserzul, and in your "just modules" package, we still need to somehow create and extract a kernel to upload to ec2.14:05
sorensmoser: What's the plan for kernel upgrades=14:09
soren?14:09
smoseri dont think this affects that at all.14:09
sorenUh...14:10
sorensure it does.14:10
sorenYou boot with another kernel, and boom, you have no modules for it.14:10
soren(and *two* useless sets of modules and kernels and stuff)14:10
smoserwhy/how were you booting with another kernel ?14:10
sorenBecause the new one had a secret backdoor in it that zul put ther.e14:10
smoserand not picking a new ami that was released with that new kernel and initrd14:10
sorenErr.. The old one had.14:10
sorenBecause I rebundled, perhaps?14:11
smoseryou can still boot with the new kernel and initrd. they're sufficient to mount root and start init, and then apt-get update && apt-get install linux-ec214:11
smoserpoof. modules.14:11
zulsoren: if you mean by the xen patch then yes its been bacdoored ;)14:11
smoseri must have missed the backdoor in the 531,893 lines of patches :)14:12
sorenOf course it has. It's a 20MB patch. It's the perfect plan. Noone is going to read through that.14:12
sorensmoser: I'm very sorry, but I think this is the worst possible solution.14:13
sorenI realise it works.14:13
smoser:). i can think of worse ones.14:13
sorenOh, sure, so can I, but of the ones that were actually seriously proposed..14:13
smoserwhy do you think its so bad? it works much more like everything else than any othe rsolution14:13
smoserconsistency is extremely nice for all sorts of reasons.14:14
sorenThat really depends on your perspective.14:14
sorenIf you care more about the boot process being identical, then yes, this is more similar to everywhere else.14:14
sorenIf you care more the final system  being identical, then it's dissimilar.14:15
smoseri dont follow that.14:15
smoserthe final system is much more similar. you can ask dpkg about "where did this module come from" or apt-get install -headers14:16
sorenIf we were to go the route of the initramfs hook that would copy the modules into the root filesystem, the user would end up with a system that is virtually indistinguishable from a regular one.14:16
smoserthe user now has a system that is virtually indistinguisable from a regular one14:16
sorenHe can look at his uname info, know that he can find the appropriate modules in /lib/modules (and nothing else)..14:16
smoserand happens to use all sorts of common tools to get there.14:16
sorenHow they landed there are an implementation detail.14:16
smoserok, so pretend for a moment, that i dont care that i have a bunch of files in /lib that were not installed by the package manager14:17
sorenGood point about package management.14:17
smoserwhat benefits are provided ?14:17
sorenIn that case you could have done the apt-get trick on boot.14:17
alonswartzHey guys. With reference to MySQL InnoDB, I have come across the issue "ib_logfile0 is of different size". All forum posts seem to recommend deleting the logfiles once the mysql service has been shutdown as the logfiles will be recreated. The problem is that this issue keeps on repeating itself so I was wondering what could be the cause, and how safe is it to constantly remove the logfiles...14:18
alonswartz...prior to mysql start?14:18
sorensmoser: By what, sorry?14:18
smoserthe only benefit i see to the additional work is that you can flip flop kernels and initrds around with wreckless abandon.  kernel/ramdisk and root are more detached from one another.14:19
smoserbut, as i pointed out, that is quite easy with the other route14:19
smoserthe only negative i see in what i have right now is 32M of wasted space14:19
smoser(and i will bring it up just to be fair... apt-get update && apt-get dist-upgrade inside the image is going to pull new kernels and waste network traffic)14:20
sorenI think the ability to replace the kernel is hugely important.14:20
smoseryou can do that.14:20
smoserdidn't i point that out ?14:20
sorenYes, you /can/. It's just more of a hassle than it ought to be.14:20
smoserits no more a hassle than it is on any other linux distribution that i've ever dealt with14:21
smoser:)14:21
sorenThis is one thing we actually had the opportunity to make /better/.14:21
smoseri dont think so. i think we have the opportunity to make different. i dont really understand how its better ?14:22
smoserwhat use case is it better for ?14:22
sorenSecurity problem in the kernel => Boot with a different one, and you're done.14:22
smoserthe strongest argument i can think of is that it makes non-ubuntu distributions more easily able to use ubuntu kernels and initramfs because they dont have to use alien14:22
smosersoren, security problem in the kernel, boot with a different one and your done.... versus "boot with a different on and run 'apt-get install linux-ec2'"14:23
gamla_kossan_ruben: cheers!14:23
smoserwhich could easily be done from ec2-init14:23
smoserif it detected it was running a kernel that did not have modules installed14:24
gamla_kossan_ruben: yey! it does!14:24
gamla_kossan^_^14:24
uvirtbotgamla_kossan: Error: "_^" is not a valid command.14:24
smoserfor the record, i did not believe that i was being at all subversive in doing this. i thought that you(soren) were aware.14:26
sorensmoser: That would make me somewhat happier.14:26
smoserit would probably make pitti less happy14:26
_rubengamla_kossan: you managed to upgrade all the way?14:26
sorensmoser: Hm? Why?14:26
gamla_kossan_ruben: oh nono, I haven't touched that part yet14:26
gamla_kossanneed to do some serious dd-ing of the hd in question14:27
_rubenah14:27
gamla_kossanit's  a vital piece of infrastructure, the box I'mma do it on14:27
smoserthe ec2-init MIR. he doesn't like that we do non-standard things (or allow for them to be done) in ec2-init.14:27
gamla_kossanbut at least do-release-upgrade is on it =)14:27
smoseri would welcome your comments and help there. i think i've failed to do a good job of explaining the need for ec2-init.14:27
smoserbug 43496314:28
uvirtbotLaunchpad bug 434963 in compiz "Compiz no longer resizes windows properly as before, since version 0.8.2-0ubuntu16 (Karmic)" [Low,Confirmed] https://launchpad.net/bugs/43496314:28
smoserhmm.. that doesn't look right14:28
smoserbug 43469314:28
uvirtbotLaunchpad bug 434693 in ec2-init "[MIR] ec2-init" [High,Incomplete] https://launchpad.net/bugs/43469314:28
smoserthats better.14:28
sorensmoser: Wow, yeah, pitti is annoyed.14:30
sorensmoser: ...and really doesn't get it, apparantly.14:31
smoseryeah, i tihnk i failed to describe what its used for14:33
smoseri just hit 'send' on a reply.14:35
smoseri initially wrote him off-bug, because i was afraid of long winded confusing bug14:36
smoserbut apparently that was unavoidable14:36
smoserapparently launchpad wraps lines at less than 74 chars14:37
sorenHopefully at 72.14:38
sorenAnything other than that would be silly.14:38
smoserfunny. i always thought that 74 was the correct number. it seems we're argumentative today. hope you're not still feeling ill14:38
sorenI wasn't.14:38
sorenNow I am.14:38
smoserand regarding launchpad, if i shrink the font, it doesn't wrap14:38
sorenOh, you're right. Yes, that's much more pleasing to read.14:39
smoserthat seems reasonable (not wrapping when i shrink) except for that there is like 2 inches of whitespace inside the comment box to the  right14:39
smoserie, the comment box wasn't forcing the wrapping14:39
smosersoren, you want to confirm bug 43590514:54
uvirtbotLaunchpad bug 435905 in launchpad "text comments are wrapped poorly, making them hard to read confusing" [Undecided,New] https://launchpad.net/bugs/43590514:54
smoseras i think you're seeing it too14:54
sorenodne14:55
sorendone, even.14:55
smosersoren, so what do i need to do to make you karmic-happy regarding kernel and initrd.  note, that we need to have a solution for this.14:58
sorensmoser: A promise that you will never blame me for any ot.15:01
sorenof it.15:01
* soren wonders about the accuracy of this keyboard.15:01
gamla_kossanI must say, this channel is very very nice. esp when compared to #ubuntu. that channel is no fun at all :/15:01
gamla_kossan=)15:01
sorenIt can be a bit... much.15:05
zulsoren: we cant promise it ;)15:06
=== monteith_afk is now known as monteith
smoseri really try to avoid making promises about my future behavior15:17
smoserbut I guess I can just deny making the promise later, so, sure.15:17
sorenGreat. Then do whatever you want.15:18
uvirtbotNew bug: #386430 in eucalyptus "block storage should check if there are existing exported device on the network" [Undecided,Fix committed] https://launchpad.net/bugs/38643015:32
uvirtbotNew bug: #280170 in mailman (main) "Switchboard.py", line 159, in dequeue: "qrunner(822): ImportError :  No module named header"" [Undecided,Fix released] https://launchpad.net/bugs/28017015:40
uvirtbotNew bug: #357895 in eucalyptus/1.5 "add fallback to send mail from "localhost"" [Medium,Fix committed] https://launchpad.net/bugs/35789515:40
uvirtbotNew bug: #359701 in eucalyptus "volume path does not get updated through admin interface" [High,Fix committed] https://launchpad.net/bugs/35970115:40
uvirtbotNew bug: #360636 in eucalyptus/1.5 "Decryption tries forever" [Medium,Fix committed] https://launchpad.net/bugs/36063615:40
uvirtbotNew bug: #364404 in eucalyptus/1.5 "ETag should contain quotes" [Medium,Fix committed] https://launchpad.net/bugs/36440415:40
uvirtbotNew bug: #364424 in eucalyptus/1.5 "An arbitrary number of "/"s in front of the bucket name will cause the request to be rejected" [Medium,Fix committed] https://launchpad.net/bugs/36442415:40
uvirtbotNew bug: #365247 in eucalyptus/1.5 "During caching, need to keep trying until enough images are flushed" [Medium,Fix committed] https://launchpad.net/bugs/36524715:40
uvirtbotNew bug: #368278 in eucalyptus/1.5 "walrus: subresource string not being matched correctly" [Medium,Fix committed] https://launchpad.net/bugs/36827815:41
uvirtbotNew bug: #368975 in eucalyptus/1.5 "Unhelpful message if volume size limit is exceeded" [Medium,Fix committed] https://launchpad.net/bugs/36897515:41
uvirtbotNew bug: #371978 in eucalyptus/1.5 "A malformed PUT might starve connections" [Medium,Fix committed] https://launchpad.net/bugs/37197815:41
uvirtbotNew bug: #375093 in eucalyptus "DescribesVolumes (via REST) does not show status in the attachmentSet" [Medium,Fix committed] https://launchpad.net/bugs/37509315:41
uvirtbotNew bug: #375105 in eucalyptus "Detach volume via REST does not work" [High,Fix committed] https://launchpad.net/bugs/37510515:41
uvirtbotNew bug: #382522 in eucalyptus/1.5 "Consider increasing default disk size for m1.small" [High,Fix committed] https://launchpad.net/bugs/38252215:41
aubreladies and gentlemen, after applying the last karmic alpha 6 patches, I am now running instances in my local cloud15:49
smosersoren, just to be clear above, i do give your rights to say "i told you so".15:50
smoseraubre, awesome15:50
aubreI can't ssh into them yet, but I am running them hehe15:50
aubresmoser: thanks15:50
aubreI use my private key, but it still wants a password for user ubuntu15:51
sorensmoser: And I have permission to gorge your eye out with a rusty spoon in response.15:51
smoserin response to your saying "i told you so" ? i dont think that makes sense.15:51
aubreI do however feel like I just hit 88 mph in a specially customized DeLorean15:51
smoserand i am fairly attached to my eyes15:51
sorensmoser: Oh. I completely misread :)15:52
aubrewe need him to have his eyes because it makes reviewing code much easier15:52
sorensmoser: I thought you were suggesting that /you/ had the right to say "I told you so". :)15:52
smoserwell no, not until we decide my idea was bad, and we try your idea, and its bad too15:53
smoser*then* i get to say i told you so15:53
sorensmoser: We'll see :)15:53
sorenaubre: The fun doesn't start until eighty-eight *point eight* mph. You should give it a go. :)15:54
aubresoren: well do15:54
smoserthats funny. i missed the reference until just now.15:54
smoser1.21Gw15:54
aubresoren : will do.15:54
aubreI think I won't be going back from this future :)15:55
aubrethanks to everyone for the help to get to this point, and thanks in advance for the help you'll be giving me to get it into production lol15:55
smosershoot. what a pita.15:57
smoseri just realized that we can't check for the metadata service to decide whether or not ec2-init should do anything15:58
smoserbecause we might be on ec2 and the metadata service just not there yet15:58
smosersoren, so, you want to list things you thought we could check for ? i know you suggested certain /proc/cmdline contents (splash, root=UUID...)16:00
smoseranything else?16:00
kinnazsoren, got your ospf working ?16:00
smoser<not-serious> in other news, i'd like to suggest to the euca2ools people that they make it work slower.  each time i run euca-describe-instances pointed at ec2 and it comes back in < 4 seconds, i dont trust it worked.</not-serious>16:02
smoserI'm too used to ec2-describe-instances taking some time to accomplish such tasks16:02
sorenkinnaz: I did.16:03
kinnazsoren,  problem was in that bridge ? or wifi ?16:03
aubreI do have to say that the instance went from pending to running in a very fast amount of time16:04
sorenkinnaz: Some kind of multicast weirdness with my wifi setup, yes.16:09
huatssoren: hey :)16:09
huatshow are you ?16:10
sorenhuats: I'm on a call right now :)16:10
huatsok16:10
huatssorry :)16:10
huatsI'll come back to bother you later :)16:10
aubreI just got in :)16:14
aubreon the Eucalyptus supplied image you go in as user root16:14
aubressh -i /home/clouduser/.euca/mykey root@hostname16:15
smosersoren, suggestions for "is this not running in ec2" ?16:23
sorensmoser: Sorry, on a call at the moment.16:23
smosertake your time16:24
metalf8801Hi I need to set up a NAS (Network-attached storage) at my apartment to back up my computers (laptop, Desktop, olpc netbook) I'm wondering if it would be a good idea to use Ubuntu server to do this or if I should use something like FreeNAS?  I've set up Ubuntu Lamp servers before so I have a little experience using Ubuntu Server but I've never used any kind of a NAS16:26
jmarsdenmetalf8801: I'd expect a Ubuntu server solution to be somewhat more flexible than FreeNAS, but perhaps a bit more work to configure.  If you are already familiar with Ubuntu Server, and you don't mind configuring it using the command line, I'd say use it :)16:30
MagicFabmetalf8801, Ubuntu server will propose a "Samba File server" task at install time, so it's trivial and fast to set that up.16:40
MagicFabor sudo apt-get install samba-server^ (yes, with "^") if your server is already up.16:40
metalf8801oh ok so I don't need to add anything to Ubuntu server after I install Samba file server?16:41
MagicFabno out-of-the-box nice web UI however16:41
MagicFabyou can install E-Box (package name: ebox) and manage some of it, see http://trac.ebox-platform.com/16:43
MagicFabNot sure what version of eBox we have in  Ubuntu though16:44
MagicFabI'd try it on a virtual machine first if I were you16:44
metalf8801yeah I will try it on Virtualbox first16:44
metalf8801Um but what is E-Box?16:44
MagicFab"<MagicFab> you can install E-Box (package name: ebox) and manage some of it, see http://trac.ebox-platform.com/"16:47
Pici!ebox16:47
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox16:47
metalf8801oh ok I've used webmin before does ebox have advantages over webmin?16:48
jmarsdenmetalf8801: ebox is officialy Ubuntu-compatible, webmin is not.  That's a pretty serious advantage.17:09
jmarsdenNote the "It is designed to work with Ubuntu/Debian style configuration management." in the above factoid from ubottu17:09
sorensmoser: I have some code that can determine wheter you're running in a VM.17:09
sorensmoser: I can dig that out for you this evening or tomorrow morning.17:10
metalf8801ok I'll make a point of trying e-box thanks17:10
smosersoren, you have a vague description of how ?17:10
giovanisoren: what method are you using to determine that? -- there are many17:10
sorengiovani: For KVM, there's a CPUID leaf that reveals it.17:11
giovaniok, so it's KVM-specific17:11
smosersoren, http://paste.ubuntu.com/277210/ is what i have17:11
sorenFor Xen... I don't remember what it does. I seem to remember it's more than just looking for /proc/xen, but that would probably be sufficient as well.17:11
smoserand we need nmore then just knowing if we're in a vm17:11
smoserpresense of /proc/xen would not indicate yes or no for "is this ec2"17:12
soren...17:12
sorenI know.17:12
sorenYou don't need to tell me that.17:12
smoserok. well take a look at that pb url17:12
sorenAs I've said /many/ times, I'm looking for tells that we're /NOT/ on EC2 or UEC.17:12
smoserright.17:13
sorenNot being in a VM is a pretty good indication that you're not in either of those.17:13
smoserso i suppose if we're "not in a vm" then you could sy "this is not ec2"17:13
smoserbut i'm hesitant on that, because really in a full virt situaltion (uec) you shouldn't necissarily know that17:13
sorenSure you do.17:14
sorenAs I just said...17:14
soren16:11:03 < soren> giovani: For KVM, there's a CPUID leaf that reveals it.17:14
smoseryou're saying that in the current implementation of kvm, a guest kernel can figure out if its in a vm or not.17:14
=== Claw_ is now known as Claw6
smoseri'm saying that, to me, that isn't something that should be relied upon, as it may at some point be a feature of kvm to *not* indicate such things to guests17:15
sorenWell, Amazon may also start using real hardware.17:17
sorenWith wlan in them.17:17
smoserbut if you think otherwise, we can definitly add a check like "if I do not appear to be running in a virtual machine, then I am not not xen".17:17
sorenAnd 17 other nics.17:17
smoserthats a fair statement.17:17
sorenAs fair as yours.17:18
smoseri wasn't being sarcastic. i agree. it is fair.17:18
sorenWell, I don't.17:18
soren:)17:18
=== clusty_ is now known as clusty
clustyhey17:18
smoseralso, do you get "/proc/xen" if your running a para-virt kernel ?17:18
clustyi am having yet another problem with LDAP user auth17:19
sorenYes.17:19
smoseror whatever that test would be?.17:19
clustyi restarted the LDAP server machine and now the clients wont auth no more. i restared a client by hand and it works again17:19
smoseryeah... ok now i'm sorry. i have to nix your solution17:19
clustythis leads me to believe that PAM-LDAP is keeping a persistent connection to ldap and will nto reconnect17:19
clustyclue how to fix without a reboot?17:19
smoseras if someone is running this vm with ec2-init in a virtualbox or vmware, or some other VM17:20
smoserthey would not necissarily have such things. and i think that is a likely situation.17:21
* soren has to go to dinner and stuff17:24
Jadhello, i read that ubuntu server supports cloud computing. is this like virtualization where multiple users can have multiple remote desktop connection to the same server or is it something entirely different?17:32
Jadmaybe it means that one application can run on multiple servers like windows azuri17:32
Jad*azure17:32
erichammondsmoser, soren: Good points in the discussion about kernel modules on EC2 images.  I'm happy with either the current (just added) way or with initrd copying them in.  Both have their benefits and drawbacks as you listed.17:36
smoserthanks for reading.17:37
erichammondsmoser, soren: If you're trying to detect whether ec2-init is on EC2 in order to decide if it should run, then I would again propose the following:17:37
erichammondec2-init is inert when initially installed as a package.  It requires a positive, conscious action to enable the startup scripts.  This could be done with a config file tweak or an explicit command which bumbling users would never accidentally run.17:39
erichammondThis solves the problem Martin listed of users accidentally installing the package to check it out and having their ssh host keys overwritten.17:39
erichammondvmbuilder can easily tweak a file or run a command after installing the ec2-init package.17:39
erichammond.17:39
smoserthat is true, and quite simple.17:40
smoserthere are 2 things i see as an issue with that17:42
smoser1. is that, then if someone takes the uec image (which has ec2-init set to active), and runs it under kvm on their system to debug, it will time out on first boot (which is annoying to me)17:42
smoser2. it doesn't give us some way to tell "am I on ec2", only "did someone tell me I was on ec2"17:43
smosererichammond, thoughts on that?17:47
smoser1 is fairly easily workaroundable by allowing a "not-on-ec2" cmdline to force ec2 into inert mode17:48
erichammondsmoser: There was a thread a long time ago on http://ec2forum.notlong.com about how to tell if you're on EC2.  As I recall, there was no good answer, but they were looking at it from a proof perspective instead of a "most likely" perspective so there might still be good ideas there for (2).17:49
smoser2 isn't really that big of a deal, other than that we were hoping to use this script to run otherplaces (ie, in the apport hook). it would be nice to have more truthful indication of the environment as opposed to a statement of how the OS is configured17:49
erichammondI haven't thought about (1).17:50
smoserwonder if soren can read that. i think its much simpler than a bunch of circumstantial guessing17:53
zulwhy not just query the metadata service the very first thing you do and then exit?17:55
smoserbecause the metadata service might not be there17:56
smoser"yet"17:56
smoseror, the non-ec2 user may have firewall configured such that attempts to reach http://169.254.169.254/ may just hang , causing annoying long timeout17:57
dendrobateskirkland: if I reinstall but keep my home partinion and do not reformat it, will I have any problems with my encrypted home dirs?18:09
kirklanddendrobates: depends...  jaunty install or karmic install?18:09
dendrobateskarmic18:09
kirklanddendrobates: more specifically, do you have anything in /var/lib/ecryptfs/* ?18:09
clustyhow can I run apt-get dist-upgrade so that it answers yes to everything?18:10
clustyi want to be able to upgrade a whole bunch of machines from a script18:10
dendrobateskirkland: don't even have that dir.18:10
kirklanddendrobates: you're fine, as long as there's nothing in /var/lib/ecryptfs/*18:10
kirklanddendrobates: yup, then you're fine18:10
dendrobateskirkland: cool thanks.18:11
kirklanddendrobates: the key is that you have all of your config and encrypted data in /home/.ecryptfs/$USER18:11
smoserclusty, DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes18:11
clustysmoser, thanks18:11
dendrobateskirkland: I saw that, but I was still hesitant.  Should I tell the installer to encrypt or not when I install?18:12
kirklanddendrobates: not18:12
dendrobateskirkland: thanks18:12
kirklanddendrobates: no problem; i haven't tested this use case yet, but others have18:13
kirklanddendrobates: but i'm going to setup my next install this way18:13
dendrobateskirkland: I would love to have the ability to auto encrypt and decrypt external drives.  any plans to extend the integration to usb drives?18:14
kirklanddendrobates: hrm, depends on what you mean...18:15
clustysmoser, DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade --assume-yes ?18:15
kirklanddendrobates: of course, you can add an ecryptfs entry in your /etc/fstab18:15
kirklanddendrobates: and a udev rule18:16
smosermaybe. (i only did the 'install' recently)18:16
smoserbut probably.18:16
clustyworked thanks18:17
clustythe welcome screen still shows: 5 packages to be installed18:17
clustywho knows what caused it to not update...18:17
dendrobateskirkland: yeah, I could, but not everyone could, and it would be nice to mark a drive as encrypted and for udev to decrypt it automatically when it sees that uuid.18:19
dendrobateskirkland: great work though, I am loving ecryptfs.18:19
kirklanddendrobates: i see; file an upstream feature request ;-)18:19
kirklanddendrobates: good to hear, me too :-)18:20
kirklanddendrobates: that article should be published in next month's Linux Magazine18:20
tyabuxis it ok to have a complete coud with only one machine? That is, one phyiscal box running eucalyptus-cloud, eucalyptus-cc and eucalyptus-nc?18:59
smoserwell, for anyone still playing at home, this is what i have right now. erichammond, zul, soren http://paste.ubuntu.com/277296/19:03
zulsmoser: uh what is it? :)19:04
smoserwe'll just change vm-builder to write 'active=1' (or some other var that we agree on) to /etc/ec2-init/ec2-config.cfg19:04
zulah ok19:04
zulcool19:04
smoserw'll call that early in /etc/init.d/ec2-init to determine "am i turned on"19:05
zulwhy the switches? since its a apart of the init script19:06
smoserit will be a standalone program19:08
smoserand usable by anything else that wanted to check19:08
zulgotcha19:10
bnjmni'm using a 64-bit ami and i want to replace the 64-bit python with a 32-bit one. whats the easiest way to do this?19:22
smoserhm...19:28
zoopstertyabux: you can run all of UEC on one computer, however there are limitations to the modes you can use, obviously19:40
uvirtbotNew bug: #435527 in libvirt (main) "[regression] apparmor profile not updated on attach and detach of devices" [High,Fix released] https://launchpad.net/bugs/43552719:56
=== mushroomtwo is now known as mushroomblue
zul_back later20:55
ruben23hi can i increase the storage size of my /opt/ directory on my linux server..?------->http://pastebin.com/m32a9a2220:57
ruben23anyone have idea20:58
mushroomblueanyone have any tips on how to resize an LVM partition?21:06
mushroomblueI have 4 drives attached, but only two are being used.21:07
=== dendrobat is now known as zz_dendrobat
domasmushroomblue: lvresize ?21:11
domasmushroomblue: add disks to VG first21:11
mushroombluethe disks have been added.21:12
mushroomblueso maybe lvresize is what I needed. thanks.21:12
=== dendrobat is now known as zz_dendrobat
=== dendrobat is now known as zz_dendrobat
Davieysmoser: is iptables expected to work in ec2?21:26
smoseri would have expected so, yes.21:26
smoseri do not know otherwise21:26
DavieyERROR: problem running iptables: FATAL: Could not load /lib/modules/2.6.31-300-ec2/modules.dep: No such file or directory21:27
Davieyiptables v1.4.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)21:27
DavieyPerhaps iptables or your kernel needs to be upgraded.21:27
Davieywe can haz bug.21:27
=== nxvl_ is now known as nxvl
smoserwhere do you see this ?21:27
smoserwhat ami21:28
Davieylatest alpha, one moment21:28
Davieyami-fa65859321:29
smoserwhat did you run that caused that ?21:29
smoseroh21:30
Davieysudo iptables -L21:30
smosersoryr21:30
smoseri know21:30
Davieyor even sudo ufw status21:30
smoserfor some reason i was thinking the alpha6 had this fixed21:30
smoseryou need to 'apt-get update && apt-get install linux-ec2'21:30
smoserthat is fixed now21:30
smoser(now as in post yesterday)21:31
Davieysmoser: ok, upgrading linux-ec2 yields:21:34
Davieyhttp://erk.daviey.com/ec2-1.png21:34
Davieyhttp://erk.daviey.com/ec2-2.png21:34
Davieyis it fair to assume these are transient?21:34
smoseryeah, just hit enter. there is a bug on that... let me find that number.21:35
Davieyyeah, didn't realise there was a bug on it.21:36
smosergrub is bug 43475521:36
Davieysolved the module.21:36
uvirtbotLaunchpad bug 434755 in linux-ec2 "ec2 kernel has unnecessary dependencies" [Medium,Fix committed] https://launchpad.net/bugs/43475521:36
smosermodules is bug 42916921:36
uvirtbotLaunchpad bug 429169 in vm-builder "ec2: Include kernel modules in AMIs" [Medium,In progress] https://launchpad.net/bugs/42916921:36
=== zz_dendrobat is now known as zz_zz_dendrobat
=== dendrobates is now known as zz_dendrobates
howiehow do i port forward vnc in shorwall to a box on the local network?21:59
uvirtbotNew bug: #436210 in eucalyptus (main) "use ssh -oStrictHostKeyChecking in euca_conf --discover-nodes" [Undecided,New] https://launchpad.net/bugs/43621022:51
uvirtbotNew bug: #397393 in apache2 (main) "can't bind to ::1" [Undecided,Confirmed] https://launchpad.net/bugs/39739323:11
uvirtbotNew bug: #436228 in openvpn (universe) "package openvpn 2.1~rc11-1ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 1" [Undecided,New] https://launchpad.net/bugs/43622823:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!