=== meritorious is now known as StrangeCharm [01:02] puzzling over dhcpd [01:02] the version I have is isc-dhcpd-4.1.1-P1 [01:03] there is a howto for dhcpd3 - https://help.ubuntu.com/community/dhcp3-server [01:04] do I just pretend it is dhcpd3? === jjohansen is now known as jj-afk [01:37] OK, when I want something to permanently appear on shell logins (i.e. /etc/motd), and not be deleted by any fancy-pants auto-rewriting motd junk, where do I put it? [01:37] /etc/motd.tail? [01:43] that used to be the case [01:43] but recently an update killed my motd on all my lucid servers [01:45] For now I have manually put it in both motd and motd.tail, since apparently there's no /usr/sbin/update-motd and simply logging in again doesn't trigger the pam-based update-motd gank [01:45] (The purpose of the message is, perhaps ironically, to remind sysadmins that this machine doesn't deal with rebooting properly.) [01:46] heh [01:46] mine broke a few weeks ago but I haven't had time to look into it [01:47] my systems barely qualify as multiuser though, so it's not a big deal, just annoying [01:49] It's the library server at a prison :-( [01:51] New bug: #812642 in mysql-5.1 (main) "package mysql-server-5.1 5.1.54-1ubuntu4 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/812642 [02:11] New bug: #812646 in cloud-init (main) "Race in DataSourceNoCloudNet with kvm" [Undecided,New] https://launchpad.net/bugs/812646 [02:15] Hi, we're running Ubuntu 10.04 LTS on some supermicro servers, and we're having some stability problems when the servers come under load [02:16] if the problem is triggered (sometimes due to high memory usage) the system/kernel appears to go into some sort of zombie mode where it's still accepting network connections but not responding to anything [02:17] leaving them to time [02:17] out [02:17] If I were to investigate this problem further, what is the best way to start collecting data on this failure to provide the maximum information for filing a bug === zz_ng_ is now known as ng_ === ng_ is now known as zz_ng_ [02:39] it may not be a bug at all, if the servers are simply running out of memory [02:39] it would make perfect sense that the kernel could accept connections, but then have the application unable to do anything [02:40] in most cases I've seen the OOM killer has been activated [02:40] chrismsnz: responding to ping but not doing anything else is normal behaviour when its resources are exhausted [02:40] setting proper limits would solve the problem [02:40] chrismsnz: particularly if it's e.g. thrashing swap instead of simply OOM-killing [02:40] qman__: unfortunately it's... nontrivial to set per-proc RAM limits [02:40] or finding out why you're running out of memory [02:42] yeah [02:42] I will investigate [02:42] ulimit is goo [02:42] d [02:42] also consider making sure your swap is only large enough to hold a few seconds IO [02:43] Swap is configured to be 50% of RAM [02:43] (that is, big enough for truely unused pages to page out, but small enough you can't get completely wedged) [02:43] 8gb RAM 4 GB swap [02:43] chrismsnz: thats going to -hurt- [02:43] unless you've got a 1GB San or something [02:44] other servers are configured as 4gb RAM 2 gb swap [02:44] it doesn't scale like that [02:44] so, ask yourself what you want the swap to hold [02:44] said servers have the same disk bandwidth [02:44] the same disk seek times [02:44] FWIW I don't use swap at all [02:44] so they should have the same swap [02:44] also, that [02:45] Under 2.6, default swap behaviour is so shit that it's not helpful [02:45] unless the server is ancient and can't be upgraded, I don't use swap anymore [02:45] I think that revisiting the swap configuration is probably a good idea [02:46] and I don't make any swaps bigger than 1GB [02:46] the swap usually sits with 500mb of pages in it with the memory not even close to being full (minus buffers/cache) [02:46] that's probably a good place to start [02:47] I also recall configuring our high memory servers (36gb +) to be very stingy with swap via the swappiness tweakable in /proc [02:47] Wow, swap is actually used in normal operation? [02:47] (...of that box) [02:47] twb: I believe rarely used pages are swapped out as a matter of process [02:48] and the freed ram used to power io cache and buffers [02:48] chrismsnz: only if vm.swappiness is high or whatever [02:48] it's 60/100 by default on ubuntu [02:48] I have zero'd it before given certain workloads and high memory systems [02:49] perhaps I'm placing too much trust in the kernel to swap out unused pages [02:49] and should lower this value [02:49] here is the current memory usage of an identically configured server [02:49] total used free shared buffers cached [02:49] Mem: 7994 7744 250 0 1019 3490 [02:49] -/+ buffers/cache: 3234 4760 [02:49] Swap: 4767 1238 3529 [02:50] as you can see... swap is being used even though there's 4-5gb of free memory [02:50] I dunno man [02:51] i think you shouldnt be pasting into here [02:51] :P [02:51] sorry [02:51] thanks for your help i'll bbl [02:51] my file server still has a swap because I set it up long ago [02:51] said swap is 0 used [02:51] current uptime is 21 days, but it's been up much longer than that in the past [02:53] granted it's using ~1.5GB instead of ~4GB (out of 8GB) [02:53] but I've not seen it swap since back when it had 2GB in it [02:56] IMO, if a server spends any measurable amount of time swapping under normal load, something is wrong [02:56] http://paste.debian.net/123300/ [03:03] How do I go about setting up a linux server with the ability of providing a network boot option to clients on the LAN? [03:07] you need a tftp server for that [03:07] lifeless: what? [03:08] Tommy_nmw: I was answering someone else [03:08] lifeless: sorry bro === vDubG__Gone is now known as vDubG [03:37] Daviey: does this help you with the changelog parsing thing you mentioned me at the Rally? http://rsalveti.wordpress.com/2011/07/19/launchpadlib-creating-a-changelog-for-a-ppa/ [03:43] twb and qman__: what does 'cat /proc/sys/vm/swappiness' say on those systems if you don't mind my asking? [03:44] I just went to check out the crashed server - there was some sort of kernel debug output on the screen, it was too verbose for me to read and the system was unresponsive so I could not properly read it [03:46] 60 on the one I pasted === vDubG is now known as vDubG__Gone [03:47] twb: thanks. Time to start auditing my applications [03:48] haha, guess he shouldn't have been pasting [04:45] so I'm running maverick. I need to update samba to the version in natty. I added the sources deb-src to my sources.list.d in a .list file, but they're not showing up after an update. is there something else I need to do to be able to build the package I need ? [05:17] SpamapS: oh hai [05:17] https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/812691 [05:17] Launchpad bug 812691 in lxc "failure building lucid container" [Undecided,New] [05:57] hi [06:45] how to get the MAC of a remote machine ? [06:46] eg. arp -a [06:50] maxagaz: ping it and check your arp table afterwards, or do something like ssh user@remotemachine.example.com /sbin/ifconfig [07:00] thanks [07:04] jmarsden: itym "ip n" [07:07] twb: For a machine on the same subnet, sure, you can do that, if you remember all the ip subcommands. I remember arp, it has been around longer and is portable to windows and old BSD boxes etc etc, which ip n is not. [07:08] aBah [07:10] Goooooood Morning! [07:12] Daviey: I've yet to see any evidence [07:19] twb: you'd be suprised! === smb` is now known as smb [07:34] buenos dias, Daviey [07:34] :) [07:35] hi fellows > need some help in relation with nomachine nx client/server operation ....is someone available ??? === zz_ng_ is now known as ng_ [08:03] Ursinha: o/ [08:03] Daviey: o/ [08:04] morning all [08:06] morning jamespage [08:06] hi Ursinha [08:17] morning guys [08:17] Ursinha: what are you doing up? [08:18] Daviey: ping [08:20] bon dia lynxman :) [08:20] lynxman: I'm working :P [08:20] Ursinha: bom dia! :) [08:20] Ursinha: so soon? wow [08:20] and by soon I mean early [08:21] lynxman: actually it's not too early, but a tad late :P [08:22] you can sleep when you're dead [08:22] Ursinha: I can tell you for sure, one leads to the other, somehow :D [08:22] lynxman: hola [08:23] Daviey: hola! o/ [08:23] Daviey: just wondering if you had any time this week to have a look at the package? :D [08:24] lynxman: Can you remind me of which one? I can't see it in the sponsorship queue. [08:24] Daviey: Sent you the dsc, wait a sec... [08:24] Daviey: https://launchpad.net/~lynxman/+archive/ppa/+files/mcollective_1.2.1-0ubuntu2.dsc [08:25] Daviey: just lots of fixes [08:25] on it, thanks [08:25] Daviey: you're a star (*) [08:26] lynxman: bugs with attached branches or debdiffs really do make this easier. [08:26] Daviey: will have a debdiff next time :) [08:27] http://pb.daviey.com/qwmV/raw/ [08:29] lynxman: looks fine to me, the only thing i am going to change is the Maintainer field to be Ubuntu Developers rather than MOTU. [08:29] Daviey: great :) [08:29] Daviey: as said, just small fixes to control and added debconf-po support [08:29] Daviey: also cleaned it in Lintian as much as I could [08:30] lynxman: nice job! [08:31] Daviey: thanks, trying hard :) [08:33] lynxman: uploaded [08:33] \o/ [08:34] Daviey: thank you very very much \o/ [08:37] lynxman: no, thanks for the patch! [08:39] Daviey: no no, thank you ;) [08:40] jamespage: I'm right in saying there is no point in a bouncycastle merge? [08:40] Daviey: not ATM [08:40] groovy. [08:41] I wanted to get the unit testing enablement back into debian - then we can just sync [08:41] the changes that have been made in Debian are the last set of Ubuntu changes - but not all of them [08:41] jamespage: ah, dandy === ng_ is now known as zz_ng_ [08:48] How to enable remote root login on lucid? I'm getting "Please login as the ubuntu user rather than root user" [08:49] shal3r: root logins are allowed by default. [08:50] shal3r: you simply can't using single-factor authentication, because root doesn't have a password. === mendel__ is now known as mendel_ === mcahornsirup_ is now known as mcahornsirup [08:57] twb, i know it's not allowed by default. I'm looking for way to enable it because i need to add this server to my backup system [08:59] Use multi-factor auth. [09:00] shal3r: check /etc/ssh/sshd_config for PermitRootLogin. [09:02] Daviey: wait, isn't it without-password by default? [09:03] Ah, as at lucid it is "PermitRootLogin yes" by default. [09:03] twb: Yeah.. i'm assuming he's already set a passwd. [09:04] So he SHOULD NOT set a password, but should instead use multi-factor auth (passphraseful SSH keys), since password-based authentication sucks donkey balls. [09:04] agreed. [09:05] !root | shal3r [09:05] shal3r: Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo [09:05] (i hate factoids btw) [09:05] Daviey: they exist to save me retyping the same thing each time :-P [09:05] \o/ [09:05] twb: I'm not going to argue stronly for passphraseful ssh keys, since automation might want passphraseless keys. You just have to remember that security then is a strict tree, where anyone compromising the root will get control of all downstreams servers [09:06] (ssh-agent) [09:06] maswan: granted, although a passphraseless key is back to single-factor auth, i.e. you lose [09:07] less of a loss than passwd based auth IMO. [09:07] Now, fun fact [09:07] ooo [09:07] * Daviey moves to the edge of his seat. [09:07] If you have access to the private SSH key, you can brute force its passphrase as fast as you like, WITHOUT ever contacting any server that uses it in its authorized_keys file. [09:08] twb: If you are going to insist on two-factor auth, you should have two independent factors. Like ssh key to login and password to sudo, imho. [09:08] maswan: tools like rsnapshot etc, i don't believe can use sudo. [09:08] i'm using key file + IP filter for this [09:10] Daviey: Yeah, there are exceptions, especially when you need automated systems. But then the master server that has direct and automatic root access to all the clients should require strong auth (and not run any random vulnerable services either) [09:11] Daviey: strictly, they can, but it's a fucking pain [09:11] And probably even harder if their use of sudo wasn't NOPASSWD: [09:13] interesting.. i should look at doing that.. i've always just used root for that. [09:14] * Daviey spies jamespage going on a Debian ITP spree. [09:14] just catching up with myself :-) [09:14] Daviey: I use root with rrsync [09:14] someone with OCR experience here? [09:15] (Which is in /usr/share/doc/rsync/scripts/rrsync.gz) [09:15] e.g. command="/usr/local/bin/rrsync /var/www/",no-agent-forwarding,no-port-forwarding ssh-dss ... foo@example.net [09:16] (That's in ~root/.ssh/authorized_keys, you understand.) [09:16] mendel_: There are 3 main types of people here, server developers and sysadmins; and those that cannot make up their mind and call themselves devops. The combined knowledge here is enough to take over the world. so try, [09:16] !ask [09:16] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [09:16] haha [09:17] currently using tesseract-ocr, curious to learn about commercial alternatives or better ways to integrate tesseract.. [09:17] currently grayscaling + tiff the image [09:17] * Daviey glazes over. [09:17] mendel_: this is a bad place to ask about proprietary solutions. [09:18] but as server guys some of you must have experience with it.. that's why I try [09:19] tesseract probably has its own channel, too [09:33] Daviey: devops == can't make up their minds? hah :) [09:38] lynxman: :) [09:39] Daviey: I guess you're right... can't make my mind about it [09:39] :D === mcahornsirup_ is now known as mcahornsirup [10:05] * jamespage expects from kickback for filing that may ITPs for jenkins forks :-) [10:05] /from/some [10:06] jamespage: wise to expect it indeed [10:06] jamespage: isn't kickback a good thing? Like when you get referal bonus? [10:06] /kickback/flak [10:07] howz that? [10:08] * jamespage goes for coffee [10:13] jamespage: I want a coffee. [10:13] and a pony. [10:13] * jamespage gets his thermos out [10:13] could be a while tho - quite a few hours to your house :-) [10:14] can't help with the pony [10:17] lynxman: might not be to bad - rather a heated debate going on about systemd on debian-devel ATM [10:17] jamespage: oh... systemd :) [10:17] so my ITP's might not get that much attention [10:17] jamespage: I need to subscribe to debian-devel, now that I think of [10:18] hm,.. how can I check when a prosess was started? [10:22] I have an ubuntu server running in a xen guest. I have the guest setup to mount the drives as sda1 and sda2. This is setup in fstab and the guests cfg, yet when it boot, its showing xvda1, etc. Any ideas why this is happening? Are the newer kernels forcing this? [10:22] RoyK: if you run "ps aux" it has a "Start" column that gives you a rough idea of the process start time [10:23] ps -eo pid,lstart,cmd was a bit more precise :) [10:23] MACscr: Xen drives will show as xvdaN as far as I know [10:23] RoyK: showoff :P [10:23] lynxman: why the hell is that being forced though. Thats pretty retarded =/ [10:24] MACscr: well talk to the xen guys about it, it does make sense to me though [10:25] MACscr: we are tracking the similar/same(?) issue with our ec2 images. bug #784937 [10:25] Launchpad bug 784937 in linux "/mnt not mounted, swap not used, disk is xvde" [High,Confirmed] https://launchpad.net/bugs/784937 [10:30] Daviey: so what im seeing from that is that were shit out of luck and its an intended "feature" [10:30] means i have to completely destroy all my backups and start from scratch [10:30] what a load of bs [10:31] New bug: #812806 in clamav (main) "package clamav-base 0.97 dfsg-2ubuntu1 failed to install/upgrade: subprocesso script post-installation instalado retornou erro do status de saída 1" [Undecided,New] https://launchpad.net/bugs/812806 [10:33] MACscr: If you have to destroy your backups, you are probably doing it wrong. [10:34] Daviey: its a commercial app, dont have a choice. They are crappy that way [10:34] its r1soft [10:34] crikey. [10:35] i dont think its an issue with their 3.0 product, but that has its own load of bugs, so im not upgrading, nor is a lot of people [10:35] I seem to remember there was a feature of xen that allowed the format to be changed. [10:35] But i could be mistaken, remembering something else [10:35] Daviey: it used to be an option, but i think these newer kernels are removing the option [10:35] awesome. [10:44] Daviey: just found this on the net "As of kernel 2.6.32-131, all sda* device nodes that appear in your vm***.cfg will be remapped to xvde* inside the vps. The previous behavior had been to map sda* to xvda*." [10:45] MACscr: good stuff. [10:45] no. Complete bullshit if you ask me [10:46] thats TB of data im going to have to rebackup, let alone guests i have to manually change their fstab, guests configs and who knows what else [10:55] Daviey: would you be good to sponsor another NEW package? [11:05] jamespage: No, but i would be GREAT to do it. [11:12] MACscr: apparently there is a patch around that can solve this issue for you [11:12] Also, booting with --scsi might work? [11:16] Daviey: seems like its going to be an issue with all my guests in the future, so might as well change them all now so i dont have to worry about workarounds. Still sucks though [11:18] MACscr: yeah :( [11:20] Daviey: \o/ lp:~python-jenkins-developers/+junk/python-jenkins-packaging - ta [11:24] jamespage: you really need to apply for MOTU :) [11:24] Daviey: its on my TODO list [11:24] :-) [11:24] apologies for being a PITA [11:25] jamespage: don't be sorry.. it's no problem at all. [11:26] jamespage: looks perfect, builds fine - uploaded. [11:26] Daviey: w00t - thanks v much [11:42] New bug: #812847 in cobbler (universe) "Importing ubuntu desktop no distro in webui" [Undecided,New] https://launchpad.net/bugs/812847 === zz_ng_ is now known as zz_zz_ng_ === Ursinha is now known as Ursinha-bbl [13:05] hi, i'm just wondering if there is a way to upgrade from 32 bit to 64 bit [13:05] using apt [13:06] chris_99: no [13:06] darn [13:07] so i'd just have to do a clean install then === utlemming_ is now known as utlemming [13:13] smoser: ping [13:14] yo [13:14] ready to test the AMI? [13:15] --> iceflatline (~iceflatli [13:15] wow [13:15] fail [13:15] http://uec-images.ubuntu.com/server/lucid/20110719/ [13:15] its not ready yet [13:16] yes? [13:16] iceflatline, that was paste failure, sorry. [13:17] no worries :) [13:17] utlemming, the build isn't done yet. [13:17] it looks like it will be ~ 1.5 hours. its in ebs publishing stage. [13:18] smoser: k, so we'll hit this after the block of meetings then [13:18] yeah [13:18] or... we can be ready and start it during. [13:18] the tests take a while to run [13:19] basically, try to have the tests ready to go, just waiting on the published-ec2-daily.txt file [13:19] that sounds like a prudent plan [13:25] smoser, hm... there seems to be hope that you get back xvda for oneiric. I think upstream just accepted that patch... [13:26] (we just should be glad that ec2 does not use hda* for pvm...) [13:27] smb: do you have the commit for that? [13:28] utlemming, not yet. Just got an email from Konrad, saying he pulled two of my three patches [14:14] where does ubuntu-server store mono ? [14:15] dassouki: /usr/lib/mono ? [14:17] jpds: thanks i guess the issue is that the installer can't find it, and i'm trying to follow the suggestion to use pkg-configure to find it http://paste.pocoo.org/show/442216/ [14:19] dassouki: Installed libmono-dev ? [14:20] jpds: thanks :) i think tht was it [14:21] someone has expierence with failing NFS on netbooting an Ubuntu Live CD? [14:22] (using PXE boot) === cmagina_ is now known as cmagina === oCean_ is now known as oCean [15:35] having an internet connection sharing issue. I have my primary setup as a dhcp server and it's giving ips to my secondary but no internet on the secondary [15:42] could anyone explain the advantages of using LVM when installing [15:42] or just using a std. filesystem [15:42] heh? [15:43] you can't compare those two [15:43] the advantages of using LVM vs partitions, you can though [15:43] sorry yeah [15:43] vs. partitions i meant [15:44] partitions have to be a continous solid chunk of disk space [15:44] LVM it can be fragmented, split over several disks, or even moved between disks [15:44] they can also be snapshot to make backup easier [15:44] hmm, so theres no disadvantages to using [15:44] like the FS's won't be any slower? [15:45] another layer of indirection? [15:45] yeah [15:45] not measurably [15:46] well, if you have snapshots existing, then it can noticably slow thing down [15:49] i'm basically installing on several blades, each can only have one physical disk [15:49] so maybe LVM isn't the best option in this case? [15:52] hmm? [15:52] using lvm or not, greatly depends what you plan to do with the system down the road [15:53] do you need to make consistant backups of the fs? use lvm [15:53] will you want to shrink/grow the size of it, use lvm [15:53] otherwise, probably not worth using lvm [15:53] i'll give it a shot, as i like the idea of making backups at specific time points [15:54] will be interesting to learn a new tool anyway [15:54] appreciate your advice! [15:54] adam_g, you there? [15:54] looking at bug 812553 [15:54] Launchpad bug 812553 in nova "LXC instance fails to start (dup-of: 805083)" [Undecided,New] https://launchpad.net/bugs/812553 [15:55] Launchpad bug 805083 in nova ""libvirtError: internal error cannot determine default video type" when using UML" [High,Fix committed] https://launchpad.net/bugs/805083 [15:58] smoser: i am [15:58] has anyone setup internet connection sharing before? with a dhcp server? [15:58] so i'm looking at the bug above [15:58] and the fix that is in that merge proposal [16:00] and i dont see how it could fix the issue that i'm seeing [16:00] i can dig deeper, but that fix definitely looks broken (see the last comment there) [16:01] adam_g, ^ === Ursinha-bbl is now known as Ursinha [16:02] smoser: hmm ok, what about '--vnc_enabled=false' in nova.conf as a workaround? [16:03] that might work. i can test it. [16:05] tcp6 0 0 127.0.0.1:8080 :::* LISTEN 16101/java [16:05] that's from netstat -tlnp, on a server running tomcat. it doesn't even report that it's listening on tcp, just tcp6, and it lists a v4 address in a v4 "local address" field. is this a netstat bug? [16:06] v4 address in a v6 "local address" field, i mean [16:06] smoser: works well for me. not sure why chucks commit for that and Bug #749973 wouldnt be working [16:06] Launchpad bug 749973 in nova "libvirtError: internal error cannot determine default video type" [High,Fix released] https://launchpad.net/bugs/749973 [16:08] chucks commit has broken logic, adam_g [16:10] >>> for s in ['lxc', 'uml']: [16:10] ... if s != 'lxc' or s != 'uml': [16:10] ... print "would use vnc" [16:10] ... [16:10] would use vnc [16:10] would use vnc [16:10] adam_g, ^ [16:10] looking at the diff of: https://code.launchpad.net/~zulcss/nova/lp805083/+merge/66896 [16:14] smoser: yah, duh. im awake now. [16:15] i will un-dupe that bug and submit a merge proposal to actually fix it [16:18] smoser: ok. what about Bug #812548 ? have you tried using flat manager instead? that seems to be configuration error [16:18] Launchpad bug 812548 in nova "bridge not set up correctly with LXC and all-in-one system" [Medium,New] https://launchpad.net/bugs/812548 [16:18] adam_g, how do i do that? it probably is configuration error. [16:18] or 'luser' error, one of the 2 [16:19] but really, you should get a better failure one way or the other. [16:19] smoser: i editted the script you were using to do it. you need to specificy network_manager and flat_network_bridge in nova.conf (i believe before you do 'nova network create') [16:21] i agree that the failures coul dbe more graecful and docs could be better, especially surrounding nova-network flavors [16:25] New bug: #809400 in php5 (main) "Cannot compile any version of PHP I want on Lucid due to dependencies in apache2-prefork-dev" [Undecided,New] https://launchpad.net/bugs/809400 [16:36] hi [16:36] does somebody know if it is possible that virt-install is not terminating bevor the instances is setup full? [16:47] adam_g, smoser: so i'm trying to set up the same thing (openstack on a single machine, with LXC) and running into the same problems as the bugs you've been filing... [16:49] ahs3, so i think we're stuck on the gateway bug now that is preventing it [16:49] bug 807764 [16:49] Launchpad bug 807764 in nova "KeyError: 'gateway6' - caused by unchecked hash key reference" [Undecided,Confirmed] https://launchpad.net/bugs/807764 [16:49] ahs3: which bug? [16:49] im putting together a merge for that one now [16:49] smoser: have you fixed it yet? [16:49] ah good, adam_g is saving the day [16:50] thats because adam_g rules and smoser drools [16:50] adam_g: 812553 -- happens in natty, too [16:51] bug 812553 [16:51] Launchpad bug 812553 in nova "LXC instance fails to start" [Medium,In progress] https://launchpad.net/bugs/812553 [16:51] the patch for 807764 seems to work around that and at least let you get further [16:52] * Daviey wonders why smoser is fixing it in Ubuntu packages rather than just upstream [16:53] adam_g: merge for which one? 807764? [16:54] ahs3: yes [16:54] thx [16:56] Daviey, we have this nice tool 'ubuntu-bug' [16:56] that i use to open bugs with [16:56] i collects information about the system [16:56] and it opens bugs against ubuntu packages [17:00] smoser: can you get lxc to start a guest inside a guest, independent of libvirt and openstack? /me is prolly doing something dumb... [17:03] ahs3, well... i'm fairly sure that should work [17:04] buti 'm not set up to test it *right now* [17:04] sorry to not be helpful [17:10] smoser: np. i'm trying it as we speak [17:10] smoser meet serue_ [17:11] who the heck is serue_ [17:11] serue_, Daviey thinks i should bug you about some software a guy named hallyn is in charged with [17:11] smoser: duh, it's ircname : Unknown [17:12] i'm looking for some help for bug 800856 [17:12] Launchpad bug 800856 in cloud-init "resizefs module causes problems on LXC containers" [Medium,Triaged] https://launchpad.net/bugs/800856 [17:17] smoser: did i not reply? [17:18] i did [17:18] smoser: what do you think about the upstart job i proposed? === serue_ is now known as hallyn [17:41] kirkland: hey, are you ready? where did you want to meet? mumble? [17:41] hallyn: I'm sorry, I had another meeting scheduled on top of this one [17:41] hallyn: can we do it as soon as this one is over? <1 hour? [17:42] we can try. [17:43] (I'd locked the kids in a closet for this (j/k), so they may prevent a meeting, but let's try [17:43] all: it seems the 10.04.3 20110719.1 server images (and alternate) are broken [17:45] installation fails with "no kernel modules found" === manjo` is now known as manjo [18:00] hello ppl, how can i change the default commandline for force check filesystem on reboot? i cant seem to find this info anywhere [18:01] (i know how to force the check, i just want to change the options) [18:19] olokki1: the options for the fsck ? [18:19] olokki1: it does a very quick check by default.. if you want to do the full check, that should be manual usually. [18:27] SpamapS: yes sure, but is there a way to change the default? [18:28] SpamapS: i just want to do a -D on a remote system === zz_zz_ng_ is now known as zz_zz_zz_ng_ [18:29] olokki1: I don't think you cna change the options no [18:30] olokki1: remote consoles are useful for this sort of thing. :) === med_out is now known as medberry [18:31] kirkland: I'm here if you're ready [18:31] SpamapS: yeah i wish i had payed for a kvm [18:31] hallyn: nearly done [18:31] k [18:32] hallyn: okay [18:35] olokki1: if you can tie the lost performance to money, I bet you can justify the KVM easily. :) [18:36] Anybody know a editor/tool that can re-format HTML so it's all consistant? [18:36] 'tidy' ? [18:36] Alot of the HTML I have to look at is all squished up on a few lines, makes it hard to look through [18:37] tidy? I don't know what that is, I'll look it up [18:38] it'll argue with you if the html is malformed, but it's otherwise handy for tidy -indent -ashtml to turn generated blobs back into something readable [18:39] ah cool. Just installed it. [18:41] shauno, ahhhh that's much better. Thanks, works like a charm [18:52] lifeless: when did you want to chat about Ensemble? [19:35] RoAkSoAx: Yo'll.. how are those cobbler bugs looking? [19:36] New bug: #813110 in php5 (main) "CVE-2011-1938" [Undecided,New] https://launchpad.net/bugs/813110 [19:36] New bug: #813115 in php5 (main) "CVE-2011-2202" [Undecided,New] https://launchpad.net/bugs/813115 [19:39] hi, I'm used to installing debian and ubuntu on desktop-like hardware and I'm trying to install on a DELL R710 for the first time. I'm puzzled that the four HDs appear as one device (sda) apparently set by hardware RAID. I'd like to manage each HD individually, how can I do that? [19:40] Via the raid utility [19:40] I'm familiar with mdadm, but I don't know how to access the hw raid [19:40] Watch the console as the server boots, it's ctrl+e or something like that [19:40] You can then manage your disks [19:40] Or isntall dell open manage [19:41] Riz, are you familiar with this set? is this the default? [19:41] Typically, unless otherwise stated. Dell will send the server preconfigured. [19:41] I'm not sure what they default to for the 710's...likely a raid 5 setup. [19:42] forgive my ignorance, what does this dell open manage do? [19:42] I don't think I have a manual, only some CDs, and no PDFs within [19:43] http://support.dell.com/support/edocs/software/svradmin/6.5/en/CLI/HTML/index.htm [19:43] Openmanage will let you work with the raid card, lets you do your virtual disks, replace drives and what not [19:43] with that said, it's far better to use hardware raid vs software [19:43] IMHO that is [19:45] and hw RAID is accessible through Ctrl-E in boot? [19:45] Something like that, watch the console, it'll tell y [19:45] a [19:46] it is, but it mostly let's me configure NIC stuff [19:46] iDRAC6 config utility, is that it? [19:48] yup [19:48] Erm, wait [19:48] oh, found it. It's Ctrl-R, instead [19:48] thanks! [19:48] no, iDRAC is your managment card, another very usefull thing [19:48] philsf, you'll see multiple "tabs" for virtual disks and physical disks [19:49] philsf, not the worlds greatest UI [19:49] ppetraki, yup, I see that now, in a tree-like UI [19:49] philsf, are you sure you want to do this? [19:49] ppetraki, why not? should I use all HDs as one single device? [19:50] adam_g, around ? [19:50] https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/812539 [19:50] Launchpad bug 812539 in cloud-init "FQDN does not get set correctly in /etc/hosts" [Medium,Triaged] [19:50] philsf, well, if you have a sizable cache on the controller, performance, and if battery backed, data integrity [19:51] philsf, and dell will support you, soon as you say the words "MD" they'll give up on you [19:51] ppetraki, what if I need to remove one disk? how would I substititute it [19:52] smoser: hey [19:52] philsf, the chassis has drive beaconing, it'll blink the bad disk for you [19:52] i'm looking at that first hunk [19:52] philsf, err, the slot that is [19:52] ppetraki, sorry, that's not what I meant [19:52] hostname = cloud.get_hostname() [19:52] with my mdadm background, I was planning to use the 4 available HDs in two batches of RAID1 [19:52] smoser: ok [19:53] if that was None, then wouldn't 'fqdn = cloud.get_hostname(fqdn=True)' == None? [19:53] philsf, sure ok [19:53] ppetraki, I was hoping I could do the same with the hw controller [19:53] philsf, it had better be able to do that :) [19:53] as the only way it returns None is if local-hostname isn't available [19:54] ppetraki, so what exactly are you recommending me *not* to do? I'm confused [19:54] ppetraki, not to use mdadm, you mean? [19:54] philsf, the question to ask is what do you gain from using md? To me the answer is "portability". [19:55] oh. wait. i'm reading it wrong, adam_g [19:55] sorry [19:55] smoser: fqdn = cloud.get_hostname(fqdn=True) only when local-hostname is available, otherwise use other means [19:55] ppetraki, I will gladly use whatever controller Dell wants me to use. I just don't like this default linear config [19:55] philsf, oh, I didn't know it was linear, that controller should atleast be able to do RAID 0/1 [19:55] sorry, raid5 [19:56] so then my only sisue at this point, adam_g is that local-hostname on eucalyptus is an ip address [19:56] ppetraki, what I have now is 4x140GB disks, and 1x408GB raid5 virtual drive [19:57] SpamapS: hi [19:57] philsf, *looking up specs* [19:57] I can't tell from this config utility if this already has mirroring configured for the disks [19:58] philsf, so which PERC do you have? [19:58] smoser: is it an ip or a string constructed like ip-192-168-5-1? [19:58] an IP [19:58] which is then turned into a string by cloud-init [19:58] ppetraki, perc i/6 [19:58] (right after your 'if fqdn' statment) [19:59] philsf, ah ok [19:59] philsf, so it appears to support every RAID level under the sun [20:00] philsf, and has 256M cache [20:00] smoser: sec [20:00] good. I know raid5 allows mirroring, but I never used it. does it always have mirroring, or is it optional? [20:01] philsf, RAID5 is distributed parity, can tolerate 1 fault and operate in a degraded state [20:01] smoser: better? http://paste.ubuntu.com/647593/ [20:02] smoser: actually, ill rework it in a bit [20:02] hmm, I think I know understand how this is broken down: 4x140GB disks would totalize 560GB, but I have a 408GB virtual disk. that leaves around 150GB for a parity "disk" and probably some hidden rescue partitions [20:02] does that sound correct? [20:03] philsf, it really depends on your application, do you value read perf over write perf? [20:03] yup [20:04] ppetraki, TBH I don't expect much traffic here, so I'll probably operate on very low demand, given the cpu availability [20:04] ppetraki, this will become some mail and webservers, mostly [20:05] I'd like good write performance, for mail access and maybe an FTP/SMB in a forseable future [20:05] ppetraki, does that mean I should trade raid5 for, say, raid1? [20:05] philsf, then I'd take RAID 10 over 5 [20:06] ppetraki, and will Dell support frown if I change this default? [20:08] SpamapS: I have a call with flacoste now, then Lynne and I go see the midwife from 930 (its 800 now) till 1030. Anytime outside those constraints. [20:08] philsf, perhaps, a RAID 10 is considered a "mirrored strip" or RAID 0 + 1. So you could concat two of your disks, and mirror them, giving you 280G [20:09] philsf, RAID 1 would limit you to the size of the physical disk, so 140G mirrored. Do you have any spares? [20:09] philsf, ideally this should be planned around a spare or two, resident in the chassis. Unless you like running down to the datacenter :-) [20:10] Daviey: haven't yet worked on them I'm working on ensemble atm [20:10] philsf, the easiest config to manage would be a RAID 1 (140G) with two hotspares [20:11] philsf, I'm pretty sure the dell firmware automagically puts the spare into service, check the docs [20:11] Daviey: i wanna finish some stuff with ensemble first and then will look at the cobbler stuff [20:12] philsf, also, when you go the vdisk route, the firmware will watch for physical disk problems and report back via the admin tool. less work for you [20:12] RoAkSoAx: okay.. great stuff. [20:12] ppetraki, sounds brilliant [20:12] philsf, and you get to know which disk is in which slot :-), unless you plan to write serial numbers down on the front of each cage [20:12] goodbye mdadm :) [20:13] philsf, at least in this case, I love it and it has its place [20:13] ppetraki, as I said earlier, I don't think the performance demand will require much fiddling, for me to choose raid 10 over 5. and this default setup seems sound and provides me the best space offer for the buck [20:14] ppetraki, I was just worried that it might be raid0, with no mirror, but I hadn't done the math then. [20:15] ppetraki, thanks very much for the clarifications, and the pointers [20:15] philsf, Dell usually defaults to some sort of HA setup, better to provide "safe" defaults then get a customer call about lost data === fenris_ is now known as Guest70853 [20:16] will see now the link on performance [20:17] hmm, writes are really much faster. sounds good to me [20:19] this might be more of a apache question, but nonetheless.. can i rewrite urls in a folder from site.com to site-com ? [20:20] ppetraki, thanks again, will sleep on all that [20:20] jnsl_: #httpd [20:21] philsf, no problem, glad I could help [20:42] hallyn: is there a workaround for bug 802985 ? [20:42] Launchpad bug 802985 in eglibc "[lucid] /var/lib/dpkg/tmp.ci/preinst: 399: arithmetic expression: expecting EOF: "3.0-0-generic"" [High,Triaged] https://launchpad.net/bugs/802985 [20:43] adam_g, http://paste.ubuntu.com/647621/ [20:43] if we can't build a lucid container in oneiric, we'll be rather wedged lxc wise in the Launchpad team [20:44] but i wonder if we should not just have the cloud do the platform.node() magic === Guest70853 is now known as ejat [20:46] lifeless: cjwatson had mentioned a few, I can't remember which was the most palatable [20:47] lifeless: I guess I've just been creating lucid containers under natty instead :( [20:48] is there some escalation process I should use to say 'this is going to be very important to us' ? [20:48] lifeless: ping cjwatson and bump the debootstrap bug up to critical? [20:49] doing in -devel [20:49] cool [20:49] stgraber: are you around by chance? [20:49] hallyn: yep [20:50] stgraber: would you mind, when you get a chance, sanity-checking my debdiff for lxc on bug 813075 ? [20:50] Launchpad bug 813075 in lxc "lxcguest should provide a way to tell if this is lxc container" [Medium,In progress] https://launchpad.net/bugs/813075 [20:51] stgraber: mainly worried about tossing in lots of new names in the upstart job namespace and in /usr/bin [20:51] but i think it's overall a very useful feature, so probably worth it [20:51] everyone wants to know if they're in the matrix [20:51] red pill, blue pill [20:53] hallyn: you could probably use "grep -q" but other than that, looks good [20:54] my current way of doing it is: [ -f "/proc/1/cgroup" ] && grep -vq "/$" /proc/1/cgroup && echo "It's lxc" [20:54] but it's not always true :) [20:55] stgraber: right, my main complaint about that is that initramfs or systemd can screw you :) [20:55] grep -q. feh i always forget about that :) [20:55] stgraber: cool, thanks. Would you mind sponsoring that too? :) [20:56] oh, [20:56] oh nm [20:57] hallyn: yep, I can sponsor it [20:58] stgraber: thanks! the whole shebang with using grep -q is at http://people.canonical.com/~serge/lxc_0.7.4.2-0.3ubuntu4-package [21:00] hallyn: just wondering, did you check that lxc-is-container is executable? [21:00] i tested on an ec2 instance... [21:01] should that being enforced by the packaging? [21:02] (actuall, i'm guessing that dh_install already makes sure anything in usr/bin gets +x, but i could be wrong) [21:02] yeah, that's the bit I'm not too sure about :) checking here quickly [21:06] hallyn: uploaded [21:07] stgraber: thanks! [21:08] i must run for a bit, bbl [21:10] adam_g, could you try: http://paste.ubuntu.com/647637/ [21:10] and sanity check that too? [21:13] smoser: sorry, was at lunch. [21:13] ill test it now [21:14] yeah, take alook [21:14] i will look later or tomororw [21:41] kirkland: ping? [21:41] RoAkSoAx: pong! [21:41] kirkland: howdy!! I seek your advice and help with a postrm in cobbler [21:42] RoAkSoAx: heh, sure [21:42] RoAkSoAx: should i branch the latest code? [21:42] kirkland: i don't think it would be necessary :) [21:42] RoAkSoAx: okay, hit me [21:43] kirkland: so when purging the package it fails as per bug #805901 [21:43] Launchpad bug 805901 in cobbler "cobbler failed to purge" [High,Confirmed] https://launchpad.net/bugs/805901 [21:43] kirkland: I changed the cobbler.postrm to:http://pastebin.ubuntu.com/647663/ [21:44] kirkland: however, now it doesn't fail, but it gets stuck and does not return [21:44] kirkland: log setting -x: http://pastebin.ubuntu.com/647661/ [21:45] kirkland: any ideas of why it might be? [21:46] RoAkSoAx: your set -x log looks like it completed, no? [21:46] kirkland: yes, the set -x log looks like completed, but never returns [21:46] kirkland: this is what is in /var/lib/dpkd/info/cobbler.postrm : http://paste.ubuntu.com/647664/ [21:47] RoAkSoAx: lines 5 and 22 are redundant [21:48] RoAkSoAx: so i don't think you need lines 5 and 6 [21:49] kirkland: if I don't set lines 5 and 6 it fails as per the bug description [21:49] RoAkSoAx: erm [21:51] kirkland: seems like apache2 is the problem [21:51] kirkland: i just killed apache processes and the removal resumed [21:51] RoAkSoAx: hmm [21:51] RoAkSoAx: missing configuration? [21:51] but got stuck again in "Building database of manual pages ..." [21:52] kirkland: might be indeed [21:52] Daviey: have you connected glance to swift before? [21:53] bah 11pm in the UK [21:53] anyone setup glance connected to swift backend before? [21:54] kirkland: yeah it is apache's problem [22:02] sorted it, no worries [22:03] kirkland: I think we don't even really need cobbler === kentb_ is now known as kentb-out [22:04] RoAkSoAx: heh, what do you propose in place of cobbler? [22:05] kirkland: err I meant "cobbler.postrm" [22:05] :) [22:05] kirkland: as it's only there to restart apache, but cobbler binary itself doesn't mess with apache2. Cobbler-web does though [22:07] RoAkSoAx: heh :-) [22:07] RoAkSoAx: right [22:07] RoAkSoAx: i'd agree witht hat [22:10] kirkland: hehe [22:43] hallyn, adam_g: is the test rig available? [22:44] (need to test UEC on Lucid) [23:13] Anyone know of a way to test the system memory without rebooting the machine? [23:14] I have a remote box that seems to have faulty memory, but I need to know before I go to the datacenter if it is the memory or if the system has other problems. [23:15] SpamapS: yo [23:21] lifeless: howdy [23:22] SpamapS: is it too late for you ? [23:22] midwife ran late; ended up asking for a statistical analysis of $various $options [23:23] lifeless: not at all, I've got about 45 min left [23:23] woot [23:23] skype? [23:24] lifeless: sure, clintfewbar [23:24] im running clonezilla SE on ubuntu 10.04 LTS 32bit machine, i created an image of ubuntu 11.04 64-bit. when i restore the image, the machine cannot boot...(writing what happens) [23:24] what happens when i try to boot...a really fast msg pops up on the screen that reads "error: file not found" and goes away [23:25] i suspect it's a grub problem with the mbr [23:25] because when the image is restored, it tries to install grub from the restored OS but fails and installs grub from the running OS clonezilla SE provides [23:25] i feel that since clonezilla is running a 32bit OS and the image is a 64bit OS that it causes a problem [23:25] does this sound reasonable or could it be something else? [23:30] r4___: "feel" and "reasonable" doesn't "feel right" [23:31] jMCg: i was right..reinstalled grub from a live enviroment and it booted :) [23:31] crappy issue though... :( [23:52] Does ubuntu 10.04 LTS use grub or grub2? [23:52] 2 [23:53] d-i still asks you with priority=low, but if you ask for grub it pulls in the upgrade compat package :-/ [23:53] (As at lucid, I mean.) [23:54] hrm...odd issue nontheless. [23:54] r4___: perhaps if you described it... [23:54] read up [23:54] oh sorry [23:54] you just joined [23:55] Ah, sorry. [23:55] Can you pastebin or /msg me the scrollback? [23:56] sure can [23:58] check query [23:59] OK; AFAIK grub doesn't care if the OS is 32 or 64-bit. If the versions in lucid and clonezilla are very different, that could cause problems. It would be useful to know if (the installed) grub is configured to not display anything, as is the lucid default -- you have to hit shift at exactly the right time to get it to display anything. [23:59] Most likely I think is just that clonezilla installed grub incorrectly.