/srv/irclogs.ubuntu.com/2013/08/16/#ubuntu-server.txt

hallyn_zul: same failures with 1.0.6.  Ship it :)00:33
zulhallyn_:  coolness00:33
zulhallyn_:  ill upload it tomorrow00:33
hallyn_i should take a look at waht debian has for qemu right now00:34
hallyn_1.6.0 preview00:34
=== smb` is now known as smb
=== racedo` is now known as racedo
jamespageDaviey, I'm going to add a Conflicts/Provides for the lts-raring openvswitch packages - having both versions installed at the same time does bad things10:10
Davieyjamespage: good thinking.. not to mention the current one will fail to install anyway10:11
jamespageDaviey, yes10:11
DavieyThe current one could also conflict with linux-lts-raring10:12
Daviey?10:12
DavieyNah, overkill.10:13
angusmcgoawayhi all. Having a stupid issue with bind9 here. Basically i know i must be doing something wrong but can't figure out what. anyway, i added a CNAME record to a zone file contianing other (working) records.. if i do an AXFR on the dns server to list all the records then it shows up with the others but if i try to lookup the domain on the same host it returns nxdomain.10:36
angusmcgoawayany ideas?10:36
maxbangusmcgoaway: CNAME pointing at a name that doesn't exist?11:01
=== huats_ is now known as huats
angusmcgoawaymaxb: good idea, but it does unfotunately11:52
angusmcgoawaymaxb: ahhh lol thanks! i missed the domain off the end11:53
hallyn_smb: remind me again, why am i looking at xen+nova (per the ubuntu server meeting)?12:40
hallyn_oh, am i testing it under 12.04.3?12:40
stgraberhallyn_: does that look reasonable? http://paste.ubuntu.com/5992564/12:41
smbhallyn_, Not exactly. I wondered whether anybody has a way of testing my ppa:smb/xen12:41
smbhallyn_, Some parts of nova depend on xen (well to use xen hosts). Not sure exactly how they get tied in. I believe I heard via xen-api/xcp which I could make no guarantees for atm12:43
hallyn_stgraber: no :)12:43
hallyn_stgraber: misspelled strndup toward end,12:43
hallyn_stgraber: is delta being leaked right now?  (you add frees for it but no strndup)12:43
smbhallyn_, So if that is the case (xcp) then testing is probably useless. Except actually to figure out whether it does work at all right now12:43
smb(all saucy)12:44
hallyn_smb: so testing saucy with your ppa for nova+xen, or even for regular nova+kvm?12:44
smbhallyn_, I got nova rebuild in my ppa with the libxen 4.3 in place, so that.12:45
smbregular kvm+nova should be totally unaffected12:45
hallyn_stgraber: for the overlayfs_mount() one, I really think it'd be better to do "dup = alloca(strlen(bdev->src)+1; strcpy(dup, bdev->src)" due to how many frees you're having to add, and likelyhood of further changes resulting in a new leak12:45
hallyn_smb: so i should be choosing a toolstack other than xl in /etc/default/xen I assume?12:46
smbhallyn_, With 4.3 both should work, but I guess xcp uses xl anyway12:46
hallyn_cool12:47
smbhallyn_, The xl stack will use upstream qemu by default now12:47
smbhallyn_, Just a general question. Do we have one xen host at least as part of whatever cloud testing we do?12:48
hallyn_i assume that doesn't mean i need to change anything12:48
hallyn_no idea. psivaa: ^?12:48
hallyn_jamespage: ^ ?12:48
jamespagesmb, not at the moment12:49
jamespagewe don't have an effective way to deploy xen using juju so its hard to fit it in12:49
jamespagesmb, zul is the test-bot for xen normally12:49
hallyn_stgraber: I'm sorry, I never grepped the whole source.  Would you like me to convert all the remaining strdupas today?12:49
zuljamespage:  yeah too bad i dont have the hardware for it this month12:50
smbGenerally I have it only working with libvirt and xm/xl. I just want to ensure that if this gets uploaded the rest of the world does not explode12:51
hallyn_smb: and again by rest of the world you mean openstack on top of libvirt+xm/xl ?12:52
* hallyn_ back in awhile12:52
smbhallyn_, Right, as nova in theory can control xen hosts too12:52
smbJust I have that odd memory of it not using libvirt for that (would be too easy)12:53
hallyn_(partitioner doesn't want to let me choose a size for the lv root... taking forever to delete lv root)12:53
stgraberhallyn_: that'd be great, yes. (with your suggestions it looks like http://paste.ubuntu.com/5992603/, though I believe we've got a couple more in the python and lua binding)12:55
stgraberhallyn_: (grepping for strdupa and strndupa)12:55
smbhallyn_, IIRC nova -> xcp (open source xen-server) -> xen host. And all packages related to xcp do not compile right now in S (only exist as they got copied over). And that means slightly grumpy smb. :-P12:55
hallyn_stgraber: that looks much better, thanks.  pls push taht with my ack, and I'll hit the rest later today12:57
stgraberhallyn_: ok, thanks12:57
hallyn_hoping to test the multiple-container-start issue on btrfs today.  sounds like btrfs is STILL not safe to use!12:57
setsuna_I have two machines 192.168.10.10 and 192.168.10.12 . The machine 192.168.10.12 is the vpn server. i have a route on 192.168.10.10 "route add -net 10.0.0.0/8 gw 192.168.10.12" which allows my servers which are on 10.0.0.0/8 to talk to 192.168.10.10. i was earlier on 10.04 and faced no issues but after upgrading to 12.04 after one or two hours one or two of the servers are not able to access 192.168.10.10 but after a network restart everything works12:58
setsuna_fine till another hour and again one or two random servers are not able to ping. thank you.12:58
hallyn_all right, bbl12:58
stgraberhallyn_: pushed12:58
hallyn_thx13:01
=== ema_ is now known as ema
hallyn_stgraber: hm, looks like ihave some spurious ERROR messaging in ppa right now...  will try to address that when i do strdupas13:17
stgraberhallyn_: damn, the new attach code broke bionic even more...13:33
stgraberhallyn_: can you think of a replacement for those confstr calls in attach.c? appears to be missing in bionic...13:42
stgraber(I'm almost tempted to hardcode /bin:/usr/bin:/usr/local/bin13:43
stgraber)13:43
hallyn_stgraber: do you want me to revert them for now?13:53
hallyn_stgraber: hm, well let's just test for confstr, and if not there hardcode the path13:54
stgraberhallyn_: confstr is the only problem now, I solved the others (missing defines/includes), so I should just decide whether I care or I just hardcode a fallback value on bionic13:54
stgraberhallyn_: ok, I'll do that then, easy enough13:54
hallyn_i doubt even opensuse cares13:54
hallyn_but since he went to the trouble to put it in :)13:54
spidernik84hi all. Any good alternative to landscape for centralized patch management? Ideally with reporting14:11
jamespageadam_g, roaksoax, zul: https://code.launchpad.net/~james-page/ceilometer/august-fixups/+merge/18042214:19
jamespageadam_g, gonna test the redux charms now14:20
jamespageadam_g, acked all your grizzly branches aside from quantum - rename of branch looked odd to me14:38
stgraberhallyn_: oh, now it's lxc-user-nic that needs some help building on bionic ;)14:43
hallyn_stgraber: drat14:44
stgraberhallyn_: missing sys/socket.h include and you're using getline without using the ifdef magic to use lxc's implementation on bionic and I've got to figure out what to do with getpwuid_r14:47
stgraberhallyn_: ah, looks like the answer in other places was "just use the non _r version of those"14:47
hallyn_but that's nto thread-safe14:48
hallyn_i suppose we could implement our own _r functions with a pthread mutex and using local storage :(14:48
hallyn_mind you i'm happy to say "we ignore it on bionic for now" :)14:48
hallyn_just sayin'14:49
stgraberhallyn_: do we even care about threads in lxc-user-nic?14:49
hallyn_lol no14:49
hallyn_it will have to be exec'd14:49
hallyn_good point14:49
hallyn_so yeah drop back there14:49
hallyn_now for the #ifdef bionic stuff, should that just go into lxc.h so everyone gets it?14:49
stgraberhallyn_: possibly, yeah, I suppose we could regroup them in one place14:50
stgraberhallyn_: and finally building again, sent the patchset to lxc-devel15:14
hallyn_stgraber: ok thx15:15
hallyn_zul: how do you create xen guests?  xen-tools?  by hand?15:15
zulhallyn_:  cloud-images should work15:16
smbhallyn_, You might use libvirt for HVM guests15:16
hallyn_zul: so you'd use https://help.ubuntu.com/community/Xen "manually creating a pv guest vm" ?15:16
hallyn_smb: yeah but to create them15:17
smbOr cloud-images for PV guest15:17
smbhallyn_, HVM guest you can give an iso15:17
zulhallyn_:  more or less yes15:17
smbhallyn_, just like kvm guest15:17
hallyn_ok i'll try that15:17
hallyn_thx15:17
hallyn_stgraber: hm that's a long set :)  (hasn't all arrived yet)15:18
stgraberhallyn_: yeah, 17 patches, some are just one-liners. I probably could have merged some, but I was committing as I was finding and resolving issues15:43
hallyn_stgraber: np, all but one acked15:43
hallyn_zul: I suppose it's always been this way, but seeing my dom-0 show up in 'virsh list' seems wrong :)15:46
hallyn_i... i.. just gotta do it:15:46
zulhallyn_:  hehe...it is15:47
hallyn_virsh -c xen:/// destroy 015:47
hallyn_shucks.  denied15:47
smbhallyn_, Nope when using xm thats always like that15:47
Davieyhallyn_: I've always thought this odder... $ sudo killall init && echo wtf15:50
Davieywtf15:50
hallyn_Daviey: well, init ignores - doesn't block - the signals right?  so kill succeeds15:51
hallyn_try -915:51
hallyn_uh, without sudo :)15:51
Daviey$ sudo kill -9 015:51
DavieyKilled15:51
Daviey:)15:51
hallyn_0 != 115:51
smbdown to basic wisdom now15:52
Daviey$ sudo kill -9 1 && echo $?15:52
Daviey015:52
sgransure, you sent a signal successfully15:53
hallyn_eh, i suspect it does make sense, but am not gonna go look into it now :)15:53
sgrandid init die?15:53
=== VampiricPadraig_ is now known as VampiricPadraig
sgranjust because you sent it successfully doesn't mean the application processed it the way you think15:54
Davieysgran: Well no, but i am saying i've always considered it a funny thing15:54
sgraninit has to be special.  It is a bit funny, but it makes sense15:54
Davieysgran: I do know this. :)15:55
sgranok :)15:55
hallyn_stgraber: can you let me know when yor'e done pushing to git?  I want to remove the two error msgs but i don't want to make you have to rebase your patches :)15:55
hallyn_stgraber: actually i just sent the patch to the list, can you toss it in your set?15:57
TimRcan anybody tell me tell me how to get Linksys USB100TX usb adapter to work on ubuntu 12.04.2lts15:57
stgraberhallyn_: replied to your comment, do you see an actual problem if rand() is hit by a race with the current code? AFAICT if that happens, it'll just get seeded with some new data from urandom which should actually make it better.16:04
hallyn_stgraber: yeah i'm not sure, i did wonder that, but wasn't sure16:04
hallyn_so if rand_r doesn't exist in bionic then we can risk it.  if it is then it seem sworth converting16:04
stgraberhallyn_: I just said in my e-mail, none of the usual _r functions exist in bionic ...16:05
hallyn_damn android16:05
hallyn_k got your email16:06
stgraberhallyn_: well, at least they solved a few stupid bugs recently16:08
hallyn_in their own code you mean?16:08
TimRits showing linksys usb 100tx ethernet pegasus 0066:220316:09
hallyn_smb: well i can do 'virsh -c xen+ssh://serge@$ip list' that works, but virt-manager connecting the same way seems to hang.16:43
jamespageDaviey, got a 'that should work' from upstream openstack on the approach to providing dkms packages for openvswitch16:44
riboanyone having this issue on new EC2 instances: error: unexpectedly disconnected from boot status daemon16:47
ribousing AMI ami-11b3202116:47
hallyn_smb: well...  doesn't seem to be working.  even manually creating a guest with the PV instructions from https://help.ubuntu.com/community/Xen fails, and when I try to start a vm i defined in libvirt I get:17:32
hallyn_error: POST operation failed: xend_post: error from xen daemon: (xend.err "Boot loader didn't return any data!")17:32
hallyn_(i did create a /usr/bin/pygrub link)17:32
hallyn_jamespage: hey (if you're still around) did you get a chance to straighten out iscsitarget?18:37
hallyn_gonna guess not based on feb changelog entry18:38
hallyn_ah but it's in precise-proposed, good good.18:42
bitbytehey guys i accidentally canceled a mv command18:46
bitbyteis there any way to get the data back18:46
sarnoldit should all be there; the source files aren't unlinked until the destination files are closed. it might be a mess to clean up, but ought not be terrible.18:47
bitbytei literally canceled it like a second after18:48
bitbyteonly had chance to make 5 folders, so how would i go about cleaning it up18:48
sarnoldbitbyte: remake those directories in the source, mv those files back to their original locations18:49
sarnoldyou might be able to do something like mv -i <original destination> <original source> -- but I think I'd just move files one directory at a time18:50
bitbyteright so these were some folders holding audio files. so all i need to do is remake the parent directories and run the same command in reverse18:51
bitbyteoh this is going to be messy :/18:51
bitbyteorignal command was : bitbyte@usbc01:/$ sudo mv /media/server2012/Music/* /media/sdb2/music18:51
bitbyteand if only some of the directories were made i.e. 5 or 6 and no files copied over then i guess might be a bit took messy18:52
bitbyteah well iTunes will have some way of downloading it again :/18:54
bitbytein the mean time any one know how to install ms-sys18:54
maxbbitbyte: When mv is copying cross device I think it doesn't start deleting until it has copied everything. You'll want to verify, of course, but it should be trivial to check (e.g. with 'diff -rq') that there are no files in the destination which are not also still present in the source18:58
bitbyteso if i diff -rq /media/server2012/Music i should be able to check18:59
jamespagehallyn_, I did indeed19:01
hallyn_jamespage: \o/19:01
LargePrimeDear Server gurus.  I need to ban a bunch of ips from hitting my server19:01
LargePrimeis there a tool i can just add ips to a file and they will be added to iptables as drops19:02
hallyn_i'd just whip up an upstart job and an add-ban script;19:02
LargePrime=.=19:02
hallyn_add-ban adds the ip to a file and runs iptables to dro pit;  upstart job loops over the file and drops all the ips therein19:03
LargePrimeok so not skilled for that19:03
bitbytemaxb: the diff -rq command keeps saying inputs wrong19:04
hallyn_add_ban: #!/bin/sh\necho $1 >> /etc/banned-ips\niptables -A input -s $1 -j DROP19:04
LargePrimehallyn_: care to spoon feed me?19:04
jamespageLargePrime, have you tried fail-to-ban?  I use that on one of my servers19:04
LargePrimeadding it now19:05
LargePrimebut i not see how i can jsut paste a list of ips and get thoes banned19:05
jamespagefail2ban rather19:05
hallyn_/etc/init/banips.conf:Description "ban ips"\nAuthor "me"\nstart on runlevel [2345]\n\nscript\n19:05
hallyn_^ try fail2ban :)19:05
uvirtbothallyn_: Error: "try" is not a valid command.19:05
hallyn_shutup bot19:05
hallyn_LargePrime: fwiw you would do 'for p in ip1 ip2 ip3 ip4; do add_ban $p; done'19:06
jamespagefail2ban also allows you to add IP's manually19:06
jamespageas well as doing clever auth fail stuff19:06
LargePrimei saw the auth.log autoban19:07
LargePrimehallyn_: i need a smaller spoon19:07
hallyn_LargePrime: and fwow the upstart job script would just do cat /etc/hosts | while read line; do iptables -A input -s $line -j DROP; done19:07
hallyn_LargePrime: go with jamespage's suggestion19:07
bitbyteany one any ideas about recovering files from a cancelled mv command ? diff -rq hasn't done anything19:12
bitbyteand the source files haven't been copied to destination19:13
LargePrimejamespage: how do i manualy add ips?19:22
hallyn_stgraber: were you going tp push your bionic-compile-fix patchset today?20:46
smbhallyn_, fwiw PV and libvirt never worked for me. For PV guests I use cloud-images and pvgrub not pygrub (not that we ship the former)21:09
* smb crawls back under some stone21:10
hallyn_smb: drat21:14
hallyn_and zul is gone21:14
hallyn_smb: but i've not gotten guests to start even with pv.21:14
hallyn_though yes that was with pygrub21:14
hallyn_(and i stopped around 1pm when the sun hit that box too hard - i'll try again tonight)21:15
jkitchenanyone know how to make apt-cacher-ng allow certain extra things through? I'd like to use it during preseed but when apt-setup tries to grab the specified key for a repo I'm adding apt-cacher-ng won't let it through and the install fails21:16
adam_gjamespage, those 3 issue you ran into with the python ports should be fixed now.  nova-compute now ensures its OVS agent config has an IP address, and that solves the issue for me so far.21:36
Sam___hello21:44
Sam___is anyone here to give help21:44
genii!details21:45
ubottuPlease give us full details. For example: "I have a problem with ..., I'm running Ubuntu version .... When I try to do ..., I get the following output: ..., but I expected it to do ..."21:45
jkitchendon't ask to ask just ask21:45
twoface88looking for mentor ...22:17

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