/srv/irclogs.ubuntu.com/2011/04/11/#ubuntu-server.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
jeeves_mosshow do I setup a rule to move all e-mail marked with "**SPAM**" to the user's junk box?02:38
twbjeeves_moss: in what?  procmail?02:39
jeeves_mossdovecot02:40
jeeves_mossbrb02:40
twbjeeves_moss: so, you want to do this for existing mail, or every time new mail comes in?02:40
greppyjeeves_moss: look into sieve for dovecot.02:40
twbgreppy: hmm, could sieves replace my users' use of procmail?02:41
greppyif using dovecot, yes.02:41
twbCool02:41
greppythere's even squirrelmail and roundcube plugins to talk to sieve, so they can manage thier filters that way.02:42
twbActually I hope to roll out prayer instead, simply because it's not PHP02:43
jeeves_mosstwb, yes, existing (since once account has ~8K e-mails in it) and all existing02:55
twbjeeves_moss: OK, then you can just do that easily with mutt or python imaplib02:55
jeeves_moss??02:56
twbIn mutt for example, mutt -f imaps://user@imap.example.net02:59
twbThen T ~s**SPAM** to tag stuff with spam in the subject line02:59
twbThen ; C =/Spam RET to copy into the spam folder (and mark the local version for expunging)03:00
twbThen $ or q to expunge the spam from the local folder.03:00
jeeves_mosskk, thanks03:01
twbThat won't be as efficient as writing a little 10-line python script03:02
patdk-lapor if it's in maildir format, even easier03:21
patdk-lapusing dovecot 2.x, just use doveadm :)03:22
=== skrewler_ is now known as skrewler
twbI don't think dovecot 2 is recommended yet03:57
patdk-lapI'm sure every single feature in it isn't 100% yet03:58
patdk-lapbut I haven't had any issues with mailbox or mdbox imap/sieve/lmtp usage with it03:58
osmosisi want the kernel to cache less and to just leave the unused ram free.  I set swappiness to 10 (from the default of 60) and now it is making even more cache.  uhh...why?  isnt  a low swapiness value suppose  to avoid swapping processes out of physical memory?04:51
ScottKMy advice is don't try to be smarter than the kernel.04:56
qman__there is no benefit to having RAM free instead of caching05:00
qman__as cache is automatically purged when RAM is needed05:00
qman__and that has nothing to do with swap, either05:02
MTecknologythis is a bit frustrating....05:17
MTecknologyi have a file named 't' with a really long list and I use whiptail --textbox "t" 40 80 but there's no ability to scroll the file05:18
MTecknologyjust the first 40 lines and the rest is cut off05:18
=== cole is now known as Guest70146
=== michael is now known as Guest56557
=== cole is now known as Guest38312
kaushalhi07:19
kimmyAny body know how to set up freeradius for authenticating mac addresses? plz help07:29
kaushalThe server recognizes only 3Gigs out of 4 Gigs of RAM07:30
kaushalhttp://paste.ubuntu.com/592471/07:30
kaushalIts a 64 Bit machine07:31
twbkaushal: did you install ubuntu amd64?07:31
kaushaltwb: yes07:32
twbkaushal: ddr2 or ddr3?07:32
kaushalx86_6407:32
kaushaltwb: ddr107:33
kimmyAny body know how to set up freeradius for authenticating mac addresses? plz help07:33
twbkaushal: I really doubt it's ddr107:33
twbhttp://en.wikipedia.org/wiki/DDR_SDRAM07:34
twbDDR1 was pre-pentium iirc07:34
kimmyAny body know how to set up freeradius for authenticating mac addresses? plz help07:34
kimmyhow to set mysql database for doing mac auth for freeradius?07:34
twbkimmy: be patient.  Repeating yourself will not help.07:34
=== [switch] is now known as switch
kaushalok07:35
kaushaltwb: so is there a limitation ?07:38
kaushalI have seen it in BIOS07:38
kaushalso for setting up a gateway server, 3 Gigs would suffice ?07:39
twbkaushal: IIRC you have to populate DDR3 in triplets, not pairs07:41
twbkaushal: so if you have four sticks in there, that's why only three work07:41
kaushalok07:43
_rubenthe mainboard determines the use of dual/triple channel, not the dimms themselves07:52
_ruben3g should be plenty for most gateways, kinda depends on what you'll be running on it obviously07:53
kaushal_ruben: ok07:56
kaushal_ruben: still not fully understood07:57
kaushalapologies for asking07:57
twbI take "gateway" to mean "it's a router", i.e. 16MB is plenty07:57
kaushalOn the BIOS it shows DDR107:58
twbBut I expect he meant something else07:58
kaushaltwb: shall i pastebin the dmidecode output ?07:58
twbkaushal: didn't you already do that?08:00
kaushaltwb: it was just for memory only08:02
kaushalhttp://paste.ubuntu.com/592486/08:02
kaushal_ruben: you around ?08:09
_rubentwb: 16megs wouldn't suffice for a full ipv4 feed ;)08:13
twb"feed"?08:13
twbLast time I looked it was packet-switched08:13
_ruben+table08:13
twbAre you talking about that travesty known as NAT?08:14
_rubenno, about having 300k routes in your routing table08:14
twbMaybe if he's the backbone08:14
twbI doubt it08:14
twbssh alpha.cyber.com.au ip route | wc -l ==> 1508:15
_rubeni run edge sites but do have full routing tables at several of 'em .. so "the backbone" is a flexible thing ;)08:16
_rubeneither way, i doubt this is the case for kaushal08:16
kaushalok08:18
kaushalI have 4 slots and chip of DDR1 400 Mhz08:20
kaushalstill trying to understand08:20
_rubenyou really sure its 64bits kernel? did you grant an insane ammount of memory to the (onboard) gfx card? etc..08:22
jussihow does one upgrade ubuntu server from lucid to natty (or maverick)?08:29
kaushal_ruben: http://paste.ubuntu.com/592497/08:30
kaushalhttp://paste.ubuntu.com/592499/08:31
_rubenjussi: edit /etc/update-manager/release-upgrades, then use do-release-upgrade to perform the actual upgrades08:33
ScottKjussi: sudo do-release-upgrade08:33
ScottKYou will need to edit it as _ruben said to go to a non-lts.08:34
_rubenkaushal: looks sane08:34
kaushalok08:34
jussi_ruben: ScottKthanks08:35
kaushal_ruben: so ?08:36
jussialso, is there an appropriate tool that is equivalent to webmin for ubuntu?08:36
_rubenkaushal: what does 'free -m' show?08:36
ScottKjussi: vim08:36
_rubenebox08:36
jussiScottK: hah!08:36
jussiebox is rather strange though. :/08:36
kaushalhttp://paste.ubuntu.com/592502/08:37
_rubenkaushal: how about 'dmesg' ?08:38
kaushalsure08:38
kaushalplease give me a moment08:38
kaushalhttp://paste.ubuntu.com/592504/08:39
_rubenmy guess is that your motherboard somehow masks the area between 3G and 4G .. which isn't that uncommon for older hardware08:44
twbI thought only Windows did that08:51
kaushalok08:55
kaushal_ruben: so i have to settle it for 3G ?09:01
kaushalanyways09:02
kaushalthanks09:03
kaushal3Gigs should be sufficient09:03
kaushal_ruben: any wiki to setup gateway or router09:03
_rubensudo sysctl -w net.ipv4.ip_forward=109:04
_rubendone09:04
kaushalI mean some document or wiki09:05
koolhead11_ruben, that turns your machine into router isn`t it?09:07
_rubenkoolhead11: indeed09:08
_rubenkaushal: google probably has a huge list of those, it all depends on what you want exactly, it's not like you're giving out a lot of info here09:09
kaushalsure09:09
kaushalThanks09:10
kaushalmuch appreciated09:10
jussiI can ask also in the mozilla channel, however, does anyone know how to get bugzilla to send via gmail?09:40
twbUh, surely bugzilla is like any other well-behaved unix service, and sends via /usr/sbin/sendmail?09:41
twbIOW: configure your damn MTA09:42
jussitwb: it can, yes. However, it also can use a smtp service - and Id like it to do so. the issue is with the tls authentication mail uses.09:42
twbSanity check please: for a headless VM server, do I need virt-*manager* installed, or do I only need to install that on the desktop side?09:43
twbjussi: IME that is more hassle than it's worth09:43
_rubenjussi: you want to go through your local mta, just in case the remote smtp service isn't available for whatever reason, your local mta would queue the mail, unless that one's down as well09:48
twbGood point09:53
twbTo answer myself: no, you only need libvirtd-bin on the server side10:18
sorentwb: Indeed. libvirtd and an ssh server, and you're all set.10:19
twbExcept that virt-manager disconnects from my pty, so it fails to ask for my password10:19
sorenYou're not using keys?10:19
twb(It's *stupid* to assume that just because I'm using X, I have a full desktop.)10:19
twbsoren: it worked once I ran "ssh-add" on the remote server on which virt-manager was installed.10:20
sorenIt should be using ssh-askpass, too.10:20
twbssh-askpass is GUI, right?10:20
twbThere's no SSH equivalent of pinentry-curses10:20
sorenYou have virt-manager running on a remote server? Uh.. Why?10:20
twbsoren: because I do not want to pollute my personal laptop with such frippery10:20
sorenSorry, I'm missing something. If you can run virt-manager, why can't you run ssh-askpass?10:20
twbsoren: because it isn't installde10:20
sorenAh.10:21
twbIt's not installed because virt-manager is installed on a VM, not on a full-blown GNOME desktop10:21
sorenThat seems a bit silly.10:21
twbAnd I'm using xinit /usr/bin/ssh -X twb-scratch virt-manager10:21
twbsoren: it's a VM on a different VM system10:21
twbsoren: I *would* have installed it directly on the user's system who will be using virt-manager, but that's Fedora Core 7 and I don't think that will be easy10:22
sorenNo, nothing is easy in that context, I imagine.10:22
twbBut that doesn't detract from my assertion that it's *wrong* for virt-manager to assume it's installed on a full-blown desktop with ssh-askpass10:22
sorenI think it's reasonable to assume what is true in 99% of the cases, and consider corner cases like yours corner cases, and hence sort out the general case first and leave the rest as wishlist items.10:23
twbBah10:23
twbAaaaaanyway, where can I find instructions on migrating vmware-server 1.x VMs to libvirt/kvm?  I asked #virt on OFTC but they're asleep.  I know how to use qemu-img for migrating to plain kvm, but not how to write the XML file for libvirt10:24
sorenvirt-goodies (and Ubuntu package) has a script that converts vmx files to libvirt xml.10:24
sorencourtesy of jdstrand (*hugs*)10:25
* twb looks10:25
twbIt recommends munin-node?  How odd.10:25
sorenThat's a point of view.10:26
twbAh, because it provides munin monitoring bits10:26
sorenRight.10:26
twbWhich is fair enough10:27
twbLooks like virtd also doesn't like me naming my ifaces meaningfully10:35
twb1 theta libvirtd: 18:56:42.547: error : udevStrToLong_ui:73 : Failed to convert '009' to unsigned int#01210:35
twbsoren: OK, vmware2libvirt is sensible.  But what's the standard locations for the disk images and the XML files?10:46
twbsoren: also, can I use an LV instead of a disk-image-on-a-file ?10:46
sorentwb: LV's are fine, yes.10:47
sorentwb: The only somewhat-standard location is /var/lib/libvirt/something-that-I-don't-remember10:47
soren...but I don't think anyone really uses it.10:47
twbOK10:47
twbI guess I dig out the virt docs and work out how to change <disk type='file' device='disk'> for LV10:48
soren...since we, in Ubuntu, generally don't run as root, and thus can't easily create disk images there.10:48
sorenDon't change anything (other than the path).10:48
twbHuh, OK10:48
twbAlso, <on_poweroff>destroy</on_poweroff> is a bit worrying10:48
sorendestroy isn't as destructive as it sounds.10:52
twbhttp://libvirt.org/formatdomain.html suggests it's OK10:52
sorenIt just means "shut down", really.10:52
sorenYeah.10:52
twbYay for making up new terminology that fights old terms :-/10:52
sorenHeritage from Xen.10:52
twbAh10:52
twbThat'd be why they're referring to "domains"10:53
sorenHence the talk of "domains" rather than e.g. "virtual machines".10:53
sorenRight.10:53
twbI didn't connect because they didn't just say "dom" :P10:53
sorenYou're not alone :)10:53
twbBut hang on, if there's no standard location for the XML files, how does libvirtd find them when it boots?10:59
twbOh, I see, virsh is expected to do that part11:00
sorentwb: Oh, for the xml files? Sorry, I thought we talked about disk iamges.11:11
sorentwb: You "define" your xml files. That imports them into libvirt.11:12
sorentwb: They land in /etc, but don't touch them. If you want to edit them, use "virsh edit" or "virsh dumpxml" followed by "virsh define".11:12
twbsoren: sorry I meant both11:13
sorentwb: You did say so, I just missed it.11:14
twbI shouldn't edit them why?  Because virtd will overwrite my changes when it exists?  or just so that "virsh edit" does proper locking?11:14
sorentwb: Those are two of the reasons.11:14
twbokey dokey11:14
sorentwb: libvirt expects to own those files. If you edit them, libvirt might overwrite the changes, and will certainly not read your changes at runtime. virsh dumpxml and define are the correct interfaces to edit the files. virsh edit is a clever wrapper for those two.11:15
twbGrmph11:15
twbI do not like systems that try to be clever11:15
twbAlthough I suppose then I shouldn't be runing virtd at all, just doing it by hand11:16
sorenThe idea is fine, the problem is just that the files end up in /etc (and look like they're supposed to be edited).11:16
twbYeah, putting them in /var/lib would fix that11:16
sorenBeing in /etc make them managed by etckeeper, though, which is rather handy.11:16
twbNod11:16
twbI am a biiiiiiig fan of etckeeper11:16
sorenAnything that makes up for my lack of memory is a big win, so me too.11:17
twb(Not so much ubuntu changing the default backend to bzr, but whatever.)11:17
* soren <3 bzr11:17
twbI will concede that bzr is probably tolerable if you have a lp login, you tell bzr about it, and you store everything inside lp11:17
twbThe #bzr people basically told me that if you don't, you don't get the bzr smart server (over SSH), which is why my performance sucked so hard.11:18
twbThat and it requires around 750MB of RAM to bzr branch Emacs' repo :-/11:19
twbShould I be worried if hardy's "qemu-img info foo.vmdk" doesn't realize the vmdk is split into a shitload of -s0001.vmdk bits?11:28
twbI thinks foo.vmdk is a 4kB raw file11:28
sorenYou could help it along a bit and tell it that it's a vmdk.11:29
twbOh you're kidding11:30
twbmy non-root user has read access to *some* of the -sNNN files11:30
twbUnless those -NNNNNN-MMM files are snapshots or something?  My brain hurts.11:31
twbhttp://paste.debian.net/113661/11:32
twbOh, apparently those are a second HDD11:33
twbAaaand the first disk isn't used anymore.11:34
twbOK, WTF.  As root I can run "file" on all of the vmdk files, but "qemu-img -f vmdk foo.vmdk" is complaining that it can't read them11:40
twbhttp://paste.debian.net/113662/11:41
patdk-laptwb, those look like the 2gig max, split vmdk format11:44
twbpatdk-lap: they are11:44
twbpatdk-lap: I want to convert them to raw format so I can put them on LVs11:45
patdk-lapwhy use qemu to do it?11:45
twbpatdk-lap: what else is there?11:45
patdk-lapwhy not just use vmware to convert it11:45
twbBecause I will not touch vmware unless I absolutely have to11:45
twbCall that "plan B" if you wil11:46
patdk-lapheh, I never use split mode11:46
twbI'm migrating from legacy crap that I didn't set up11:46
sorenstrace?11:46
twbsoren: I tried that but I couldn't see what was wrong.11:47
sorentwb: Can you share it?11:47
twbsoren: now I'm trying to just copy the full directory and then try on the copy, in case it's getting confused about something.  (I'm not allowed to just chown and chmod)11:47
twbsoren: share the VM?11:47
sorentwb: The strace output.11:47
twbOh sure, one moment11:47
twbopen("fish (DO NOT USE).vmdk", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)11:50
twbWTF, qemu-img11:51
twbhttp://paste.debian.net/113664/11:52
sorenNot sure why it wants RDWR.11:53
twbIt's even doing it in the full cp -r I made11:53
twbMaybe it doesn't understand space and aprens and shit11:53
sorenI have a hard time imagining a bug where space and parens would case it to change the mode with which it attempts to open a file :)11:55
twbChanging it to fish.vmdk (including the slice names in the index text file) didn't help11:57
sorenYou do have write access to the ones in the copy, don't you?11:57
twbYes.11:58
twbI'm root, and I just chown root: and chmod 755 for good measure11:58
sorenCan you run it with strace again, please?11:58
twbqemu-img *can* read the individual slices, and correctly identifies them as sparse vmdk 2G images11:58
twbsoren: sure11:58
twbhttp://paste.debian.net/113665/11:59
sorenAh.12:00
sorenDifferent problem, I guess.12:00
sorenCan you share fish.vmd?12:00
sorenvmdk, even.12:00
twbJust the index file, you mean?12:01
sorenYes.12:01
twbhttp://paste.debian.net/113668/12:01
sorenOh, you /did/ change that, too :)12:02
twbNow I'm just trying this: qemu-img convert -f vmdk -O raw fish-s*.vmdk /mnt/scratch/fish.img12:02
twbIt seemed to work, dunno what it created though12:02
soren*chuckle*12:02
sorenfrankendisk.12:02
twbBlood users12:03
twb*blooody12:03
twbYou know, the only reason I'm doing this is because we need Windows to talk to the Australia Tax Office -- who are windows out the wazoo12:03
twbHmm, stupid question -- does libvirt need raw format just because it's LV?12:05
twbProbably using qcow2 format on top of LV would be better...12:05
sorentwb: No, that won't work.12:12
sorenand why would that be better?12:12
soren(ignoring the fact that it won't work)12:12
twbBecause you can't have sparse LVs12:12
twbSo I would have to allocate a couple hundred GB up front12:12
sorenYes...12:12
twbI would just prefer not to, that's all12:13
sorenHow do you expect they would grow if they held a qcow2 inside?12:13
twbsoren: it explodes if it tries to grow  too big12:13
sorentwb: And that's your desired outcome?12:13
twbSure12:13
* twb is not thinking too clearly at this point12:13
twbFWIW, qemu-img convert on the slices got enough for "chmod 400 fish-1.img; kvm -hda fish-1.img -vnc :0" to get as far as a window koops screen, so it seems to have worked at least partially.12:14
sorenYou don't have to convert to raw first. qemu-img can convert directly onto a raw device.12:14
sorenlike an lv.12:14
twbsoren: like "qemu-convert -f vmdk -O raw fish-s*.vmdk /dev/theta/fish" ?12:15
sorenThere's a "host_device" "format".12:15
sorenOr something to that effect.12:15
twbHum12:15
sorenit's the same thing, really.12:15
twbOK12:16
twbAhaha12:19
twbhttp://paste.debian.net/113672/12:20
twbApparently default units for LVM is the pitibyte12:20
twbEr, pibibyte12:20
twbpebibyte?  Whatever.12:20
_rubenno, apparantly its default is 1/millionth of a PiB12:22
twbOops, yeah12:22
_rubenbillionth12:22
* soren always goas "-L 40G" or whatever.12:23
sorens/goas/goes/12:23
twbI would if it was a new disk12:23
maswantwb: "Default unit is megabytes" as per docummentation. And I always use explicit units too.12:25
sorentwb: Whyh?12:25
_rubenconversion of existing disks, not that odd to specify the new location's size in bytes12:27
sorenOh.12:27
sorenRight, right. Got it.12:27
sorenGood point.12:27
* twb switches back from "panic" to "grumbling"12:27
_rubenheh12:27
TeTeTjamespage1: hi there, been toying around with Jenkins - pretty nice. However, I stumble over installing the 'violations' plugin on testing from the PPA. The Web UI tells me it is installed, but I don't see it listed in the plugins nor is there anywhere the violations checkbox for any project13:19
=== chuck_ is now known as zul
zulmorning13:27
TeTeTjamespage1: I wrote a minimal python script and stored it in lp and used Jenkins to test it, works really nicely13:32
TeTeThi zul, any updated on nova / lxc? E.g. should I test again?13:32
zulTeTeT: sure if you want13:33
TeTeTzul: ok, I'll update and let you know if it works today :)13:33
jamespage1TeTeT: hey - glad its working for you - I'll take a look at the violations plugin and see13:33
zulTeTeT: cool13:33
jamespage1TeTeT: OK - I think that you will need to install the Maven Project plugin; looks like its a dependency13:39
jamespage1TeTeT: /var/log/jenkins/jenkins.log should be complaining on startup13:39
TeTeTjamespage1: thanks, I'll give it a try. Didn't know about the jenkins log file!13:43
jamespage1TeTeT:  so you have hit one difference between the Ubuntu packaging and upstream; I was not able to include the maven-plugin by default as its not buildable from source  - no Maven3 in archive13:44
Davieyhallyn, Hey... is bug 742770, just needing uploading?13:45
uvirtbotLaunchpad bug 742770 in lxc "Erorr in syntax in ubuntu templates" [High,In progress] https://launchpad.net/bugs/74277013:45
hallynDaviey: that is fixed.  Doesn't lp automatically update status of any bug listed in changelog when package is pushed to archive?13:49
ScottKSpamapS: Your drizzle package seems to build better than the one Monty uploaded to Debian.  If you were perhaps interested in preparing an NMU, I'd sponsor it.13:49
hallynDaviey: or does the person pushing have to do that by hand?13:50
hallynof course it wasn't the latest anyway.13:51
hallynI"ll change the bug status :)13:51
Davieyhallyn, hmm.. i guess there was an issue with syntax13:55
sorenhallyn: That's generally the case, yes. Sort of.13:55
hallynwell the upload did fix 4 bugs at once13:55
sorenhallyn: dpkg-gencontrol parses the changelog entry (or entries), and adds a x-launchpad-bugs-fixed field to the _source.changes files.13:56
sorens/files/file/13:56
sorenThis gets read by Launchpad, which then goes to close the bugs (if the bug has a bug task for the given source package).13:56
hallynhm, actually the changelog is a bit messed up - it has two duplicate entries (with sequential version #s)13:56
sorenSo Launchpad doesn't per se read the changelog entries.13:56
Davieyhallyn, what upload version was it?13:57
hallynright now it is at 0.7.4-0ubuntu613:57
hallynzul: so something went wrong with the lxc changelog.  It's different int he package from in my source tree.  See the entries for versions 0.7.4-0ubuntu3  and 0.7.4-0ubuntu214:01
sorenhallyn: It looks like ubuntu2 and ubuntu3 were never uploaded.14:01
zulhallyn: ok ill have a look14:01
sorenhallyn: Judging by https://launchpad.net/ubuntu/+source/lxc/+publishinghistory14:02
sorendpkg-gencontrol by default only parses the top-most changelog entry.14:02
hallynsoren: ok, that explains that then, thanks :)14:03
sorenIt doesn't ask launchpad (or anything else) what the most recent version is, so you're supposed to pass -v<most recently uploaded version> to dpkg-buildpackage to make sure it includes older entries.14:03
sorenhallyn: sure thing.14:04
hallynsoren: oh, so when you do that it would change the bug status for all changed entries?14:04
hallynzul: I'm comparing to http://bazaar.launchpad.net/~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs/view/head:/debian/changelog14:04
sorenhallyn: Yes.14:04
zulhallyn: grr....sorry about this ill fix it today14:05
hallynzul: oh, i see there are actually 2 entries for ubuntu2  :)  so no information actually lost, no big deal :)14:05
hallynthanks14:05
=== dendrobates is now known as dendro-afk
RoAkSoAxmorning all14:42
Davieysmoser, Are you able to confirm bug 712026 easily?14:58
uvirtbotLaunchpad bug 712026 in udev "cloud-init.conf never runs, instance not reachable via ssh" [High,Confirmed] https://launchpad.net/bugs/71202614:58
smoserit would be impossible to completely confirm14:59
smoserit happend ~ 4% of the time14:59
Davieyhallyn / zul: Is the debootstrap entry on bug 740167 invalid?14:59
uvirtbotLaunchpad bug 740167 in lxc "LXC natty guest failing to configure properly" [Undecided,Fix released] https://launchpad.net/bugs/74016714:59
Davieysmoser, Ah, so perhaps jamespage should see it in jenkins for b2?15:00
zuli think so it got worked around15:00
smoserwell, we should see lack of it.15:00
smoserDaviey, i would suggest we should try running a bunch of instances to try to catch it.15:00
jamespagesmoser, Daviey: do you want me to try running a subset of the tests to reproduce?15:01
=== kentb_ is now known as kentb_dell
Davieysmoser, Is euca enough, or do you think it's limited to aws?15:01
jamespagemulti-instance might be a good one :-)15:01
=== kentb_dell is now known as kentb
hallynDaviey: i blievei t should be valid, and i believe it is still a real bug in debootstrap15:01
=== kentb is now known as ubuntu-touch
=== ubuntu-touch is now known as kentb
Davieyjamespage, I'll defer to smoser's recommendation :)15:01
smoseri have never seen it on euca. its timing. so its either more likely, less likely, or as likely on eucalyptus15:01
Davieysmoser, "There are known unknowns that we know we don't know"15:02
smoserjamespage and i only ever saw it occur on i386.  so i would suggest that we launch 20 instances in each of 5 regions of i386 m1.small and attempt to connect and  collect logs.15:03
smoserthat would seem like a reasonable effort15:04
jamespageRight-oh15:04
smoserhowever, we might not have -server images with that kernel at the moment.15:04
jamespageI'll hold off for the moment - I'll need to just check on the setup anyway15:04
=== jjohansen is now known as jj-afk
=== hggdh_ is now known as hggdh
smoserDaviey, i'm pretty sure, that ther eis no updated kernel published yet15:12
smoserright ?15:12
jamespagesmoser - will that blow my account limits? 20 in each region....15:13
smoserit might. i dont know.15:13
smoseri can run them if you'd like15:14
smoseri dont recall if the default is 10 or 2015:14
smoserthey are per-region, though15:14
Davieysmoser, not sure15:14
ttxhey guys, testing Natty current uec-image / LXC / Nova, have a few issues I discussed with zul already15:15
ttxThe container starts, but there is a sleep 60 somewhere and I can't ping it until 70 seconds after start15:16
ttxthen there are quite a few missing files affecting operation...15:16
zulalso the ssh seems to be stopping for some reason15:16
ttx/etc/default/locale, /etc/ssh/ssh_host_{dsa,rsa}_key[.pub]15:16
ttx~ubuntu/.ssh/authorized_keys15:17
ttxtrying to make sure it's an image issue, not somethign we need to fix on our side15:17
ttxlet me know if that rings a bell.15:18
smoserttx, zul i think you're confused.15:24
smoserzul told me on friday that they worked perfectly ;-)15:24
zulsmoser: wth kvm15:24
zulsmoser: this is with lxc now...not so much15:24
smoseri suspect the sleep 60 is form cloud-init15:24
smoserthat its waiting for a nework device to come up15:25
zulhallyn/smoser: im getting something weird in my log files ill pastebin it in a sec15:27
zulsmoser/hallyn: http://pastebin.ubuntu.com/592646/15:30
smoseri would qualify that as a little more than "weird"15:31
smoseryou said you had tested this, right zul ?15:31
zulsmoser: i did test it...not with lxc recently though15:32
smoserttx, zul, there is, explicitly a 60 second timeout in /etc/init/cloud-init-nonet.conf15:32
smoserwell, even 70 seconds (10 + 60)15:32
smoserso i suspect that is not functioning well with lxc.15:33
ttxsmoser: i could live with the 70second-timeout... if I could ssh in afterwards15:33
ttxbut due to the missing files I can't15:33
smoserwell, you probably have messages lke "gave up waiting for a network device."15:33
smoserin your ocnsole logs15:33
jMCgHey folks, I'm having trouble booting a KVM (both host and guest are Ubuntu 10.10) http://dpaste.com/530912/ -- the vm just hangs there..15:34
ttxsmoser: no... http://paste.ubuntu.com/592627/15:34
hallynzul: what am i looking at?15:34
ttxsmoser: I have network up after 70 seconds.15:35
ttxI can ping, but ssh fails because of missing /etc/default/locale, /etc/ssh/ssh_host_{dsa,rsa}_key[.pub]15:35
hallynzul: what's weird about it?15:36
zulhallyn: the mknod failing15:36
hallynzul: libvirt-lxc only creates the 1 tty, so tty2-4 won't exist.15:36
zulhallyn: ok15:36
hallynwhich mknod is worrying you?15:36
zulhallyn: gimme a sec im on a call now15:37
hallynme too15:37
hallynkirkland: Daviey: re bug 700511, I'm about to try just syncing debian's vgabios verbatim.  They have a new version now which does the vmware+qxl bioses, so I think its the way to go.15:40
uvirtbotLaunchpad bug 700511 in vgabios "[Regression] Widescreen resolutions are missing from vgabios, breaking widescreen in qemu" [High,In progress] https://launchpad.net/bugs/70051115:40
hallynany complaints?15:40
kirklandhallyn: hrm, i always check with aliguori privately on vgabios syncs/merges, he knows which ones are good and bad, usually15:41
kirklandhallyn: but along those lines...15:42
kirklandhallyn: i'd think that vgabios would be one thing that we could have a checklist of things we need to verify before uploading15:42
kirklandhallyn: ie, a matrix of vga modes, resolutions, and OSes15:42
hallynkirkland: sure, that makes sense.  but at the same time compared to other things that seems very low priority.15:44
kirklandhallyn: extremely low, yes, sorry, I didn't mean "let's do that now" :-)15:44
hallynwhich is really why I'd be very happy to be back at a zero-delta debian sync15:44
SpamapSScottK: re the drizzle package for debian, ACK, I will take a look at it later today.15:45
ScottKThanks.15:45
ScottKI didn't compare the Ubuntu and Debian packaging.  No idea how different it is, but yours at least builds.15:46
ppetrakijMCg, get to the grub prompt, erase the quiet arg and add '--debug'15:47
SpamapSScottK: I think in Debian its still a pre-release not the GA (2011.03.13)15:47
ScottKNo.  It's the same upstream version.15:48
SpamapSInteresting15:48
uvirtbotNew bug: #757617 in munin (main) "mysql_ plugin fails with skip-innodb (patch available)" [Undecided,New] https://launchpad.net/bugs/75761715:56
jMCgppetraki: that does quite a bit.. I can pastebinit.15:58
ppetrakijMCg, we really only need to see the last bit, where it hangs15:58
ppetrakijMCg, pb is good15:58
jamespageDaviey: merges proposed as we discussed earlier - thanks...15:59
jMCgppetraki: http://pastebin.com/zQWFG3SW16:00
Davieyjamespage, cool16:02
ppetrakijMCg, looks like the filesystem is mounted, and network is up. If you press enter a couple times, does a prompt show up?16:14
jMCgppetraki: nope.16:18
ppetrakijMCg, yeah, I couldn't tell you. The startup looks fine, I can't tell why you're not getting a prompt, unless it's something like the console is on the wrong tty16:19
=== zz_carcinogen75 is now known as carcinogen75
jMCgppetraki: the XML: http://pastebin.com/TeJ649ZA16:26
ppetrakijMCg, what do you need " serial=tty0" for? the console= should be enough16:26
jMCgOh.. duh.16:27
jMCgI forgot to put a /etc/init/ttyS0.conf in there16:27
ppetrakijMCg, I was wondering why I didn't see that in the init logs ;)16:28
zulsoren: im going to upload a newer version of glance to the archive today fui16:31
zulsoren: s/fui/fyi/16:31
jMCgppetraki: thanks for your help -- now to find out why the networking setup doesn't work.16:39
ppetrakijMCg, :), good luck16:40
smoserhallyn, zul it would appear to me that (per http://pastebin.ubuntu.com/592646/), /dev/ is read-only16:41
smoserdev should be mounted RW by either or ramdisk16:41
zulsmoser: that occured to me as well16:41
smosereither kernel or ramdisk16:41
smoserwhat kernel is this ?16:42
smoseryour'e trying to run this on a lucid host16:42
smoseri suspect16:42
zulsmoser: lxc container on natty16:42
smoserwell, something needs to mount /dev as a tmpfs16:42
zulsmoser: right16:43
smosererr... devtmpfs.16:43
smoserttx, did you see that mknod stuff in your logs ?16:43
hallynthe mknod stuff could just as well be due to devices cgroup16:44
hallynzul: can you fire off a job to check /dev/?16:44
hallynzul: it's possible that this was broken to my change to lxcguest.16:44
zuli have the image still mounted if that helps16:44
hallyncools o what is under /dev?16:45
hallynas in, output of df and 'mount'16:45
zulhttp://pastebin.ubuntu.com/592674/16:45
zulshould i chroot into it to get you that?16:46
hallynno that won't suffice16:46
hallyncan you log into the console?16:46
ttxsmoser: no I didn't see that16:46
zulhallyn: lemme try16:46
smoserttx, do you have access to look at the filesystem ?16:47
ttxI can restart an instance for that, yes16:47
smoseri suspect that /var/run/network/ifstate does not get updated16:47
smoserand so the "is it already up" check of cloud-init-nonet.conf (grep -qv '^lo' /var/run/network/ifstate) just fails, and then the network device doesn't come up after that (possibly because its already up)16:48
hallynsmoser: lxcguest can't make /var/run a tmpfs for now, yes16:48
hallynso you just need to manually create /var/run/network16:48
zulhallyn: http://pastebin.ubuntu.com/592678/16:49
smoserwell, something will need to populate it for this stuff to work.16:49
smoser(normally that is populated via ifup)16:49
hallynright so why doesn't ifup do it here?16:50
hallynlxc containers are coming up fine, so i'm confused as to why you're having troubles16:50
ttxsmoser: anything in particular you want me to look at in the container fs ?16:51
hallynzul: how do you create the basic rootfs which gets used?  can you trivially add another package?16:51
hallynzul: first off, this will cease to be a problem once we get proper shutdown/reboot support for lxc16:51
zulhallyn: i just mount through qemu-nbd basically16:51
hallynzul: the problem is that mounting tmpfs over /var/run stops lxc init's parent from seeing the guest's utmp and seein gif it is a reboot or shutdown16:51
hallynzul: so basically you can either:16:52
hallyn1. uncomment the lines in /lib/init/fstab.lxc16:52
hallyn2. install your own /etc/init/libvirt-lxc.conf which works around this16:52
hallynis (1) pretty easy to test?16:52
zulhallyn: i can install packages in it without a problem16:52
ttxsmoser: no /var/run/network directory16:53
hallynzul: ok, i guess create your own lxcguest real quick with a fstab.lxc with the lines uncommented16:53
zulhallyn: ok16:54
hallynzul: so it's ok for this to be a one-off for now?16:54
hallynzul: or do i need to think of a clean way to handle this generically?16:55
zulhallyn: i think we need a clean way to handle this generically since it might bite us in the future again16:57
hallynwell it'll be a shorterm thing in any case16:57
hallyni'm still curious about the actual problem16:57
hallyni.e., why does lxc seem to create /var/run/network just fine while libvirt-lxc does not?16:58
smoserttx, yeah, so zul/hallyn are going to have to sort that out..16:58
hallynare you changing anything in the upstart jobs?16:58
hallynor is this a pristine natty guest plus lxcguest?16:58
zulits a pristine natty plus lxcguest16:58
zulhallyn: because it doesnt use the lxc-templates in lxc16:59
ttxsmoser, zul, hallyn: ok, let me know when/what I can retest... tomorrow.16:59
hallynbut the lxc natty template doesn't play with those16:59
zulhallyn: right thats what im saying :)17:00
hallynzul: so waht would be the diff between lxc and libvirt starting it17:00
zulhallyn: im not sure17:01
hallynzul: you can trivially change the string you put in init's ENV right?17:01
hallyn(for 'container=lxc' or whatever?)17:01
zulhallyn: i think so17:02
hallynif so, it's sort of admitting that we'll always have to be hacky, but we could make libvirt do 'container=libvirt'17:02
hallynthen lxcguest can DTRT17:02
zulhallyn: that might be what needs to happen17:02
zuland then get a proper fix after natty17:02
hallynyeah like i say we're going to fix the proper reboot/shutdown hopefully before lxc sprint, but if need be then at lxc sprint17:03
zulhallyn: agreed17:03
hallynzul: can you make the libvirt change?  I'll do the lxcguest change and get it to you to push?17:03
zulhallyn: sure if i need where to look17:04
ScottKpython-psutils is in Main now.17:04
hallynzul: say huh?17:04
RoAkSoAxScottK: thanks!17:04
hallynzul: ok, biab.17:05
ppetrakiFYI ALL, if anyone is having problems with SANs on Ubuntu, I'd like to hear about it.17:07
zulppetraki: you probably get some more traction if you send it to ubuntu-server ml17:09
ppetrakizul, true17:11
=== jj-afk is now known as jjohansen
kirklandRoAkSoAx: ping17:51
RoAkSoAxkirkland: pong17:51
kirklandRoAkSoAx: https://bugs.launchpad.net/ubuntu/+bug/73275917:51
uvirtbotLaunchpad bug 732759 in ubuntu "[FFe] [needs-packaging] python-ethtool" [Wishlist,Confirmed]17:51
kirklandRoAkSoAx: i'm checking status on that17:51
kirklandRoAkSoAx: looks like pitti gave you the FFe on 3/1517:52
kirklandRoAkSoAx: any thing uploaded?17:52
RoAkSoAxkirkland: yeah.. https://launchpad.net/ubuntu/+source/python-ethtool/0.6-0ubuntu117:52
RoAkSoAxkirkland: I think the upload never closed the bug report17:52
kirklandRoAkSoAx: k, i'm going to close it then17:53
RoAkSoAxkirkland: but as far as I can remember it was marked as Fix Released for Ubuntu and New for Debian, so maybe they messed something up when they were working on launchpad17:53
kirklandRoAkSoAx: thanks.17:53
RoAkSoAxkirkland: btw... you were the archive admin that approved the upload :)17:55
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #757752 in libvirt (main) "LXC containers do not start anymore." [Undecided,New] https://launchpad.net/bugs/75775218:07
SpamapShggdh: not sure why bug #735072 is assigned to canonical-server .. what are we going to do?18:07
uvirtbotLaunchpad bug 735072 in hundredpapercuts "The hostname proposed by installer is too long for file sharing to work correctly." [Low,Confirmed] https://launchpad.net/bugs/73507218:07
zulSpamapS: rewrite netbios ;) samba already truncates the hostname18:12
SpamapSIt seems like this needs to be handled as the user requests.. by warning/limitting in the installer.18:14
zulSpamapS: ditto ive already argued that point before18:14
hggdhSpamapS, zul: I am not sure why we have to limit the host name -- it goes against the RFC18:21
zulhggdh: right its a netbios limitation18:23
hggdhSpamapS, zul: I can see this being done on, say, the samba post-installer18:24
hggdhand the task is on samba(ubuntu)18:24
zulhggdh: what like a hostname | wc -m and warn install if its more than x number characters18:25
hggdhzul: or just truncate it?18:26
zulhggdh: no because its going to do that anyways18:26
hggdhadn warn it has been truncated18:26
hggdhzul: I am confused, then: what is truncated, the system hostname, or the netbios name?18:27
zulhggdh: my understanding is that it uses the hostname for the netbois name and it gets truncated when using netbios18:27
hggdhzul: and so, what is the bug about, then?18:28
hggdhor is it a SRU thingy?18:28
zulhggdh: that netbios is not respecting the rfc18:28
hggdhzul: well, this is how it is, nothing we can do without breaking it for everybody else18:29
zulhggdh: agreed18:29
hggdhzul: could you then please add your comments -- the hostname is already truncated, and netbios is happy, etc, etc?18:30
zulhggdh:18:31
zulyes18:31
hggdhzul: and, of course, that it does not make sense to limit the hostname unilaterally -- the user can select that, and so on18:37
zulhggdh: yeah im thinking of doing a warning in postinst18:37
axisyshi all.. any beneft in having ssds on ubuntu server? on solaris I can put the ZIL on ssd to improve write IOs18:37
=== hallyn is now known as hallyn-afk
=== NG_ is now known as ng_
uvirtbotNew bug: #681090 in memcached (main) "status operation on init.d not working correctly" [Low,Triaged] https://launchpad.net/bugs/68109019:11
ScottKnetbios name doesn't have to be hostname.19:20
ScottKThat's an implementation convenience.19:20
hggdhScottK: agreed. The only thing left was to decide what approach to take.19:25
ScottKI vote not enforcing non-RFC limits on hostnames.19:26
ScottKSamba and netbios can do whatever they want.19:26
hggdh+119:30
uvirtbotNew bug: #637114 in memcached (main) "Large multiget requests randomly broken" [High,Fix released] https://launchpad.net/bugs/63711419:47
ppetrakiaxisys, beyond the obvious by way of random read/writes being about the same as seq rw?19:48
ScuniziHow do I verify the validity of an email address given as part of the registration process on a web site?  assuming that I have a comma delimited file that I can use to feed the tool addresses?19:48
Trainbirdhi everybody19:49
TrainbirdI wanted to know if its possible to install ubuntu server on a RAID 1 environment19:50
axisysppetraki: how do I implement it?19:50
axisysppetraki: in linux19:51
ppetrakiaxisys, implement what exactly? what I described is a property of the media/firmware, it's OS independent19:51
sss314[noob] Is there a software for Ubuntu for streaming videos/music?19:51
uvirtbotNew bug: #374986 in memcached (main) "Memcached not active after reboot on 64-bit install" [Undecided,Fix released] https://launchpad.net/bugs/37498619:52
uvirtbotNew bug: #411856 in memcached (main) "Lame default for memcached in karmic (dup-of: 374986)" [Undecided,Confirmed] https://launchpad.net/bugs/41185619:52
uvirtbotNew bug: #530920 in memcached (main) "memcached segmentation fault" [Undecided,Invalid] https://launchpad.net/bugs/53092019:52
Scunizisss314: lots..19:53
sss314Scunizi, rephrase: What easy software wou.d you recommend fo making a streaming server?19:53
axisysppetraki: is there way I can use SSDs on linux to allow async IOs to write on it?19:53
ppetrakiaxisys, well, yes, there is an async-io api19:54
RoyKTrainbird: it is - either software raid or hardware raid19:56
ppetrakiaxisys, I don't get what you're trying to deploy though, there's so many options with Linux, you've got to pick a fs or sw raid stack first, and then start tweaking19:56
Trainbirdsoftware raid19:56
RoyKTrainbird: just choose manual partitioning, create one partition on each drive for each mirror, choose software raid config, create RAID1 groups, put filesystems/swap on them, done19:57
axisysppetraki: i have two ssds in this server .. it was supppose to be used for solaris .. but we decided to go with ubuntu server.. it is sun fire x4170 m219:57
Tom___I know that the Ubuntu-Desktop have alternate cd images for advanced installations but is this true for ubuntu server as well as I am trying to see how to install ubuntu server with raid on HP ML115 G519:57
axisysppetraki: so we are wondering how can we benefot from the two SSDs ..19:57
axisysppetraki: this server will mainly run splunk19:58
TrainbirdRoyK: and then it will also be possible to create new partitions to raid them for normal data-use?19:58
RoyKsure19:58
ppetrakiaxisys, splunk?19:58
axisysppetraki: splunk index storage does not need SSDs unless the indexing is throttling.. which is not in our case19:58
RoyKTrainbird: it's just partitions and raid - it doesn't matter what you'll use them for19:58
axisyssplunk: http://splunk.com is to index your logs19:59
TrainbirdRoyK: okay, I'll give it a try :)19:59
Tom___I know that the Ubuntu-Desktop have alternate cd images for advanced installations but is this true for ubuntu server as well as I am trying to see how to install ubuntu server with raid on HP ML115 G519:59
RoyKTom___: the alternate install, now called the DVD install, is both desktop and server20:00
RoyKTom___: if that server has a RAID controller, use that20:00
Scunizisss314: depends on what you want to do.. check this out. http://www.google.com/linux?hl=en&q=streaming+server+ubuntu&btnG=Search20:00
Tom___is this available from cdimage.ubuntu.com if so can you give me the link so I can see exactly which image to sownload20:00
RoyKTom___: do you need X?20:01
Tom___no20:01
Tom___cli is fine20:01
RoyKthen just install from the server image20:01
RoyKyou can setup RAID etc from that quite easily20:01
RoyKTom___: but then, an ML115 might have a RAID controller?20:02
Tom___It has a hardware raid controller20:02
Tom___I guess its a case of rtfm20:02
RoyKthen use that20:02
RoyKboot on the smartstart cd and setup raid with that20:02
RoyKubuntu will see one drive, which is fine20:03
ppetrakiaxisys, so regardless of application, you can use something like blktrace to start getting data on your application, and take it from there20:03
ppetrakiaxisys, then again SSDs are fairly inexpensive at this point so the "try it and find out" methodology is relevant  too20:04
Tom___also one more thing out of all the raid levels which one would you suggest for a media server style of host i.e. high availability, robust mirroring or striping?20:04
smoserkirkland, i think you did the uec-seeds commit wrong20:05
smoserwe needed to add 2 binary packages: cloud-initramfs-growroot and cloud-initramfs-rescuevol . it seems you added source package cloud-initramfs-tools (http://paste.ubuntu.com/592770/)20:06
RoyKppetraki: using SSDs for servers is a waste unless you need the extra IOPS - they wear out far quicker than spinning rust20:07
ppetrakiRoyK, I wasn't exactly recommending them :-p20:07
ppetrakiRoyK, you don't get much warning when they fail either20:07
zimHi all. I am trying to setup a raid 1 with 2 x 2TB drives. I have formated the whole 2TB on both to EXT4 then used configure software raid added both sdb1 and sdc1 to the raid but it is showing as unusable.20:08
RoyKppetraki: that's why I use zfs for critical data storage :P20:08
zimis 2TB to big or am I missing somthing?20:09
RoyKno, it's not20:09
ppetrakiRoyK, yeah, btrfs has cost me data 1-2 times now, not too happy with it20:09
zimI did not thinkk so as that was the ext3 limit20:09
zimwhat am I doing wrong?20:10
RoyKext4 supports 1EiB20:10
RoyKshould suffice20:10
ppetrakizim, you're using mdadm, software raid?20:10
RoyKppetraki: btrfs isn't flagged stable20:10
RoyKppetraki: zfs is rock fucking stable :)20:10
zimyup but setting it up with the installer. (as I have done before and all worked great)20:10
* RoyK has some 380TiB on ZFS20:11
ppetrakiRoyK, I know, but I was expecting just a little more stability, good thing I do nightly backups20:11
RoyKppetraki: you shouldn't expect stability on software flagged as experimental20:11
ppetrakiRoyK, the source of all disappointments  :-)20:12
zimppetraki: what is wrong with ext4?20:12
ppetrakizim, oh nothing20:12
RoyKzim: he was using btrfs20:12
zimok20:12
eichihttp://pastebin.com/Vh3Jv43e someone can tell my, why apt-get install postfix does REMOVE so much packages?20:12
ppetrakizim, so these partitions are marked as "linux raid" and you added them to the array?20:12
RoyKeichi: because postfix replaces exim20:13
RoyKyou don't want two MTAs on the same system20:13
zimnope. Free space -> make ext4 partition on both -> add to raid20:13
zimis that wrong?20:13
ppetrakizim, so there's your problem20:13
ppetrakizim, yeah20:13
RoyKzim: yes, that's wrong20:13
RoyKzim: flag the partitions as "use for RAID" (don't remember the exact text)20:14
zimkewl problem half solved dam crappy howto :)20:14
ppetrakizim, assuming you're using one partition to span the entire disk20:14
ppetrakiwe'll, we should have better docs too20:14
zimyup just want a 2tb /Data partion20:15
zimthe os is on another drive20:15
RoyKzim: just create a partition on each drive and flag it for RAID use20:15
eichiRoyK: shouldnd be a problem for the system?20:15
ppetrakizim, it's partition tag "fd"20:15
RoyKeichi: the system wants an MTA, any will do20:16
zimI am doing it from the ubuntu-server 10.04 installer20:16
RoyKzim: should work well20:16
RoyKzim: I've installed software RAID on a dozen or so servers the latest year - works for me (tm)20:17
zimI have just deleted all partions so now have 2 tb free space on both20:17
RoyKzim: create partition - instead of choosing ext4, choose "use as physical ... for RAID"20:17
zimthats where I went wrong will get back if I have any other problem Many Thanks to you both.20:18
ppetrakinp20:18
ppetrakiRoyK, so are you using zfs on linux or do you have some solaris instances kicking around?20:19
RoyKppetraki: openindiana20:19
RoyKzfs fuse sucks rather hard on write performance20:20
ppetrakiRoyK, that's pretty cool, I never heard of that project before20:21
RoyKopensolaris fork20:21
ppetrakiyeah, I'm reading the faq now20:21
RoyK:)20:21
ppetrakiit's amazing how long linux has been around and we still don't have the fs thing figured out20:21
RoyKwell, ext4 works, but btrfs should have stabilised ages ago20:22
RoyKbut seems there's a key person at Oracle working on certain parts20:22
RoyKfsck for one20:23
RoyKalso, they don't have any raid[56] code working20:23
RoyKI guess btrfs may stabilise in a few years, but only if development resources are allocated to it from someone like RedHat20:24
RoyKor Canonical20:25
kirklandsmoser: oh, doh20:31
kirklandsmoser: did you fix, or do you want me to?20:31
smoseri cannot commit, kirkland so please do20:32
smoser(no coredev)20:32
sorenzul: Cool.20:32
kirklandsmoser: doing so now20:32
kirklandsmoser: fixed20:34
kirklandsmoser: that teaches me to commit on your behalf without a proper merge proposal :-)20:34
zulsmoser: why was 60 seconds choosen anyways?20:35
smoserzul, no good reason20:36
smoserwe basically depend/expect there to be an eth020:36
smoserwe assume there is eth0 and it is dhcp-able20:37
smoserand within cloud environment it should be pretty consistent that such a thing would come up within 70 seconds of boot.20:37
zulsmoser: cool...just wondering20:38
koolhead17kim0: around20:46
koolhead17hey smoser20:46
smoserhi20:47
=== carcinogen75 is now known as zz_carcinogen75
* RoAkSoAx off to lunch20:50
eichihow to make postfix start automatically after installing ?20:51
uvirtbotNew bug: #712026 in udev (main) "cloud-init.conf never runs, instance not reachable via ssh" [High,Confirmed] https://launchpad.net/bugs/71202620:51
guntberteichi: you have to edit the config and change some value to tell it to start - if I remember correctly (but i forgot the line, it is easily spotted though)20:52
zimHi guys back again how long should it talk to format a 2TB raid 1 partition?20:59
zims/talk/take20:59
RoyKzim: ext4?20:59
zimyup21:00
RoyKdunno - perhaps 15 minutes to an hour21:00
zimwow that long21:00
zimok21:00
zimit get to 33% in half a second then just hangs/is doing it but nothing changes21:02
ppetrakizim, that might be a cue for you to get a coffee or something21:02
ppetrakizim, and check on it in 15 mins or so :-p21:02
zimkewl ok bugger just quit it after about 30min :)21:03
zimwill let it run21:03
ppetrakizim, so is the array rebuilding while you're formating the new md disk?21:03
zimits a pity the progress bar is not informative21:04
qman__zim, that progress bar is only indicative of the number of tasks that it has completed out of the number it's doing21:15
qman__so if you have one really small partition and one huge one, it will instantly reach 33%, then take a very long time to do the huge one21:15
zertyuihello there21:44
zertyuiiptable  is it easy ?21:45
TheEvilPhoenixzertyui:  what do you mean by "easy"21:45
zertyuithis is what i mean  : http://www.thefreedictionary.com/easy TheEvilPhoenix21:47
TheEvilPhoenixzertyui:  short answer, no.  long answer, maybe.21:47
RoyKzim: just use ufw21:48
TheEvilPhoenix^ that21:48
uvirtbotTheEvilPhoenix: Error: "that" is not a valid command.21:48
RoyKzertyui: that one was for you21:48
TheEvilPhoenixzertyui:  i'd recommend you use ufw rather than just iptables21:48
TheEvilPhoenixzertyui:  iptables is complicated in comparison to ufw21:48
RoyKufw can do most iptables stuff21:48
TheEvilPhoenixindeed21:48
zertyuiwhat is the difference between ufw and iptable  ?21:48
TheEvilPhoenixzertyui:  ufw isnt complicated :P21:48
RoyKufw is an iptables wrapper21:48
TheEvilPhoenixzertyui:  ufw lets you define rules simply, but it will automatically fill in iptables' rules based on the uncomplicated rules you specify to ufw21:49
zertyuidefine rules simply, like what ?21:50
RoyKzertyui: man ufw21:51
=== dendrobates is now known as dendro-afk
zertyui       This program is for managing a Linux firewall and aims to provide an easy to use interface for the user.21:53
zertyuihow easy it is ?21:53
zertyuiis there any web based application for that ?21:54
RoyKzertyui: did you read the manpage or just the header?21:55
zertyuijust the header21:56
RoyKbingo21:56
RoyKread on21:56
zertyuii don't have any idea about what can firewall can do21:56
zertyuigive me some example kind of task21:56
RoyKsee EXAMPLES in the manpage21:57
zertyuican we do with ufw21:57
RoyKdoes 'RTFM' sound familiar?21:57
zertyuino21:59
zertyuii know this one  : WTF22:00
RoyKzertyui: just read the manual and stop bothering us22:04
zertyuiok fine22:04
jMCgmmmmmmm....22:16
uvirtbotNew bug: #758082 in augeas "[armel] segfaults in make check pass when built with optimization" [Undecided,New] https://launchpad.net/bugs/75808222:17
jMCgWonder if I should RTFM too, or ask stupid questions first on ufw..22:17
=== jeiworth__ is now known as jeiworth
hallynzul: all right, please try with my newest lxcguest (just pushed to bzr) as well.  That gives you a console when you do 'virsh -c lxc:/// console n1', so you can actually snoop around22:29
hallynafter i did 'rm -rf /etc/init/cloud*' it came up fine for me with eth0 having netaddr :)22:29
hallyni'm going to go look just a bit more at vga stuff, bbl.22:29
=== dendro-afk is now known as dendrobates
mrevdevery couple of days apache OOMs on me. always at the same time. how can i determine what specific apache process is causing this?22:44
zulhallyn: cool will do22:53
jMCgmrevd: how many do you have running? Doesn't syslog say which process it killed?22:54
mrevdjmcg: i see 6 apache process running22:57
jMCgmrevd: but those aren't separate deamons, right?22:58
mrevdsyslog states 'Kill process 2932 (apache2) score 180 or sacrifice'22:58
mrevdjmcg: how can i tell if they're separate deamons?22:59
jMCgmrevd: judging from the problem statement and the way you're asking, I'd say they're not.22:59
mrevdjmcg: sorry, this is new to me23:00
jMCgmrevd: what I find weird is the score. It seems low to me. How much memory do you have. What are you apache2 processes doing and how? Are they alone on that machine or do you also have other daemons (a DBMS, an MTA, etc..)23:01
mrevd5 or 6 other apache processes were killed at the same time23:03
mrevdhttp://p.linode.com/514923:03
jMCgmrevd: so you have what, ~500M memory?23:04
mrevd51223:05
jMCgmrevd: it seems a bit too low for me, either that or you're doing something severely wrong. Might want to answer the rest of my questions too :)23:06
mrevdthere are other daemons on the machine, apache is server a couple of small traffic sites23:08
jMCgWhat daemons? Should they be running on that machine, given that that one's going down regularly?23:09
jMCgAre the sites dynamic? How is httpd serving them?23:09
zulhallyn: the libvirt patch worked as well?23:10
=== dfused is now known as dfused-away
mrevdthe sites are dynamic. i'm not sure what you mean, how httpd serves them23:11
jMCgmrevd: mod_php, mod_wsgi, mod_perl, mod_cgi, etc..23:11
mrevdmod_php23:12
mrevdmostly, some cgi23:12
markattosnmpd got installed with the wrong permissions due to my umask. is this normal?23:12
markattowell, the config file for it23:12
markattoat least I assume it's due to my umask, as the permissions on it matched my umask23:13
jMCgmrevd: you could throttle MaxRequestsPerChild a bit and see if that gives you any head space.23:20
mrevdthis just started happening, i was hoping to find the process that's responsible and clean/remove it23:22
jMCgmrevd: the process responsible is, most probably your apache2 process, because it gets bloated by some ugly wordpress site with mod_php23:25
ZaclnxNewbHey, what's the best secure and easy email server for ubuntu headless 10.10?23:25
jMCgmrevd: here's a good summary of how it works: http://prefetch.net/blog/index.php/2009/09/30/how-the-linux-oom-killer-works/23:26
ZaclnxNewbI'm currently installing postfix23:27
mrevdjmcg: it's definitely apache2, but how can i narrow that down. i'm running 6 sites23:29
jMCgmrevd: I do that by running them with different daemons.23:30
mrevdjmcg: multiple apache daemons?23:31
jMCgmrevd: yes.23:31
mrevdjmcg: could you share how? i wouldn't know where to begin23:31
jMCg00:39:20 <fajita> http://wiki.apache.org/httpd/ExtendingPrivilegeSeparation23:32
=== ng_ is now known as NG_
jMCgThis here: http://thoughts.j-davis.com/2009/11/29/linux-oom-killer/ suggests, among other things, to: turn off overcommit, run FreeBSD or Solaris (and Oracle instead of PostgreSQL), do not turn off overcommit and have more memory.23:49
=== chuck_ is now known as zul

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