/srv/irclogs.ubuntu.com/2011/09/28/#ubuntu-server.txt

Davieysmoser: it's seeded in server00:01
Davieyblame Keybuk.00:01
SpamapSnot Canada?00:04
zulSpamapS: too easy to00:09
adam_gzul:  ping00:12
zuladam_g: what up?00:13
adam_gzul: https://bugs.launchpad.net/swift/+bug/836922 thoughts on cherrypicking this? it will make maintaining a single charm to deploy different swift versions a bit easier. https://bugs.launchpad.net/swift/+bug/83692200:15
uvirtbotLaunchpad bug 836922 in swift "swift-ring-builder exit status confusing" [Undecided,Fix committed]00:15
zuladam_g: i dont have a problem with it00:16
adam_gzul: ok. ill look to see if the charm can be modified to be compat with both sets of return codes first.00:17
zuladam_g: i can probably pull it in tomorrow though00:17
zulim about to go off line00:18
adam_gzul: ok, dont worry about it for now i guess. ill let you know. cya00:22
DavieyRoAkSoAx: did you have a chance to investigate bug 827496?00:23
uvirtbotLaunchpad bug 827496 in cobbler "cobbler kickstart metadata dont affect ubuntu preseed " [High,Incomplete] https://launchpad.net/bugs/82749600:23
RoAkSoAxDaviey my tests they dobaffect so.i would probably mark.that bug invalid but i need to test a bit more cause we use kickstar meta data in.daily basis without issues01:16
ziesemerAnyone have any quick suggestions for finding the endpoints using the most traffic on an Ubuntu server being used as a SOHO router?  I like the look of iftop, but it only seems to be able to listen on one interface - and as such, always shows the interface as one of the endpoints.02:20
ruben23hi guys anyone made a successfull install of eaccelerator for php on ubuntu server 10.04 LTS02:52
GasseusUmm... I'm having difficulty getting apache to execute my php files...04:54
twbThat's a feature.04:54
GasseusIts pushing the php files as a download instead of running them.04:55
malakhiGasseus: is mod_php activated?05:02
Gasseusmalakhi yep05:03
malakhiGasseus: make sure that Apache is using the right MIME type for php, and that the Apache config for the site that you're setting up allows php scripts to run.05:08
DavieyGasseus: Can you try clearing your browser cache, i've seen it happen that people get that before installing  / enabling php, then the .php file is cached by the browser.06:26
DavieyFailing that, have you turned it off and on again? :)06:26
ikoniaDaviey: think I may have almost got the docecot bug fixed, can't do anything with it for a few hours due to being on a clients site, but I should have a more realistic update later today06:40
ikoniadovecot06:40
Davieyikonia: awesome!06:48
Peetz0rHi, I use sslh to run ssh and https over port 443. Connecting to ssh over 443 takes way longer than over port 22. Can this be fixed, and how?07:26
jamespagemorning all08:05
uvirtbotNew bug: #861260 in nova (main) "nova-common upgrade fails with runing lxc instances" [Undecided,New] https://launchpad.net/bugs/86126009:16
rbasakjamespage: surely the bug is that root is mounted read-only?09:18
jamespagerbasak, hmm - not so sure09:19
* rbasak fires up his panda09:19
jamespagethat might be something todo with how libvirt/nova/lxc work together09:20
* jamespage admits he's not expert09:20
Davieyjamespage: please don't tarnish your brand.09:21
Davieyjamespage: so that bug seems to be because of:09:23
Daviey-    chown -R nova:root /var/lib/nova/ /var/log/nova/ /etc/nova/nova.conf09:23
Daviey+    chown -R nova:nova /var/lib/nova/ /var/log/nova/ /etc/nova/nova.conf09:23
jamespageagreed - that landed last night09:23
DavieyYeah, not sure why that doesn't work09:24
jamespageit needs to accomodate running lxc filesystems09:24
jamespageand exclude them09:24
rbasakSo your root filesystem is definitely mounted rw?09:24
jamespagejust trying to figure that out now09:24
rbasakI see /dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0 in my cobbler-installed /proc/mounts09:25
Davieyhmm, is it enough to just || true ?09:25
jamespagehttp://paste.ubuntu.com/698389/09:26
jamespagerootfs is owned by root09:27
jamespageand should probably stay that way09:27
jamespagehmm - not sure that postinst works that well on upgrades09:28
jamespageit does not change the default group for nova -> nova09:28
jamespageso files still get created with nogroup and group owner09:29
jamespagehmm - I just ran that chmod once I fixed the upgrade09:30
jamespageit just changed all of the permissions in my rootfs as well09:30
jamespageyikes09:30
rbasakOK I'm lost now, I'm not sure I understand the problem09:32
jamespagerbasak, hmm - that is odd09:32
jamespageI don't think the issue was that my root filesystem was read-only09:32
jamespageI just downloaded and unpacked a load of packages09:32
rbasakCould an error have caused it to go read-only?09:33
rbasakdmesg?09:33
jamespagerbasak, well its still read write - I've not rebooted09:34
rbasakCan you write to it?09:34
jamespage/dev/mapper/winehouse-root on / type ext4 (rw,errors=remount-ro)09:34
jamespageyes09:34
rbasakOK, I'm lost then :)09:35
jamespageonce completed the nova upgrade manually spun up another lxc instance just fine09:35
jamespagerbasak, OK - so it looks like on the of qemu-nbd mounted filesystems went read-only09:41
jamespageI can see that in the syslog from around 0600 this morning09:41
jamespagewhich caused the upgrade to bork09:41
Davieyjamespage: ah, could be a remount=ro issue?09:42
Davieysdhc card errored?09:42
jamespageDaviey: yes09:42
jamespagerunning off SATA USB disk09:42
jamespageand only one of three that where mounted so odd09:42
jamespagethe postinst is still *wrong* tho - it should not change the permissions in the filesystem mount on rootfs09:43
jamespagethats within the lxc instance09:43
jamespagegah - now nova-compute is borked an won't start09:48
Davieyeek09:53
Davieyjamespage: yeah, so lxc needs special-casing. Nice.09:53
jamespageyep09:54
jamespagebug report updated09:54
jamespagethanks for going ro filesystem - I would not have spotted that otherwise09:54
jamespageDaviey: is 'find' allowed in maintainer scripts?09:56
jamespagethat would make it easy09:56
Davieyjamespage: there is history of it.10:00
Davieyjamespage: see gconf package, for example10:02
vagyhi10:34
vagyi've a question: i connect via ssh on a 10.04 system ... is it possible to monitor whatever messages the kernel or daemons generate by monitoring some tty device?10:35
TeTeTvagy: you would need to change (r)syslogs configuration10:48
TeTeTvagy: man rsyslog.conf might contain some useful information for your undertaking10:49
TeTeTvagy: in general I think an easier approach is to use byobu on the server and simply tail -f the relevant log files10:49
vagyTeTeT: thanx...at the moment i try to debug starting/stopping vmware vms, so i need to see whatever messages are produced by the daemons involved10:52
TeTeTvagy: maybe it's in /var/log/daemon.log10:52
vagyTeTeT: didn't know about byobu, i'll check it out10:53
TeTeTvagy: it's an enhancement for screen, if you're familiar with that tool - multiple consoles in one text window10:53
PleXshow can i change my keyb layout?10:58
TeTeTPleXs: I'd try sudo dpkg-reconfigure console-setup if you have no GUI11:04
PleXsI don't get the option to change keyboard layout there11:08
PleXsTeTeT, it only changes te looks of the console11:09
TeTeTPleXs: hmm, what Ubuntu version are you using? On Lucid the first screen I get for console-setup asks for the keyboard model11:12
PleXsTeTeT, latest version 11.0411:13
TeTeTPleXs: I don't have 11.04 running right now, but google pointed me to: http://igrudge.net/keyboard-layout-ubuntu-server-11-04/11:14
PleXsTeTeT, lol now it can't find the symbols :)11:20
PleXsnever mind reinstall with the right keyboard :)11:20
PleXsisn't ssh standard installed with ubuntu server ?11:43
qman__PleXs, no11:47
qman__by default, ubuntu server has no listening services11:47
=== caribou1 is now known as Caribou
hallynadam_g: bug 833891 for me is fixed with the posted debdiffs.  you had seen that bug too right?12:51
uvirtbotLaunchpad bug 833891 in udev "lvscan often times out during boot" [High,Confirmed] https://launchpad.net/bugs/83389112:51
smoserhallyn, thats great digging12:55
Davieyhallyn: +  if (daemonize)12:59
Daviey+  exit(0);12:59
DavieyIs that right?12:59
lynxmanmorning everyone o/13:03
RoAkSoAxDaviey: bug #827496 is really invalid13:05
uvirtbotLaunchpad bug 827496 in cobbler "cobbler kickstart metadata dont affect ubuntu preseed " [High,Incomplete] https://launchpad.net/bugs/82749613:05
smoserhallyn, and i'm confused.13:06
smoserjust looing at your patch, i dont see how / where it does a daemonize.13:06
RoAkSoAxDaviey: as I always said/thought it was xD13:06
smoseroh. i see, it forks always.13:07
DavieyRoAkSoAx: awesome :)13:07
smoserjamespage, i commented on mp at https://code.launchpad.net/~james-page/nova/fix-lxc-and-primary-group/+merge/7730813:08
jamespagesmoser: looking13:08
jamespagesmoser: nice feedback - agree and amending now13:10
smoserthank you for testing, jamespage to find this.13:12
rbasakWho was working on live migrations on nova?13:14
RoAkSoAxjamespage: could you point me again to the pastebins you had for the arm provisiioning?13:16
RoAkSoAxjamespage: the preseed and your script to partition the sd card13:16
jamespageRoAkSoAx, http://pad.ubuntu.com/arm-server-netboot13:16
RoAkSoAxjamespage: cool thanks13:16
jamespageRoAkSoAx, np - any questions give me a shout13:16
jamespagesmoser: updated and pushed13:19
smoserjamespage, looks like you mixed space and tab13:23
smoser:-(13:23
* jamespage shouts loundly at himself13:23
jamespageor even loudly13:23
smoserthat is pretty awesome failure though.13:24
hallynDaviey: yes, it has already forked and the child will continue with its exec of vgscan13:24
smoserchowning a root filesystem to ownership of a uid:gid not likely even *in* the chroot.13:25
jamespage\o/13:25
jamespageI enjoyed it!13:25
Davieyhallyn: ah! :)13:26
jamespagesmoser: updated without tabs13:27
smoserjamespage, ok.13:27
smoserone other thing13:27
smoseri just verified what i had thought13:27
hallynDaviey: back in about 30 mins13:27
smoseri'm looking at marula13:27
Davieyhallyn: have fun!13:27
smoserfind /var/lib/nova/ \! -user nova13:28
smosershows that some files are owned by libvirt-qemu and 'kvm' group13:29
smoseri had thought that libvirt did that, but other files down that directory are owned by nova13:29
smoser(perhaps the libvirt-qemu owned ones are the new ones)13:29
Davieysmoser: nova-compute does chown some files.13:29
smoserright. thats what we're looking at...13:30
smoseron install13:30
smoserhttps://code.launchpad.net/~james-page/nova/fix-lxc-and-primary-group/+merge/7730813:30
smosertake a look at marula if you want.13:30
lynxmanjamespage: don't shout at yourself, you're too nice for that13:31
smoseri'd like to understand what the "correct" permission for those files is13:32
smosermy experience is that files created by libvirt are owned by libvirt and then on destroy it puts ownership back13:32
smoserlibvirtd runs as root, so in any battle over ownership, it can do what it wants.13:33
smoserbut i dont know that we should just go changing it.13:33
smoseron an upgrade.13:33
smoserjamespage, ^13:37
jamespagesmoser: hmmm13:39
jamespageprobably not13:39
smoseri'm pretty sure we need to not chown . at very least its rude to libvirtd.13:39
smoseri'm not sure why that chown is thre.13:40
smosersoren, ^ it seems you at least brought 'chown -R' forward from maverick13:41
jamespageI think those permissions would be good for lxc instances (looking at what running a new one does)13:43
jamespagebut prob not kvm13:43
smoserso why are we changing on upgrade?13:43
smoseri can moderately understand the fresh install case, where there was stuff there for one reason or another from before.13:44
smosermaybe it makes sense to only do that on first install and not on subsequent.13:44
smoserother than the case that we're fixing 'nogroup' and we can specially fix that.13:45
jamespagesmoser: interestingly it used to set a root group ownership13:50
smoseryeah.13:50
smoseri'm sorry i made a mess of this jamespage13:51
smoserit started out so easy13:51
smoserbut i really dont know why we'd do that on upgrade.13:51
smoserit can really only break things.13:51
jamespageI was working on the 'someone who has more knowledge of why this is done' had implemented that prior to lxc13:51
smoseryeah.13:52
jamespageand we just needed to tweak to exclude the rootfs firs13:52
jamespagedirs13:52
smoserwhich make sense.13:52
smoserbut i think now, it is "someone did this, and nothing bad blew up"13:52
jamespageyes - but I will admit it is a little blind13:52
jamespagesmoser: might just be that13:53
smoserjamespage, can you confirm this, and i'll open a bug:13:53
smoser * apt-get install nova-compute-lxc13:53
smoser * sudo apt-get dist-upgrade13:53
smoser * be told your nova.conf has changed13:53
smoseryour upgrade log indicates that.13:54
jamespagesmoser: thats because I'm running over two nodes - so I have changed the nova.conf13:54
jamespageone half on a panda and the other on a laptop13:54
jamespagepanda can't run its all13:54
smoserhm.. i thought that nova-compute-lxc did it13:54
jamespageI've not seen that13:55
smoserok. it seems sane. i had thought that nova-compute-lxc was modifying on install. but it just lays down its own nova-compute.conf13:58
jamespagethat sounds right13:59
smoserso what do you think to do here?13:59
smoseri feel apt to just avoid chowning 'rootfs' like is currently in your mp13:59
smoserand maybe i'll open a bug saying we shouldn't chown everything on upgrade13:59
jamespagehmm - so assuming that we take the 'its not blown up so-far approach'14:00
jamespagei'm nervous that we have switched from nova:root -> nova:nova for the permissions change14:01
jamespagesmoser: looking at the version history of that file it switch from nova:nogroup to nova:root14:04
smoserand back again i think14:04
smoser:)14:04
jamespageand now we are switching to nova:nova14:04
jamespagesmoser: not sure about the switch back - looks like that was done for the 'nogroup' security reason14:06
jamespageso actually switching to nova:nova makes sense14:06
smoseryeah, you're right. i dont know why i thoguth it changed back at the moment.14:07
smoserso then potentially fix things that are owned by root or nogroup14:08
jamespageso excluding the rootfs directories as in the MP is the minimal change ATM14:08
smoseri think i'm kind of up for th eminimal change at this point.14:08
jamespageand switching the primary group to nova closes the last bit of the security fix for nogroup14:08
jamespage+1 on that14:08
smoserright.14:08
smoseri think it make sense to go to nova group14:09
smoserfor things that *were* root14:09
smoseror were nogroup14:09
jamespageit is a little blanket ATM14:12
smoserlets just go with minimal fix.14:14
smoserthe other small concern i have is that 'find' taking ages14:15
smoserie, if /var/lib/nova had 100,000s of files14:15
smoserbut i dont think it should really.14:15
jamespageI think that is an outside case14:16
jamespagein the event that you have that many files in that directory14:16
jamespageyou are going to be running a monster machine14:16
jamespagewhich should have good io - or else you are a flump14:16
uvirtbotNew bug: #858875 in cobbler (universe) "a some what odd configuration in cobbler.wsgi" [Undecided,New] https://launchpad.net/bugs/85887514:27
uvirtbotNew bug: #858883 in cobbler (universe) ""Management Parameters" (for example a system) which can be set in the web interface can result in arbitrary code execution on the host due to the use of yaml.loads instead of yaml.safe_loads in item.py on line 248: " [Undecided,New] https://launchpad.net/bugs/85888314:27
uvirtbotNew bug: #858878 in cobbler (universe) "lack of csrf protection in cobbler-web" [Undecided,New] https://launchpad.net/bugs/85887814:44
jamespagesomeones busy with cobbler :-)14:53
uvirtbotNew bug: #861459 in nova (main) "/etc/nova/nova-compute.conf not owned by nova" [Low,Confirmed] https://launchpad.net/bugs/86145914:53
smoserjamespage, ok...14:54
smoserso i'm almost certain that this is going to cause issue if libvirt closes the filehandles that have been chowned14:55
smoseri dont know what case it will occur in, as i tihnk on libvirt restart it wuld probably re-chown the files to libvirt ownership, and otherwise, it probably wont close its file handles14:55
smoserbut if it does, its not going to be able to write the files that we chown'd to root:root14:56
smoserer... to nova:nova14:56
smoserjdstrand, around ?14:56
jdstrandyep14:56
smoseri'm looking at a case in nova, where we have some libvirt instances up, and then a nova upgrade will come through and do14:56
smoser chown -R /var/lib/nova/ , which will include some files that are libvirt:kvm owned14:57
smoserlibvirt-qemu:kvm14:57
jdstrandok14:57
smoseris that going to cause a problem ?14:57
jdstrandotoh, it shouldn't as the perms aren't going to be rechecked since kvm already has the open fds14:58
smoserso far nothign has flown up in our faces, so i assume that libvirt is just fixing ownership on restart and not closing file handles otherwise (so the perms change dont take affect)14:58
smoserright.14:58
smoserso when *would* libvirt not fix these things and us get screwed14:58
jdstrandlibvirt will readjust the perms on stop/start of the guest, yes14:58
smoserok...14:58
jamespagesmoser: still feels like that chown should be restricted14:59
jdstrandon guest reboot, qemu doesn't close the fd, so still should be fine14:59
smoserjamespage, yeah, but then i'm afraid14:59
jdstrandit is a bit clumsy the way nova is doing that14:59
smoseras i'm afraid that nova is going to for some reason need ownership for some reason14:59
smoser(live migration, instance terminate... something)14:59
* smoser adds another 'for some reason' to make sure everyone knows he is sure of nothing15:00
jdstrandwhy not jsut do chown /var/lib/nova/, and then chwon -R on the subdirectories, excepting the one that hold instances15:00
jdstrands/instances/image files/15:01
smoserwell, 2 reasons... 1, there are files in there that have 'nogroup' or 'root' group that we want to fix.15:01
smoserand 2, we're not really sure why this code is there, and we're afraid of breaking things15:01
jdstrandI'm saying, do your chown, just be selective15:01
smoserright15:01
jdstrandyou'd have to enumerate what to chown of course, and it would be a bit more brittle15:02
jdstrandor you could use find creatively and skip stuff that is -group kvm and -user libvirt-qemu15:03
uvirtbotNew bug: #858860 in cobbler (universe) "weak default configured permissions on /etc/cobbler/users.digest" [Undecided,New] https://launchpad.net/bugs/85886015:03
uvirtbotNew bug: #858867 in cobbler (universe) "XMLRPC  allows unauthed users access to various methods (which it shouldn't) " [Undecided,New] https://launchpad.net/bugs/85886715:03
jdstrandbe careful with find though-- you don't want to follow symlinks and do stuff outside of /var/lib/nova15:04
zulmorning15:04
smoserjdstrand, yeah.15:04
zulso chown -R the rootfs in lxc blows up?15:13
jamespagezul: kinda15:16
zulthats an unintentional effect15:17
jamespageit was nice to see everything owned by nova:nova in the lxc instance tho15:18
zulhehe15:18
lynxmanjamespage: lol15:35
* jamespage sighs15:35
jamespagelikewise-open - remind me never to volunteer to look at a bug for Daviey again...15:36
smoserzul,  you should go ahead and pull jamespage's merge i think.15:39
smoserer... maybe not.15:39
smosermaybe we should prune off 'instances'15:39
zuljamespage: yeah i learned that pretty quick as well ;)15:40
zulsmoser: does qemu/kvm have the same problem?15:40
smosershoot15:40
smoserwell, sort of15:40
smoserinfo on the above15:40
smoserin the above15:40
smoserwe change the files, which is bad, but libvirt fixes them for us on restart.15:41
uvirtbotNew bug: #861504 in nova "nova-compute-lxc limited by available nbd devices to 16" [Undecided,New] https://launchpad.net/bugs/86150415:41
Davieyjamespage: what is making you said about it?15:44
jamespageDaviey: install on natty just fine - upgraded to oneiric and it borkes pretty bad15:45
Davieyjamespage: feel free to bounce it back to me.15:45
zulsmoser: nbd.ko  defaults to 16 for the max number of block devices15:45
Davieyjamespage: gah, dammit15:45
jamespageDaviey: well I was able to confirm bug 85497115:47
uvirtbotLaunchpad bug 854971 in likewise-open "likewise-open package missing libnpfs" [High,Confirmed] https://launchpad.net/bugs/85497115:47
smoseryes, i knew that.15:48
smoserthats why i said we need to bump it.15:48
zulsmoser: is there a way we can check to see what the nbds_max is set to and make the changes dynamically in nova?15:51
smoserzul, i sort of suggested that.15:52
smosertheres really no point in the flag15:52
smoserjust check all the devices15:52
zulsmoser: agreed15:53
zulsmoser: like just get the information from /sys/module/nbd/paramaters/nbds_max15:54
smoserright.15:55
smoseroh. it is there?15:55
smoseryeah, so thats nice.15:55
zulits staring at me right now15:55
smoserbut even then, why bother?15:55
smoserit already looks through /sys/block/%s/pid15:56
zulwell what if you reload the module....yeah right15:56
smoserjust do that.15:56
uvirtbotNew bug: #861521 in samba (main) "package samba (not installed) 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/86152116:08
dori922hey! I have a shell script thats works fine(adds users from a mysql database) untill i try to run it off a cron job :( via: "$ sudo crontab -u root -e" then: "5 * * * * /home/trofnan4/addclients.sh"16:26
dori922it woirks outside the cron so im not sure i have cron set up correctly :s16:26
uvirtbotNew bug: #861547 in nova (main) "/usr/sbin/ietadm is missing in /etc/sudoers.d/nova_sudoers" [Undecided,New] https://launchpad.net/bugs/86154716:26
jamespageDaviey: hmmm - trouble at mill - bug 84547716:33
uvirtbotLaunchpad bug 845477 in likewise-open "/usr/libexec/likewise-open/init-base.sh: 1: [init]: not found" [Undecided,Confirmed] https://launchpad.net/bugs/84547716:33
Davieyoh golly.16:36
jamespageI'm trying a local build without V=1 to see what difference it makes16:38
jamespageDaviey: how important is it that likewise-open remains in the archive?16:38
Davieyjamespage: Honestly, not quite sure - i think it is, based on the fact there is bug feedback for Oneiric already16:40
Davieym_3: Hey, you are a ruby fan - right? :)16:59
m_3Daviey: yup17:02
m_3ssup?17:02
m_3dang, did I just volunteer for a bug?17:03
Davieym_3: Well... rails in oneiric is poorly, and i might need your guidance how to resolve.17:03
m_3are there specific bugs?17:04
Davieym_3: bug 861524 .. does it really need to be that coupled to versions?17:04
uvirtbotLaunchpad bug 861524 in rails "[oneiric] rails is not installable" [Critical,Confirmed] https://launchpad.net/bugs/86152417:04
skritehey all, i have a simple dovcot and postfix mail server, working fine with Maildir but now i need a user to be abel to send mail from his laptop, how do i configure so he can use his user account to send mail?17:04
m_3Daviey: I can look now17:05
Davieym_3: \o/17:05
* robbiew takes a break from the USB key sweatshop...bbiab17:12
=== med_out is now known as medberry
Davieym_3: So the issue seems to be that some parts are using 2.3.11 and others 2.3.14.17:23
medberrySpamapS, is bug 523484 still open17:23
uvirtbotLaunchpad bug 523484 in ureadahead "ureadahead requires /var on root filesystem" [Medium,Triaged] https://launchpad.net/bugs/52348417:23
medberry(for say Natty)17:23
Davieym_3: It's breaking at versioned depends, rather than code problems.  It's not clear to me what ois the best solution.17:23
Davieym_3: bring them all to 2.3.14, or remove the versioned depends?17:24
SpamapSmedberry: I don't know anything about that bug. :-/17:29
SpamapSmedberry: if I did before, its been swapped out for other things :P17:30
medberrynod. thanks.17:30
medberryzul, ^ 52348417:35
zulmedberry:  ah17:36
Davieymedberry: Have you encountered it?17:37
medberryDaviey, yes, sort of...17:37
Davieymedberry: If so, does removing ureadahead resolve the issue?17:38
medberrychecking.17:39
negronjlSpamapS: ping17:41
SpamapSnegronjl: pong, sup?17:42
negronjlSpamapS, having issues with the mysql charm.  Need MySQL expertise17:42
negronjlI am trying to create a mysql table with foreign keys and I get errno:150.  any thoughts?17:43
SpamapSnegronjl: MyISAM?$ perror 15017:43
negronjlthe mysql charm is being configured with aug and I don't quite get aug enough to do anything useful with it.17:43
SpamapSMySQL error code 150: Foreign key constraint is incorrectly formed17:43
negronjltables are not MyISAM, they are InnoDB.17:43
negronjlSpamapS, also, when i install the same verison of mysql vi apt-get, it all works.17:44
SpamapSnegronjl: very strange17:44
negronjlSpamapS, the issue is that the charm is already being used in other parts of nova and would just like to fix the charm ( I am pretty sure is something that aug is doing )17:44
SpamapSnegronjl: well I don't know what that error message means well enough to debug it..17:44
negronjlSpamapS, ahh..ok.  Know of any MySQL guru's ?17:45
SpamapSnegronjl: we don't change much in my.cnf ...17:45
SpamapSnegronjl: I'm sure I could help, but don't have any time to dig into it right now. :-/17:45
negronjlSpamapS, thanks anyway.  I'll work it out somehow ( I hope ) :)17:46
SpamapSnegronjl: google that error message.. I think its probably something simple.17:47
SpamapSnegronjl: the settings we changed in my.cnf really shouldn't have any bearing.. :p17:47
negronjlSpamapS, will do.  thx17:47
lynxmanSpamapS: actually they did, we found the issue :)18:11
lynxmanSpamapS: InnoDB engine won't do a foreign key relation between two fields that have different type, this case was varchar relating to int18:11
bau_hi all i have a problem with my ubuntu server: i can't see samba shares but i can ssh it and smb://ip-address to it, why?18:17
skritehow do i troubleshoot not being able to log into my email server from a client like thunderbird. i can connect to the dovecot receiving but not the postfix smtp from outside18:51
pyro_killeranyone in today?18:55
koolhead17hi all18:56
pyro_killermy ubuntu server will only upload 20-30kBps, wich is not enoug for my use18:56
pyro_killerive tried niceing it, reniceing it, and the ww-data user, seen through apaches config files, and it isnt runing anything else atm18:57
pyro_killerthe speeds ive gotten on torrents on it have been up to 9 MBps18:58
Picipyro_killer: Stupid question, but your torrents aren't seeding when you're trying to download things from your server, right?19:01
pyro_killerPici: no, i've killed it, ive had this problem for some time19:02
pyro_killerPici: but it seems that after a certain amount of installations, for compilers, mods for apache and such, it hits, and gets capped19:02
JanCpyro_killer: it's only with apache that you have the problem?19:02
pyro_killeralso the ......19:03
pyro_killervsftp19:03
Picipyro_killer: Is it purely a bandwidth issue, or are you seeing problems with apache cpu usage that might be causing a bottleneck?19:03
pyro_killerno, there is no bottleneck, only running mysql and  apache19:04
jamespageDaviey: I've marked bug 854971 as server-o-rs19:04
uvirtbotLaunchpad bug 854971 in likewise-open "likewise-open package missing libnpfs" [High,Confirmed] https://launchpad.net/bugs/85497119:04
jamespagepatch from upstream - trying it now19:04
jamespagebut looking OK19:04
pyro_killerhttp://bildr.no/view/98607119:04
pyro_killerare there any well known programs that restrict it, cause it has happened before19:05
Davieyjamespage: you rock star19:05
JanCpyro_killer: did you try downloading from your server from multiple locations?19:05
Davieyjamespage: Whilst you are here, remember we talked about jenkins testing via juju for daily testing of openstack?19:06
pyro_killeryes, my buddies also get it when they download files from it19:06
SpamapSlynxman: I'm a little confused by that. Are you saying that the FK's basically just weren't happening before, because it was on a MyISAM table?19:06
Davieyjamespage: - That was blocked on complex testing blueprint, and juju / orchestra being 'ready', right?19:06
pyro_killerthe cap is usually 80-30kbps19:07
pyro_killer*kBps19:07
lynxmanSpamapS: no, it's an InnoDB constraint19:07
jamespageDaviey: I do remember19:07
jamespageand I have done some work on that19:07
jamespageas I have failed todo for the last week (At least)19:07
jamespageI need to spend time with the latest versions of adam_g's formulas19:08
jamespageand get them working with the formula test service19:08
jamespageand get them working with the formula test charm19:08
jamespagetomorrow19:08
SpamapSlynxman: But FK's don't do *anything* on any other engine19:09
SpamapSlynxman: so its a bug in whatever was creating the FK19:09
lynxmanSpamapS: still it's an InnoDB requirement according to the manual *shrug*19:09
JanCpyro_killer: does the same issue happen with ssh/sftp?19:09
lynxmanSpamapS: exactly, it's a bug in keystone :)19:09
SpamapSlynxman: ok, just making sure. :)19:09
Davieyjamespage: Great!19:09
Davieyjamespage: Now go home. :)19:09
* SpamapS wishes MyISAM would contact Dr. Conrad Murphy for some sleeping medication...19:10
jamespageDaviey: will do once I've done limited testing on likewise-open19:10
pyro_killerssh, works but is really slow, to my eyes it seems like a security feature, we can be several people downloading slowly from it, so that it goes pretty fast in total, but we both get individually low speeds, even if we are alone19:10
pyro_killerconnecting to the server19:10
pyro_killerssh is not really slow slow, but there are small amounts of info19:11
pyro_killerso you dont really notice19:11
jamespageDaviey: heck it builds, installs and starts without error - good enought for me19:11
jamespageand one step further that it does ATM19:11
JanCpyro_killer: that's why I referred to sftp (or you could use scp instead), which transfers files over an ssh link, so causes more traffic  ☺19:13
JanCpyro_killer: did you ask your hosting provider?19:13
JanCpyro_killer: because they might be doing this...19:13
pyro_killeri have asked them, but a similar ubuntu server with only tiny amount of programs performs extremely well, my 5$ vps can download to me with 2MBps, so i dont think it is the case, they are on the same node19:14
Davieyjamespage: If it compiles, ship it19:15
jamespageDaviey, zul: https://code.launchpad.net/~james-page/ubuntu/oneiric/likewise-open/make-it-work/+merge/7739019:20
jamespageI'll let you fight over it :-)19:20
zuljamespage: beer me :)19:20
jamespagecan't upload - not in the ubuntu-server packageset19:20
zulDaviey: can you take care of it so i can work on this nova bug i been working on?19:21
Davieyjamespage: Grrrrrr19:26
Davieyjamespage: I wish you were core-dev19:26
Daviey:)19:26
Davieysmoser: errr.19:39
smoserwhats up?19:39
Davieysmoser: m1.small only has 2GB disks?19:39
smoserwhere do you see that?19:40
Davieysmoser: canonistakc19:40
smoseri think you're seeing bug 83675919:40
uvirtbotLaunchpad bug 836759 in nova "nova does not grow qcow disk images correctly" [Medium,Fix released] https://launchpad.net/bugs/83675919:40
Davieysmoser: ah, thanks19:41
smoseri'm going to wipe all my images and start with new ones19:41
smoserto clear any cache issues on nodes19:41
Davieysure19:42
smoserand, i guess in the process test how well the cache cleaning works to avoid a disk full :)19:42
Daviey:D19:45
Davieyadam_g: did you see https://bugs.launchpad.net/ubuntu/+source/cobbler-enlist/+bug/860492 ? happy days :)19:45
uvirtbotLaunchpad bug 860492 in cobbler-enlist "[MIR] cobbler-enlist src, cobbler-enlist-udeb bin" [High,In progress]19:45
adam_gDaviey: neat19:46
Davieyadam_g: I assume you didn't read the recommendations then?19:48
adam_gDaviey: hah i just did19:48
adam_gDaviey: and seems reasonable.19:49
adam_gDaviey: when would the deadline for that be?19:50
Davieyreasonable yes.. frustrating also :)19:50
Davieyadam_g: august 11th19:50
Daviey:)19:51
DavieyAs each day passes, harder and harder to justify.19:51
LoopzleHello, I have setup a Ubuntu Server (10.10) on my old laptop. However, it seems to sleep if I leave it a while. How can I stop it from doing this?19:57
genii-aroundLoopzle: Maybe check your default settings in /etc/default/acpi-support20:02
=== lullabud is now known as warzauwynn
Loopzlegenii-around: /etc/default/acpi-support seems to be empty.20:04
smoserhallyn, i'm reproducibly hitting that cgroups issue20:05
smoserwith nova lxc20:05
genii-aroundLoopzle: Does /etc/default/acpid exist?20:06
Loopzlegenii-around: Yes.20:07
genii-aroundLoopzle: I would suggest to install acpi-support package, then tweak the /etc/default/acpi-support values for hibernate, sleep, and so on20:10
hallynsmoser: build a libvirt with my debdiff...20:13
smoserwhere?20:13
Loopzlegenii-around: I have installed the package, Do I just comment out the lines "ACPI_SLEEP=true" and "ACPI_HIBERNATE=true" or change them to false?20:13
hallynsmoser: bottom of bug 842845.  i can push some .debs to pcc if you like20:14
uvirtbotLaunchpad bug 842845 in nova "problems starting multiple lxc instances concurrently" [High,In progress] https://launchpad.net/bugs/84284520:14
genii-aroundLoopzle: Change them explicitly20:14
smoserhallyn i will try20:15
Loopzlegenii-around: Okay, I will leave the server a while and see if it works. Thanks.20:15
hallynsmoser: http://people.canonical.com/~serge/nova-lxc-cgroup-race  has the debs20:16
smoserthen why did you tell me to build one20:16
smoser:)20:16
hallynsmoser: i forgot i had them handy20:17
smoserpfooey20:17
hallynand i was hoping to get you to look at the patch and comment :)20:17
smoseri'm on i386 at the moment.20:17
hallyndoh20:18
genii-aroundLoopzle: No prob. Keep us updated!20:19
raubvogelWhen you are setting up isc bind, how do you tell it to try the dns above it if it does not know the answer?20:22
lynxmansmoser: ping20:22
lynxmansmoser: silly question, but you sure know it :)20:23
smoserk20:23
lynxmansmoser: I'm dealing with rabbitmq-server 2.6.1, so far up to 2.5.0 we had the daemon bg with & and then rabbitmqctl wait would wait for the listener to be up, so that helped control the up situation20:24
lynxmansmoser: problem with 2.6.1 is that it expected the PID as well, which doesn't show up through pidof and it's quite hard to get, but then I'll always go okay which in restart can be a bit of a pain20:25
lynxmansmoser: don't want to go sleep N since it's lame, so I thought you would have a better idea :)20:25
smoser"it expected the PID"20:26
smoserwhat expected the pid ?20:26
smoserand why doesnt it show up through pidof ?20:26
lynxmansmoser: because we call the daemon who goes "erlang programname parameters" so it's not easy to trace20:27
lynxmansmoser: the PID is not expected by the command "rabbitmqctl wait" where before it just went and looked at the socket20:27
lynxmansmoser: if you install rabbitmq-server 2.5.0 (the oneiric one)20:28
lynxmansmoser: you'll see the init.d file, I'm talking about20:28
=== himcesjf1 is now known as himcesjf
Davieyjdstrand: Is this enough of a warning? http://pb.daviey.com/Hz6i/20:42
jdstrandDaviey: yeah, looks good20:43
Davieyjdstrand: the error checking, is that something you really want to see for O?20:46
DavieyIs it something that can be targeted post MIR?20:47
jdstrandDaviey: my review isn't done yet. ideally, yes, cause failure to allocate memory and continuing on can be an issue20:47
jdstrandI gotta run now though20:47
Davieyjdstrand: Would dropping the universe package pass this?20:48
Davieyjdstrand: I mean, allocating memory in a volatile enviroment that run for ~30 seconds, then system halts.20:48
Davieyjdstrand: ok20:49
Loopzlegenii-around: I think sleep is disabled, thanks for that. :)20:59
genii-aroundLoopzle: You're welcome.21:00
bookpagecan i use d3d on a virtualised ubuntu image with vnc?21:14
Davieym_3: How did you get on?21:19
Picibookpage: I don't understand the question.21:19
m_3Daviey: just about to ping you21:19
DrNick__i'd imagine he's asking if he can use direct3d over vnc on a virtualised image.  i'd say try it, nothing to loose, but I'd say unlikelt21:20
m_3so I think the answer is to revert two deps back to the 2.3.11 versions instead of the 2.3.1421:20
DrNick__* unlikely21:20
m_3I've never seen things work without all of those lib versions matching exactly21:20
m_3Daviey: I think it'll be necessary to rebuild the master ruby-rails-2.3 package to lock the deps too (no >=)21:22
savidSo, it appears my mysql client was built with EditLine.   Is there any easy way to restore readline functionality?21:24
savidThis is ubuntu 9.1021:25
m_3Daviey: I take that back... no need to rebuild the ruby-rails-2.3 base package,21:28
m_3just pull ruby-activesupport-2.3 and ruby-activeresource-2.3 back to 2.3.1121:28
Davieym_3: pull them back?21:32
Davieym_3: ahhhhhhh21:32
Davieym_3: rails is 2.3.14.121:33
Davieym_3: How viable is it to push forward?21:33
m_3yikes, but ruby-rails-2.3 is 2.3.1121:34
m_3rails-2.3.14.1 looks like a wrapper21:34
Davieym_3: ruby-rails-2.3 is worse than that...21:35
m_3Daviey: how much time do we have?21:35
Davieym_3: source package is 2.3.14-3, but it failed to build21:36
m_3quicker to revert if possible... can push other libs forward, but it might take a bit21:36
Davieym_3: reverting is hard, we have to butcher the version to appear to be higher21:36
m_3I get rails-2.3.14.1 source21:36
DavieyIt's really quite ugly.21:36
m_3ah, I gotcha21:36
m_3ok, lemme look at what's changed between 2.3.11 and 2.3.14 for the other libs21:37
Davieym_3: ruby-rails-2.3 failed to build because:21:38
Daviey ruby-actionpack-2.3 : Depends: ruby-activesupport-2.3 (< 2.3.11.1) but 2.3.14-2 is to be installed21:38
Daviey ruby-activerecord-2.3 : Depends: ruby-activesupport-2.3 (< 2.3.11.1) but 2.3.14-2 is to be installed21:38
Davieyso if ruby-activesupport-2.3 is upgraded, we might be ok21:38
m_3how are you getting 2.3.14.3 source for ruby-rails-2.321:38
m_3I'm getting 2.3.1121:38
m_3(I'm just doing an apt-get source ruby-rails-2.3)21:39
Daviey$ rmadison ruby-rails-2.321:39
Davieyruby-rails-2.3 |   2.3.11-1 | oneiric/universe | all21:39
Davieyruby-rails-2.3 |   2.3.14-2 | oneiric/universe | source21:39
m_3(sorry, relative noob at packaging)21:39
Davieym_3: pull-lp-source ruby-rails-2.3 , is what the cool kids use.21:40
Davieyor the super cool kids, bzr branch lp:ubuntu/ruby-rails-2.321:40
m_3cool.. when do you need this done?21:41
SpamapSDaviey: super duper cool kids use bzr branch ubuntu:ruby-rails-2.321:43
m_3I won't even mention the level of coolness that uses 'git bzr clone ubuntu:ruby-rails-2.3'21:43
m_3damn... debuild isn't gonna work with that huh21:45
DavieySpamapS: I'm not than cool, probably never will be :)21:45
Davieym_3: Really soon. :)21:45
Davieym_3: "bzr bd -S" ~= debuild -S21:46
Davieynegronjl: Your keystone change, are you sure it doesn't need a database migration for upgrades?21:55
negronjlDaviey, it shouldn't need it.. the changes make the FKs more flexible and would work on both MyISAM as well as InnoDB21:56
Davieynegronjl: sure changing Integer -> String isn't a big deal?21:57
Davieynot for fresh installs, just upgrades21:57
negronjlDaviey, furthermore, it makes more sense to use same type of fields when doing FKs.  The type ( Integer or String ) is up for debate.  The current package that we have could go either way.  If/when we pull again from upstream, that decision can be made there.  At that point, some sort of sanity check should be done on the DB to accommodate for any changes in field types21:59
lynxmannegronjl: don't think there's much debate, one is varchar because it might accept UUIDs so... varchar it is22:00
Davieynegronjl: Oh, i don't disagree that this looks like a worthy fix - what concerns me, is that i don't know how this is handled for people already witha  keystone database22:00
negronjlDaviey, lynxman: I agree with lynxman on the varchar/integer.  Furthermore, the existing databases would not be affected in creation.  keystone would not try to create tables as it checks before and, the conversion between integer/varchar should be transparent via sqlalchemy22:01
lynxmanDaviey: don't think it does affect anyone really :)22:01
DavieyHmm22:03
Davieynegronjl: I assume you tried it?22:04
Davieyand upgrade, i mean22:04
negronjlDaviey, I really can't try it because keystone will not properly work with InnoDB ( hence the change ).  I can ( and am in the process of ) manually test adding data to the tables in both integer and string and test the conversion .22:05
Davieynegronjl: you are a rock star22:06
lynxmanDaviey: he is22:07
negronjlDaviey, changing from integer to varchar is handled as integers can be saved as varchar (Strings).22:09
Davieynegronjl: so we are dandy?22:10
negronjlDaviey, we are22:10
kirklandmtaylor: ping22:10
kirklandmtaylor: minor fix to keystone packaging in lp:~kirkland/keystone/copyright-fixes22:11
kirklandmtaylor: could you please merge that into lp:~openstack-ubuntu-packagers/keystone ?22:11
Davieynegronjl: thanks22:11
negronjlDaviey, no worries.22:11
* Daviey throws kirkland lp:~ubuntu-server-dev/keystone/diablo .22:12
bookpagePici: DrNick__ was right, that's what I wanted to do. I did try it, but I ran into issues related to having no $DISPLAY :/22:14
kirklandDaviey: can i push there?22:16
kirklandDaviey: thanks!  pushed22:22
Davieycool22:22
Davieykirkland / negronjl / lynxman / iamfuzztoo: Is bug 843058 going to cause woe?22:24
uvirtbotLaunchpad bug 843058 in keystone "EC2 compatibility middleware" [High,Confirmed] https://launchpad.net/bugs/84305822:24
negronjlDaviey, checking now....22:24
negronjlDaviey, it may for us this late in the game.22:26
lynxmandefinitely late22:26
negronjlDaviey, the request is not a bad one but, the implementation may end up breaking things that could heavily affect our current openstack deployment ( what we are currently working on our sprint now )22:27
uvirtbotNew bug: #353301 in eucalyptus/1.5 "concurrent snapshot creation failure" [High,Fix released] https://launchpad.net/bugs/35330122:28
Davieynegronjl: yeah, it's not clear to me if keystone supports EC2 based on that bug. :/22:29
DavieyThere is some support, but NFI how good it is. :/22:29
negronjlDaviey, from what little information is available, it isn't22:31
lynxmanDaviey: support is limited to "someone actually wanting to support the API"22:32
lynxmanDaviey: so by default no22:32
Daviey:'(22:33
=== medberry is now known as med_out
lynxmanDaviey: yeah, sad face too22:36
m_3Daviey: I'm gonna step away for food... I'll shoot to have you branches in a few hours.  I'm not seeing anything in the way atm23:01
blaenkhey guys, I'm on 9.10 server and it has vim 7.2, wondering how I can upgrade to 7.3, or should I just install from source?23:03
TheEvilPhoenix!9.1023:10
ubottuUbuntu 9.10 (Karmic Koala) was the eleventh release of Ubuntu. !End-Of-Life on April 29th 2011, see http://goo.gl/UUTAB for details.23:10
TheEvilPhoenixblaenk:  i assume upgrading isnt an option?23:11
blaenkTheEvilPhoenix: not at the moment unfortunately, but hopefully soon23:11
TheEvilPhoenixwell 9.10 is end of life already23:12
TheEvilPhoenixso...23:12
blaenkso I guess I'll install from sources23:13
TheEvilPhoenixwell vim is 7.3 in natty23:14
TheEvilPhoenixbut not before23:14
TheEvilPhoenixso if you *absolutely* need 7.3, sources23:14
sorensmoser: Sorry, which chown?23:35
smoserin nova-common postinst23:35
smoserwe do a chonw -R nova:nova /var/lib/nova/23:35
smoserthat is going to change perms on files that libvirt had modified to it and possibly other things.23:36
sorensmoser: Ah.23:36
sorensmoser: I thought it only did that for fresh installs.23:37
smoseri supposed that that was the intent.23:37
smoserit turns out that we're in the position where we really *should* do some chowning on upgrade now, to fix old perms that were in place.23:38
pukeko_Hi all - i'm installing a JEOS base image for VM guests, in the software selection window, what does the Basic Ubuntu Server option refer to ?23:43
pukeko_if i elect to leave that out how much smaller will the img be ?23:44

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