/srv/irclogs.ubuntu.com/2013/03/21/#ubuntu-server.txt

kerframilyes. you need to select act upon either of those two options. a rapid workaround is to generate the en_IN locale because that will immediately 'fix' things in your current session00:00
Extremekerframil: I did "update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX" and  I think it worked00:01
ExtremeI can see this in the file now:00:02
ExtremeLANG=en_US.UTF-800:02
ExtremeLC_MESSAGES=POSIX00:02
kerframilExtreme: you can "echo $LANG" and run "locale" to check whether these settings are in effect00:02
Extremekerframil: this is the output: http://pastie.org/664473600:03
kerframilExtreme: log in anew and run locale once again00:04
kerframilExtreme: it should change00:04
Extremelogin as a different user?00:04
kerframilExtreme: same user, but it shouldn't matter00:04
Extremeokay, that worked. I can now see "en_US.UTF-8" instead of the other one.00:05
kerframilExtreme: as the locale is actually installed, that should be fine then00:06
Extremegreat. Is there any way I can test?00:06
kerframilExtreme: um. well, you could run "perl -v". it will warn in no uncertain terms if the locale settings are messed up.00:08
kerframilfirst line would be "perl: warning: Setting locale failed." in that case00:08
Extremethe first line is This is perl 5, version 14, subversion 2 (v5.14.2) built for... So I guess that worked!00:09
kerframilcorrect00:09
Extremekerframil: Thank you very much! :)00:09
histoIf I sudo ufw enable while connected via ssh with the default setup block me instantly?01:11
histoor if I sudo ufw enable && sudo ufw enable ssh   will I be good?  I'm not familiar with ufw's default setup for what it blocks just wondering if someone knows01:11
histoServer is remote so I don't want to get hosed01:11
sarnoldhisto: I just tested on a VM; ufw enable gives a nice warning that it _might_ disrupt active ssh connections, but mine stayed alive...01:15
sarnoldhisto: all the same, you might not want to do it until you've got a serial console or local access...01:15
histosarnold: hrm.. wonder if I should use nohup then on the sudo ufw enable ssh part then01:17
histoSomething like sudo ufw enable && sudo nohup ufw enable ssh01:18
histoerr01:18
histoahh piss let's try it and see what happens01:18
sarnoldhisto: another test, "ufw allow ssh ; ufw enable" also worked..01:19
histosarnold: not familiar with ;01:21
sarnoldhisto: ; is a command separator. try "touch /tmp/foo ; ls -l /tmp/foo"01:21
histosimiliar to && ?01:22
sarnoldhisto: yes01:24
sarnold; doesn't care about the success or failure of previous commands01:25
sarnold&& and || do care01:25
histoahh01:25
histoanyhoot in your test ufw allow ssh  prior to ufw enable  worked?01:26
sarnoldyeah, I wondered if having the rules might trip some funny established rules or something. It just seemed better to test both directions -- ufw allow ssh ; ufw enable  and ufw enable ; ufw allow ssh  -- before saying it was fine. :)01:27
histothank you  for you help by the way sarnold01:27
jdstrandhisto: you can safely add rules before doing 'ufw enable'. so 'sudo ufw allow ssh && sudo ufw enable' should be safe. the other way works too of course, but then the connection might block01:43
histoGotcha turns out the server is down anyway.  Not sure what the hell the other guy did putting it at the location.  Have to wait till tomorrow now.01:50
histoI set it up at offsite while it was at his house. He just had to mvoe it to it's final destination then tells me there's no hw firewall there. So I told him i'd use ufw after he put it in place.  He botched that some how lol.01:51
=== histo2 is now known as histo
nabblethi. where can i find information on best practice about volumen / hard disc management. I am about to set up a data server for me and ~5 other users and was wondering which way would fit me best since I have no practical experience with setting up und maintaining a server (I used to ubuntu, have no problem with commadn line though. usually I know what i am doing )07:17
nabbletso my question evolves around keywords like RAID, LVM, ZFS07:17
=== smb` is now known as smb
AgMo-j ubuntu-id08:35
noaXesshey server geaks09:38
varianthi all.. ubuntu 12.04 minimal virtual machine here, apt / dpkg completely hangs when installing / removing sssd09:39
variantdpkg says it's "in a very bad state"09:39
varianttried a lot of stuff to fix it, any help would be appreciated09:39
noaXesson a customer server they made a /boot with 228mb.. yes.. now.. /boot is full.. and a new kernel installation is hanging, but can't be installed, cause /boot is full09:40
noaXessi wanted to purge old kernels but until new kernel is installed i can't.. i need to do apt-get -f install.. but this breaks, cause.. /boot is full09:40
noaXessso.. how can i reset the actuall update of the kernel.. so i can remove first old kernels?09:40
variantnoaXess: just rm the older kernel from /boot09:40
noaXessvariant: what about /boot/grub/grub.cfg?09:41
variantnoaXess: once you fixed everything just run update-grub09:41
variantnoaXess: rm a couple of older kernels and install the new one, then run update-grub09:41
noaXessvariant: aha.. so.. remove manually from /boot, run update-grub.. and then finisch update of newest kernel09:41
variantyes09:41
noaXessvariant: remove all files with same verision number, also System.map..., abi-..., config-..., initrd-img-... and so on?09:43
variantnoaXess: you just need to free up a little space, you can then use apt to purge the rest of the old files09:44
noaXessmoved all of the old kernel files i don't need.. update-grub and apt-get -f install is done..09:45
variantnoaXess: cool09:45
noaXessnow purge old kernels.. so also dpkg is clean09:45
variantnoaXess: yes, nice09:45
variantif anyone cares, i fixed my dpkg problem by booting to single user mode09:46
variantfrom where the dpkg command no longer hung when removing sssd.09:46
noaXessvariant: your also done ;)09:47
variantjupp09:48
noaXesswhat if you have a problem such ours and have a m$ win server?.. get fast support in... wait... 5 minutes?09:49
noaXesshehe09:49
variantnoaXess: yeah no chance hehe09:49
variantnoaXess: you just have to be a bit carefull with who you listen to09:49
noaXessother question, about kernels.. is there a way, that.. if a new kernel s installed, that apt-get just keep last eg. two kernels and not all?09:49
variantnoaXess: some people will give advice without understanding possible quesntions09:49
variantnoaXess: yeah i think you can do that.. don't remmeber how of the top of my head though09:50
variantnoaXess: looks like 2 kernels being saved is default09:53
variantnoaXess: look at the comment at the top of /etc/kernel/postinst.d/apt-auto-removal09:53
variantnoaXess: i would just leave it as it is if i were you. you could look at expanding the /boot partition which you can do wihtout rebooting09:54
variantassuming you have space09:54
noaXessvariant: ok.. thanks..09:54
noaXessthe server will be reinstalled in the future.. so in the moment manually removing kernels is good enough09:55
variantafk..09:55
jamespagerbasak, mongodb working on arm in raring now  thanks for your work on that!10:38
rbasakjamespage: great! I've since got the smoke tests to pass with another patch I need to send you. It's another SIGBUS failure case.10:39
jamespagerbasak, so we can enable the testing for arm during package build?10:39
rbasakjamespage: also the smoke test is producing some warnings that I think might actually be errors that are arm-specific and should fail the test10:39
jamespageif so fantastic!10:39
jamespagerbasak, oh - its very verbose10:39
rbasakso I'm running an amd64 build to compare10:39
jamespagestacktraces and all10:39
rbasakThere are stack traces10:39
rbasakAh OK10:39
jamespagebut it does fail tests when they are unexpected10:39
jamespagerbasak, I have a 2.4.0 update in testing10:40
jamespagerbasak, just trying to get some test coverage with ceilometer10:40
rbasakjamespage: you're confident in their error handling? In that case I have one final patch.10:40
jamespagerbasak, send it to me - I'll tie up a PPA build for ~6 hours again!10:41
onehow do I find out why I was banned?11:02
ikoniaone: you're in #ubuntu-ops asking, so I suspect you know11:04
oneoh11:05
onewell why was I banned?11:05
oneI wish youse no harm.11:13
oneWhy am I shunned?11:14
oneThere is no other way to life and eternal.11:15
rbasakjamespage: build of mongodb 2.4 on armhf fails. It's a pretty common x86 assumption about signed/unsigned chars. I can fix but there may be others - I'll keep working on it11:28
jamespagerbasak, great - thanks11:32
jamespagerbasak, I uploaded your extra arm fixes and testing enablement btw11:32
rbasakGreat - thanks!11:32
jamespagerbasak, please timebox this - if its looking like to alot of work then we can stick with 2.2.311:43
jamespageand push 2.4.0 out to S11:44
rbasakjamespage: ack11:44
wiehanQuestion: I want my ubuntu server box to be happy. Mounted in a 6u swing frame wall mounted cabinet, with only 2 fans at the top of the 6u wall box, should they blow in or suck out?12:00
wiehanthis is the box http://goo.gl/68stC12:00
jamespagezul, just re-reading the pep8 thread on openstack-dev12:01
jamespagezul, we should not do PEP-8 checking in the package builds12:01
jamespagezul, code formatting is an upstream concern IMHO12:01
jamespage(and yes I know pep8 does more that just check formats)12:01
jamespagezul, what do you think? something for next cycle anyways12:01
jamespagezul, when you start can you take a look at https://bugs.launchpad.net/ubuntu/+source/glance/+bug/115824712:06
uvirtbotLaunchpad bug 1158247 in glance "test_server_monkey_patch leaves orphaned process" [Medium,Triaged]12:07
jamespageits whats breaking the glance build - I had to get webops to poke it in the right way inthe distro after 21 hours to make the build go through12:07
jamespagezul, havana ppa etc.. - please hold off - I want to automate the branch creation and ppa seeding12:11
jamespageotherwise we forget how todo it each cycle12:11
=== txwikinger2 is now known as txwikinger
zuljamespage:  i was double checking last night and there are some packages that do pep8 and some that dont so turn if off in h12:36
zuljamespage:  ill take a look at glance12:36
jamespagezul, ta12:40
jamespagezul, I'm re-syncing any mismatched deps in the ca for grizzly12:44
zulack12:44
zuljamespage:  can you check to see if we carry this python-netaddr patch please?12:46
jamespagezul, http://people.canonical.com/~jamespage/ca-updates/ last load of dep updates12:55
zuljamespage:  who updated python-django-openstack-auth ?12:56
jamespagezul, me12:56
zuljamespage:  okies12:57
jamespagezul, bug with multple project in horizon12:57
zulack12:57
zuljamespage:  +112:58
jamespagezul, ack13:01
jamespageta13:01
LargePrimeHEYO1 /sbin/modprobe tun gives FATAL: Could not load /lib/modules/3.2.13-grsec-xxxx-grs-ipv6-64/modules.dep: No such file or directory     THOUGHTS?13:11
vilahallyn: ping13:22
hallynvila: .13:22
vilahallyn: argh, brought the bug page to copy it here, found your comments, let me read ;)13:23
zuljamespage:  glance fixed locally ;)13:30
jamespagezul, how?13:30
zulchanged self.config(workers=1) to self.config(workers=0)13:30
vilahallyn: bug #1157589 updated, sorry, I missed your comments and that delayed my answer, no pressure on you ;)13:31
uvirtbotLaunchpad bug 1157589 in kvm "kvm hangs for freebsd guests since raring upgrade" [Medium,Incomplete] https://launchpad.net/bugs/115758913:31
hallynvila: checking13:33
hallynvila: first, could you just edit the xml to set the emulator to kvm instead of kvm-spice?13:34
hallynthat shouldn't do it, but...13:34
vilahallyn: indeed, no change (sorry for the delay had some vms I shut down before doing 'service restart libvirt-bin')13:39
mardraumoh, I know about that one :D13:40
mardraumfreebsd guests with serial console configured do fail to boot in raring13:40
mardraumthat was my next bug report heh13:40
hallynhm, serial console eh13:41
mardraumvila: I bet you have console="comconsole" in loader.conf ?13:41
hallynno i've got serial and it works...13:41
hallynah13:42
vilamardraum: loader.conf rings no bell... where should I look for that ?13:42
mardraumvila: /boot/loader.conf13:42
vilamardraum: hmpf, can't look into that without booting first :-}13:42
mardraumheh yeah13:42
jamespagezul, just keystone and ceilometer pendings rc's right?13:43
hallynbut i can try adding that to my working one :)13:43
mardraumI'm only assuming it's the same bug since you don't know about it - but all my freebsd guests die on the kernel load using that13:43
vilamardraum: ha ha ! Sound workflow to the rescue ! I happen to have a copy of /boot/loader.conf, no console there13:44
mardraumhm13:44
mardraumguess I'm opening another one...13:44
vilamardraum: only kern.hz=100 and debug.witness.watch="-1" the last time I took a copy (which should the last time I modified it)13:44
mardraumlemme try it again now13:44
vilahallyn: should I try removing mine ? Would that be the <console> section only or something else ?13:45
hallynvila: i don't think that would work,13:46
LargePrimeUbuntu Server 12.10;  /sbin/modprobe tun gives FATAL: Could not load /lib/modules/3.2.13-grsec-xxxx-grs-ipv6-64/modules.dep: No such file or directory     THOUGHTS?13:46
mardraumvila: I didn't have to edit the guest config to work around it13:46
hallyni have a console entry in the xml13:46
hallyni don't seem to have a /boot/loader.conf though13:46
mardraumit's not created by default in freebsd13:46
mardraumif it doesn't exist, you simply don't have one13:46
vilahallyn: not required AFAIK but I'm a freebsd noob, only use it for regression testing13:46
vilamardraum: note that the vm pause very early in the boot process, it stopped after displaying: 'ACPI APIC Table: <BOCHS BXPCAPIC>'13:48
hallynapparently i did it wrong :)  now it just hangs after loading loader.conf13:48
vilahallyn: how far in the boot process ?13:49
hallynvila: I think you'll do better if you (1) download git://git.qemu.org/qemu.git and build it, (2) run with 'kvm -hda freebsd.img -serial stdio, and then report failures upstream13:49
hallynI think adding libvirt to the mix obscures it, and I don't know enough abou freebsd OR seabios to probably help you anyway13:50
hallynonce you can reproduce from cmdline, you can check exactly where it's dying and see if it's a freebsd bug or a qemu one13:50
mardraumok, console="comconsole" works fine on 12.10 and will not load the guest on 13.10. I remove that single line from loader.conf and it loads13:51
mardraumer. 13.0413:51
hallynand by 'won't load' - how does it die?13:52
hallynyou're I assume connecting to the serial console to see it die?13:52
vilahallyn: 'kvm -hda freebsd-8.0-64bits.qcow2 -serial stdio' works !13:52
mardraumit doesn't get to load the kernel13:52
mardraumthe process running is tiny13:52
hallynvila: interesting, so it might be libvirt's serial console that's the problem?   huh13:53
mardraumlet me add a vnc console13:53
vilahallyn: yeah or something else but not kvm itself which gives me some target and a way to isolate13:54
mardraumopenbsd serial console still works fine btw 12.10 -> 13.0413:54
mardraumdifferent implementation to freebsd13:54
hallynvila: actually, could you try with libvirt again, do virsh dumpxml <vmname>, check the /dev/pts/N assigned to serial, and connect to it with minicom?13:55
hallynI'm wondering whether freebsd is hanging until you connect before continuing13:55
plarssbeattie: can you look at http://paste.ubuntu.com/5634101/ - it was from a run I did for an oneiric kernel SRU, but I had to run by hand13:55
vilahallyn: argh, not that *kind* again ;)13:55
mardraumuse screen or cu, not bloody minicom :P13:55
hallyn(look for 'console type='pty' and /dev/pts entry there)13:55
plarssbeattie: unfortunately the preinstalled images from oneiric don't lend themselves well to automation13:55
hallynmardraum: screen can do that?13:56
mardraumyep13:56
plarssbeattie: that was the only failure I've seen, but it's my first time running it in that environment13:56
mardraumscreen does serial13:56
hallyncool13:56
vilamardraum: tell me more so I don't have to install minicom ;)13:56
hallyni've already got screen -e^Aa inside screen -e^Yy, what's one more13:56
mardraumman screen? :p13:56
plarsexample: screen /dev/ttyUSB0 11520013:57
hallynplars++13:57
vilaplars: thx13:57
plarsthen normal screen commands to manage the session (such as ^A-k) to end it13:57
plarsand mardraum: *big* +1 to not using minicom13:57
=== wedgwood_away is now known as wedgwood
mardraumminicom is a sickness, it must be eradicated13:58
plarscu was my go-to tool for that for a long time, but I've gotten to kinda like screen13:59
hallynh4t3rz :)13:59
hallynbut if i can use screen all the better.  (haven't used anything but telnet to qemu serial tcp port in prolly 5 years)13:59
plarshallyn: nostalgic for your bbs days?13:59
plarshallyn: minicom reminds me too much of that, and downloading linux floppy install images over 1200 baud modem with xmodem13:59
* plars shudders a bit14:00
mardraumplars: haha yeah, I think that's part of it14:00
zuljamespage:  yep14:00
hallynheh, 2008 was not bbs days, at least for me :)14:00
zuljamespage: ill bug ttx and nijaba about it14:00
mardraumpPP WHY YOU NO WORK!?14:00
jamespagezul, lol14:00
hallynbut yes, i do get nostalgic for my vt100 over acoustically cooupled 300bad modem :)14:00
zulhallyn:  eee eeeeern!14:01
hallyn*that* was when I learned about screen, btw :)14:01
vilahallyn: nope, nothing happened. Note that the vm is paused as in 'virsh list' says '3     freebsd9                       paused'14:01
hallyn9 vts on vt100, i couldn't understand why ppl wanted the whole windows thing :)14:01
hallynvila: while attached to the serial, can you resumem it with virsh?14:02
hallynand/or do another virsh dumpxml and pastebin the output14:02
mardraumhallyn: so with that single line in loader.conf in a freebsd 9.1 guest, it hangs after the "Loading /boot/defaults/loader.conf" line with a single line showing "-", which is the beginning onf the kernel load spinner14:03
mardraumI remove that line, it boots fine, and I can still use virsh console vm14:03
hallynmardraum: ok - i wonder why i didn't get the error msgs vila got on the terminal where i started kvm though14:03
hallynmardraum: and you would insist that with quantal's qemu it would proceed?14:04
hallyni can build an older qemu and try it14:04
vilahallyn: attempt to resume from the window thingy receives an error: Error unpausing domain: internal error unable to execute QEMU command 'cont': Restting the Virtual Machine is required14:04
mardraumhallyn: yep same image on shared storage, just tested it with a 12.10 host ok14:04
hallynmardraum: bleh.  thx14:04
hallynmardraum: i still suspect seabios over qemu, but let's see...14:05
mardraumhallyn: this is the other issue I noticed when I started testing 13.04 besides the migration one, but I had a workaround for this so it wasn't an issue so far14:05
mardraumhallyn: do you want me to open a bug for it?14:06
mardraumI'll do a fresh freebsd 9.1 amd64 install on 12.10 if so and replicate it again first if you like14:06
hallynmardraum: we're working from bug 1157589 so no need for new one14:08
mardraumthough probably tomorrow night since it's after midnight here now14:08
uvirtbotLaunchpad bug 1157589 in kvm "kvm hangs for freebsd guests since raring upgrade" [Medium,Incomplete] https://launchpad.net/bugs/115758914:08
hallynthx14:08
mardraumok14:08
mardraumI'm using virtio ok in the freebsd guest still in 13.04. I suspected that at first14:08
hallynyeah that didn't work for me14:10
hallynlivecd installer refused to recognize it14:10
mardraumyeah it's in ports in freebsd 9, so you need a working system, then install the port (requires full src, ugh)14:10
mardraumfreebsd 10 finally has it in tree though14:11
mardraumI can upload a 9.1 amd64 build of the virtio port though, it has no depends AFAIK and pkg_add will install it14:12
mardraumotherwise you'll need to build a machine to build the port which has the full src tree14:12
hallynwait.  it didn't crash with lastest git head.  maybe i was too impatient with rarings' qemu, one more try14:14
zuljamespage:  patch sent upstream for glance14:15
jamespagezul, so I see14:15
jamespagethanks muchly for picking that up14:15
jamespagezul, I'm concerned we have not updated libvirt inthe cloud archive14:16
jamespagezul, its going to make it more difficult to track security updates etc...14:16
zuljamespage:  im wasnt...but you are right14:16
jamespagezul, I might stick it in the trunk testing ppa and see how it gies14:16
zuljamespage:  please14:17
jamespagezul, ack14:17
zuljamespage:  im going to get the folsom stuff passing again on jenkins14:19
hallynvila: mardraum: for me it crashes with -enable-kvm, and not without.14:20
jamespagezul, +1 - we really need to push the 2.3 release through14:20
hallynboth upstream and in raring pkg.  now lemme try 1.2 - to see if it's the kernel or qemu14:20
jamespagewe keep getting jumped by security updates three weeks into the process.14:20
jamespageDaviey, around? I'd like to discuss openstack SRU's if you have a moment14:20
* jdstrand would love for the updates to stop rolling in ;)14:21
Davieyjamespage: o/14:22
jamespagejdstrand, you and me both :-)14:22
jamespageDaviey, ola - one second14:22
* Daviey ponders.14:22
jamespageDaviey, right - back14:24
jamespageDaviey, adam_g and I where discussing whether we could approach the first part of the SRU process a bit better14:24
jamespageDaviey, we agreed after the 2012.2.1 release how we would verify bugs14:24
vilahallyn: not sure I follow your experiments :-) Do you mean you have a way to reproduce ?14:24
jamespageDaviey, but its taking 2+ weeks to actually get into proposed and the rate of security bugs means we generally get superceded between initial preparation and verification14:25
jamespageDaviey, any thoughts?14:25
hallynvila: yes, with the loader.conf line, kvm -hda freebsd.img -m 512 -serial stdio -vnc :1 -enable-kvm does it for me14:26
hallynvila: without -enable-kvm does not14:26
hallynsigh, but older qemu isn't compiling.14:26
Davieyjamespage: well, there has been a general backlog in SRU handling.14:27
jamespageDaviey, so this is not *normal*?14:27
jamespageDaviey, I just don't want to ask adam_g to recut the packages if we are going to be in the same place again in 3 weeks14:27
DavieyWhilst i got started with SRU processing, i wanted to try and avoid larger ones...  However, once i am up to speed.. I can probably prioritise these based on priority of them blocking other work.14:28
DavieyI've been trying to help reduce the queue to free up others to review it.14:28
DavieyIn addition, slangasek was chewing his fair share with MAAS SRU.14:28
DavieySo it's a backlog caused by the point release IMO.14:29
Davieyjamespage: I think it makes sense to check with jdstrand that there is nothing likely to trump an SRU shortly, before crafting an upload..Once that is signed off, we should try and get it accepted same day.14:30
jamespageDaviey, okies14:30
jdstrandI'm fine with that14:31
DavieyYeah, really crappy situation on the essex uploads we had14:31
jdstrandnote that most of these are embargoed first, so I can't necessarily be very specific14:31
=== chuck_ is now known as zul
jamespagejdstrand, its would be enough to know that you have a security update in process for package XX14:31
jdstrandyeah14:32
jdstrand(though, not publicly)14:32
jdstrandwe don't want to jeopardize our access to advanced notice14:32
Davieyfor sure.14:33
jamespagejdstrand, agreed14:33
jdstrandanyway, just ask and I'll give you what you need to make a decision14:33
rbasakjamespage: build success for 2.4, with one extra patch needed: http://paste.ubuntu.com/5634220/14:42
rbasakI'm a bit suspicious of what I saw around there though. I wouldn't be surprised to find a runtime problem.14:42
rbasak(alignment SIGBUS again)14:42
jamespagerbasak, lol - I don't think upstream have much interest in arm right now14:43
rbasaksorry, had an xpra/xchat hang14:45
hallynvila: mardraum: it's the kernel14:45
hallyni did the same tests in a precise container on raring host, same results14:46
hallynwith kvm hangs, without kvm works14:46
ExtremeHi, can anyone link me to a good article/Ubuntu help page that describes how to set up VPN on an Ubuntu server?14:56
LargePrimelol i was just doing that14:57
LargePrimehttps://help.ubuntu.com/11.10/serverguide/openvpn.html14:57
holstein!vpn14:57
ubottuFor more information on vpn please refer to https://wiki.ubuntu.com/VPN14:57
LargePrimebut i hit fail14:57
LargePrimebecause my provider had removed the kernal info14:58
LargePrimeso i cannot /sbin/modprobe tun14:58
holsteinLargePrime: are you using ubuntu? or something custom from your provider?14:59
ExtremeLargePrime: aha14:59
LargePrimeubuntu, from my provider14:59
jamespagexnox, rbasak has the mongodb test suite running on ARM14:59
LargePrimeI guess I could hack around it15:00
LargePrimebut not that ubuntu savy15:00
xnoxjamespage: noticed the upload. very nice =)15:00
jamespagexnox, yeah - its looking better on arm now15:01
jamespagerbasak, did you mean to pastebin the patch for 2.4.0?15:01
rbasakjamespage: I meant to show you the stacktraces in the test run :)15:02
rbasakI'll pastebin the patch for you15:02
jamespagerbasak, ta15:02
jamespagerbasak, I've been thinking about it and I'm not sure we should do this upgrade15:02
jamespagewe really need to bump pymongo as well for compat15:02
jamespagefeels a little risky15:02
rbasakAny other rdepends?15:03
* jamespage looks15:04
rbasakjamespage: http://paste.ubuntu.com/5634304/ - against your PPA 2.4 so re-adds the newest changes; arm-signed-char.patch is the new one15:04
rbasakI want to send this upstream if I can figure out where they want it15:05
jamespagekirkland, I see hockeypuck depends on mongodb - have you guys tested with 2.4?15:05
rbasakjamespage: I'm worried that staying with 2.2 will make the mongodb packing irrelevant.15:07
rbasakpackaging15:07
jamespagerbasak, probably only for 9 months15:07
jamespage:-)15:07
rbasakWhich will increase the number of people who find the packaging not useful and not come back15:07
jamespagerbasak, so the python driver release is due tomorrow - https://jira.mongodb.org/browse/PYTHON/fixforversion/1198115:08
jamespagethis all feels very .015:08
LargePrimeis this not off topic chater?15:11
LargePrimeholstein:15:13
LargePrimewhat are the risks of adding back the kernal libraries to the repository on my server15:14
ttxjamespage: keystone MP branch up15:17
patdk-wklargeprime, your oviously inside an openvz type thing, there isn't any hope unless you ask your provider to do something about it15:17
holsteinLargePrime: yeah.. you want to make sure the provider supports what you are wanting to do15:18
jamespagettx, great - thanks15:22
ExtremeI'm getting this error when I do ./build-rsa http://pastie.org/693070315:23
jamespagezul: want me todo the CA backports for swift, glance, nova and keystoneclient?15:31
jamespagezul, also note keystone just cut a milestone-proposed15:31
zuljamespage:  if you are so inclined ;)15:31
jamespageI've switch the lab15:31
zuljamespage:  i saw15:31
jamespagezul, its like four commands15:31
zuljamespage:  im still working on folsom15:32
jamespagezul, actually lets hold off glance until that fix lands15:32
zuljamespage:  sure im just getting the red balls blue15:33
jamespagezul, great!15:33
zuljamespage:  my ocd is kicking in15:33
jamespagelol15:33
=== Ursinha_ is now known as Ursinha
zuljamespage:  ill take care of keystone15:41
jamespagezul, lovely15:41
=== gema_ is now known as gema
jamespagezul, any idea why python-keystoneclient builds in distro but not in sbuild locally?15:53
jamespagelooks like its trying to use $HOME15:53
RoyKhow can I see why ubuntu tells me the system needs a restart_16:05
RoyK?16:05
jpdsRoyK: I think it's something in /var/lib/update-notifier/ .16:08
jamespagezul, http://people.canonical.com/~jamespage/ca-updates/16:10
eagles0513875hey guys im workign on enabling mod_status on apache and for some blessed reason when i use my domain it pulls up my site saying the page doesnt exist can anyone tell me what im doign wrong16:15
eagles0513875i have everythign setup according to the documentation i have read on the apache site16:16
histoeagles0513875: have you tried in #apache ?16:18
RoyKjpds: hm.. can't find anything relevant there16:18
histoeagles0513875:nvm not on freenode16:19
eagles0513875histo: there is httpd here for that and i have asked htere16:19
ikoniaeagles0513875: what does the logs say16:23
zuljamespage:  +116:28
jamespagezul,  ta16:32
kirklandjamespage: not yet, but it's on our to-do list16:41
kirklandutlemming: okay, so I never quite got a bootable AMI16:42
kirklandutlemming: hoping you have some advice there16:42
jamespagekirkland, no rush - I was considering going for a FFe for raring but no-one has done any real testing yet16:42
jamespageso deferring until S16:42
kirklandjamespage: cool16:45
rbasakjamespage: so is the decision made? We're definitely sticking with 2.2 then, regardless?16:49
jamespagerbasak, I think so yes; I spoke with some of the ceilometer guys and they have done 0 testing as well16:50
rbasakOK16:50
jamespagerbasak, can you try one more 2.2.3 build on ARM for me?  just add libssl-dev to the BD's16:51
rbasakSure16:51
jamespageit will enable SSL support - I've not checked it on ARM16:51
kirklandjamespage: that would be nice :-)16:52
kirkland(ssl support)16:52
jamespagezul, yolanda: ceilometer branch needed a patch unfuzz - I've just refreshed and pushed16:52
jamespagekirkland, yeah16:52
zuljamespage:  whoops...i was doing that too16:52
jamespagekirkland, it would - just this minor niggle of GPL + OpenSSL licensing to resolve16:52
eagles0513875hey ikonia ended up figuring it out the issue was caused with mod rewrite rules intercepting the server-status address and redirecting it to wordpress page not found16:53
eagles0513875on my site16:53
yolandajamespage, great, i'm just testing the ceilometer charms, something is not working in the ceilometer-agent one16:53
jamespagezul, yolanda: I think that for a simple unfuzz no peer review should be required - I make the commit with [trivial]16:53
jamespagemake/mark16:53
zuljamespage: ack16:53
kirklandjamespage: ah, yeah, that16:53
jamespage:-)16:53
jamespageyeah - that16:53
* jamespage head in hands16:53
kirklandjamespage: has 10gen not written an ssl exception into their license header?16:54
kirklandjamespage: we did that for ecryptfs16:55
kirklandjamespage: well, IBM did16:55
jamespagekirkland, no - I've asked for one but not yet happened16:55
kirklandjamespage: interesting16:55
kirklandjamespage: does it not compile against gnutls or libnss or libgcrypt?16:55
zuljamespage:  did you kick off a new ceilometer as well?16:57
jamespagekirkland, no explicit support in the codebase other than openssl; that next path to investigate16:57
jamespagezul, yep16:57
zuljamespage:  coolio16:58
kirklandjamespage: yeah, then in that case and in my non-lawyer opinion, compilation against ssl is implied as allowed16:58
kirklandjamespage: if the (GPLed) code is written specifically against openssl.h, then, um yeah, I reckon the authors intended on allowing you to actually run that code16:59
kirklandjamespage: but that's just me :-)16:59
jamespagekirkland, lol - indeed16:59
kirklandjamespage: ie, when upstream distributed the code in that manner17:00
kirklandjamespage: on the other hand, if you, jamespage, wrote a big fat patch to mongodb that added ssl support inline in the code, but required compiling against ssl17:00
kirklandjamespage: for that, I'd say you'd need to acquire an exception from the copyright holders17:00
kirklandjamespage: but if they're distributing the code as such17:00
jamespagekirkland, I tend to agree - but this appears to be a legal grey area17:01
kirklandjamespage: and it doesn't actually compile against any of the gnu tls libraries...then what option do you really have?17:01
* kirkland just watched Lincoln... most of what Lincoln did was legal grey area -- but it worked itself out :-)17:01
kirklandjamespage: do you have any expertise creating AMIs?17:02
kirklandjamespage: I'm looking for smoser or utlemming to help me finish something I started yesterday, but I'm blocked on now17:02
jamespagekirkland, zip I'm afraid - that's smoser/utlemming territory17:02
kirklandjamespage: dang17:02
jamespagesorry17:02
smoserkirkland, i'm here. whats up?17:02
* utlemming is here now17:03
utlemmingkirkland: what's up?17:03
kirklandsmoser: oh, hey17:03
kirklandutlemming: okay, so my AMI is currently not bootable17:03
utlemmingkirkland: did you dd from /dev/nbd0 to the volume?17:04
kirklandutlemming: yep17:04
* utlemming tries to do this17:04
kirklandutlemming: did I need to do any resize2fs or tune2fs or fsck on that?17:04
utlemmingkirkland: nope17:04
kirklandutlemming: and what aki- should I be using?17:04
kirklandutlemming: I've tried Kernel ID: aki-b4aa75dd17:05
kirklandutlemming: I *think* maybe smoser helped me with something like this before, and pointed me to that aki17:05
smoserconsole output ?17:05
utlemmingkirkland: that is the wrong one...you need the hd0 variant17:05
kirklandsmoser: http://paste.ubuntu.com/5632736/17:06
kirklandutlemming: k -- is that the -825 one?17:06
utlemmingkirkland: you have the wrong AKI for sure.17:07
kirklandutlemming: cool-- which one should I be using?17:07
kirklandutlemming: and the root device -- is that /dev/sda or /dev/sda1?17:07
utlemmingkirkland: aki-88aa75e1 and whatever you used for your device mapping when you registered it17:08
utlemmingkirkland: for the device mapping, it doesn't matter17:08
kirklandutlemming: okay, created and launching17:09
* kirkland whistles the jeopardy tune17:09
kirklandutlemming: smoser: okay, so I'm curious on both of your takes on this...  what do you reckon is the best way to flag that I want to run an instance with an overlayroot (either tmpfs or encrypted), WITHOUT first launching/editing/rebooting17:11
kirklandutlemming: smoser: right now, I'm creating an AMI that has a one-line change in /etc/overlayroot.conf17:11
kirklandutlemming: smoser: I can add support into the initramfs hooks for overlayroot that sets up networking and fetches the metadata17:12
utlemmingsmoser: correct me if I am wrong, but does cloud-init look for OVERLAY_ROOT or something like that and just do it?17:12
=== _gugaua_ is now known as gugaua
kirklandutlemming: that's too late17:12
kirklandutlemming: it has to be setup in initramfs, not userspace17:12
kirklandutlemming: cloud-init runs in userspace17:12
kirklandutlemming: by that point, we've already written stuff to the root disk17:13
smoserkirkland, its not acceptabale to change the default amis. so your one off with the one line change is not unreasonable.17:13
kirklandutlemming: still not booting, http://paste.ubuntu.com/5634659/17:14
smoserthe other option is to use the original image bit for bit and boot with a --block-device-mapping17:14
smoserand that disk that is attached can probably manage to do what you want.17:14
kirklandcmagina: how so?17:14
kirklandsmoser: ^17:14
kirklandcmagina: sorry...  and howdy, btw :-)17:15
cmaginakirkland: np :)17:15
smoserwell, the overlayroot config disk executes (it is sourced) in the initramfs.17:15
smoserso you can actually do anything you want.17:15
kirklandutlemming: i did dd from /dev/nb0, and not from the .img -- that's correct, right?17:15
utlemmingkirkland: yup. I'm going through the exercise now. Give me a few minutes...17:16
kirklandutlemming: thanks!17:16
kirklandutlemming: I can share this ami with you too, if it helps17:16
kirklandutlemming: the *only* change is that /etc/overlayroot.conf has:  "crypt:dev=/dev/xvdb"17:17
kirklandutlemming: make sure you add one ephemeral disk at xvdb when you register the ami17:17
sbeattieplars: sorry, I just noticed your ping. Odd that af_bluetooth is being reported as unsupported17:19
plarssbeattie: any chance it's just because of age? This is oneiric we're talking about..17:21
plarsand on panda17:21
sbeattiewell oneiric/omap4 ; it's possible I guess, though I'm not sure why that would show up just now.17:21
smoserkirkland, does it make sense to you how you'd do that ?17:22
plarssbeattie: it'll take some time, but I could go back and reinstall and see if it failed before the update.. I have no idea what it looked like before17:22
sbeattieplars: any chance you can run [path to qa-r-t]/scripts/apparmor/test-net.py --domain bluetooth17:22
plarssbeattie: as soon as it finishes what it's doing now, I can17:22
plarsboard is tied up at the moment17:22
sbeattieplars: that'd be great. if that fails, then it's not an apparmor issue, but an issue with that kernel's bluetooth support.17:25
utlemmingkirkland: launching...17:26
kirklandsmoser: without modifying Ubuntu's stock, default overlayroot.conf?17:26
kirklandsmoser: I know that if I modify overlayroot.conf myself in my own AMI, then yeah, sure, I can do whatever I want17:27
kirklandsmoser: I'm trying though to find a way where I can continue to use the stock Ubuntu AMI, and instead just launch with some additional option or configuration or something17:27
kirklandsmoser: heck, even just configuring a "security group" would work for me -- though that would still involve reading the security-group from metadata17:28
smoserkirkland, yes. you can do that.17:29
smoseryou just have to use your imagination a bit :)17:29
plarssbeattie: I don't remember for certain, but that was my suspicion - that we didn't get bluetooth working properly there until later17:31
smoserkirkland,  bzr+ssh://bazaar.launchpad.net/~smoser/+junk/ovroot-snapshot-create/ is the branch i pointed you at once showing how i could create a partitioned disk.17:32
smoserinside that (lines 24) is a '_find_dev' that goes looking for a disk that it should tell the initramfs is the overlay root disk.17:33
smoseryou can do the same thing, but instead of looking for disks, look at the metadata service.17:33
sbeattieplars: looking at http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-oneiric.git;a=blob;f=debian.master/config/config.common.ubuntu vs http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-oneiric.git;a=blob;f=debian.ti-omap4/config/config.common.ubuntu;h=f0724990db3a6b4c44ca0fa8ddc49462a1b5ff96;hb=7bf8c235abf0058e8a7a4d6fc927656c74cfbf93 I see differences in some of the CONFIG_BT sub options.17:33
smoserthe "real root" is mounted read-only at this point. so you can do just about anything actually.17:33
smoser(including mounting rw and chroot to it!)17:33
smoseryou can use it to bring up networking, look at user-data and act appropriately.17:34
kirklandsmoser: cool, thanks17:38
smoserkirkland, you'll probably want to put a flag on the root disk in some sense so you dont do that every boot if it wasn't desired. (or you more confidently do it if it *was*)17:39
kirklandutlemming: did yours launch successfully?17:42
kirklandsmoser: right -- so currently, I'm just looking to do this at every reboot (for my current project)17:42
kirklandsmoser: but eventually, yes17:43
smoserthats fine. you might as well mark somewhere that you've decided "do it"17:43
kirklandsmoser: also, I'd like to in the next cycle MIR molly-guard and have the overlayroot binary package recommend it, and install a mollyguard script17:43
utlemmingmkirkland: no...looking why17:44
kirklandutlemming: awesome, thanks17:46
kirklandsmoser: I'd like overlayroot to install something like http://paste.ubuntu.com/5634755/ in /etc/molly-guard/run.d/02-overlayroot17:47
kirklandsmoser: basically, to prevent inadvertent reboots that lose or destroy data (in tmpfs or encrypted filesystems)17:47
kirklandsmoser: are you familiar with molly-guard?17:47
xerxasHi all17:48
xerxascan I preseed my install with protocol mirror and http://mirrors.ubuntu.com/mirrors.txt , for the apt configuration ?17:48
yolandajamespage, pushed a working version - finally - of ceilometer agent charm17:49
smoseranswer=$(head -n1) is done without a fork like:17:53
smoser read answer17:53
smoseri dont have a conceptual issue with that. as long as the implementation doesn't require hijacking /sbin/reboot17:55
jamespageyolanda, great!17:56
jamespagezul, adam_g: libvirt 1.0.2 in the trunk testing PPA - working OK for me17:57
jamespageI can boot instances, live migrate them etc...17:57
zuljamespage:  push it17:57
=== Ursinha is now known as Ursinha-afk
zuljamespage:  just a note from that libvirt release python-libvirt was broken with a patch that was backported ;)17:59
jamespagezul, live migration dropped 3 packets - that sound reasonable to me18:01
zuljamespage:  tolearable18:01
jamespagezul, from with libvirt release? confused18:01
zul1.0.218:01
zulso thats why i was a bit leary about it its fixed in 1.0.3 but we backported the patch18:02
zuljust an fyi18:03
=== Ursinha-afk is now known as Ursinha
rbasakjamespage: mongodb 2.2.3 build with libssl-dev succeeded on armhf. Build log: mongodb_2.2.3-0ubuntu4~basak1_armhf.build - looks like it picked it up OK.18:37
rbasakEOD18:37
=== airtonix_ is now known as airtonix
xerxasajmitch: I saw you wrote several time about using mirror uri scheme in sources.list, can I preseed this for installation ?19:09
kantlivelonghey all.. im trying to install 12.04.2 and the installer doesnt see any disks.. but when going to the installer shell i see /dev/sda /dev/sdb and also see in dmesg.. any idea whats going on?19:12
lamawithonelIs it possible to encrypt a single partition with preseeding?  I'd like to encrypt swap, but nothing else.19:36
scalability-junkhey I have a problem when I try to run lvdisplay I only get "read_urandom: /dev/urandom: open failed: No such file or directory" returned19:41
scalability-junkadditionally all mv vms under /dev/vg0/* are gone ... (but they are still working(19:41
scalability-junkany idea please19:41
scalability-junkno idea at all?19:51
scalability-junkwhen trying to run virt-install with /dev/vg0/something I get an apparmor error: internal error cannot load AppArmor profile 'libvirt-XXX'20:51
scalability-junkany idea?20:51
fabiofrancohow to add an existing user to an existing group?20:56
swfabiofranco: $ sudo useradd -G <group> <user>20:57
fabiofrancosw the command returns an error msg - useradd: user 'thiago' already exists20:58
swfabiofranco: did the user get added to the group though? ($ groups <user>)20:59
fabiofrancosw sadly no21:00
swfabiofranco: erm, -a -G maybe, sorry been a while since I've done it, if all else fails see $ man useradd :b21:00
Underbytehow do you convert /etc/init.d scripts to upstart jobs?21:01
fabiofrancosw: the -a parameter doesnt exist... i'll have a look at the manual, thanks21:02
sarnoldscalability-junk: some of the protections for virtual machines / lxc containers via libvirt is handled via apparmor profiles; see /etc/apparmor.d/{libvirt,lxc,lxc-containers} ... (not great information there, but .. information.)21:04
Trudkoguys i run  netstat -tulpn | grep :80 and i got tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      - how to stop this service ?21:15
sarnoldTrudko: re-run as root and find the process21:16
Trudkook thx21:17
=== Ursinha is now known as Ursinha-afk
scalability-junksarnold: yeah but it doesn't find the profile for some libvirt-uuid and then fails22:17
scalability-junkusing aa-complain didn't help22:17
scalability-junkand disabling apparmor seems like bad...22:18
sarnoldscalability-junk: do you have DENIED messages in your dmesg or /var/log/audit/audit.log ?22:19
scalability-junknothing in the log22:21
scalability-junknope no DENIED22:22
scalability-junksarnold: retried and got a denied [178696.696032] init: /tmp/tmpYLM9OL/etc/init: Configuration directory deleted22:24
scalability-junk[179194.781900] type=1400 audit(1363904669.177:199): apparmor="DENIED" operation="open" parent=18775 profile="/usr/lib/libvirt/virt-aa-helper" name="/dev/dm-29" pid=18174 comm="virt-aa-helper" requested_mask="r" denied_mask="r" fsuid=0 ouid=022:24
sarnoldscalability-junk: ha, I've got an explicit deny for those files in my version of that profile:   deny /dev/dm-* r,22:27
scalability-junksarnold: any workaround? haven't worked with apparmor at all22:28
sarnoldhallyn: scalability-junk here has had some problems with virt-install, it's beyond me :) care to look at it? ^^^22:28
sarnoldscalability-junk: you could put that profile into complain mode, but you'd lose the confinment. someone put that 'deny' rule in place for a good reason...22:29
sarnoldscalability-junk: you could add a rule to grant read access to that device (and, maybe, soon it'd need write as well....) -- if you're fine with containers being able to modify that device.22:29
scalability-junksarnold: yeah but I don't see any issues with my virt-install command, or isn't is allowed to use /dev/vg0/something as image for example22:30
* scalability-junk is a bit frustrated tried vmbuilder first -> failed, then it worked after some patches then the vm got stuck in booting from disk and then tried virt-install and apparmor doesn't like me :D22:31
scalability-junksrsly it complained about the directory of the .iso file not the block device yeah I love errors :D22:36
scalability-junkanyone using virt-install? I'm stuck how to configure sshd to be present after startup?22:50
scalability-junkvirt-install -r 1024 --accelerate -n demo.oc -f /dev/vg0/demo.oc --graphics vnc --network bridge=virbr1 --cdrom /var/ubuntu-12.04.2-server-amd64.iso22:50
scalability-junkwas my try, but first graphics vnc needs virt-viewer o0 what was used by the vmbuilder?22:51
tgm4883Mythbuntu site broke22:55
tgm4883Daviey needs to fix DNS records22:55
tgm4883Then I will be glad22:55
TrudkoGuys i need to copy something to local/bin but my user does not have persmissions. ls -l /bin | grep bin i get lrwxrwxrwx 1 root root what to do to have rights to write?23:09
Trudkoi found that i should do usermod -G www-data user which should put user to www data group does have to data group exists already? is user param user litterallly or it is name of user23:10
shaunothat's a fun handful.  "ls -l /bin | grep bin" is giving you a red herring; it's returning a result within /bin that happens to be symlinked somewhere (the leading 'l' on the permissions)23:14
shaunols -ld /usr/local/bin will show you what the perms are there, which seems  a lot more relevant; default will be read-all, write-root23:15
Trudkoshauno i see so what should i do so user X can have write permissions too?23:15
shaunoyou very rarely would; usually that's left alone and sudo is used to escalate where needed23:17
Trudkoshauno where I am copying using winscp23:17
scalability-junkYESSSSSSSS!!!!! finally it worked23:18
scalability-junknow I know why some people like the cloud :D virtual machines do just work :D23:18
shaunopersonally, I'd scp the files into the user's home folder, and then move them into place with sudo afterwards.  it just works out a whole lot easier than fighting the design, which usually causes loose threads to unravel23:18
sarnoldscalability-junk: woo :)23:19
histoscalability-junk: I wish I had a cpu that supported vmx or svm myself23:40
scalability-junkhisto: get a server ;)23:43
histoscalability-junk: I will just want a tablet right now to stuff ubuntu on.23:59
scalability-junkhisto: servers are so much better :)23:59

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