/srv/irclogs.ubuntu.com/2012/07/12/#ubuntu-server.txt

=== dendro-afk is now known as dendrobates
=== n0ts is now known as n0ts_off
=== ping is now known as Guest94438
=== cpg|away is now known as cpg
=== Aaton is now known as Aaton_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== ping is now known as Guest92748
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== hilarie_ is now known as hilarie
=== ping is now known as Guest40523
=== n0ts is now known as n0ts_off
=== guampa_ is now known as guampa
mgiHi, I am trying to set up a cluster of nodes using MAAS and juju, and I'm at the point of doing "juju bootstrap", which seems to work. However, "juju status" complains about an invalid SSH key. I have researched all I can on the net, there doesn't seem to be much out there. I guess the first question is: how can I log into a freshly installed MAAS node? SSH or local, I don't mind.04:09
mgi(I have also set a password for the 'ubuntu' user in /var/lib/cobbler/kickstarts/maas.preseed but I don't know if this is working, as I am unclear on the order of when things run)04:11
=== cpg is now known as cpg|away
=== n0ts_off is now known as n0ts
=== almaisan-away is now known as al-maisan
hilarieHow can I modify kittenwar (/sbin/iptables -A PREROUTING -s 192.168.0.0/255.255.255.0 -p tcp -j DNAT --to-destination 64.111.96.38) to only effect IPs above 192.168.1.15?05:24
al_nz1HI guys05:32
al_nz1could someone please help with a apache2 problem. I think for starters I need to know what file to modify for document root?05:33
al_nz1and httpd.conf doesnt seem to be the right file?05:34
mvpyou mean to set document root or to edit current document root file05:34
al_nz1to edit document root. I need to point it to a diff dir05:35
al_nz1I have got : http://pastebin.com/xWBNGq4C05:36
al_nz1Or even more info : http://pastebin.com/p7ShTPwW05:37
mvphttpd.conf should still be valid in 12.04, although it is empty by default05:41
greppyal_nz1: https://help.ubuntu.com/12.04/serverguide/httpd.html may help05:42
al_nz1I think I am a bit confused, there seems to be httpd.conf and also /sites-available/default05:43
greppyal_nz1: yes.05:45
greppyby default, nothing is in httpd.conf05:45
=== cpg|away is now known as cpg
al_nz1greppy: yes, but as you can see from my pastebin (the second one at least) I have added some info to httpd.conf and tried to restart apache but get an error05:46
greppythe current best practice is to specify each vhost/domain in it's own configuration file in sites-available/ and then create a symlink to the file in sites-available in sites-enabled05:47
al_nz1...see bottom of pastebin05:47
al_nz1greppy: hmm, ok. Tho there will only ever be one site on this PC05:47
greppyummm05:48
greppyit complains that Action doesn't make any sense.05:48
al_nz1greppy: which could be because I shouldnt have edited httpd.conf but apache2.conf instead?05:48
al_nz1The instructions are located at www.mobotix.com/eng_GB/file/2431175/readme_en.txt05:49
al_nz1but they relate to Apache on windows :-05:49
al_nz1:-(05:49
greppyit looks like you need to enable a module for action to make sense in the config05:49
al_nz1greppy cgi is enabled by default05:49
greppyal_nz1: in that link there is a line loading mod_actions.o05:51
al_nz1greppy: which link?05:52
al_nz1the link at www.mobotix.com? or the pastebin?05:52
al_nz1greppy: here is a list of mods enabled05:55
al_nz1http://pastebin.com/stqKYTiF05:55
mgiI have an question which is orthogonal to my last: what is the best solution in ubuntu for imaging a cluster of machines? i.e. set up a golden image, then farm that off to a bunch of blades (with the relevant sections modified, such as NIC information, etc.)05:55
greppyal_nz1: the mobotix05:55
mgian = a05:55
al_nz1greppy: is that the line Action       mxremotepreview /cgi-bin/MxRemotePreview.cgi.exe05:56
greppyal_nz1: based on the error message, you need to find the module that provides action.05:56
greppyal_nz1: yes, that is the line that it is complaining about.05:57
greppyThe error message "Syntax error on line 4 of /etc/apache2/httpd.conf" is a pretty obvious clue :)05:57
al_nz1greppy: for sure, though I was wondering if it was generating a error due to something on the previous line05:59
glosoliI have some account at Ubuntu server, how do I check my rights to File System ?06:00
al_nz1so, by the look of google apache2 modules are loaded with sudo apt-get, but how do I work out the module name?06:01
greppyal_nz1: the module you need, according to the documentation that you are working from is mod_action.o06:03
al_nz1sure, but the sudo apt-get install mod_action.o doesnt auto complete or work06:04
greppyal_nz1: right.  apt-cache search mod_action may find what you need. I have never used mod_action or tried to install it.06:05
al_nz1parser3-cgi - Parser 3, HTML-embedded scripting language (CGI binary)06:06
al_nz1php5-cgi - server-side, HTML-embedded scripting language (CGI binary)06:06
al_nz1are the two results?06:06
greppyal_nz1: looks like it.06:07
al_nz1greppy: ok, idiot alert here. how do those results help me install mod_action.o ?06:07
greppyal_nz1: I won't be able to give you step by step instructions on how to get this working, I'm just pointing you in the direction that may find your answers.06:08
al_nz1greppy: definitly appreciated!06:08
greppyal_nz1: if you install one of those packages, it may provide that module.06:08
al_nz1right!06:08
greppyal_nz1: apt-cache show parser3-cgi06:09
greppyread what it tells you about the module.06:10
greppyerrr, not module, package :)06:10
mgiFor what it's worth:06:11
mgimgi@queeg:~$ ls /etc/apache2/mods-available/actions.*06:11
mgi/etc/apache2/mods-available/actions.conf  /etc/apache2/mods-available/actions.load06:11
mgiYou should just need to enable it, assuming that's the same module you need.06:11
al_nz1mgi: seen those, how do I enable them?06:11
mgisudo ln -s /etc/apache2/mods-available/actions.load /etc/apache2/mods-enabled/06:12
mgisudo ln -s /etc/apache2/mods-available/actions.conf /etc/apache2/mods-enabled/06:12
greppyor use sudo a2enmod06:12
mgiThen reload apache.06:12
mgiOr that :)06:12
mgiSorry, I'm used to doing it that way.06:12
al_nz1mgi: ln -s - that creates a sym link right?06:12
mgiCorrect, but do it greppy's way instead.06:13
greppythe nice thing about just using 'sudo a2enmod' is it will list what mods are available on the system.06:13
glosoliAny ideas what can be the command for export Mssql from Ubuntu Server ?06:15
glosoliI mean there is running mssql in ubuntu server, I want to export some db of it06:15
mgiglosoli: mssql? Or MySQL?06:15
glosoli"unixODBC 2.2.11"06:15
glosolimssql06:15
al_nz1well, I think it got it going....http://pastebin.com/2FSxWyze06:17
al_nz1brb....06:17
al_nz1back06:20
=== n0ts is now known as n0ts_off
RoyKglosoli: use freetds to connect to mssql06:57
RoyKhow to dump a db from there, I really don't know06:58
glosoliRoyK: There is a problem, I have access to server, but I don't know addresses and ports or name of that mssql database06:58
RoyKglosoli: then ask the mssql sysadmin ;)06:59
glosoliWould be hard to get the contacts of one, but still worth trying then07:00
* RoyK has no idea whatsoever how to find that info from sqsh07:02
=== ubuntu is now known as Guest77360
grendalthis is making me crazy...07:26
grendaland thats not good07:26
grendalso i got this script i wrote in php   and it works great..so great that, well we wound u using the hell out of it.  thing is we trigger it with cron.  and...we need it to run more frequently then every min07:27
=== Guest77360 is now known as Nathan_S
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== zyga is now known as zyga-afk
=== mrmist is now known as groupcat
=== ubuntu is now known as Guest37409
=== Guest37409 is now known as Nathan_s
=== cpg is now known as cpg|away
=== ping is now known as Guest53642
=== zyga-afk is now known as zyga
=== al-maisan is now known as almaisan-away
rbasakjamespage: I've just checked openmpi status for quantal. Debian have merged our changes and uploaded an openmpi1.6, which we have autosynced (awesome and lots of thanks to Sylvestre!). So I presume I should file a removal request for openmpi1.5, now that it is superceded? Do we need a transitional package to upgrade people more smoothly?11:08
rbasakjamespage: second, I have a request to put openmpi1.6 in precise-updates. I take it that this is a no-no and I should point to backports?11:08
slghi there, i hope someone can help me, i need a init script to start two processes at startup with stop start restart funtkions. Here my first attempt, i have not tried the script yet and i am a noob. http://pastebin.com/c112RR5M11:14
=== AntORG_ is now known as AntORG
=== Pupeno_W_ is now known as Pupeno_W
snitrideHi there, maybe someone can help me with a shellscript i am trying to modify, it should run two processes as daemons on system init, http://pastebin.com/xwkSF1pa would this work? Also i should mention i am a absolute newbie with shellscripts..11:49
zulgood morning12:25
=== almaisan-away is now known as al-maisan
jamespagerbasak, yes - you should raise a bug for the AA team to get it removed (q 1)12:48
jamespageq2 as its a new package its not appropriate for -updates - and I think backports does not do new packages either - but I would defer as I've never done one12:49
till__i seem to have a huge issue with landscape-related scripts on 10.04.412:58
till__whenever i try to login, update-motd scripts are run12:58
till__which end up being zombies12:58
till__and block my login12:58
till__i can't figure out why they would block12:59
till__because i can run these scripts interactively12:59
till__here is my login attempt (which on the client hangs at 'entering interactive session'):13:00
till__https://gist.github.com/309794413:00
till__this is on the server in question13:00
=== ubuntu is now known as Nathan_S
till__when i kill the python script running my login completes13:03
nanderssonHi, is ubuntu-alternate together with Debian Installer and Preseed the most efficient way to do unattended installations? An installation takes a lot longer than a normal installation. Wouldnt it be smarter to do a template that one distribute out by a simple ncat and dd?13:04
rbasaknandersson: you can do that if you wish, but you do need more inside knowledge of what you need to change to make each machine unique (eg. hostname, but there is more).13:05
nanderssonrbasak, I only know about /etc/hostname, /etc/hosts and /etc/udev/rules.d/70-persistent-net.rules13:06
rbasaknandersson: the maas project will probably switch to this, and should be the easiest way to manage this stuff in future13:06
rbasaknandersson: off the top of my head, that should be sufficient. But I might be missing something, and depending on what other packages you install, more may be required.13:07
rbasaknandersson: if you just want a base image to then install more packages later, look at ubuntu core13:07
nanderssonrbasak, cool! Where can I find information about this maas-project?13:07
rbasaknandersson: https://wiki.ubuntu.com/ServerTeam/MAAS/13:08
rbasak(first hit on google, which is nice!)13:08
rbasakI think they're still using d-i though, but also believe they may be switching to a more dd-style approach soon. Not sure what the roadmap is though.13:08
nanderssonrbasak, Ubuntu Core as in "Ubuntu Mini Remix"?13:08
rbasaknandersson: https://wiki.ubuntu.com/Core13:09
rbasaknandersson: but again, you need more inside knowledge to know what to do. Eg. add a user, create /etc/hosts, /etc/network/interfaces, generate locales, etc.13:09
rbasakbasically everything the installer normally does13:09
ironmhello. I have prepared a local repository for off-line installation of MariaDB 5.5.25 on ubuntu-server 12.04 - http://rsync.it-infrastrukturen.org/public-mariadb/ubuntu/mariadb-5.5.25-ubuntu-12.04-repo.tgz and wrote some description how to use it - http://rsync.it-infrastrukturen.org/public-mariadb/ubuntu/mariadb-ubuntu-local-repo.pdf13:09
ironmfurther I have prepared a script and some config file examples for running mysqld_multi on ubuntu-server 12.04 and box with multiply ethernet interfaces - http://rsync.it-infrastrukturen.org/public-mariadb/ubuntu/mysqld_multi_install_db_files.tgz. It would be great if I could get some feedback. Thank you in advance ;)13:09
nanderssonrbasak, Yeah, but those are basically the same if you have ldap-auth13:10
xfxchildeCurrent mood: Blow torch + MAAS = Raving lunitic with a smile =DD =/13:11
xfxchildeMorning :)13:11
xfxchildeAnyone here try MAAS yet?13:16
jamespagesmoser: around?  12.04.1 meeting in 35 mins and we have not looked at that list yet13:26
andygraybeal_i'm tryign to add a serial number to my harddrive with libvirt/kvm and i'm running ubuntu 10.04 w/ libvirt 0.7.5  - i'm adding the <serial>WD-WMAP9A966149</serial> tag in the .xml file and redefining the vm, but i cannot see the serial with either "ls -l /dev/disk/by-id/virtio-WD-WMAP9A966149"  or "hdparm -i /dev/vda"13:30
andygraybeal_does anyone have any suggestions?13:30
smoserjamespage, sure.13:31
jamespagesmoser, do you have the official link13:31
=== ninjak_ is now known as ninjak
smoserhttps://wiki.ubuntu.com/PrecisePangolin/12.04.113:32
smoser(see bug lists there)13:33
smoserhttp://status.qa.ubuntu.com/reports/kernel-bugs/reports/rls-p-tracking-bugs.html is what  was mostly going by13:33
jamespagesmoser, yep - thats the one13:33
smoserjamespage, ok. so how do you want to do this.13:35
jamespagesmoser, I was just thinking13:35
jamespagesmoser, the biggest lists are juju and maas13:36
* jamespage puts them to one side for the moment13:36
smoseryeah. on that list, there are only like 2 that are not juju/maas.13:37
jamespagesmoser, I think the couchdb stuff is done13:37
jamespagesmoser, couchdb is in universe and kombu only suggests it now13:38
* jamespage marks as fix released13:38
till__does anyone have any thoughts on my issue?13:38
till__it seems like update-motd is ran each time i log into a server13:38
till__and even though i purged the package13:38
till__it still happens13:38
till__and i can't figure out where this is triggered13:38
jamespagesmoser, actually no its not -looking at the wrong packages13:39
jamespagesmoser: are we really likely to make such a wide impacting change in 12.04 now?13:39
smoserjamespage, that is strange.13:40
jamespagesmoser, I think those are a 'Won't Fix'13:40
jamespageI don't believe they are suitable for SRU13:41
smoserwell, it would be a funny definition of "5 years support" if that included "5 years of support unless we move the package to universe"13:41
jamespageagreed - marking 'Won't Fix' then13:42
smoseralright. then we're down to maas, juju, openstack (python-eventlet, keystone)13:43
smoserso i think we need to somehow address the growing urgency of 12.04.1 with maas and juju teams.13:43
jamespagesmoser, agreed13:43
smoserat least press a decision has to be made to get them off the list one way or another.13:44
smoserother bug list?13:44
jamespageI guess SpamapS is the go-to for juju; is roaksoax the right person for maas?13:44
jamespageat least as the rep in the team who's most likely to work on them....13:44
jamespagearosales has already tasked SpamapS, m_3 and jimbaker with reviewing the juju ones13:45
smoseryes, roaksoax is best contact ther. and i can agree to help him address the list.13:46
jamespagesmoser: OK - so if you pickup with roaksoax on the maas one's I'll hassle SpamapS et al to review the rest13:46
jamespagesmoser, I also see some stuff on http://people.canonical.com/~jamespage/server-sru/precise-sru.html13:47
jamespagespecially anything assigned to ubuntu-server or canonical-server13:47
smoserwhat criteria makes the make the james page list?13:50
till__is there a better place to ask about landscape and update-motd?13:50
smosertargetted to precise.13:50
jamespagesmoser, server-team subscribed to the package for bug reports, targetted and accepted to precise13:50
smosertill__, you can ask. there are some landscape people here.13:51
till__i asked a couple of times, no one seems to reply ;)13:51
xfxchildetill__, id love to help but i'm unsure =/13:54
till__yeah, me too13:54
till__it took me a few hours to get this far13:54
xfxchildeI've been working on MAAS for about 5 1/2 hours, i'm about to give up myself.13:55
xfxchildeI think im going to give up o.0 lol13:56
jamespagesmoser, OK - I had a quick scan13:57
jamespagethe cobbler one worries me13:57
jamespagebug 85886713:58
uvirtbot`Launchpad bug 858867 in cobbler "XMLRPC  allows unauthed users access to various methods (which it shouldn't) " [Medium,Confirmed] https://launchpad.net/bugs/85886713:58
jamespageas I don't know how much we can really do about it13:58
hallynhm, what's happened to python-software-properties->add-apt-repository ?13:59
jamespagerbasak, could you take a look at the comments on bug 988819 please13:59
uvirtbot`Launchpad bug 988819 in mod-proxy-html "[SRU] wrong path to libxml2.so.2 in mod_security - broken by multiarch enabled libraries" [Undecided,Confirmed] https://launchpad.net/bugs/98881913:59
jamespagehallyn, try python3-software-properties13:59
hallynoh ffs14:00
jamespagelol14:00
jamespagehallyn, I think that might be a bug but I'm no expert....14:00
till__i wish i could figure out how to hook into run-parts14:01
till__to get a log of some kind14:01
hallynjamespage: thanks, it'll get me off and running, then i can look into whether there's a bug :)14:01
hallyn(first i gotta get a set of tests rolling for zul)14:02
zul<senior burns>excelente</senior burns>14:02
till__would anyone know which 'event' triggers 'run-parts' to run when a user logs in?14:03
=== dendrobates is now known as dendro-afk
hallynjamespage: no, actually python3-software-properties still doesn't have it.  (done by hand for now, will look into it)14:18
jamespagehallyn, software-properties-common maybe14:18
hallynjamespage: looks like, as I see14:20
hallyndebian/software-properties-common.install:usr/bin/add-apt-repository14:20
hallynso i guess it's really a bug in command-not-found14:20
till__for anyone interested, here is my journey and a solution: http://askubuntu.com/a/162373/1124414:20
hallyn(can't confirm until my other apt-get finishes)14:20
till__now trying to figure out how to get rid off this when i bootstrap an instance on ec2 =)14:21
jamespagehallyn, that gets updated periodically so may be out-of-date for quantal14:21
hallynjamespage: oh is that done automatically?  I see it sits in a 'scan.data' file :)14:29
hallynnm i guess14:29
=== zyga is now known as zyga-food
=== al-maisan is now known as almaisan-away
=== Lcawte|Away is now known as Lcawte
=== almaisan-away is now known as al-maisan
rbasakjamespage: I lost connection, not sure if you got this14:41
rbasak<rbasak> jamespage: I've added a comment14:41
rbasakI'm not sure if I need to do anything more?14:41
=== Ursinha` is now known as Ursinha
jamespagerbasak, I think the approach to the SRU needs to be re-considered14:46
jamespagebut lets see what response your comment provokes14:46
=== dendro-afk is now known as dendrobates
=== zyga-food is now known as zyga
=== dendrobates is now known as dendro-afk
zulhallyn: how is it looking?15:45
hallynzul: tests are running...15:46
hallynshould be awhiel yet15:46
zulhallyn: ok...i have to wire up the cpu_arm stuff in our libvirt as well15:46
hallynzul: qa-regression-tests test-libvirt.py passed15:53
zulhallyn: cool...ill just wire this up and ill upload15:54
hallynsweet15:54
hallynno shutdown support yet :(15:54
zulfor lxc?15:54
hallynyeah15:55
zulhttp://libvirt.org/git/?p=libvirt.git;a=commit;h=97d7f02dcc4848f5f7a64ecd5b32c9beffb7f35915:55
zulbut i think it might be apart of the lxc-reworking15:56
hallynzul: it still unconditionally (even in git head) drops CAP_SYS_BOOT15:57
zulyep15:57
hallynso no way can shutdown work in the container15:58
hallynor reboot15:58
zul*sigh* :)15:58
hallynzul: when you see a WIFSIGNALED(status) check under that waitpid, then they're trying reboot support15:58
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
rbasakSpamapS: do you have any experience with backports? Would openmpi1.6 be a suitable candidate for precise-backports? precise has openmpi1.5 (source package); in quantal we're dropping that and openmpi1.6 from Debian has already synced.16:15
ScottKrbasak: Would it be a new package in precise then?16:16
rbasakScottK: technically, yes.16:16
ScottKWhat do you mean by technically?16:16
rbasakScottK: it would supercede openmpi1.5 in precise16:16
rbasak(but we don't need to remove openmpi1.5 from precise)16:16
ScottKHow would it supersede it?  Does it provide the same binary packages?16:17
rbasakNo, it provides a separate set of binary packages.16:17
rbasakBut it's based on the same upstream (just different upstream releases)16:17
=== al-maisan is now known as almaisan-away
rbasakIt's a library, hence the version number in the package name16:18
rbasakNo reverse depends. In Precise, all openmpi depending packages depend on openmpi (no version in name) which is 1.416:18
rbasakReason for 1.6 is improved ARM support16:19
rbasakDoes that make sense?16:19
rbasakScottK: is a new package a problem?16:26
ScottKNo.  New package is totally easy.16:26
ScottKAs long as it's tested, it's a great candidate for backport.16:26
ping__hy16:27
rbasakGreat, thanks.16:27
SpamapSjamespage: re juju bugs, I'm going to comb through them today16:29
jamespageSpamapS, that would be fantastic!16:30
jamespageSpamapS, be harsh - if we are not ever going todo something please mark won't fix  :-)16:33
jamespageand feel free to bump anything that def won't make 12.04.1 to 12.04.2 or later16:34
SpamapSjamespage: indeed, I think there are maybe 2 or 3 things we'll fix in the next upload to precise-propsoed and the rest will get bumped16:35
jamespageSpamapS, ack - please re-target as appropriate...16:35
jcastroSpamapS: Does this bug exist? http://askubuntu.com/a/162373 if not, what package should it be reported against?16:41
jcastrobasically pretty motd makes things slow16:41
SpamapSjcastro: I think thats a bug in landscape that may be resolved in 12.0416:46
jcastrook, /me investigates16:46
jcastrothanks16:46
jamespageadam_g, I assigned you the SRU for openvswitch - hope that was OK - looked like you already had it in hand16:51
adam_gjamespage: yes, cool16:52
jamespageadam_g, nice one16:52
=== LglssSpdr is now known as bdunbarsr
adam_gjamespage: i actually pinged dan out of band about getting the bug updated with the proper SRU template, and i would prepare the package for -proposed.  im sure he and his tema know more about the issue and regression potential than me16:56
jcastroSpamapS: found it: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/80542317:03
jcastrothanks17:03
uvirtbot`Launchpad bug 805423 in pam "pam_motd needs a module option to disable in-line dynamic updates" [Medium,Fix released]17:03
jcastronot a decent tradeoff imo,17:03
=== remix_auei is now known as remix_tj
=== remix_tj is now known as Guest52380
=== Guest52380 is now known as remix_tj
=== cpg|away is now known as cpg
blitzkrieg766should i enable any automatic updates during install? and if so, why?17:36
blitzkrieg766all, just security, or none?17:36
genii-aroundblitzkrieg766: Usually security is good17:41
blitzkrieg766danke17:41
=== zyga is now known as zyga-afk
zulhallyn:  0.9.13 uploaded18:10
hallynzul: rockin'18:20
RoyKhttp://paste.ubuntu.com/1088463/ <-- I thought the RAID had died, five drives died after a VERY BAD PSU, but the ones that mattered, survived \o/18:28
hallynstgraber: ok, at this point lp:~serge-hallyn/ubuntu/quantal/lxc/lxc-api-getconfig is working with c->get_item and c->clear_item.18:41
hallynstgraber: get_item(lxc.cgroup) is not yet implemented (will return -1)18:41
hallynstgraber: that is one remaining to-do, the other is to have c->load_config() clear out any already-loaded configuration.  (unless you think we shouldn't?)18:42
hallynstgraber: if lxc-api-getconfig works for you, either let me know and i'll push it into the main api branch, or you can just grab my 0094 patch which includes everything18:43
stgraberhallyn: I can see some benefits of not clearing the config on load_config(), mostly if you want to stack a bunch of configs, though I suppose clearing by default makes sense18:45
stgraberhallyn: would adding a parameter for that work for you?18:45
stgraberhallyn: or alternatively make load_config() never clear the config and support clear_config() to flush everything18:46
hallynstgraber: hm, let's leave it as is then.18:50
hallynstgraber: a clear_config(0 will be good,18:50
hallyni just need to check what else i need to clear besides what i already support with clear_config_item()18:50
hallynbut so you don't need that right now?  (i was getting doubled-up configurations in my test case, which made my test case counting nics returned by get_item("lxc.network") fail :)18:51
hallynand, separately, do you need get_item(lxc.cgroup.whatever) right now?  If not i'd like to wait on that18:52
hallynin other words, i'd like to be done and let you use it for a while :)18:52
stgraberhallyn: I'll have to look at the branch. I need a way to access the value of a lxc.cgroup... entry, though not its live value (from /sys/fs/cgroup) yet18:54
stgraberso far I've been lucky enough not to get in a case where multiple load_config would break the world for me, but I can certainly see this happening so it's certainly going to be on the list of things we need to have before pushing upstream (or in Ubuntu)18:55
hallynstgraber: hm, ok.  then maybe a 'get_item("lxc.cgroup.devices.allow")' will suffice, and be easy enough to do18:55
stgraberhallyn: that's why I made the distinction between (get/set/clear)_config_item and (get/set)_cgroup_item in my mail ;) the former only deals with the lxc config without doing any live change, the later only deals with the live values without touching the config18:56
hallynstgraber: ok, lemme whip that up then18:57
hallynthen i'll check it into your branch18:57
stgrabercool, thanks18:57
* stgraber gets back to reviewing the 120 bugs targeted for 12.04.1...18:58
hallynchao18:58
hallyn<blink> that doesn't look right :)18:58
hallyni guess i'm hungry.  more chow.18:59
=== dendro-afk is now known as dendrobates
stgraberjamespage: looking at bug 944546 shouldn't that be moved to precise-updates?19:46
uvirtbot`Launchpad bug 944546 in libcommons-cli-java "StringIndexOutOfBoundsException in HelpFormatter.findWrapPos" [High,Fix released] https://launchpad.net/bugs/94454619:46
stgraberjamespage: it's currently targeted to 12.04.1 but you marked it incomplete as it's not clear it's actually a problem with anything in the archive19:46
stgraber(in such case, the priority should probably be changed to something lower than high)19:46
blitzkrieg766when I try to add a windows xp box to a domain i just created, it says "user not found" what am i doing wrong?19:49
blitzkrieg766ubuntu server 12.0419:49
RoyKblitzkrieg766: samba domain?20:00
blitzkrieg766yes ROYK, samba domain20:05
blitzkrieg766i think somehow i've screwed up the permissions,20:06
RoyKnever tried samba domains, sorry20:06
blitzkrieg766bummer20:06
blitzkrieg766lo20:06
blitzkrieg766lol20:06
* RoyK uses windoze machines for that sort of stuff20:06
RoyKAD et al20:06
blitzkrieg766yep20:06
=== dendrobates is now known as dendro-afk
blitzkrieg766thats what i WAS doing.. but i've found this lovely company who stays away from the MS stack if possible20:07
blitzkrieg766and... i.... LOVES it20:07
blitzkrieg766freebsd as a host, most of the vm's are either freebsd or ubuntu server, it rocks20:08
blitzkrieg766ok, another question....20:11
blitzkrieg766is there by default a group called "sysadmin" in ubuntu server?20:11
blitzkrieg76612.0420:11
swblitzkrieg766: why, what exactly are you trying to do?20:13
blitzkrieg766well, i've setup samba as a DC for windows machines,20:14
blitzkrieg766and when I try to add an xp station to the domain, i get a "user not found" error20:14
blitzkrieg766i think the group for the user's credentials i'm using is wrong,20:14
blitzkrieg766the instructions said I had to also add that user to the "admin" group but there isn't one20:15
blitzkrieg766and the page says admin should be there by default,20:15
sw$ sudo cat /etc/group | grep sys20:15
swsys:x:3:20:15
swsyslog:x:103:20:15
swblitzkrieg766: admin -> sudo now, iirc20:16
souliaqthe mediawiki package for "precise" is version 1:1.15.5-7. Anyway to get more updated package (1:1.19.x) for 12.04 server?20:17
blitzkrieg766sw, ?20:18
blitzkrieg766your syntax confuse me a little... i entered that command,20:18
swblitzkrieg766: what command?20:18
blitzkrieg766sudo cat etc etc etc20:19
swsouliaq: build it? https://launchpad.net/ubuntu/+source/mediawiki/20:19
blitzkrieg766i guess what i'm saying is I didn't understand the last part of your instructions20:19
swblitzkrieg766: you mentioned a 'sysadmin' group, so I listed all default groups and searched for ones containing sys showing that there isn't a 'sysadmin' group20:19
blitzkrieg766ahhh20:19
blitzkrieg766ok20:19
swblitzkrieg766: there used to be an 'admin' group, but that is now 'sudo' if I remember correctly. someone else will confirm20:19
swI remember something along those lines, anyway ...20:20
=== bastidra1or is now known as bastidrazor
jamespagestgraber, I think you are right - as I got no response from the original reporter....20:31
jamespageI'm going to 'Won't Fix' it20:32
stgraberthanks20:32
hallynstgraber: pushed to your tree20:35
hallynstgraber: for get_cgroup_item (live values), it might be best to use libcgroup.  hope you're in no hurry, if you are shout.20:35
hallyni also assume you're happy with your python clone for now.  again shout if not20:36
=== sw is now known as ws
=== ws is now known as sw
stgraberhallyn: yeah, get_cgroup_item isn't high priority, neither is clone() as these should be fairly easy to implement in python (well, clone was at least)20:38
hallynstgraber: wonder how bad it woudl taste to have liblxc link against libcgroup to reuse cgget/cgset.20:39
hallynbut, worry about that later.20:39
stgraberhallyn: AFAICT libcgroup1 doesn't depend on anything other than libc so it should be a cheap dependency to add to lxc20:41
=== nxvl_ is now known as nxvl
hallynstgraber: now that libcgroup doesn't introduce its upstart jobs and daemons, yes20:43
jMCgbyoby-enable enables stuff in my homedirectory, which isn't so nice, because my homedir is on NFS...20:44
stgraberhallyn: daemons and upstart jobs that's libcgroup-bin right? we just want libcgroup1, we don't need libcgroup-bin in lxc20:45
stgraberhallyn: testing on 12.04, libcgroup1 installs fine and doesn't pull libcgroup-bin, it only contains the library (/lib/libcgroup.so.1.0.37)20:46
hallynstgraber: oh yeah.  i was first thinking of the 'cgget' and 'cgset' binaries, for use by python.  but yeah for the c lib i wouldn't need that.21:03
stgraberhallyn: oh right, yeah, for python I'd probably just parse the cgroupfs, I don't like the idea of depending on libcgroup-bin (especially as most of my test machines are 12.04 ;))21:04
stgraberjamespage: should bug 920197 be assigned to zul? (for the swift task)21:06
uvirtbot`Launchpad bug 920197 in swift "[SRU] webob last stable version 1.1.1 response header bug" [Undecided,Confirmed] https://launchpad.net/bugs/92019721:06
hallynjdstrand: hey.  looking at bug 1015154.  it looks to me like 'fixing' that requires basically giving up on restricting libvirt-qemu at all?21:14
uvirtbot`Launchpad bug 1015154 in libvirt "virt-aa-helper refuses to create unix socket for a serial port" [Undecided,New] https://launchpad.net/bugs/101515421:14
jdstrandhallyn: why do you say that? virt-aa-helper 'just' needs to be made aware of the xml and add the path to /etc/apparmor.d/libvirt/libvirt-*.files21:17
jdstrandjust like we do with the others21:18
hallynjdstrand: oh.  yeah.21:18
jdstrandit shouldn't be hard to do (thought it isn't something I can do anytime soon (vacation coming up))21:19
jdstrands/thought/though/21:19
hallynjdstrand: great, thanks.  No I was just thinking wrongly.  Will mark it confirmed/med21:20
jdstrandcool21:20
hallynstgraber: for bug 1013549, we really should get the one-line patch from the description into quantal next time we update21:21
uvirtbot`Launchpad bug 1013549 in lxc "lxc-clone fails for xfs fs on lvm" [Medium,Triaged] https://launchpad.net/bugs/101354921:21
hallynhm, well i guess we can't take it as is, but...21:21
=== cpg is now known as cpg|away
hallynlemme just send a patch upstream for now21:21
stgraberhallyn: bug 974584 is targeted for 12.04.1 but not assigned to someone, are you the one working on it?21:39
uvirtbot`Launchpad bug 974584 in lxc "Semaphores cannot be created in lxc container" [High,Fix released] https://launchpad.net/bugs/97458421:39
hallynstgraber: no.  it's fixed in debian.  nothing for me to do21:40
hallynstgraber: (see my last commen tin the bug)21:40
stgraberhallyn: who's taking care of merging the package from Debian, cherry pick the fix and push the SRU to proposed?21:41
hallynstgraber: no idea, i was hoping slangasek would respond21:42
hallynstgraber: i can give them a shot but dont' have upload rights to that one21:43
hallynalso there is a pretty wide ubuntu delta, which is intimitading21:43
stgraberhallyn: ok, I'll assign to canonical-foundations and bring it up at our next meeting21:45
jamespagestgraber, if you don't get a response on bug 993249 this week I'm going to steal it - its a ridiculously easy and low impact fix21:45
uvirtbot`Launchpad bug 993249 in activemq "[SRU] activemq fails to start on Ubuntu 12.04" [Wishlist,Fix released] https://launchpad.net/bugs/99324921:45
hallynstgraber: thanks.  if you *prefer* to assign it to me i'll try it on monday.21:46
stgraberjamespage: steal all the bugs you want, I certainly won't complain :)21:46
wedgiei've got 'up route add -net 10.0.0.0/8 gw 10.0.0.1' in /etc/network/interfaces under the static config for the interface that has that gateway, but when i restart networking (or reboot the server) the route doesn't appear. Where did i go wrong?21:52
wedgiepretty vanilla install of 12.04 server21:52
smoserhallyn, around ?21:59
hallynsmoser: partly (only to d/l sles 10 for a qemu bug reproduce - so laggy network)  what's up?22:05
smoseri boot an instance22:05
smoserput eth0 on a bridge22:05
smoserthen try to run a kvm with tap attached to that bridge.22:05
smoserusing http://smoser.brickies.net/git/?p=tildabin.git;a=blob;f=xkvm;hb=HEAD22:06
smoseri'm trying to network boot off of a tftpd that is running in the host22:06
smoserwhere host here means instance22:06
smoser:)22:06
smoserand immediately it locks up22:07
smoserie, networking dies. reboot brings it back.22:07
hallynsmoser: are you on q?22:07
smoserthat was on q, yes22:07
smoserbut i assume i'm just doing something stupid22:07
hallynsmoser: yeah, come to think of it, maybe22:08
hallynsmoser: i'm pretty sure the dhcp request goes to your 'host' dhcp server, which messes you up22:08
hallynsmoser: how about creating a br1, starting a dhcp server in a container on there,22:08
hallynand then net-booting the kvm instance from that bridge?22:08
smoserthats actually a good solution i think22:09
smoserbasically, what i was *trying* to do was:22:09
smoser * boot instance22:09
smoser * apt-get install maas22:09
smoser * kvm ....22:09
smosersuch that the kvm would pxe boot from the maas server on that system22:09
smoser(and generally look like a new system to maas)22:10
smoserso i think your suggestion of doing the 'apt-get install  maas' inside a lxc container  is quite reasonable.22:10
hallynsmoser: yeah so i think something like http://paste.ubuntu.com/1088856/22:11
hallyn(you can just 'lxc-console -n maasserv' to install maas and get the ip address)22:11
smoserdoes traffic get out of that network?22:12
hallynsmoser: no22:12
smoserhm..22:12
smoseri would kind of need it to (nat would be fine)22:12
hallynsmoser: you can add a second nic on br0 in the container22:12
smoserie, to get to the archive.22:12
hallyn(or lxcbr0)22:12
adam_gzul: 'round?22:13
hallynsmoser: come to think of it, nat won't forward dhcp right?  (i could be wrong)  if so, then you could just use lxcbr0 as usual and hook kvm into that22:13
smoserhallyn, right.22:13
hallynsmoser: do you only need the open net in the maas container, not on the nodes?22:13
smoserbut who answers the dhcp on the lxcbr0 ?22:13
hallynyour container22:13
smoserbut who for the first?22:13
smoserclearly my container doesn't answer for itself, does it?22:14
hallynoh.22:14
hallynyeah, we have a dnsmasq running for it22:14
smoserhm..22:15
smoseri have to play with this.22:15
hallynsmoser: coudl try http://paste.ubuntu.com/1088862/22:15
smoserwhat does the nat?22:15
hallyniptables22:15
hallyn/etc/init/lxc-net.conf22:15
hallynsmoser: but using http://paste.ubuntu.com/1088862/ you'd have lxcbr0 available to the container, while kvm insances would only have br1 to the container for dhcp22:16
hallynso the maas container would have to be set up to use eth1 for guests22:16
smoserhallyn, ok. i'll have to play with this. thanks though.22:16
hallynsmoser: np.  i may have to try it myself, sounds useful.22:17
smoserhallyn, so i could just set up a bridge, put the maas lxc container in it.22:19
smoserand have it serv dhcp, telling stuff the default route is the "host"22:19
smoseror whatever.22:19
smoserbasically get nat that way22:19
smoserright?22:19
smoserhm.. hallyn ^22:22
wedgielooks like the answer was to move it above the "dns-nameservers" and "dns-search" parameters22:24
rocketsI just did a ufw default deny incoming, and then ufw allow from MYIPADDRESS22:54
rocketsand everybody remote can still ping/reach the server22:54
hallynsmoser: sorry, my irc window ssh session apparently locked up and it just looked like noone was talking22:55
hallynsmoser: but no, i don't think what you're saying is quite wha ti'ms aying22:55
hallyni'm saying, have the maas container have two nics: one on either br0 bridged with eth0, or on lxcbr0 (which is nat'ed to eth0)22:55
hallynthe other nic on br1, which is private22:55
hallynthen run your kvm VMs with tap on br1 only22:56
* hallyn out22:58
hallynsmoser: (ping if that wasn't clear)22:58
=== Lcawte is now known as Lcawte|Away
smoserhallyn, hm..23:02
smoserbut why do i need the complexity23:02
=== cpg|away is now known as cpg
=== pdtpatrick_ is now known as pdtpatrick
smoserhallyn, well, if you return, this seems like it should work for what i was wanting.23:22
smoser i create a bridge (using libvirt for simplicity... yes, i think that sounds funny too)23:22
smoserbut anyway: http://paste.ubuntu.com/1088955/23:22
smoserthen i would boot a lxc container for my maas server on that bridge.23:23
smoserit woudl have to statically configure its networking including dns.  the default route and gateway would be 10.0.5.1.23:25
smoserthen, it can provide the dhcp server on that network and tell others to use 10.0.5.1 as the default route and even as dns. (libvirt runs a caching only dnsmasq for me there).23:26

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