[01:16] New bug: #460772 in php5 (main) "php5 package doesnt provide php5 binary" [Low,Won't fix] https://launchpad.net/bugs/460772 [01:34] manually trying to set up an encrypted lvm, grub is giving me an error at boot. what am i likely to be doing wrong? [01:49] StrangeCharm: LTS or 9.04? [01:49] twb, 9.10 [01:49] RC [01:49] Oops, yeah [01:50] Wait, 9.10 is still in RC? It's nearly 2009-11! [01:51] i think the release is in 4 days [01:53] On Thursday [01:53] either way, twb did you have some tips? [01:54] StrangeCharm: sorry, I was just triaging [01:54] lts>9.04>9.10RC ? [01:55] Nope. Sorry. [01:55] LTS is currently 8.04. [01:55] StrangeCharm: The most recent LTS is 8.04. It was followed by 8.10, 9.04, and on Thursday, 9.10. [01:55] The next LTS will be 10.04. [01:56] non-LTS releases are for people with more faith or more time :-) [01:56] i am aware. i was facetiously remarking on triage priorities [01:56] or more need for immediat efeatures [01:58] does / have to have the boot flag? [01:59] twb: I disagree. I don't think non-LTS releases are any less stable and the improvements more than offset the amount of time it takes to upgrade, but YMMV. [01:59] ScottK: well, for example, I do not want to have to deal with LDAP's config moving into the database [01:59] Right, I can understand that one. [01:59] That is, not until some other bugger has ironed out the big problems [02:00] Yeah. [02:00] That's a particular special case for staying with LTS. [02:00] StrangeCharm: the boot flag isn't necessary for GRUB, as long as GRUB is installed into the MBR (which is very, very likely). [02:01] ScottK: also, I'm talking about mission-critical servers. Obviously for a workstation or a SOHO fileserver, non-LTS releases would be "stable enough" [02:02] twb, what would determine whether it was? [02:02] StrangeCharm: if grub was installed by grub-install or by debian-installer, then it's in the MBR [02:03] twb: For my use cases they have been pretty equally stable. I have two production servers on Hardy and a test server on Karmic and they all just work. [02:03] twb, so that's the default behaviour of the install disks? [02:04] StrangeCharm: yes. It is extremely unusual to install Grub into a partition's boot record. [02:04] I only mentioned it for the sake of accuracy (pedantry) [02:05] ScottK: granted. [02:06] so the boot flag have to be one /boot at all? will the boot flag be problematic? [02:08] under what circumstances would grub say that it couldn't find the disk in question? [02:14] StrangeCharm: boot a live CD, and pastebin the output of "parted -s /dev/sda print" and "lvs". [02:14] It'll need to be a live CD with LVM support, so try CentOS instead of Ubuntu Desktop if you have it. [02:15] Or just write the equivalent data by hand and pastebin that. What I really want to know is the partition layout and the LV layout [02:16] Grub ignores boot flags entirely AFAIK, so as long as it's the first thing the BIOS bootstraps (i.e. it is in the MBR, not a partition boot sector), boot flags on partitions are totally irrelevant. [02:18] can i just describe the partition layout in words? [02:25] twb http://pastebin.com/d301080a3 [02:37] I have a second hard drive in my system. When I had fedora I did something that "joined" my two hard drives together so linux saw them both as one drive. How do I do that again? [02:40] skuld: if you do this the naïve way, a failure on either drive will destroy your filesystem. [02:41] oh, well, I'm backing up my critical stuff [02:41] skuld: it would be better to either make it a separate partition or logical volume, and make a new filesystem on that partition/LV and mount it somewhere. [02:41] skuld, it's called RAID, and the configuration to use depends on what you're looking for [02:42] the problem is, I need the extra space on the second hard drive for my /var/www [02:42] Yes, ideally if you are concerned about individual drive failures, you should get two or three (or more) equal-sized drives and RAID them. However, this is unlikely to be useful if you're e.g. adding a 200GB drive to a system which currently has a single 80GB drive. [02:42] skuld: are you using LVM currently? [02:42] I think so. is there a way to check? [02:43] if you don't know, you probably aren't [02:43] but a 'sudo fdisk -l' should tell you [02:43] skuld: does /proc/mounts refer to /dev/mapper/foo-bar or /dev/foo/bar, or does it refer only to /dev/sdXN ? [02:43] I saw the option when I installed Ubunto, but I don't remember if I chose it or not [02:43] StrangeCharm: OK, your partition layout looks OK. [02:44] StrangeCharm: what is the exact error that grub emits? [02:44] http://pastebin.com/f1385fd5e [02:44] skuld, you're definitely using lvm [02:44] StrangeCharm: I'm guessing it can't find /boot because the bit in the MBR is broken. But it might be that the code in /boot can't find root. [02:45] ok [02:45] I don't remember the lvm commands to list volume groups and expand them and whatnot [02:45] skuld: what you want to do is create a PV on the new disk (which appears to already have been done), then add that PV to your existing VG, then create an LV on that PV, then make a filesystem on the new LV, then mount that LV on /var/www. [02:45] qman__: "lvs" [02:46] qman__: oops, VGs is "vgs" [02:46] ah [02:47] for the sake of simplicity I generally don't use LVM, but it certainly is useful and allows for some really neat tricks [02:47] LVM is great if you expect to change your mind later [02:47] wow...that sounds complicated LOL [02:48] This happens a lot in my case, because most of my customers continue to use the same server for years, upgrading it piecemeal over time. [02:49] I know how they feel. If I had the money.... LOL [02:50] and I know I'm going to want to add a couple of TB drives when I can afford it [02:50] Well, for example you might have deployed with 20GB disks seven years ago, and upgrade to 1TB disks right now. LVM allows that to happen with less downtime. [02:52] If they had lots of money, they'd be more likely to replace the entire box every three years :-) [02:53] twb, i think the error is that it can't find the disk 'disk not found', or words to that effect [02:54] I know I'd love to do that. I'm still running on a PIII [03:16] Everything in this office is PIIIs [03:16] Except for engineer-owned laptops, and (sigh) our Q9550 PPPoE bridge. [03:24] hey all, for some reason apache's access.log has stopped being written to since oct 16...i restarted apache, created some traffice and still nothing is being written to my access.log, i've checked my site settings in /etc/apache2/sites-enabled/xxxxxx and they are all set to log to my access.log [03:24] running 9.04 server in a vm if that helps [03:25] i haven't done any messing around with settings for this server for months...but i guess that doesn't rule out an update and i overwrote a config file somewhere right? [03:30] Have you turned on unattended upgrades? [03:30] (I really hope they're still off by default.) [03:54] okay, so I think I have the second hard drive ready to be added to the Volume Group...I think. [03:55] well, maybe not. I don't see sdb1 anymore [03:55] skuld: this disk *is* connected internally, right? [03:55] LVM's probably not appropriate for an external HDD that you're gonna be plugging and unplugging. [03:55] yes, it shows up fdisk -l, just no info... [03:55] No info where? [03:55] http://pastebin.com/f33728691 [03:56] no, this is an internal HDD [03:56] Looks like /dev/sdb has no partition table. [03:57] ugh! I need to figure out how to do that. I thought I did it [03:57] cfdisk /dev/sdb [03:58] FATAL ERROR can not open disk [03:58] Ha! [03:58] And fdisk still works? Stupid fdisk. [03:59] Your kernel has forgotten about your disk. Try rebooting, also confirm the cables are snugly connected. [04:00] ok [04:38] 3 [05:23] Where in IRC can I find the LVM people? [05:23] I have accidentally create a LVM snapshot and filled it to 100%. [05:24] Now "lvs" and "lvremove /dev/foo/bar-20090909" both tell me it can't read a block of 4096 at points 0 and $bignum for /dev/foo/bar-20090909" [05:24] This means I can't remove the old snapshot, which makes me worry that something more than it just being 100% full has happened. [06:11] New bug: #460871 in samba (main) "package samba-common 2:3.3.2-1ubuntu3.1 failed to install/upgrade: subprocess post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/460871 [06:14] OK, here's an interesting feature for you. [06:15] Make an LVM snapshot. Now you have an LV and an LV snapshot with the SAME ext3 UUID as listed in /etc/fstab. Reboot. Is it possible for the LVM snapshot to get the symlink in /dev/disk/by-uuid? === crohakon is now known as crohakon|zZz [07:44] twb: Unless something makes sure that it doesn't happen (which may or may not be the case), then yes, that could certainly happen. [07:45] Yay for huge failures! [07:45] twb: Something does seem to handle that. [07:45] Let me just check real quick. [07:48] soren: ah, but are you sure it's not just a coincidence that your test picks the right LV first? [07:48] i.e. a negative result alone isn't conclusive that the problem is fixed [07:48] twb: I'm not testing. [07:48] OK, good, carry on [07:48] twb: I'm looking at code. [07:49] Good man [07:49] I know. Absence of evidence is not evidence of absence. [07:49] Forgive me, I deal with a lot of stupid people, so I tend to assume the worst [07:49] Yeah. I know the feeling :) [07:50] twb: Can you give me the output of "blkid -o udev -p /dev/mapper/" as well as "blkid -o udev -p /dev/mapper/"? [07:50] Unfortunately that specific box I have metaphorically jumped up and down on. [07:50] Let me grab another one [07:51] soren: Invalid output format udev. Chose from value, device, or full [07:51] This is 8.04 [07:52] Oh. [07:52] Let me check one of those, then.. [07:53] -o value gives me the UUID [07:53] twb: Ok, use "vol_id --export /dev/mapper/blah" instead. [07:53] ID_FS_UUID=2b96f387-98dc-4a7b-95b1-747d00fe4f2d same for all of them [07:54] That's all it outputs? [07:54] No, sorry, shall I pastebin the whole thing? [07:54] Yes, please. [07:56] twb: Oh, and one more thing. [07:57] twb: Include "dmsetup export /dev/mapper/whatever" as well, please. [07:57] I actually think that's really what I want. [07:57] Nice one [07:57] http://hpaste.org/fastcgi/hpaste.fcgi/view?id=11167#a11167 [07:59] And which one does /dev/disk/by-uuid/2b96f387-98dc-4a7b-95b1-747d00fe4f2d link to? [07:59] If I'm reading this correctly, it should be /dev/mapper/testtrim-debmirror. [08:01] readlink /dev/disk/by-uuid/2b96f387-98dc-4a7b-95b1-747d00fe4f2d ==> ../../mapper/testtrim-debmirror20091002 [08:01] That I did not expect [08:01] Why is /etc/fstab no longer by-uuid, but by-label by default? Can it give problems? (root device is sometimes no longer found on an ubuntu-server here) [08:02] alvin: hey, man, hold up! I'm only just working out why by-uuid is evil and dodgy! [08:02] :-) [08:02] twb: lol, I joined at the right moment [08:03] So, why is it evil? [08:03] It's really not. [08:04] Something must be different. On the same server, Jaunty always boots and karmic does not. (Sometimes the root drive is not found, sometimes it's the network) [08:04] I'm currently suspecting the 'by-label', but there's no proof yet. [08:04] (the network is bug 459134 . Probably another reason. [08:04] Launchpad bug 459134 in mountall "karmic: networking is started too late in the boot process" [Undecided,New] https://launchpad.net/bugs/459134 [08:07] alvin: 17:15 Make an LVM snapshot. Now you have an LV and an LV snapshot with the SAME ext3 UUID as listed in /etc/fstab. Reboot. Is it possible for the LVM snapshot to get the symlink in /dev/disk/by-uuid? [08:07] (I'm totally wrong. The default is not by label, but just the path /dev/mapper/vg0-home for example) [08:07] Does karmic include the insserv migration? [08:08] twb: just a moment. Testing this... [08:08] alvin: do you get as far as busybox? If you do break=bottom and inspect stuff, is it any different? RTFS by diffing /usr/share/initramfs on the two hosts? [08:08] twb: The problem is not uuid based mounting. The problem is that apparantly the thing that's supposed to make sure the snapshot-origin takes precedence over the snapshot when making that symlink is failing. [08:08] twb: uuid based mounting is a good thing. Really. The alternatives are much worse. [08:08] soren: yeah, I know [08:08] soren: I'm just being grumpy [08:09] twb: You're right. It's the same UUID! [08:09] Having said that, I spent some time recently waiting for bootdegraded=true type failures due to the huge long default timeout [08:09] alvin: Of course it's the same UUID. Otherwise it wouldn't be a snapshot. [08:10] soren: But then I can't mount the snapshot by UUID? [08:10] alvin: right [08:10] alvin: Right. [08:10] ok [08:10] If there are two people in your office called "Zippy", you can't refer to them both just as "Zippy" without causing confusion. [08:11] At least one of them has to be referred to as e.g. "Zippy the Pinhead" [08:11] twb: Just for good measure, can you please pastebin your /etc/udev/rules.d/65-dmsetup.rules from that server? [08:12] * alvin is rebooting until the server no longer finds its root disk to test busybox stuff. [08:12] http://hpaste.org/fastcgi/hpaste.fcgi/view?id=11167#a11168 [08:13] alvin: hey, I'm clutching at straws [08:13] alvin: don't assume I know what I'm talking about [08:13] Incidentally, insert grumbling here about busybox-initramfs being crippled by removal of e.g. busybox httpd [08:14] Oh, and a user-accessible "busybox start-stop-daemon" [08:14] twb: No worries, I need to test this today or it's back to Jaunty, where the root disk is always found and NFS mounts do not halt the boot process. [08:14] I actually wanted to use that one in my .bash_profile, but I can't assume it's there on Ubuntu. [08:14] alvin: are you sure it's NFS and not LDAP/NIS? [08:15] twb: very sure [08:15] alvin: hard binding in the latter is a common source of slowdowns if the init order is futzd [08:15] twb: thanks. [08:15] OK. [08:15] Anyways, I'm going home [08:16] (My personally most hated bug is 328881. Fixing that one would probably help a lot.) [08:16] Hey ubottu, bug 328881 [08:16] Launchpad bug 328881 in upstart "init: support logging of job output" [Medium,Triaged] https://launchpad.net/bugs/328881 [08:16] Ew! [08:17] Do the upstart people say something horrible like "just start the script with "exec >/var/log/yow" [08:18] twb: I'm filing a bug on this.. What's your launchpad ID so that I can subscribe you to it? [08:18] Currently, there simply is no boot log. I see some people taking pictures of their screen. Try explaining that to a collegue who is used to Solaris. [08:19] The stuff echoed to the screen was never logged. [08:19] I know. Makes it a bit difficult to file bug reports. Always has been. [08:20] Point is: It's nothing new about upstart. [08:20] That's true. Ubuntu never had boot logging. I don't know if debian has it actually. === erichammond1 is now known as erichammond [08:23] It doesn't. [08:28] soren: sorry, I don't use launchpad because I hate its UI [08:30] What is the bug number? (I actually like Launchpad. Pity some things do not work in webkist browsers.) [08:30] s/webkist/webkit [08:35] twb: After 5 successfull reboots (NFS mounts commented out) I see the busybox. What is break=bottom supposed to do? (does nothing). It says: /dev/mapper/vg0-root does not exists. [08:36] break=bottom is supposed to stop busybox just before it pivot-roots [08:36] And dump you into a local shell [08:37] Without root, I can't get a local shell [08:37] twb: We don't pivot-root. [08:37] twb: We haven't for a loong time. [08:37] So, approximately 1 in 5 boots, the root drive is not found. Someone who knows if there is already a bug report? [08:37] OK, whatever it is now [08:37] break=bottom worked on an 8.04 box I tried the other day [08:38] I concede I don't use non-LTS releases at all, raelly. [08:39] No use here: libvirt and kvm are more recent. We get crashes on hardy that no longer occur in Karmic. Of course, if the servers don't boot... [08:40] Against what should I report the /dev/mapper/vg0-root not found bug? [08:43] alvin: try lvm2. [08:43] soren: thanks. Will do [08:52] Reported as bug 460914 [08:52] Launchpad bug 460914 in lvm2 "karmic rc: root device sometimes not found" [Undecided,New] https://launchpad.net/bugs/460914 [10:02] twb: All my servers run Karmic beta. [10:03] (or debian) [10:26] New bug: #460089 in eucalyptus (main) "network state is lost if the cluster controller (CC) is stopped" [Medium,Incomplete] https://launchpad.net/bugs/460089 [10:28] i have karmic in vbox for gis development, have tosay that it feel much faster than 9.04 in vbox [10:37] I just set up UEC on karmic . I get a "The certificate specified is invalid!" in axis2c.log on the node. Any ideas how to fix that? [10:52] hello [10:54] I am currently using ubuntu hardy with Puppet on quite a few servers, although it is from universe. I am thinking of moving to chef in a close future. What are Ubuntu plans regarding automated deployments and configuration, is one tool going to make it into main for 10.4? [11:07] New bug: #456806 in mountall (main) "mountall vomits a shell onto virtual console when you run vi" [High,Fix released] https://launchpad.net/bugs/456806 [11:20] * soren goes to eat === gamla_ko1san is now known as gamla_kossan === lamont`` is now known as lamont [12:18] Where does aptitude get its package descriptions from? [12:22] apt-cache more than likely [12:27] Bilge: when you perform an update the files that are updated are placed under /var/lib/apt/lists. the apt tools use these files to determine what packages need to be upgraded. they also contain package descriptions [12:27] Bilge: do an update and then enter that directory and do 'ls -ltr' [12:29] I see [12:30] Maybe I could write a script to somehow query a package description [12:30] But I doubt it given that these files could be called anything and are generally all over the place [12:30] Now I see why it takes aptitude a while to start up [12:31] Bilge: that's been done already: 'aptitude show foo' [12:31] Bilge: What are you trying to achieve? [12:31] Bilge: There are rather good tools to deal with the apt cache already. [12:31] Well fancy that! [12:32] or 'apt-cache show foo' [12:33] apt-cache gives me two results while aptitude gives only one [12:34] I can't see any difference between the two results [12:34] Nor can we, because we don't know which package you're talking about. [12:34] Well no, but you'd also have to have my distro as well [12:35] Ok, don't tell me anything. I'll reciprocate :) [12:35] In case you can match it, I was running `apt-cache show imagemagick` on 8.04 [12:36] I get three results. [12:36] different versions. === mtrudel_ is now known as cyphermox [12:50] Oh, heh [12:50] One is 7:6.3.7.9.dfsg1-2ubuntu1 [12:50] The other is 7:6.3.7.9.dfsg1-2ubuntu1.1 [12:50] I'm not really sure how you'd target one specifically if you want to install it [12:57] New bug: #459664 in backuppc (main) "Backuppc errors restoring when it encounters filenames starting ~$" [Low,Incomplete] https://launchpad.net/bugs/459664 [12:57] New bug: #460692 in apache2 (main) "Missing dependency for apache2 init script" [Low,Incomplete] https://launchpad.net/bugs/460692 [13:01] <_ruben> Bilge: apt-get install $packagename=$version [13:02] New bug: #459573 in bacula "variable expansion uses outdated data" [Medium,Triaged] https://launchpad.net/bugs/459573 [13:06] hmm - what would cause me all of a sudden to not be able to ssh into my instances? [13:07] I did do a apt-get update, and apt-get dist-upgrade on all of my servers [13:07] aubre: did your public IP address change? This happened to me. Try euca-describe-instances [13:08] jsalisbury: well these are brand new instances [13:08] jsalisbury: let me check something [13:08] aubre: Ok. I opened a bug for my issue: Bug# 455625 [13:10] jsalisbury: those were instances using the images from the UEC store [13:10] jsalisbury: now I am trying one of my own [13:11] jsalisbury: nope locked out of it too [13:11] New bug: #460294 in libvirt (main) "package libvirt-bin 0.6.1-0ubuntu5.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Low,Incomplete] https://launchpad.net/bugs/460294 [13:13] aubre: ahh, Ok. [13:16] New bug: #460271 in apparmor (universe) "virt-aa-helper fails when serial or console type is 'tcp'" [Undecided,New] https://launchpad.net/bugs/460271 [13:18] trying to do a new keypair [13:21] jdstrand: I took the liberty of assigning bug 460271 to you. [13:21] Launchpad bug 460271 in apparmor "virt-aa-helper fails when serial or console type is 'tcp'" [Undecided,New] https://launchpad.net/bugs/460271 [13:22] tried changing keypairs, that didn't work [13:24] Is someone taking care of bug #450044 which seems to be fixed upstream, but not in the version of euca2ools we deliver? [13:24] Launchpad bug 450044 in eucalyptus "euca-bundle-vol does not create essential tmpfs mounts when bundling Ubuntu images" [High,Fix committed] https://launchpad.net/bugs/450044 [13:29] aubre: what are you seeing log or console wise? [13:31] zoopster: console wise, when I do a ssh-i mykey.priv ubuntu@ipaddress I get Permission denied (publickey) [13:32] New bug: #458910 in libvirt (main) "try to disable ipv6 support than allready disabled on kernel option" [Low,Confirmed] https://launchpad.net/bugs/458910 [13:33] zoopster: I'm rebooting my front-end and will try again, I didn't think the dist-upgrade would have caused any problems but I am checking [13:33] aubre: *should* not have, but anything is possible. [13:36] New bug: #461077 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-installation script killed by signal (Broken pipe)" [Undecided,New] https://launchpad.net/bugs/461077 [13:41] New bug: #459056 in vsftpd (main) "package vsftpd 2.2.0-1ubuntu1 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1" [Undecided,Invalid] https://launchpad.net/bugs/459056 [13:45] aubre: Did you take a look at your .ssh/know_hosts file? Maybe there is an old entry conflicting with your new entry? [13:46] no I cleared it out already [13:46] aubre: Ok [13:52] zoopster: jsalisbury : doesn't seem to be anything in the nc.log - what's the best log to look into for ssh-instance problems? [13:55] aubre: I'm taking a look too, but I don't see anything logged about ssh logins in any of the /var/log/* or /var/log/eucalyptus/* files [13:57] aubre: I'm running a apt-get dist-upgrade today too. I'll let you know if it affects my existing instances. [13:58] jsalisbury: thanks [14:07] New bug: #461090 in jline (main) "updates for karmic needed to get maven plugins building" [Medium,In progress] https://launchpad.net/bugs/461090 [14:10] soren: sure [14:11] jdstrand: Lovely, thanks. [14:27] ttx, kirkland, one of you told me about euca-describe-availability-zones and i think impllied to me that the settings there are configurable [14:27] do you know where/how ? [14:27] in the web UI [14:27] smoser: you mean the density of systems per core? [14:27] VmTypes thing [14:27] smoser: yeah, web ui [14:28] ok, so if i hadn't previously logged into my admin UI [14:28] how do i do that [14:28] user/pass ? [14:29] kirkland, ttx [14:29] mathiaz: Oh, thanks for the awesome write-up on https://bugs.edge.launchpad.net/ubuntu/+source/debian-installer/+bug/457767/comments/7 That is going to be really useful. Can you put it on a wiki somewhere (not urgent, just do it after release or something). [14:29] Launchpad bug 457767 in debian-installer "karmic: iSCSI root: boot hangs on starting iscsid" [High,Confirmed] [14:29] soren: right - for 10.04 we should bundle gpxe - to have native iscsi support in the boot loader for kvm [14:30] soren: I was wondering how/if I could just drop the new bootloader somewhere for kvm to use it (to avoid chainloading from pxe) [14:30] mathiaz: etherboot should have this as welll... Or so I thought. [14:30] soren: etherboot is dead - it's now gpxe [14:30] soren: AFAICT etherboot doesn't support native iSCSI [14:31] Oh, I may have chainloaded gpxe from etherboot when I tried it. [14:31] mathiaz: Yeah, it's been dying for years. [14:31] :) [14:59] Hi, any syadmins/network admins up? [15:00] kirkland, ttx, bug 461156 [15:00] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [Undecided,New] https://launchpad.net/bugs/461156 [15:00] this is possibly quite serious if not user error [15:02] can anybody help me create a one nic nat connection for my home network [15:05] ttx, kirkland can you verify sane-ness of this: [15:05] $ cat /proc/partitions [15:05] major minor #blocks name [15:05] 8 0 2144256 sda [15:05] 8 1 2097152 sda1 [15:05] 8 3 47071 sda3 [15:05] thats from a 'm1.small' instance [15:06] there is *no* ephemeral storage [15:06] New bug: #461156 in eucalyptus (main) "User data is not base64 decoded before being presented to the instance" [Undecided,New] https://launchpad.net/bugs/461156 [15:09] hi all - have just been reading about the EC2 cloud images for 9.10 - am interested if anyone has been using ubuntu on the cloud in a production environment and what your experiences have been [15:11] elginix, there are lots of users of it. the http://groups.google.com/group/ec2ubuntu?pli=1 is probably the largest group of people. [15:12] oooh tasty link :) thank you [15:13] email server what can I use? Postfix? [15:16] elyezer: dovecot-postfix is a package that will give you a useful basic mailserver [15:17] ttx, kirkland please, help, above^ [15:17] alvin: thank you [15:17] smoser: okay [15:17] my euca is seeing no ephermal storage [15:17] * ttx read backlog [15:17] i can't spell that word [15:17] smoser: admin/admin [15:18] already got that [15:18] alvin: If I'm in the desktop edition I need to add any repository? [15:18] sorry, the other 2 things are 1.) please look at that bug 2.) i see no ephermal storage on my instances... which doesn't seem right. [15:19] elyezer: no, just $ sudo apt-get install dovecot-postfix [15:19] smoser: I think its normal to not have any ephemeral if your image is taking up all the space [15:19] i.e. running a 2G image over a 2G allowance -> no space [15:19] running a 2G image over a 4G allowance -> ~2G space [15:19] oh... ewll that is much different. wow. ok. [15:20] elyezer: it's in main [15:20] i'll change settings then and test. [15:20] ttx, so do you get a single partition with "all the additional space" ? [15:20] smoser: I may have understood that concept wrong, but yes, that's how someone described it to me [15:21] alvin: E: Couldn't find package dovecot-postfix (I'm in Ubuntu 8.04) [15:21] smoser: looking at the bug now [15:22] elyezer: that explains. That package was new in 9.04 [15:22] aw. that sounds ugly [15:23] elyezer: but no worries. You can install postfix and dovecot and configure them yourself. [15:23] Hm. Why can something like: script -c /bin/bash -q -a /var/log/$USER work as a default shell on local console login but not ssh? ("openpty failed" etc) [15:23] thank you [15:23] alvin: great =D [15:24] New bug: #363620 in mysql-dfsg-5.0 (main) "Apparmor breaks Squeezecenter when upgrading from 8.10 to 9.04" [Undecided,New] https://launchpad.net/bugs/363620 [15:25] smoser: about bug 461156, I don't get how the SSH key thing works if that bug is real [15:25] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [Undecided,New] https://launchpad.net/bugs/461156 [15:26] ssh key does not come over user-data [15:26] ah [15:26] * ttx fires up his UEC [15:26] stas: check out the ServerGuide and use UFW to do what you want [15:26] hm - the ubuntu server domain thread on u-devel-discuss is *almost* reaching 100 messages [15:27] ttx. i can verify it. [15:27] * ttx should author some research on recurring threads [15:28] New bug: #236510 in bind9 (main) "default apparmor setting prevents bind from running under chroot" [Undecided,New] https://launchpad.net/bugs/236510 [15:32] For a bug report (bug 461133) I'm asked to run "$ sudo mountall --debug" and send it SIGUSR1. I've send that signal with htop, but the process does not end. What to do to give a useful output? [15:32] Launchpad bug 461133 in nfs-utils "karmic: nfs shares are not mounted at boot" [Undecided,New] https://launchpad.net/bugs/461133 [15:35] ttx, this is serious. soren please read that bug also. (bug 461156) and confirm with me that without a fix all user-data is hosed in UEC [15:35] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [Critical,Confirmed] https://launchpad.net/bugs/461156 [15:36] smoser: Yeah, that's pretty bad. [15:37] What is the SIGUSR1 supposed to do? [15:38] alvin: For what? [15:38] alvin: Eucalyptus? [15:38] No, "sudo mountall --debug" [15:38] the mountall script runs, (without success), and hangs somewhere. I'm supposed to send it SIGUSR1, but nothing changes. [15:39] smoser: could we fix it from inside, like detecting both formats ? [15:39] I can create a log until SIGINT [15:40] alvin: It's supposed to let mountall know that all your network interfaces are up. [15:40] ttx, arguably no [15:40] smoser: I see what you mean [15:40] soren: ow, they are. I'm running the script within ssh [15:40] alvin: I'm not saying they aren't. [15:41] in the bug there, there would be no way that that data was not intended. [15:41] alvin: I'm just answering your question. [15:41] soren: thx, in that case, I will give the output of the command with Ctrl+C at the end. [15:41] ttx, you could, say, though "if i'm in eucalyptus, then the data is not correctly decoded, so i decode it now". [15:42] the problem with that is a.) in theory we can't tell if we're in euca versus we're in ec2 (but we can, so that coudl be worked around) b.) that logic fails to work anymore if you fix euca [15:42] mdz: ping [15:43] smoser: Is this massively different from the ephemeral storage thing? [15:44] smoser: In that case, you wanted to go around and detect stuff and just deal with it, so that either UEC or EC2 could change whatever they wanted and stuff would still work (I'm still curious of the details of that [15:44] i think i can fix the storage without knowing "am i in euca or ec2" === Falc\ is now known as Falc [15:44] )... In this case, why not just try to base64 decode it, and if that succeeds, go ahead and do with what your normally would have. [15:44] i know you will say "good enough", but its not [15:45] soren: that would screw up someone sending base64 encoded userdate, I guess [15:45] userdata [15:45] ttx: Not really. [15:45] because of the case, that in a fixed eucalyptus, the user provides you with base64 encoded data [15:45] ttx: If they're using it for something, they can still query it, and get the right stuff. [15:45] It's not like we're chaning anything in the meta-data service. [15:45] which is then re-encoded, and decoded (correctly), resulting in encoded data that would correctly decode, but shouldn't [15:46] smoser: yes, that was my point. [15:46] Right. This is just like you wanting to mount stuff that the user may not want mounted. [15:46] zoopster: thx, but that didn't help [15:46] right. ttx. thats the case (possibly unlikely) that is impossible to detect [15:46] stas: where are you stuck? [15:47] smoser: I think we need to parallelize efforts [15:47] soren, yes, its obviously similar. i think there is enough data to correctly do mount. [15:47] zoopster: I got a pc and the gw, both can ping each other, but pc gets no nated [15:47] ttx, the user data needs to be fixed in eucalyptus [15:47] it affects *all* instances that run inside [15:47] Well.. [15:47] empheral storage argubably only affects ours [15:48] ok, well, thats not true... [15:48] all instances that expect user-data passed from a file. [15:48] or from the command line [15:48] either way [15:48] anybody getting this error when starting an instace? [15:48] if they expect user data you're hosed [15:48] Virtually /every/ image will expect the ephemeral storage. [15:48] err... nevermind [15:49] smoser: no doubt it should be fixed inside eucalyptus [15:49] soren, by default, you're hosed on that. in euca even "fixed" [15:49] smoser: That does not compute. [15:49] because default setting is 2G "storage" for an instance. and our images are 2G. thus you get 2G /,and will have no filesystem mounted at /mnt [15:50] if you do anything larger than 2G - ~600M populated root, operations to fill up /mnt you're done. [15:50] but that fixable with config [15:50] smoser: I think eucalyptus needs to work on a fix and we need to have an image-based workaround [15:50] smoser: I'm having trouble following you. I need more punctuation :) [15:50] smoser: so that we can make the best choice [15:51] stas: if you do the steps outlined in the ufw Masquerading of the serverguide you will have a fully working nat - https://help.ubuntu.com/9.04/serverguide/C/firewall.html [15:52] smoser: The code to handle the automatic mounting thing... does that exist yet, or has it yet to be written? [15:52] soren, if you fire up a UEC instance of m1.small with no configuration changes to your server, you will have 2 partitions '/' (/dev/sda1) and swap (/dev/sda3). /dev/sda1 is 2G, and is /. we have ~ 600M on /. [15:53] Right, ok. [15:53] if you change your configuration to make that 4G, then you'll end up with /dev/sda1 of / of 2G, the swap, and 2G /dev/sda2 [15:53] soren, yet to be written. [15:53] Ok. [15:53] but i think fairly easy [15:53] zoopster: yes, thats the first page i got googleing, I followed the steps but still nothing [15:53] smoser: I would very much like to see it. [15:53] when using postfix and dovecot for each user@domain.com I need to create a new user?? [15:53] And /dev/sda2 is the expected for i386 images, right? [15:53] anybody getting this error when starting instances in eucalyptus. [RemoteBootstrapperClient:SystemClockTimer] ERROR java.nio.channels.UnresolvedAddressException [15:54] elyezer: Depends. [15:54] smoser: so by parallelizing I mean we need to forward the issue upstream and we need to have a workaround ready, then make the best choice if/when both are available [15:54] if /etc/fstab contains /dev/sdb && not exists /dev/sdb && exists /dev/sda2 && /dev/sda2 is ext2 filesystem, then modify /etc/fstab, replacing sdb with sda2 [15:54] only do the above on first boot. [15:54] soren: on what? [15:54] ttx, i realized what you're saying. [15:54] elyezer: Well, first of all, is user@domain.com an alias? [15:54] kirkland: could you take care of the "forward the issue to eucalyptus and pressure them for a minimal fix" part ? [15:54] soren: no [15:55] elyezer: Or should it have its own, separate mailbox? [15:55] stas: then you likely missed something...you'll need to do some troubleshooting to find where the issue is and then pose a more specific question [15:55] smoser: it might be too late to change eucalyptus now, so we might switch in damage-control mode [15:55] soren, does that logic above seem safe? (it does have to be modified to be arch specific on ec2) [15:55] soren: each will have its own mailbox [15:55] New bug: #352958 in ntp (main) "apparmor-messages in the syslog" [Low,Fix released] https://launchpad.net/bugs/352958 [15:55] smoser: I don't know. Are we having "that type of discussion" or are we being reasonable? [15:56] ttx, i understand. i just think that if we fix it in ec2-init we are 100% guaranteed to break *some use case* (even unlikely) if it is later fixed in eucalyptus [15:56] soren: if not an alias then I need to createa new user, isn't it? [15:56] elyezer: Then of course it requires a separate (mail) user. [15:56] soren, which discussion [15:56] zoopster: I flushed my firewall and tried this http://www.linuxjournal.com/article/7175, still the same [15:56] soren: thank you very much [15:56] sysctls forwarding are ok [15:56] for fstab please tell me where that logic would fail [15:56] smoser: it may be the only option we have on the table. Better than leaving it the way it is [15:56] in any type of discussion [15:57] zoopster: should that count if I'm running karmic desktop kernel? [15:57] ttx, if it is the only option. i think you can probably fix euca [15:58] smoser: I don't know. Maybe the user is monitoring the contents of /etc and doesn't like having it changed. [15:59] we only change on "once per ami". [15:59] smoser: What do I know? I think it's perfectly reasonable, but not 100% bullet proof.. Just like I think it's perfectly reasonable to make expectations about names of devices attached to a Xen paravirt guest. [15:59] i'll even allow you to say "only once ever" [15:59] in that case, it will only ever happen in our official untouched images. [15:59] smoser: ...and images other people build with the same tools. [16:00] New bug: #461195 in mysql-dfsg-5.0 (main) "Allow mysql versions 5.0 and 5.1 to be installed at the same time" [Undecided,New] https://launchpad.net/bugs/461195 [16:00] soren, yes, possibly. [16:01] so i'd be willing to even put a comment in the /etc/fstab that we use that says "this is going to possibly be modified" [16:01] smoser: I think it's perfectly reasonable. I just wanted to know if this was going to be "that sort of argument" again. [16:01] and if that comment is not present, then not do it. [16:01] soren, i am seriously interested in making it not break. [16:01] in any case. [16:01] Then fix eucalyptus instead. [16:01] i dont like software that works if you hold your mouth right. [16:02] so, you're correct with your euca suggestion. [16:03] Maybe someone doesn't want the extra space mounted, and has been using amd64 images on Eucalyptus and has been quite happy that this extra space did not get mounted. [16:04] I don't know. In "that sort of argument" I didn't think it was necessary to have examples. [16:04] New bug: #253849 in whois (main) "whois returns an error when looking up info for "johngalt"" [Low,Incomplete] https://launchpad.net/bugs/253849 [16:05] * soren chuckles at that bug [16:06] ttx, hi [16:07] mdz: bug 461156 [16:07] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [Critical,Confirmed] https://launchpad.net/bugs/461156 [16:07] mdz: basically prevents userdata from workin in Eucalyptus in general [16:07] ttx, ... [16:08] mdz: do you think we can still fix it inside eucalyptus [16:08] mdz: or should we prefer a broken workaround in ec2-init [16:08] mdz: I was planning to parallelize both efforts [16:08] mdz: and see how disruptive each is [16:09] ttx, has it regressed or has it never worked? [16:09] mdz: it has never worked. [16:09] zoopster: i'm getting this with tcpdump, ICMP time exceeded in-transit, any ideas? [16:10] this happens when i ping from pc [16:10] soren: is the possibility to send a script through userdata something specific to our images ? [16:11] stas: http://en.wikipedia.org/wiki/ICMP_Time_Exceeded [16:11] ttx, it is not. [16:11] the alestic images do it. [16:12] TeLLuS: yeah, i got it, but why im getting ttl exceed? [16:12] and it is not just "a script". it is all possible user data. customizing an instance via user data is *major* functionality in ec2 [16:13] stas: Maybe a loop or routing error that cause the packet ttl to count down to 0 [16:13] mdz: so should we pursue both tracks in parallel or is one of them not a possibility anyway ? [16:13] stas: try traceroute [16:13] kirkland: what's the importance for bug where the guest crashes (in qemu-kvm)? medium? [16:13] kirkland: bug 458521 [16:13] Launchpad bug 458521 in kvm "kvm crash when using virtio for network" [Medium,New] https://launchpad.net/bugs/458521 [16:14] mathiaz: yes, medium [16:14] mathiaz: i just saw that one this weekend [16:14] kirkland: and in this case the package should qemu-kvm instead of kvm? [16:14] mathiaz: yes [16:15] mathiaz: i changed it [16:15] mathiaz: i modified the report to do incomplete unconfirmed as well fyi [16:16] zul: which report? [16:16] mathiaz: the incompleteconfirmed.py report [16:16] meh...doesnt work [16:17] ttx: I'll have a look at reproducing bug 458904 [16:17] Launchpad bug 458904 in eucalyptus "Adding nodes in several waves after launching VMs is not possible" [High,New] https://launchpad.net/bugs/458904 [16:17] mathiaz: cool, thx [16:17] ttx: I may have access to enough hardware for it [16:18] TeLLuS: traceroute stops in gw, so the gw firewall is the problem [16:19] kirkland: could you take care of the "forward the issue to eucalyptus and pressure them for a minimal fix" part ? [16:19] ttx: okay [16:19] ttx: assign the bug to me for now [16:19] kirkland: I couldn't find where the metadata service is handled in the code [16:20] ttx: just make sure the bug is fully updated, and i'll take this up with nurmi [16:20] ttx: i'm looking at https://bugs.edge.launchpad.net/qemu/+bug/458521 [16:20] Launchpad bug 458521 in qemu-kvm "kvm crash when using virtio for network" [Medium,Confirmed] [16:20] ttx: which i'm experiencing too, and has me concerned [16:20] kirkland: keep in sync with mdz in case he discards one of the options [16:20] ttx: this will need to be fixed via SRU [16:20] * soren calls it a day [16:22] mdz, kirkland: we could fix it in eucalyptus in a post-release SRU, and document the missing userdata support [16:23] I need to install an UBUNTU server inbetween by router and may lan to limit connects to certain IPs and to give internet to only certain machines, etc. What software could I load for this purpose? I already have an ebox setup running on a server and could stick another nic into it to serve this purpose as well. [16:24] stas: or after, but someone running runing the firewall could probably provide more information, I just added a similar thing to a firewall to stop 80.82.120.X from trying all passwords, I just added a routing loop for it [16:24] if I edit visudo do I need to restart for changes to take? [16:24] I've heard of some floppy based distros doing this kind of stuff, but I would like something highly recommended by the ubuntu community. [16:25] fbc-mx, you should try Squid and ufw (uncomplicated firewall) [16:26] KurtKraut, great, let em see if I could find some howto's.. thanks [16:26] fbc-mx, if you're doing this as a job, I suggest you to buy books about Squid and books about iptables (firewall) [16:28] KurtKraut, It's my dad's shop and we are just a small company of 15 or so. I just need something that I can keep certain machines off of internet and others with limited Instant messaging access. [16:28] oh cool sudo !! [16:29] KurtKraut, you block msn-messenger ip ranges, and crap like that for certain macs. [16:29] fbc-mx: iptables (firewall ,NAT ) is in linux kernel, Squid can do all kind stuff to net traffic (like proxy, deny some traffic based it content etc, i dont really know it). all other programs what you are speaking are pretty much user interfaces for iptables [16:30] fbc-mx, Squid and iptables (or an easier variant, ufw) will do the job. But as I said before, there are books that teach this stuff better than the howtos online. [16:30] fbc-mx: then all you need is smallest ubuntu installation and few iptables rules [16:31] fbc-mx: if you already have eBox you can also use the firewall and proxy modules [16:31] and maybe add NAT configuration there with dhcp server to give clients ip addre based on nic MAC and build rules from there, possibilities are not endless but allmoust [16:32] simplexio, KurtKraut, great... thanks.. I just found some great HOwto's specific to ubuntu on UFW. KurtKraut, yes, I would like to download the ebooks on squid and ufw from that book publisher with the animals on the cover ( I can't remember their name) [16:32] magnetic__, yeah except that their documentation stinks, and can't find any information about what to do after I load the modules. [16:35] umm.. how about loading those modules and then checking is there some way to confgiure them [16:36] offcourse, dont do that on office hours. and first make somekind fallback plan if you dont get it to work, like backup systems and restore plan first === LjL-Temp is now known as LjL [16:37] usually if something arent mentioned in docs, then writer has thoght that its trivial. which it usually isn't but its not that comlicated [16:41] ttx, if it has never worked, it is not critical for 9.10 [16:41] kirkland, ^^ [16:41] ttx: can you confirm if the patch from revno 942 fixes the userdata problem? [16:41] ttx: I just committed something. [16:41] mdz: okay, i have never tested it before [16:42] btw. why there is postgis 1.4 for postgresql 8.3 in 9.10 but not for postgresql 8.4. 8.3 is obsolete in 9.10 [16:42] kirkland: I'll move it to updates [16:43] fbc-mx: there are new docs in http://doc.ebox-platform.com/ [16:43] I need www-data to be able to sudo without a password to chown on some files [16:43] I have: www-data ALL=NOPASSWD: /bin/chown 1[0-9][0-9][0-9]\:1[0-9][0-9][0-9] /var/www/.* [16:44] in visudo, but it's still not working [16:44] magnetic__, cool, I'll check it out. [16:44] I'm attempting to test it with sudo -u www-data sudo chown 1001:1001 file.txt [16:44] kirkland, ttx, so does that mean we can close the ec2-init task? [16:44] mdz: yes, fixing it is not desirable if we fix it postrelease [16:45] mdz: since the ec2-init fix introduces a bug for specific cases [16:45] ttx, we only need to fix it in ec2-init OR eucalyptus, right? [16:45] yes [16:45] in which case I say we should fix it in eucalyptus [16:45] mdz: i agree -> eucalyptus is where the fix belongs [16:45] mdz: i'l update the bug to reflect that, thanks for your inpit [16:45] input even [16:46] ttx, kirkland, please pass this upstream right away [16:46] mdz: i've already emailed and pinged nurmi [16:47] and nekro_ just proposed a fix [16:47] ttx: yes, just committed it. please let me know if it works [16:49] my sudo issue: http://pastebin.com/d1b1a865d [16:49] nekro_: I won't be able to test it before the end of my day, maybe kirkland will [16:50] nekro_: i'll gladly test it; however, i'm not able to run instances at the moment [16:50] ubuntu@cloud:~$ euca-run-instances -k mykey emi-E60E17EC -t c1.medium [16:50] FinishedVerify: Trying to allocate an address which is already pending: Address [cluster=canyonedge, instanceAddress=pending, instanceId=pending, name=192.168.1.30, pending=true, state=unallocated, userId=eucalyptus] [16:54] kirkland: I added a release notes task [16:55] how can I tell the frontend, specifically cc to bind to a specific network interface? [16:59] does anyone know what I have to do to increase the max open files? [16:59] I've added it to /etc/security/limits.conf and also make sure pam_limits.so is required in /etc/pam.d/common-session [16:59] but it doesn't seem to work [17:00] What group do you need to be in to be allowed to sudo? [17:00] I need dovecot to be able to open more files [17:01] in limits.conf I added a soft and hard limit with the * filter [17:01] heath|work: 'admin' (you can see that in /etc/sudoers) [17:03] JanC: do you think it is safe to add www-data to the admin group? [17:03] I need to exec chown as www-data [17:03] is the new ubuntu karmic beta give you a working eualyptus cloud? [17:04] heath|work: why would you need to do that? [17:08] hi ppl [17:10] JanC: so I can keep quotas accurate with uploaded files [17:11] heath|work: why not sudo as your normal user? [17:12] I was trying to use php's own chown() function, but I may have to end up using exec() in which I could do that [17:13] if your webserver needs to run a script that can run that as root, then configure sudo specifically to allow running that exact command and nothing else [17:17] I mean, allow www-data to only run that command as root [17:18] that's what I have www-data ALL=NOPASSWD: /bin/chown [17:19] I'd suggest you also limit the parameters ;) [17:19] and even the directories on which it's allowed to run ;) [17:21] there are some examples in man sudoers showing how to do that [17:25] Yeah I have it limited big time at this point [17:25] kirkland, see my comment in bug 461156. [17:25] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [Undecided,Fix committed] https://launchpad.net/bugs/461156 [17:25] smoser: about base64 -d ? [17:25] smoser: that you confirmed that it's encoded twice? [17:26] yeah, that euca-run-instances is the issue [17:26] i'm looking at euca2ools, and i *htink* that you can just [17:27] - if user_data: [17:27] - user_data = base64.urlsafe_b64encode(user_data) [17:27] - euca_conn = euca.make_connection() [17:27] JanC: here is the issue I am having [17:27] smoser: okay, i'm having serious issues with my production system [17:27] http://pastebin.com/d1b1a865d [17:27] smoser: i can't do anything until i fix that [17:27] smoser: this is why i'm dropping on/off irc [17:27] smoser: my production server is a hardy vm, which is crashing [17:30] heath|work: according to your sudoers, you need to use something like /var/www/file.txt or /var/www/subdir/file.txt instead of file.txt ;) [17:38] ahhh full path. I will try that tx [17:41] New bug: #461271 in nmap (main) "zenmap not installed to menus properly" [Undecided,New] https://launchpad.net/bugs/461271 [17:45] kirkland, i'm 99.3% sure that the fix is listed there in that bug. but it really does need to be fixed in euca2ools [17:47] smoser: so if the data were base64 encoded once, would it work? [17:47] smoser: I'm trying to figure out if it is an issue with eucalyptus or euca2ools === PleXs is now known as PleXuS [17:47] ciao a tutti [17:47] smoser: or both [17:47] hello [17:47] hi is it possible to used alias on ethernet card on my linux server, eth0, eth0:0 [17:48] my gps garmin edge705 doesn't run in ubuntu [17:48] nekro_, read my final comment there. [17:49] its a bug in euca2ools [17:49] smoser: and not in eucalyptus? in that case I need to revert the latest "fix" to eucalyptus. [17:49] i can imagine that htis is a matter of boto now encoding user data for you when it didn't before [17:49] smoser: that is likely [17:49] nekro_, correct. there is nothing wrong with eucalyptus . at least thats what i think. [17:50] nekro_, your fix to euca likely breaks usage of euca and ec2tools [17:50] ec2-api-tools [17:50] [TK]D-Fender : sorry to bother you, i dont have my notes with me at home and I cant remeber the dial pattern you helped me with. It was something like x.T|xx.T etc can you remeber? [17:50] unless you're checking for "is this double encoded".. but anyway you look at it, i'm fairly certain the fix is to remove 2 lines in euca-run-instances [17:51] smoser: it was added there because a user complained that user data was not being encoded but it could be an issue with an older boto [17:55] nekro_, http://code.google.com/p/boto/source/browse/trunk/boto/ec2/connection.py?r=180 [17:55] "Forgot to Base64 encode the UserData [17:55] parameter to RunInstances. Fixes [17:55] Issue-47." [17:55] can I use webmin in a production server?or It's a security issue [17:55] ? [17:57] I don't recommend webmin. [18:01] bug #461301 [18:01] Launchpad bug 461301 in eucalyptus "euca-run-instances unnecessarily encodes user data" [Undecided,Fix committed] https://launchpad.net/bugs/461301 [18:04] kees: What about ebox? [18:04] ninjah: I've heard it's better. soren might know more, IIRC [18:05] kees: People told me to switch from webmin to ebox. I haven't tried it yet. [18:06] New bug: #461296 in samba (main) "package samba 2:3.3.2-1ubuntu3.2 failed to install/upgrade: post-installation script azpiprozesuak 1 errorea eman du irteeran" [Undecided,New] https://launchpad.net/bugs/461296 [18:14] webmin isn't supported by ubuntu because of what it does to the configuration files [18:14] ebox is supported [18:16] It bugs me that the latest Linux Pro magazine has instructions for webmin install to Ubuntu === nxvl_ is now known as nxvl [18:19] Oct issue, sorry, not Nov or Dec [18:41] I just changed the eth0 to 100 full .. zince switch has no auto.. and it took the change per ethtool eth0.. i did that using the command [18:41] ethtool -s eth0 speed 100 duplex full autoneg off [18:41] how do I make the change so it survive the reboot ? [18:48] If i have 2 web servers on the same outside IP I can only assign one of them to port 80, how do i get to the other from the outside too? [18:48] axisys: you may want to ad it to the rc.local file [18:50] garymc: connect to the port the other is listening on.. "http://server.domain.name:81" where 81 is the port number [18:51] Reepicheep: i was wondering if i can add it to /etc/network/interface file [18:52] I'm not aware of a way to set it in the interface file. But that doesn't mean that there isn't one [18:53] I know you can set stuff like MTU in the interface file. I just have never see speed & duplexing set there [18:54] I don't see anything in the interfaces man file either [18:54] You can use some post-up directive in the interfaces file to run whatever command you want, ethtool, whatever [18:55] genii: sweet! [18:55] genii: thanks [18:55] np [18:57] genii: i was looking for the post-up dir .. should I just create it under /etc/network ? [18:57] Reepicheep: so i assign port 81 to the other server? [18:58] axisys: directive, not directory. So in /etc/network/interfaces some stanza under eth0 for instance like: post-up /somewhere/somecommand -options -to -that -command [18:58] genii: sorry [18:59] /usr/share/doc/ifupdown/examples/network-interfaces.gz is pretty helpful [19:00] garymc: you can assign it what ever port you choose. you probably just don't want to put it on a standard port used by other services [19:00] and possibly above 1024 depending on what user starts the web server [19:01] I just pulled port 81 out of the air [19:03] genii: do I need to mention the device w/ ethtool when doing post-up for the stanza of that interface? [19:03] genii: post-up /usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off .. like this ? [19:03] axisys: Whatever command you normally run like earlier you put: ethtool -s eth0 speed 100 duplex full autoneg off is what you put again [19:04] (with full path however, like you had just above) [19:05] up /usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off .. seems to be right syntax.. i just found out there is no post-up.. up is what run the command .. there is only pre-up and post-down.. just an fyi [19:06] ok i assigned port 81 to my other web server on the router firewall. [19:07] I put ip addres in browser e.g. 81.234.567.888:81 [19:07] and I get nothing [19:07] garymc: make sure you also configure the web server on the host to listen on port 81 instead of the default port 80 [19:08] ahhh ok [19:08] how do i do that? [19:08] and make sure that you have it allowed through the host based firewall if you have a firewall running [19:09] garymc: what web server are you using? [19:09] apache [19:09] and what is the other web server on the same host? [19:10] ?? [19:10] the one that is already listening on port 80? [19:10] no differnt machine [19:10] its a seperate machine [19:10] can i make it listen for both ports? [19:10] 80 and 81? [19:11] you probably don't need to .. it just needs to be setup correctly in the router [19:12] Well iforwaded port 81 in the routers firewall to the server I want to access [19:12] but when i put ip addy:81 in browser it doesnt work [19:12] just set the port nat to forward some high port to port 80 on the second server.. how to do that is probably quite a bit off topic for this channel [19:13] it really depends on what nat router you have? [19:13] Well ive done that already [19:14] and internally you will still connect to it via port 80 .. only externally with the PNAT work [19:17] New bug: #437004 in ntp (main) "ntpd crashed with SIGSEGV" [Low,Incomplete] https://launchpad.net/bugs/437004 [19:30] mdz, ttx, ping [19:30] regarding bug 461156 [19:30] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [High,Invalid] https://launchpad.net/bugs/461156 [19:30] smoser: pong [19:30] you follow that, ttx ? [19:31] is it 100% unacceptable to fix this in 9.10 release by changing euca2ools ? [19:31] i'll never say something is regression-potential free, but we've fairly clearly identified what is wrong here [19:32] smoser: mdz said that if its not a regression it should be fixed in an early post-release update [19:32] smoser: you want me to teach you how to do an SRU? [19:32] i dont know if its a regression or not. [19:33] smoser: we'll fix this in an update [19:33] actually, i know that it is not [19:33] smoser: i'll show you how :-) [19:33] smoser: this fix does not *have* to be on the released CD [19:34] euca2ools was not in jaunty, so it is not a regression. [19:34] smoser: and it never worked in a previous kermic release either [19:34] and ec2-api-tools in universe can be pointed at euca to work around. [19:35] so the, the right answer is "fix in SRU in euca2ools package" [19:35] ttx, are you around and able to test something for me ? on UEC ? [19:36] around, but not able to test on UEC [19:36] unless I shift to high prio mode :) [19:39] ttx, ok. i will test on ec2 and on uec and likely have what i believe fairly safe fix for ec2-init for bug 458850 [19:39] Launchpad bug 458850 in ec2-init "UEC images do not mount ephemeral disk on /mnt at boot" [High,In progress] https://launchpad.net/bugs/458850 [19:40] anyone know how I restart httpd? [19:41] in the CLI? [19:41] smoser: good. If there is anything I can test tomorrow morning let me know [19:41] if all goes well, you would expect that i can get this sponsored, uploaded, built ? [19:41] smoser: if reasonably sure keep the release team updated so that we get a daily image to validate ? [19:41] ttx, ? [19:41] smoser: yes [19:42] k [19:46] smoser: i will help you get it sponsored and tested [19:47] smoser: in the reverse order, tested, then sponsored [19:47] smoser: i am reinstalling my UEC now [19:47] kirkland, k [19:49] smoser: okay, first, let's get your fixed euca2ools pushed to your ppa [19:50] smoser: on the end of the version, add a ".1" iterator [19:50] 1.0+bzr20091007-0ubuntu1.1 [19:50] smoser: and since you're going to send it to your ppa, add a ~ppa1 iterator to the end of that [19:50] 1.0+bzr20091007-0ubuntu1.1~ppa1 [19:51] kirkland, if its post release, not terribly worried about that right now. [19:51] i need to get the other stuff tested and in [19:51] smoser: hmm, okay; we should prep that upload soon, though [19:51] y [19:51] yes [19:53] smoser: it shouldn't take but 5 minutes to upload it to your ppa [19:53] smoser: i'll pull from there, test it, and sponsor for you [19:53] ok. [19:56] smoser: is it normal that all UEC instances that I boot have the same hostname (172) ? [19:56] smoser: same instances of the same EMI [19:57] i see that here, mathiaz [19:57] i believe that the dhcp server is telling the instance that that is its hostname [19:58] smoser: I don't think so [19:58] where do you think its coming from? [19:58] smoser: on the CC /var/run/eucalyptus/net/euca-dhcp.conf [19:58] smoser: there isn't anything related to hostname [19:59] smoser: I'd guess ec2-init [20:00] smoser: in /usr/share/pyshared/ec2init/__init__.py [20:00] smoser: it comes from the metadata service [20:01] smoser: I guess that UEC metadata service gives out D.D.D.D as the local-hostname [20:02] smoser: whereas EC2 give a hostname like D-D-D-D.domain.name [20:02] yeah, i see that. [20:03] ec2: [20:03] $ wget http://169.254.169.254/1.0/meta-data/hostname -q -O -; echo [20:03] ip-10-242-63-240.ec2.internal [20:03] uec: [20:03] $ wget http://169.254.169.254/1.0/meta-data/hostname -q -O -; echo [20:03] (no output) [20:04] actually, the above should have been 'local-hostname' [20:04] but still no output on uec [20:05] def get_hostname(self): [20:05] hostname = self.get_instance_metadata()['local-hostname'] [20:05] hostname = hostname.split('.')[0] [20:05] return hostname [20:05] smoser: well - may be boto is doing something [20:06] smoser: because ec2-init should fail if the output was empty [20:06] you're right. [20:06] boto is returning the ip addr [20:06] and get_hostname taking the first piece [20:08] smoser: so I guess that's a bug in UEC metadata service [20:12] kirkland, you wanted my ec2-init to ppa ? [20:12] where's the fix? I thought it was in euca2ools? [20:20] kirkland, bug 461156 is to be fixed post-release (SRU) in euca2ools. [20:20] Launchpad bug 461156 in eucalyptus "User data is not base64 decoded before being presented to the instance" [High,Invalid] https://launchpad.net/bugs/461156 [20:21] bug 458850 and bug 458576 are to be fixed pre-release (NOW) in ec2-init [20:21] Launchpad bug 458850 in ec2-init "UEC images do not mount ephemeral disk on /mnt at boot" [High,In progress] https://launchpad.net/bugs/458850 [20:21] Launchpad bug 458576 in ec2-init "ec2: ssh public key fingerprint in console output does not match EC2 standards" [Low,In progress] https://launchpad.net/bugs/458576 [20:21] smoser: ah, okay [20:21] smoser: i'll help you with both of those [20:24] smoser: okay, for 458576... can you attach the patch you want sponsored into that bug? [20:24] kirkland: didn't we fix euca_find_cluster in the installer to use the ip published by avahi-publish? === SyL is now known as Guest6311 [20:25] mathiaz: yes [20:25] kirkland: hm - bug 458904 [20:25] Launchpad bug 458904 in eucalyptus "Adding nodes in several waves after launching VMs is not possible" [High,New] https://launchpad.net/bugs/458904 [20:25] kirkland, lets test that, along with bug 458850 fix [20:25] Launchpad bug 458850 in ec2-init "UEC images do not mount ephemeral disk on /mnt at boot" [High,In progress] https://launchpad.net/bugs/458850 [20:25] patch is http://paste.ubuntu.com/302282/ [20:25] kirkland: I've reproduced it and will update the description as it's clear what happens [20:26] kirkland: but basically euca_find_cluster returns on of the public IP addresses [20:26] smoser: is that the suggested patch attached to the bug? [20:26] mathiaz: huh? [20:26] kirkland, it fixes both [20:27] kirkland: http://paste.ubuntu.com/302286/ [20:27] kirkland: this is the network configuration of the CC [20:27] kirkland: euca_find_cluster in the installer return 192.168.222.12 as the ip of the CC [20:28] smoser: the patch in the pastebin ... could you please make sure that's the patch attached to the bug? [20:28] smoser: launchpad is authenticated; pastebin's are not [20:28] smoser: i will pull your patch from launchpad, not a pastebin [20:28] ok. thats fine. [20:28] kirkland: http://paste.ubuntu.com/302287/ - while avahi-publish publishes the correct IP address of the CC [20:28] but i'm not saying you should uploda it at this point [20:28] you should test it first. [20:29] smoser: right, i will test it first [20:30] mathiaz: do you have a fix in mind? [20:30] mathiaz: i'm juggling several other things at the moment, don't really have time to troubleshoot that right now [20:31] kirkland: ok - I'll look into it [20:31] smoser: let's prepare both of those fixes in parallel [20:31] smoser: we'll upload the ec2init one first, for karmic [20:32] smoser: and prep the euca2ools one for -updates [20:32] there isn't really a reason to wory about euca2ools right now [20:32] is there? [20:32] smoser: but we can knock them both out now [20:32] lets get ec2init fixed [20:34] smoser: i'm re-installing my UEC now [20:36] Hi all. I got a strange problem with ubuntu 8 lts and softraid. I got 3 raid1 partitions. If I set one disc as fail, at next reboot the rebuild process does'nt start automagically.. I need to start it by hand doing mdadm --manage --add... [20:36] any hint? [20:37] (I tweaked the initramfs-tools to let the system boot with degraded array as well) [20:38] I remember that it was a default to automagically rebuild degraded arrays on boot..I'm I wrong? [20:41] oopss.. I'm back.. [20:44] sorry for the bump: I am currently using ubuntu hardy with Puppet on quite a few servers, although it is from universe. I am thinking of moving to chef in a close future. What are Ubuntu plans regarding automated deployments and configuration, is one tool going to make it into main for 10.4? [20:45] I got a problem with mdadm softraid, I cant' get the md arrays automagically start rebuilding at boot time. I got a problem with 3 raid1 array on a hp sata server.. the rebuild starts only by hand with mdadm --manage --add..... [20:45] can I fix this? [20:46] yann2: -> mathiaz [20:46] I need that md arrays starts rebuild at boot time (and that the system boots with degraded arrays) [20:46] New bug: #461416 in postfix (main) "package postfix 2.6.5-3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 75 zur?ck" [Undecided,New] https://launchpad.net/bugs/461416 [20:46] yann2: puppet is in main starting from karmic [20:47] How can I make a USB startup from ubuntu-9.04-server-i386 image? I tried the USB Creator on ubuntu desktop, but I only get the BOOT: prompt [20:47] thx kirkland , just thinking abuot moving from puppet to chef, but my choice might depend on ubuntus [20:47] mathiaz, does puppetd still leak? [20:47] yann2: I don't know - bug number? [20:47] is in hardy so universe, didnt report it yet as not officially supported [20:48] but have seen quite a few reports about this on channels and blogs [20:48] (for more recent versions) [20:49] using puppet right now, but that leak kind of cooled my ambitions :) === SyL is now known as Guest16233 [20:50] mathiaz, just out of pure interest, why did you chose puppet over the other solutions? I am still undecided :) [20:50] yann2: puppet has been around for much longer than chef [20:50] yann2: the maintainance in debian is good (google is behind) [20:50] ok that makes sense [20:51] yann2: ubuntu users are more using puppet than chef [20:51] is it safe to assume it will still be in main for 10.4 then? :) [20:52] yann2: yes [20:52] no one experienced my problem? [20:52] ok thanks a lot then ;) this is good news, such a software was definitely needed [20:54] smoser: reviewed your patch; code looks good [20:54] but its bad [20:54] smoser: i'm downloading karmic-uec-amd64 now [20:54] smoser: sure, it's a hack [20:54] just checked, i typoed slomething in copy [20:54] so ssh patch doesn't work [20:55] smoser: i haven't tested it yet [20:55] smoser: you have an update coming? [20:55] yes. attaching now. [20:56] someone knows where the debian/ dir of vmbuilder moved? [20:59] any ideas on how to get ubuntu serer to install from a usb stick?? === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [21:00] I need an mdadm expert.. [21:00] fbc-mx: You should be able to use usb-creator to put the ISO stuff on a stick [21:01] ScottK, yeah, I did however all I get is a BOOT: prompt it doesn't go any further... [21:02] Dunno. I've only done it on netbooks, so I can't say === dendrobates is now known as dendro-afk [21:16] kirkland, update is attached. [21:16] i've tested on 4 cases on uec [21:16] smoser: i'm still downloading the image [21:16] k. [21:17] is there a nice way to turn off ipv6 in ubuntu-server? [21:17] smoser: that diff is dirty [21:17] smoser: includes the previous diff too [21:17] http://launchpadlibrarian.net/34426991/fix.debdiff [21:17] its a replacement [21:18] identical except for 4 chars [21:18] maybe 5 [21:18] 2>&1 [21:18] smoser: scroll down [21:18] +++ ec2-init-0.4.999/fix.debdiff 2009-10-26 16:30:45.000000000 -0400 [21:18] oh. i see. [21:19] could be enough to update initramfstools to load raid1 module? [21:27] hey.. any md-raid expert here? [21:27] kirkland, new version is attached there now. [21:28] and i've tested this on ec2 anad uec. [21:28] it functtions as i expect it to [21:28] kirkland, i've got to step out for a while. if you can test that, please do. [21:29] instructions for doing so are in the bug there. [21:31] soren, zul your thoughts on patch attached to bug 458576 would be appreciated. i think its generally sane, and i've tested on ec2 and uec [21:31] Launchpad bug 458576 in ec2-init "ec2: ssh public key fingerprint in console output does not match EC2 standards" [Low,In progress] https://launchpad.net/bugs/458576 [21:31] that patch should fix bug 458850 and the bug its attached to. [21:31] Launchpad bug 458850 in ec2-init "UEC images do not mount ephemeral disk on /mnt at boot" [High,In progress] https://launchpad.net/bugs/458850 [21:31] i have to step away for a while. [21:31] kirkland, call cell if you need. [21:39] smoser: okay, i'm running the instance now [21:39] smoser: whoa, i just missed you [21:42] is there a way to re generate the keys on the front end? all my pem files are empty === Guest16233 is now known as SyL [21:45] SyL: you can deregister clusters/SCs, walrus. stop the front end. then delete the pem files everywhere and delete euca.p12. restart the front end === WALoeIII_ is now known as WALoeIII [21:45] SyL: and re-register everything [21:47] kirkland, you still around ? [21:47] smoser: yessir [21:47] nekro_: ok, trying it now [21:47] smoser: quick phone sync? [21:47] sure [21:47] smoser: i want to knock this out, and knock off for the day [21:56] nekro_: euca_conf --no-rsync --discover-nodes, just rsyncs keys to 127.0.0.1 for some reason [22:03] SyL: I don't know how that works. I'd try manually registering a node with euca_conf --register-nodes [22:04] nekro_: ok, I'll try it again [22:06] INFO: We expect all nodes to have eucalyptus installed in //var/lib/eucalyptus/keys for key synchronization. [22:06] warning: //var/lib/eucalyptus/keys//node-cert.pem doesn't exists! [22:07] yeah, again, the keys aren't being generated [22:09] forget it, I'm just going to format it and reinstall again. [22:09] this is geting old [22:10] SyL: perhaps you should stick with Jaunty or wait until the Karmic setup is stable. [22:12] nekro_: Jaunty eucalyptus wasn't working for me either. I've gotten farther in karmic using euca 1.6 then 1.5 [22:12] 1.5 I got things launching, but couldn't get the network to work, and in 1.6, everything works most of the time. [22:46] test:) [23:02] New bug: #461528 in libvirt (main) "apparmor blocks migration" [Medium,Triaged] https://launchpad.net/bugs/461528 [23:36] New bug: #459093 in samba (main) "Broken encoding when listing services and their descriptions" [Low,Incomplete] https://launchpad.net/bugs/459093 === freeflyi1g is now known as freeflying