[03:15] hello friends [03:29] hey, I am having big trouble with postgres on a remote ubuntu 10.04 vm [03:29] basically postgres doesn't start no matter what I do === DaIRCKing is now known as GTAXL [05:22] Anyone have experience with rails and ubuntu production servers here? [05:22] I'm trying to figure out how to get into my rails console [05:33] #rubyonrails === smb` is now known as smb [10:07] Hi I am trying to create a minimal server install, however, I am in doubt because I've looked at the mini.iso install and while it is small in size apparently it will be the same as installing from the server iso on it pulls the applications online. Just wondering if this is true, I would like to build the server myself and only have the bare requirements to run the system as well as setup lvm on install. [10:08] i think you are right, the mini iso is just enough to start the install, then the installer fetch what it needs from remote repo [10:08] amarcolino: use whichever installer you prefer. Just don't select any tasks. That will give you a minimal install. There's an option (a function key) in the boot menu that'll make this the default IIRC. [10:09] The difference between mini and normal is just in what's already on the media rather than needing to be downloaded. You still choose what you want installed in the installer itself in both cases. [10:10] melmoth, rbasak, thanks if that is the case I will use the sever iso, I would have thought the mini iso would've been slower considering it pulls the applications online compared to the server iso, hmmm... [10:11] amarcolino: yes that makes sense. Optical media seeks are slow though. Depends on your connection :) [10:12] rbasak, Ok, I get it, thanks for the info going to continue figuring out how I am going to setup the whole thing before I install it [10:13] Technically there are three "tasks" - minimal, standard and server. I can't remember which combination the installer lets you pick. I think minimal and standard are always installed. But you'll want standard - minimal is only good for installing other things and is pretty useless on its own [10:16] huh? [10:18] I havent checked yet but will, this is going to be a basic server for storage, web development and virtualization using headless vbox. There are still a lot of things I need to think about, what I want is a clean system that I can slowly build upon [10:20] The hardware is quite old, maybe eight years old, 4GB ram, 1TB HD x2, but still works so I thought no point having it in a corner not doing anything [10:25] Tasks are sets of packages you can pick from the installer (and later) to be installed. Packages are the basic component of what is picked to be installed. The system is unusable without the minimal task. The minimal task is only really good for installing other packages. The standard task is the set of packages which give you a normally functioning Unix. The server task gives you additional packages which you'd expect to have on a server. You're [10:25] probably best off starting by asking the installer for a "Basic Ubuntu server" which gives you those three, and starting from there. [10:28] Awww, okidoki, will do that when the time comes === Nafallo_ is now known as Nafallo [13:52] jamespage: just about to upload oslo-config_2013.1~b4 [13:53] zul, not renaming right? [13:53] nope [13:53] jamespage: http://pastebin.ubuntu.com/5576333/ [13:54] okies [13:59] zul: If I need to get a folsom pkg in the cloud archive fixed, what is the process ? where do I get the source pkg ? [13:59] zul: as I understand it, there is no SRU for cloud-archive packages [14:00] caribou: you submit a merge proposal for lp:~openstack-ubuntu-testing/nova/grizzly [14:00] zul: very minor fix : a dependancy issue [14:00] zul: I think it's already fixed in grizzly, lemme check [14:01] caribou: if you are talking about novnc it probably is [14:01] zul: yep, that's the one [14:01] caribou: i think its already fixed in grizzly give it a shot [14:01] zul: just need the Suggests:novnc to be made a Depends: [14:02] zul: then if it's fixed in grizzly, is there a process to get it retrofitted in Folsom ? [14:02] hi, i can't make use of acpi on my 12.04 server. do i need to comple my own kernel? or can that be done by adding a module? [14:02] caribou: which bug is this again? [14:04] wilmaaaah: power management is built into kernel now. [14:04] my main problem seems to be that i can't get the cpu temperature [14:05] can't find it under /proc [14:05] zul, tarballs.openstack.org is obsolete right? [14:05] zul: https://bugs.launchpad.net/nova/+bug/1066845 [14:05] Launchpad bug 1066845 in nova "nova-novncproxy is not running; Suggest: novnc should be Depends" [Low,Fix released] [14:05] jamespage: for most opentack projects it is [14:05] caribou: ill see what i can do [14:05] zul: thanks [14:06] oh, i found lm-sensors. will try that [14:07] zul: when installing with --install-suggests, it works fine btw [14:07] caribou: goody :) [14:25] zul, when you get a chance please can you review the fix-watch-file MP's for all core projects at https://code.launchpad.net/~openstack-ubuntu-testing/+activereviews [14:29] jamespage: done [14:35] zul: ta === acrocity_ is now known as acrocity [14:56] jamespage/yolanda: https://code.launchpad.net/~zulcss/quantum/quantum-fix-pep8/+merge/151265 [14:58] zul, why is that patch in ChanceScheduler? [14:58] yolanda: because pep8 tests are failing === wedgwood_away is now known as wedgwood [14:59] zul, +1 [15:00] jamespage: k thanks [15:00] jamespage: i sent that upstream so we can drop this patch once it gets accepted === evilnickveitch is now known as evilnick-afk === gary_poster|away is now known as gary_poster [15:37] yolanda: is there a bug for the boto and ceilometer conflict? [15:38] zul, i saw that bug yesterday, let me check [15:38] https://bugs.launchpad.net/ceilometer/+bug/1102110 [15:38] Launchpad bug 1102110 in ceilometer "Grizzly testing packages : python-ceilometer installation fails" [Undecided,In progress] [15:40] hallyn: hi [15:40] hallyn: regarding https://code.launchpad.net/~serge-hallyn/ubuntu-test-cases/server-lxc2/+merge/150491 [15:41] hallyn: I was hoping that someone else from the server team would be reviewing it, but I'm sort of inclined to just accept it now that it's in the ubuntu-test-cases branch [15:42] hallyn: hallyn unless you see a problem with it, the test is broken today, so at least this would allow us to easily see if it gets us past the existing problem [15:52] Greetings./ [15:56] Q. When logging on to Ubuntu Server we're getting the "*** System restart required ***" message -- is there a log that shows why, or which .deb component required the restart? It's getting pretty annoying how often this comes up. These are production servers -- we don't want to bounce them so often without a good reason. Thanks in advance. [15:59] pr3d4t0r: cat /var/run/reboot-required.pkgs [16:00] Jare: Heh - thanks. I found it at the same time that you replied, thanks. [16:01] Jare: I see the package -- is there (in the system) a log of the reason why that package requires the restart? [16:02] Jare: I can probably look at the commit or publication log for the package in Debian or Ubuntu's web sites. Just curious to see if that change log can be viewed in the system (since this affects multiple boxes on the EC2 cloud and Chef handles provisioning/updates). [16:05] plars: I agree, as I've told psivaa before [16:05] plars: i coudl see value in stgraber reviewing it, but for anyone on server team it would be a waste of their time imo [16:06] plars: please just merge it and we'll proceed from there [16:06] plars: hm, i guess the one person who wouldn't be wasting their time might be jamespage [16:06] hallyn: looking [16:07] stgraber: thanks [16:08] hallyn: ah, I should be able to save you a few minutes in those tests [16:08] hallyn: I just noticed that the API test script doesn't need to be a .in anymore [16:09] stgraber: oh since when? it ws only a week or two ago it definately ahd to be :) [16:09] stgraber: but, cool [16:10] hallyn: not in staging yet, finishing the change here ;) [16:10] stgraber: cool [16:12] pr3d4t0r: iirc the reboot-required is just an on/off switch, but you might get some info by viewing the pkg changelog "apt-get changelog pkg-name" [16:17] Is there a way to tell if a process is bumping up against its open file handles limit? [16:18] why would libssl require a reboot? [16:19] hallyn: sent the change upstream and commented in the MP [16:19] RoyK: libssl itself doesn't, but it's the safest way to ensure that everything which uses it has been restarted [16:19] Jare: Coolio - thanks! [16:20] stgraber: that's what I mean - all I'd need to do is restart apache (if using ssl), mysql (if using ssl), postgresql (if using ssl) and ssh [16:20] RoyK: yes [16:20] but then, there's a new kernel waiting, so I guess it won't hurt ;) [16:21] stgraber: sigh, i would have preferred the MP not hang on that, but thanks. [16:22] hallyn: the lxc change should be quite easy to review (unless git has been stupid and shows a silly long diff, not sure) so we can have that in staging in the next few minutes [16:22] plars: as you say the tests are broken, so ideally i'd like you to take the MP as is, and open a new bug with stgraber's comments, which are all good but none urgent [16:23] plars: (and assign the new bug to me) [16:23] stgraber: looking [16:23] hallyn: the policy-rc.d/lxc init job stuff is trivial to fix so I guess you can do that in a minute or so (just dump 'echo manual > /etc/init/lxc.conf' and drop most of the code ;)). pep8/pyflakes may take longer and is fine to postpone [16:24] hallyn: however I'm really good at doing pep8/pyflakes fixes, so I can do it for you ;) [16:25] stgraber: i'd prefer to test before pushing though :) [16:25] and that takes awhile in utah [16:25] what i have now works [16:25] don't see your email yet, hmm [16:25] oh, but i see you fixed the manpage? cool :) [16:26] hallyn: the manpage looks good on my machine, so I guess someone fixed it upstream [16:26] hallyn: oh wow, 946 pep8 warnings in the server test branch ;) I'll send a MP to fix those in a few minutes but that'll be unrelated to your own MP [16:27] stgraber: lol, i of course would prefer it to be not unrelated to but on top of my MP :) [16:29] hallyn: well, most of the fixes will be for scripts outside of the lxc ones (I scanned the whole server branch) [16:29] * hallyn finishes lxc-attach first, rather than allowing high prio test breaks to turn low prio cleanup sinto high prio blockers [16:29] stgraber: just run 'dep8' ? [16:29] never used it, will play with it [16:29] hallyn: yep [16:29] hallyn: *pep8 [16:30] hallyn: PEP-8 is the Python Enhancement Proposal 8 which barry and a few others worked on. It's the python coding guidelines and the command line tool will complain for anything that doesn't match the upstream guidelines [16:30] right, mistyped :) [16:30] jjohansen: is there a max length on apparmor profile names? [16:32] yolanda: patch coming for the tests stuff [16:32] zul , submitted to openstack, or patched in the package? [16:33] yolanda: both [16:33] good news! [16:34] about ceilometer, it's still giving some troubles with tests, and with the requests<1.0 issue [16:34] they patched the test of components but still ceilometer is pointing to <1.0 [16:36] nm, i'll read it the long way [16:40] hallyn: hrmmm, I think the compiler uses a fixed sized buffer of PATH_MAX [16:42] yolanda: http://paste.ubuntu.com/5576734/ [16:42] jjohansen: but that's not enforced int he kernel, but the userspace tools? [16:42] hallyn: yes [16:42] hallyn: kernel side, there is a max path lookup buffer control [16:43] zul, great [16:43] jjohansen: ok, thanks - i was trying to decide whether https://github.com/hallyn/lxc/commit/cceb4f2fecb423ddeda8f3592bad17ce59b74f1b was worth it [16:43] hallyn: /sys/module/apparmor/parameters/path_max [16:43] but the right way should be that tests directory is correcty set? [16:44] jjohansen: oh, cool. [16:44] well, that's big enough that it's prolly worht it. (btw don't look too closely, i just typed it out, haven't doublechecked for idiotic mistakes :) [16:44] jjohansen: thanks, ttyl [16:45] hallyn: oh hrmm, the library might have a max too, and I am pretty sure that getprocattr is limited to an entry of 1 PAGE [16:46] I'd have to double check [16:47] jjohansen: it's ok, i'll just leave it like this, future proof too [16:52] yolanda: there is a bunch of fixes needed for the ceilometer package wants we get the fixes in then ill start uploading it to raring and the CA [16:53] zul, fixes in the package? [16:53] or in the code? [16:53] both [16:53] do you want me to make some fixes in the package? what problems are we having? [16:54] hallyn: wow, that branch contains a lot of copy/paste stuff, I ended up mostly doing recursive sed to fix those ;) [16:54] normally i find the problems with dependencies, the requests one, and that i have to skip the tests in order to build it [16:55] hallyn: down to just 276 warnings to fix now [16:59] i'm pretty sure all those tests were converted from other suites over to utah, so yeah, i'd expect cut/paste in that process === VD is now known as Guest89990 [17:20] stgraber: uh, still not seeing your commit on lxc-devel [17:23] hallyn: forwarded === CallingP1nther is now known as apetite [17:46] stgraber: thanks. acked. imap has been treating me badly since last night, so not sure if it got deleted there, or if it got held up at the list. [18:08] hello masters! [18:10] how to see the options in a package? [18:10] thanks very much [18:11] paco1: "options in a package"? [18:11] hallyn: https://code.launchpad.net/~stgraber/ubuntu-test-cases/fix-pep8-pyflakes/+merge/151300 [18:12] hallyn: who should I subscribe to have this reviewed/merged? Ideally it should be done ASAP before the scripts I fixed start changing. [18:12] yes, for example, openldap come with a full of options if i install it by source [18:13] stgraber: either jamespage or plars i think [18:13] how to know the options come with the package installation? [18:13] stgraber: jamespage did most of the original work [18:13] so he should be able to review quickly [18:13] stgraber: does it conflict with hallyn's earlier one, or depend on it? [18:14] this attach apparmor profile change thing is turning into a disaster === Hexi_ is now known as Guest28206 [18:15] hallyn: also, if you could delete https://code.launchpad.net/~serge-hallyn/ubuntu-test-cases/server-lxc-fixapi whenever you get a moment, I think it's superceded by the other right? [18:15] plars: yes it is [18:16] deleted [18:20] stgraber, hallyn: they appear to conflict a bit in 2 files [18:23] plars: yeah, I'd expect them to conflict slightly on the two lxc python files [18:24] plars: did you already merge hallyn's branch? if so, I'll re-submit based on the updated master branch [18:24] stgraber: I was about to [18:24] stgraber: do you mind if I push it and have you rebase it on that? [18:25] plars: nope, go ahead. [18:27] oh [18:27] I can't push [18:27] yolanda: still around? [18:27] hallyn: I think you're going to have to push it [18:27] hallyn: or someone from ubuntu-server-developers team [18:32] plars: I'm not allowed to push to that ... [18:33] wait waht? [18:33] i am! sorry! [18:33] pushed [18:33] :) [18:33] sorry for wasting your time [18:33] adam_g: https://code.launchpad.net/~zulcss/ceilometer/deps-refresh/+merge/151073 and https://code.launchpad.net/~zulcss/ceilometer/boto-conflict/+merge/151304 [18:34] * hallyn out - biab [18:35] woohoo, figured out my thinko, attach with apparmor working. now to clean that up [18:37] stgraber: shout when it's ported and i'll push? [18:37] (lp:~stgraber/ubuntu-test-cases/fix-pep8-pyflakes) [18:37] (now, biab) [18:37] zul, here [18:37] yolanda: https://code.launchpad.net/~zulcss/ceilometer/boto-conflict/+merge/151304 [18:38] done === CallingP1nther is now known as apatite [18:41] hallyn, plars: https://code.launchpad.net/~stgraber/ubuntu-test-cases/fix-pep8-pyflakes/+merge/151300 updated [18:42] stgraber: thanks [18:50] stgraber: pushed, thanks === mike_ is now known as Guest26993 [19:00] I'm having error installing couple of libs http://pastebin.com/rGfEjL69 help please [19:03] * becom33 anyone ? [19:04] becom33: hunh, that's odd, where is 2.7.5.dfsg-1ubuntu1 coming from? [19:04] I have no idea [19:04] I installed ubuntu server and did a apt-get update [19:05] after thats I started to get that error [19:05] 2.6.31.dfsg-2ubuntu1.11 at least makes some sense, that is the newest version in 8.04 lts.. [19:06] :/ what am i suppose to do now ? [19:06] becom33: check your APT sources lists to see if you've got inconsistent deb lines -- say, updates or security from a different release [19:06] I'm not suer [19:06] sure * [19:06] :/ Im just gonna install again and see [19:07] becom33: re-run "apt-get update" and then try again.. [19:13] adam_g: ceilometer doesnt use python-setuptools-git [19:14] zul, then it should be dropped from d/control all together? [19:14] adam_g: yep === CallingPanther is now known as apatite === CallingP1nther is now known as apatite [19:25] sarnold, now I'm having this error http://pastebin.com/8CYjhuzY [19:25] I did a apt-get update [19:26] becom33: o_O that .. is confusing. [19:27] maybe my source is outdated ? [19:28] adam_g: https://code.launchpad.net/~zulcss/ceilometer/deps-refresh/+merge/151309 [19:29] sarnold, [19:30] becom33: sorry, that one doesn't make any sense to me :) [19:31] stgraber: jjohansen: so when you lxc-start a container, it joines a restricted apparmor profile. when you lxc-attach it, by efault, we want to join that same profile. my question, [19:32] if we say 'lxc-attach -e' (meaning 'dont' drop privileges), do we want to nto switch apparmor profiles? [19:32] i think we do anyway, [19:32] since otherwise we're subjecting the host to things running in the container, but the smae could be argued for -e in general [19:33] i'm going to for nwo have it always switch profiles, and if someone complains we can maybe add a new option, with even bigger warning [19:34] hallyn: hrmmm, thats tough I guess I would error towards the more restrictive (so switch profiles), because if you decide your wrong its easier to loosen than tighten [19:35] jjohansen: yeah, agreed, thanks. mind you as it is -e will also avoid c group restrictions,w hich is also a big deal... but we can add it later [19:38] zul, python-sqlachemy (<= 0.7.9) | python-sqlalchemy (<< 0.6.3-2), ? [19:39] adam_g: doh ill fix that [19:40] adam_g: http://paste.ubuntu.com/5577222/ [19:40] zul, also, why are python-{glance, swift, nova} needed? requiring those installs the entire codebase for each [19:40] hallyn: always switch sounds good [19:40] adam_g: because thats the way that ceilometer works afaik [19:41] oh, ok [19:41] hallyn: I suppose we could extend -e to take arguments in the future, so you can do -e cgroup,apparmor to have it only drop capabilities but keep the new processes out of cgroup and apparmor restrictions [19:41] adam_g: actually it should be ok with python-glanceclient now [19:41] so ill remove those as well [19:44] adam_g: can you check one more time? [19:47] stgraber: sounds good. won't even mention it until someone asks for it. [19:47] :) [19:47] zul, the MP is gone? [19:51] adam_g: deleted it and started over [19:51] hold on [19:51] adam_g: https://code.launchpad.net/~zulcss/ceilometer/deps-refresh/+merge/151309 [19:52] hallyn: we'll just need to keep it in minde when implementing attach() in the API so that at least the API call does it right, then it'll just be a matter of rebasing lxc_attach.c on the API [20:01] zul, is python-{nova, glance, swift, etc} needed or just the clients? im grepping thru the ceilometer src now and it looks like it needs the actual server code [20:02] adam_g: tools/pip-requires says it needs the clients [20:02] zul, hmm [20:12] adam_g: im going to wait til monday for this [20:13] k [20:26] stgraber: did you have any pending patches for raring's lxc package? [20:26] i'd like to push the attach-apparmor patch on monday (pending/addressing feedback from the list) [20:28] hallyn: hmm, let me see what we pushed to staging since 0.9~alpha3 that I would like to see in Ubuntu before rc1 is released (in less than two weeks) [20:29] hallyn: nah, I can wait two weeks to get the rest in ;) It's not like I actually use the packages in raring anyway. [20:30] stgraber: is there a feature freeze to worry about after that rc1? [20:31] hallyn: yep, rc1 is the last milestone before 0.9 is out, so while I don't think we'll freeze entirely, I certainly plan for rc1 to be as close to final as possible and release 0.9 2-3 weeks after rc1 is out [20:31] hallyn: saw my "On the road to rc1" e-mail? [20:31] stgraber: i meant 13.04 ff [20:32] hallyn: ah, that, well, it depends on whether we'll have a 13.04 release ;) [20:32] i feel 0 urgency regarding staging tree :) [20:32] right... [20:32] limbo [20:32] all right i'll just carry on [20:33] hallyn: in any case, I'm perfectly happy to put my release team hat on and give a FFe for 0.9 final [20:33] stgraber: ok then i'll aim my patches at staging and not package for now :) [20:34] hallyn: if we end up releasing 13.04, I'd like to see us release with a stable version of lxc ;) [20:34] and ideally not have hundreds of patches on top of it this time around :P [20:34] part of that is saying no to features :) [20:34] but, agreed [20:37] haha, that one is fixed upstream (an dnow in pkg) too. nice. thanks Dwight [20:39] which means i can look at cgroups patch. nice [21:19] stgraber: your patch JUST made it through lxc-devel [21:19] list seems tob e way behind. not good [21:22] hallyn: ok, that explains why I haven't seen yours yet... [21:26] stgraber: ok - i intend to send a new, complete cgroup patch late tonight. (gonna go enjoy sunshine for a few mins right now and get back to it later) [21:28] hallyn: sunshine? what's that? (been grey here for the past few weeks) :) [22:23] hi, i am in the process of installing an ubuntu image to a VPS host system, which comes with a single core, and 512 mb of ram. Now I have the option to install ubuntu 12.10 either in the 32 or 64 bit version. i understand that the 64 bit version would give me an advantage when using a multicore cpu, but what about my special use case? would i gain any advantage when installing a 64bit os? [22:41] stgraber: lxc-ls, in python, going through c api, is a bear to debug :) [22:42] hallyn: ;) what's the bug you're looking at? [22:42] stgraber: one i seem to have introduced with my cgroup stuff. lxc-ls hangs on Container.__init__ [22:43] i've got a hunch what it is, just not sure where. (i think i'm calling to the monitor from the monitor itself, or somesuch) [22:43] hm, maybe i can remote gdb attach once it's running [22:44] hallyn: gdb -p should work but won't necessarily be that useful [22:44] it only does it wwith --fancy [22:44] hallyn: right, without --fancy it doesn't create Container objects [22:45] oooh. no, it's simpler. i'm not dropping a semlock [22:45] Hi, We are a small team developing a web designer software [open source], and we would like to know more about how to get funding for the project within the open source community. [22:45] right, i didn't think it woudl be very helpful :) [22:45] but it does confirm i'm in sem_wait. boggle. [22:46] hallyn: FWIW, if it hangs in Container.__init__ it's either because of lxc_container_new or get_keys as those are the only two C API calls done by it [22:47] stgraber: yeah pdb had pointed me at that. seems to be at ContainerNetworkNew(). [22:48] right, ContainerNetworkNew parses get_keys to create the network objects [22:48] but pdb really didn't seem helpful for stepping/pinpointing/getting stacktrace [22:48] well no, the weird thing was it tended to show [22:48] self.network = ContainerNetworkList(self) [22:49] but that __init_ doesn't actually walk the keys [22:49] 'what have i done' [22:51] drat. thought i had a unity bug, but i guess i'ts really just another effing nvidia bug [22:52] hallyn: hmm, yeah, pdb isn't terribly useful when half the calls are done through a C binding ;) [22:56] aaaand, laptop shut off. hal^Wunity trying to stop me reporting a bug against it, no doubt === wedgwood is now known as wedgwood_away === wedgwood_away is now known as wedgwood [23:02] hallyn: your apparmor patch just made it to the list ;) reviewing now [23:02] woot [23:04] yeah, that took a while ;) [23:22] hallyn: apparmor patch pushed to staging (sourceforge will tell you that in a day or so I guess ;)) [23:22] stgraber: great, thanks [23:23] stgraber: haha, see, ubuntu is too quiet. it wasn't telling me that lxc-ls was ending ina segfault the first tim ei run it (leaving semaphores locked) until i deleted the semaphores and ran under strace. [23:35] hallyn: is it just me or sourceforge was actually fast this time around? I just got a copy of the e-mail I sent your 10min ago. [23:40] stgraber: let's hope they'v efixed their issue [23:45] stgraber: interesting - c.get_ips() works fine until i do c.state(), then c.get_ips() segfaults. [23:47] hallyn: get_ips() segfaults?? that's weird because it's not supposed to do any C call [23:48] hallyn: only C calls get_ips() does is check access the container name and running properties [23:49] anyway stgraber and - it's on container which arenot running [23:49] hallyn: however, it's calling lxc-attach to grab the IP information, so maybe there's something going quite wrong when using the API + calling lxc-attach? [23:49] oh, well, if the container isn't running, then the only thing it does is access the running property [23:49] hallyn: that's calling ->is_running(c) [23:50] stgraber: note this is with my cgroup patch... [23:53] (not with the attach patch only) [23:53] all right, gonna have dinner and worry abou this later - gnight