/srv/irclogs.ubuntu.com/2012/03/22/#ubuntu-server.txt

adam_ghallyn: http://paste.ubuntu.com/89447900:10
adam_ghallyn: any ideas?00:10
adam_gDaviey: http://paste.ubuntu.com/894473/ that testing override look reasonable?00:16
hallynadam_g: no, that shouldn't be happening...00:22
hallynDaviey: bug 89123200:22
uvirtbotLaunchpad bug 891232 in numactl "[MIR] numactl" [Undecided,Fix released] https://launchpad.net/bugs/89123200:22
hallynadam_g: is your system uptodate?  i'll try a fresh instance...00:23
hallynadam_g: unless you have other files under /etc/apparmor.d/lxc that you created...00:23
adam_ghallyn: strange, this happened on one of the CI nodes, the same version installed fine across all of the other nodes, though.00:24
hallynadam_g: disconcerting00:24
hallynare they all using hte same mirror?00:24
adam_gi know juju is the one installing lxc, wonder if its doing anything strange00:24
Davieyhallyn: ok, thanks.. i bumped the status back, which makes it show on the tracking page00:25
Davieyadam_g: looks good, not tested it.. It's a shame there isn't a helper in the upstream src00:26
hallynadam_g: is that instance still up?00:26
hallynadam_g: if so, can you pastebin /etc/apparmor.d/lxc-container and /etc/apparmor.d/* ?00:27
adam_ghallyn: sure one sec00:28
adam_gDaviey: cool. seems to work just fine with jenkins builds00:29
hallyni've gotta run out actually, backin awhile00:29
Davieyhallyn: o/00:31
adam_ghallyn: gonna tear down and redeploy, see if its a fluke. here is /etc/apparmor.d/ for you if interested, http://people.canonical.com/~agandelman/apparmor.tar00:35
hallynadam_g: thx01:00
hallynadam_g: really if it happens again, probably best to file a bug against lxc and mark it as also affecting apparmor (bc the files look fine, so it sounds like a transient error in the apparmor_parser)01:02
adam_ghallyn: ill keep an eye out for it, so far so good01:03
stgraberhallyn: http://people.canonical.com/~ubuntu-archive/livefs-build-logs/precise/edubuntu-dvd/20120322/livecd-20120322-i386.out01:06
stgraberhallyn: Edubuntu DVD build failed because of the new lxc's postinst01:06
stgraberhallyn: http://paste.ubuntu.com/894524/ is the important part01:07
hallynstgraber: so apparmor is installed but not active?  why couldn't it find the fs?01:09
hallynmaybe i'm supposed to use /lib/init/apparmor-profile-load01:09
hallynjdstrand: in a postinst, should i be using /lib/init/apparmor-profile-load in place of apparmor_parser?01:10
hallynjjohansen: ^01:10
stgraberhallyn: well, that's in a live-build environment so a chroot in a chroot on an older kernel :)01:11
stgraberhallyn: apparmor is indeed insalled in that chroot but certainly doesn't match the version in the kernel (probably 2.6.24) and no services are running as it's a chroot using policy-rc.d to prevent anything from starting01:12
stgraberso not your everyday use case except it's what we have on the CD builders and so it needs fixing before we can get dailies again :)01:12
hallynstgraber: using apparmor-profile-load would check for the fs, but not kernel compatibility.  so not sure that'd be 100% fix01:13
hallynwill push a fix as soon as i get guidance :)01:13
hallynstgraber: open a bug?01:14
hallynnote i won't be in tomorrow01:14
hallynah01:15
hallynmaybe i can check /sys/kernel/security/apparmor/features/mount/01:15
hallynstgraber: is it possible for you to walk into such a chroot and see if /sys/kernel/security/apparmor/features/mount/ exists ?01:15
stgraberhallyn: no, these builds run on a livefs builder in the DC and are flushed immediately when they fail01:16
hallynstgraber: will they try to build+run a container?01:16
stgraberhallyn: I'll have a quick look through the log to see if I can find some information on /sys/kernel/security/apparmor/features/mount/01:17
stgraberhallyn: my guess is that nothing in /proc or /sys is mounted01:18
hallynstgraber: ok i'll do the checks by hand.  i also will update lxc-start bc i suspect it'll break you as well.01:19
stgraberhallyn: hmm, actually based on the logs /proc and /sys are mounted, no mention of securityfs though, so probably not mounted (unless some packages do it)01:19
hallynstgraber: http://paste.ubuntu.com/894544/ is for the postinst part01:31
hallynI'm going to add a patch to start.c before pushing01:31
hallynstgraber: opinion q01:32
hallynstgraber: if a transition to container polciy fails, should we just ignore it?01:33
uvirtbotNew bug: #961824 in lxc (universe) "Edubuntu DVD livefs builds failed because of lxc failing to install" [Undecided,New] https://launchpad.net/bugs/96182401:33
hallynah01:33
stgraberhallyn: the problem isn't "on livecd" it's "on the livecd builder"01:36
stgraberhallyn: I think running lxc on the livecd will probably work fine01:36
hallynstgraber: the reason i'm worried is that it *looks* as though apparmor policies don'et get loaded on livecd01:37
hallyn(look at /lib/init/apparmor-profile-load)01:37
hallynsoi want to quickly check, before we start loading the container, if apparmor module is loaded and we're in lxc-start profile, and skip the transition if not01:38
stgraberhallyn: ah, indeed, I guess no apparmor in the live environment was to make things faster01:38
hallynwell ok maybe i should push this fix, so you can get it built, and then we can fix lxc-on-livecd next (and try to do it properly)01:39
stgraberhallyn: running /lib/init/apparmor-profile-load would make sense as we'd avoid some code duplication in the process, unless it's bad to do that for some reason01:39
hallynit still doesn't check for mount support, so it's not really enough01:39
hallyninf act i guess the upstart job should be fixed to check for that too01:40
hallynoh, but we can't01:41
hallyncan't be sure securityfs is mounted01:41
hallynstgraber: heh i was being dense.  so yes switching to that, as per http://paste.ubuntu.com/894559/01:45
stgraberhallyn: looks good01:47
jjohansenhallyn: hrmm I honestly don't know, I will have to defer to jdstrand, I still haven't dug into the debian packaging end of things. Its one of those perpetual I look at it this cycle ... things01:53
hallynjjohansen: I'm feeling pretty good about the patch i'm whipping up :)01:54
hallynjjohansen: will you be around in a few mins to proofread?01:54
jjohansenhallyn, stgraber: apparmor was pulled from the livecd environment ages ago because of unionfs issues actutally, and it was never reinstated because it wasn't considered to be important there01:55
jjohansenhallyn: yeah I'll be around, I just got back from dinner01:55
hallynjjohansen: that's funny, bc i thought it was a regression when overlayfs didn't work with it.  But now I see why it was never found :)  good good01:55
jjohansenhallyn: actually it is a regression, it works with aufs, and unionfs.  I know why its not working with overlayfs but get a proper fix (not attach_disconnected) just isn't going to happen this cycle.01:57
=== Ursinha is now known as Ursinha-away
jjohansenthe unionfs bug is back when I was at Novell and Ubuntu tried switching to unionfs 2.1 instead of 1.4, it was buggy and crashed and they endup pull AA to try fixing it and then reverting to unionfs 1.4 in the end but not restoring AA01:58
hallynjjohansen: oh noes.  what the heck do the contents of /sys/modules/apparmor/enabled mean?01:58
hallynwhy is it 10 instead of 101:59
jjohansenhallyn: 10? It should be Y02:00
hallynhmm, when i read it as %c it's 'm'02:00
hallyngah02:00
hallynsorry.  my bad02:01
hallynrunlevel 2 is entered AFTER rc-sysinit right?02:04
hallynjjohansen: http://paste.ubuntu.com/894576/  is what I'm looking at...02:10
hallynjjohansen: pls critique :)02:10
twbSYSF sounds like its missing an -S02:11
hallynoh is that why it looked funny :)02:12
twbWhy are you binding it to a variable if you only evaluate the variable once?02:12
hallyn<shrug> to keep the condition easy to read?02:12
hallynand under 80 cols02:12
hallynover-conditioned02:12
twbI have a coworker who does things like02:13
twbPATH_TO_ETC_EXPORTS=/etc/exports02:13
hallyn:)02:14
twbFWIW, type is not SUS portable, nor is which.  But Debian is (AFAIK) guaranteed to have both.  I would generally use which on Debian because that seems to be the convention.02:14
hallyni suppose if it's going to be dereference tons of times...02:14
twb(I'm assuming the postinst is #!/bin/sh and not #!/bin/bash02:14
hallyntwb: oh, i always used which in the past,02:15
twbIt's merely a style issue02:15
hallynthen saw type, and thought "huh, must be som ereason they're using that"02:15
twbIf the existing code is already using type you might as well keep to that convention02:16
twbTypo:  94 ++              INFO("apparmor not emabled");02:17
hallynd'oh, landed my var decl inside a long #else02:17
hallynthanks02:17
twbDoes this affect both lxc-start and lxc-exec?  And if so, does it DTRT for both cases?02:17
twb(I'm looking at the patch part but it's beyond my expertise.)02:18
hallyntwb: they both use lxc_start() from start.c.  so it should, and seems to be here02:21
jjohansenhallyn: twb has caught more things than I did02:26
hallyntwb: ah, but, it doesn't02:26
hallynthe lxc-init wants to mount /proc and /sys.  it's not allowed to02:26
jjohansenhallyn: there is an  aa_is_enabled fn if you want, but your rolling your own is fine02:27
twbI WIN02:27
hallynjjohansen: d'oh!  i looked for a manpage but couldn't find anything like that02:28
twbparanoia strikes again02:28
hallynguess i only tried aa_enabled02:28
hallynjjohansen: i trust aa_is_enabled would be more robust?02:28
jjohansenhallyn: hrmm, sorry they really should be bread crumbs between the different man pages but that one seems to be missing02:28
hallynright i looked for 'see also' in the others :)02:29
jjohansenhallyn: heh, it does much the same thing but includes a search of mount points in case things get mounted else where02:29
hallynhow often do they get mounted elsewhere?02:30
hallynmy inclination is, if they're mounted elsewhere, we want to disable aa for containers... but not sure02:30
jjohansenbut I think most of the scripts would break if things weren't mounted at /sys02:30
jjohansenhallyn: call it a hold over from by gone times before securityfs02:30
jjohansenhallyn: like I said rolling your own is fine02:31
jjohansenI really don't see a need to change it02:31
jjohansenhallyn: I guess it does let you detect a little more about how/why apparmor is disabled02:32
jjohanseneg. available but disabled at boot02:32
hallynstgraber: I really think we'll want to allow containers to mount proc ->/proc and sys -> /sys just to reduce # of complaints02:32
stgraberhallyn: yeah, I didn't do it because it worked without it02:33
stgraberhallyn: but it's safe to allow so no problem with that02:33
hallynstgraber: the only reason i'm hesitating is they'll just want to mount devpts next (and that they cant)02:34
stgraberhallyn: you could add a generic "deny mount fstype=devpts," with a comment explaining why we never want it02:35
hallynall right i'm adding it02:35
hallyngood idea (long as it doesn't confuse apparmor)02:35
stgraberit'll silence anything trying to do it and if they look at the profile they'll see why02:35
jjohansenstgraber, hallyn: so I working through the fixes for change_onexec, and the deny mount bug.  They should be in tomorrows up load02:35
uvirtbotNew bug: #961839 in postfix (main) "FFe - Sync latest postfix release (2.9) from Debian" [Wishlist,Triaged] https://launchpad.net/bugs/96183902:36
stgraberjjohansen: great, thanks!02:36
jjohansenhallyn: as well as the getcon fixes I have02:36
jjohansenstgraber: there is a small syntactic change to the mount rules02:37
stgraberjjohansen: ah?02:37
jjohansenthe options bit is picking up another keyword02:37
hallynwait - what is the deny mount bug?02:37
hallynwill i hit it if i'm adding 'deny mount fstype=devpts" ?02:38
stgraberhallyn: "deny mount..." won't match with the current apparmor02:38
jjohansenhallyn: it doesn't always result in the correct denial at the moment, depending on the options being set02:38
hallynwill it deny a different mount potentially, or just not deny it?02:38
hallynthe latter's ok, the former is bad :)02:38
stgrabernot that I could see02:38
jjohansenhallyn: no that should not cause a problem02:39
hallyncool02:39
hallynok, testing http://people.canonical.com/~serge/debdiff02:39
jjohansenstgraber: so you can do option=(X, Y) that means this rule requires those options be set to match02:39
jjohansenand you can do02:39
jjohansen  options in (X, Y)02:40
jjohansenmeaning any of the options can be set02:40
hallyni dn't envy the person who's going to document that :)02:40
jjohansenheh, no. Its ugly, we kicked around a lot of different ways to express it, and decided that with the current time frame ...02:41
stgraberjjohansen: oh, that's nice, the "options in (a, b)" will definitely be useful for stuff like devpts02:42
jjohansenstgraber: yeah, it has its uses02:43
jjohansenespecially around writing deny mount options in (X, Y, Z)02:43
jjohansenhallyn, stgraber: we will be looking at revising the syntax for the next release, so any improvements you can think of are more than welcome02:44
hallynpls keep me posted if it's going to require lxc chagnes to keep up :)02:44
hallynd'oh.  stgraber: another thing occurred to me- would be good to get apport info into lxc02:45
jjohansenhallyn: we plan to keep it backwards compatible, so changes should not be required but if you have something you would like I would like to hear about it02:45
jjohansenthe current syntax is an uncomfortable compromise02:46
hallynwill think about it, thanks02:50
hallyn(long drive tomororw, time to think :)02:50
hallynok i think i'm pushing02:50
stgraberdebdiff looked good, didn't look the C change too closely though but I'm sure you tested it so it probably won't be any worse at least ;)02:51
hallynand *that* should be my last upload before this freeze :)02:52
hallynnow i can go back to fretting over how brittle libvirt and qemu feel02:53
stgraberI'll do some LXC tests tomorrow now that the installer sprint is over, if I find something broken I'll fix it02:54
hallyngreat, thanks02:55
hallynhm, so server guide string freeze is tomorrow02:55
hallynso i have tonight to get in an update to the lxc section about apparmor02:55
stgraberlxc is only affected by beta2 freeze because it's part of Edubuntu but as I'm the product manager for Edubuntu I should be able to get something trough even post-freeze time if needed (as long as I have time to test the new images)02:56
stgraberI believe someone asked for a later freeze time of the server guide, hold on a sec I'll dig a link02:56
hallynthat'd be great02:56
hallyn(i suppose we can always just put that documentation on the wiki and integrate into server guide later)02:57
stgraberhallyn: https://lists.ubuntu.com/archives/ubuntu-release/2012-March/000991.html02:57
hallynfor middle-of-the-night driving, it helps staying awake to think through a paper or docs to write02:57
hallyncool, thanks.  that also gives me time to review the libvirt part02:58
hallyngood night, see you all friday03:15
=== nonotza_ is now known as nonotza
=== himcesjf1 is now known as himcesjf
uvirtbotNew bug: #961115 in update-inetd (main) "update-inetd failed due missing File/Temp.pm during samba upgrade" [Undecided,New] https://launchpad.net/bugs/96111507:21
smbsmoser, No, smb usually has no ideas after sensible working hours and even more on Wednesdays. ;)07:55
koolhead11hi all08:20
=== himcesjf1 is now known as himcesjf
ZnowIve followed the guide on ubuntu, for setting up Samba fileshare - so I can map a drive on my windows machine to the ubuntu virtual machine. I can ping the ubuntu machine, but cant map the drive, it says network error. does the ubuntu virtual machine need a static ip address for this?08:57
uksysadminhey guys08:59
uksysadmingreat work on openstack btw - I've got Ubuntu 12.04 running Essex: Nova, Glance, Keystone, Horizon and Swift08:59
uksysadminwanted to make sure that your efforts are not going unnoticed08:59
koolhead11uksysadmin:  :D09:03
ejvopenstack?09:15
ejvinteresting09:16
koolhead11ejv: i was execting "O WAO" reaction TBH :)09:18
koolhead11*expecting09:18
Znowmy top bar with menues wont show on 11.10???09:23
Znowhow can I get it to show?09:23
* koolhead11 points Znow to #ubuntu09:24
thevincihow do i install third party drivers from the command line in ubuntu server?09:29
thevinciI need my broadcom wireless driver to work09:29
jamespagemorning all09:36
ejvsorry i haven't drank the cloud koolaid just yet koolhead11 ;)09:39
koolhead11ejv: :P09:39
blizzkidHi all. might not be the most appropriate chan to ask in, but has the UCP programme been cancelled? I still find some info about it, but seems outdated...09:49
jamespagebencer_, binary packages just got accepted - should appear in the archive in the next couple of hours09:53
rbasakthevinci: the jockey-common package will give you a jockey-text command which I think is the equivalent of the GUI tool for proprietary drivers on the desktop, but I've never used it (I avoid that kind of hardware). That might be a starting point. Or you could do whatever jockey does manually - perhaps there's a package in the archive for your hardware?09:57
lynxmanmorning o/09:59
jamespagejodh, whats the recommended way to disable an upstart configuration these days?10:01
jodhjamespage: http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting10:02
jodhjamespage: specifically, http://upstart.ubuntu.com/cookbook/#override-files10:02
jamespagejodh, was just reading that - thanks for the confirmation10:02
=== fenris is now known as Guest95871
uvirtbotNew bug: #962001 in autofs5 (main) "Nfs mount hangs while automounting home" [Undecided,New] https://launchpad.net/bugs/96200110:14
jamespagejodh, are you around for a question about wait-for-state?10:26
jodhjamespage: that's one of SpamapSs, but you can try :)10:27
jamespagejodh, OK - just let me frame my question10:31
jamespagejodh, actually I think I just answered by own question - I;m looking at a bug in the autofs startup10:35
jodhjamespage: ok. I've raised bug 962047 as wait-for-state needs to be documented both in a man page and the cookbook IMHO.10:38
uvirtbotLaunchpad bug 962047 in upstart "document wait-for-state" [Undecided,New] https://launchpad.net/bugs/96204710:38
jamespagejodh, I think by default wait-for-state waits for the 'started' event - which stops autofs restart if ypbind is installed and already running10:38
jamespageI think that if I target WAIT_STATE=running that should do the trick10:39
freaky_hi, i'm upgrading 8.04 lts to 10.04 lts (do-release-upgrade). It's near the end I think, it just restarted PowerDNS and now nothing is happening... haven't seen output in 10 mins or something any ideas?10:39
uksysadminhello all11:06
uksysadminI've just been in a meeting with some of our folks over RabbitMQ HA options... what is the best resource, person to have a chat to pick the brains on what we want to achieve?11:07
* koolhead11 points uksysadmin to lynxman :P11:07
* lynxman feels pointed at11:08
* uksysadmin will get one of our guys to ping lynxman if he doesn't mind...11:08
lynxmanuksysadmin: it's fine :)11:09
uksysadminlynxman: best coming from them on what they want to set up, what they have setup and what challenges they came up against.11:09
uksysadminthey're not on irc atm, but I'll send them you're way when they are.11:09
koolhead11uksysadmin: BTW lynxman is in UK too.11:10
* koolhead11 hides11:10
uksysadminlol11:11
uksysadminhelps with timezones :)11:11
lynxmanuksysadmin: it does ;)11:12
* koolhead11 needs extra beer from lynxman when he meets 4 that11:13
aljosaanybody knows if there is a deb package for java 1.5 sdk available somewhere that can be used on ubuntu 12.04?11:19
freaky_is there any way to prevent apparmor from returning? Just ran a apt-get dist-upgrade and in reinstalled (and started) apparmor11:20
freaky_apparmor screws plesk over badly unfortunately11:20
=== jtv is now known as mup
=== mup is now known as jtv
thevinciI HATE BROADCOM DRIVERS!12:08
thevinciCan anyone help me figure out hoe to get my ubuntu server laptop connected to the wireless internet?12:08
ikoniathevinci: checkout the desktop guide, the process is the same12:09
thevincifrom command line?12:09
thevinciI installed b43-fwcutter from the desktop cd12:10
thevincibut it's saying i need other firmware drivers that i can't find anywhere...12:10
=== Ursinha-away is now known as Ursinha
Davieyuksysadmin: Glad to hear things are working out for you :)12:18
Davieyuksysadmin: I think some of the frustrations you have been feeling has been lack of doc's, meaning that often the wrong this has been done by the end user.12:18
DavieyHopefully, by release - this will be easier.12:18
ednolivershey all. does anyone know the recommended approach to upgrading apache in 10.04 LTS? i thought there'd be a backport but i can't find one12:18
uksysadminDaviey: I think so too12:19
uksysadminkeystone -> redux didn't help12:19
Davieyuksysadmin: no.. that was more painful than we hoped.12:21
Davieyuksysadmin: It's so easy to go down ratholes with this :/12:21
uksysadminDaviey: indeed!12:21
uksysadminBUT - the upshot - OpenStack is alive and kicking on 12.04 - that's some achievement.12:22
Davieyuksysadmin: Great job!12:22
Davieyuksysadmin: What is your install method?12:22
uksysadminclosing eyes and praying12:23
uksysadmin;-)12:23
uksysadminat the mo - scripted apt-get installation12:24
uksysadminhoping to get some Canonical love though for when we do this for real though12:24
Davieyuksysadmin: sounds great :)12:24
Davieyuksysadmin: Have you documented your workflow?12:25
uksysadminif I was a developer, I'd say yes ;-) ... its work in progress12:26
* uksysadmin goes to get free pizza12:26
Davieyuksysadmin: Can i have free pizza?12:27
zulDaviey: i saw the keystone ftbfs this morning once of the requirements is to have a working MIR however in order to test the keystone that failed you need to have swift installed and there is a fix for it proposed but it uses a git checkout to get swift12:28
Davieyzul: linky?12:28
Davieyto the MP12:29
zuljust a sec12:29
zulhttps://review.openstack.org/#change,559512:29
smoserkirkland, around ?12:57
smoserlynxman, ?12:58
=== smb` is now known as smb
uvirtbotNew bug: #962150 in openvswitch (universe) "openvswitch-datapath-dkms neads linux-headers" [Undecided,New] https://launchpad.net/bugs/96215013:01
smoserlynxman, well, when you see this..13:02
smoserhttp://bazaar.launchpad.net/~orchestra/orchestra/trunk/revision/6113:02
smoserthat seems like you added the rsyslog stuff.13:02
smoserand i'm trying to move it to maas13:02
=== bladernr_afk is now known as bladernr_
zulDaviey: so you dont like the polling?13:16
Davieyzul: if poll doesn't scale to the regularity of the baud of the serial console being reasonabnle to fill up the disk :)13:19
DavieyOTP btw13:19
zulDaviey: k so daemon then?13:19
Davieysmoser: http://bazaar.launchpad.net/~orchestra/orchestra/trunk/revision/61/monitoring-server/etc/rsyslog.d/99-orchestra.conf <-- dump to disk13:20
smoserDaviey, yes, i just had some questoins about that.13:20
smoseri'm thinking i'm not going to bother with gnutls at the moment.13:20
smoserits boot logging only13:20
Davieysmoser: agreed13:20
smoserso, mark this place in your irc history13:20
smoserso you can come back and blame me13:20
smoser:)13:20
Daviey:D13:20
smoserthe thing htat sucks here.13:21
smoseri think we're baically going to open up a udb listening rsyslog server13:21
smoserudp13:21
smoserthat will log whatever traffic anyone wants13:21
smoserand fill /var/log appropriately13:22
Davieysmoser: notice the paths?13:23
Davieydifferent files for each node13:23
smoserso?13:23
smoserdifferent files for each attacker?13:24
smoserwell thats convieneint13:24
Davieysmoser: make sure it's not dependant on hostname.. as it can chane easily.13:24
Davieychange*13:24
Davieysmoser: just pointing it out13:24
smosernot dependant on hostname ?13:24
smoserwhy?13:24
smoserits useful13:24
smoseri was just putting everything into13:24
smoser /var/log/maas/rsyslog/OSTNAME%/%$YEAR%/%$MONTH%/%$DAY%/messages13:24
smoser(no need to separate, i dont think)13:25
smoserso this is what i've got right now13:27
smoser http://paste.ubuntu.com/895081/13:27
Davieysmoser: HOSTNAME isn't stable13:28
zuli dont like the hostname/$year/$month/$day/meesages13:28
Davieythere needs to be another metric13:28
smoserwhy?13:28
Davieysmoser: it can change too easily..13:28
smoserso?13:28
smoserare you trying to be safe against an attack ?13:28
Davieysmoser: i'd rather it used the UUID :)13:29
Davieysmoser: no, just consistent logging locations for each node13:29
Davieysorry for being sparse, OTP13:29
smoserhttp://www.rsyslog.com/doc/property_replacer.html13:30
smoserthats what we can use13:30
smoserwithout modifying the syslog support in the installer to read a kernel parameter that is passed (UUID)13:30
smosermaybe fromhost-ip ?13:31
Davieysmoser: UUID is certainly more interesting.. but right.. do what you think is best :)13:34
smoseruuid is also a helluva lot more difficult to find13:34
smoseroh look, host 972035b7-f428-4127-8f0c-582d948c6a79 logged a message13:35
smoserlet me go to that host13:35
lynxmansmoser: around!13:37
smoserwell, see my pastebin above.13:37
smoserdo you think that is a sane rsyslog config ?13:38
lynxmansmoser: yeah, rsyslog according to the MaaS design (let me know if somehting has changed) should only be installer logs13:38
lynxmanDaviey: we're still set on that right?13:38
Davieyyes please, for now.13:38
smoserlynxman, that is correct.13:38
lynxmansmoser: it looks like a sane rsyslog conf13:39
lynxmansmoser: although messages will filter, you still need something else13:39
smoserk.13:39
smosercurious13:39
lynxmansmoser: *looks around*13:39
smoserwhy are there 2 ?13:39
smoserwhy did orchesta logging server have 2 configs13:40
Davieyinstall time, and long term.13:40
Daviey?13:40
lynxmansmoser: it has one per client and one to the server, we didn't fully cover install time13:41
lynxmansmoser, Daviey: We just need to know the install time channel and divide that into local and not local, then filter it from the rest, should do13:41
lynxmansmoser: otherwise any message to let's say user.* will go both to local and remote file locatios, the filter is not exclusive and needs to be explicitly filtered out13:43
lynxmansmoser: I'll be around in case I can be of help :)13:43
smoserlynxman, right now, boot logs go both places13:43
smoserin orchestra13:43
smoserthey go to syslog and to the remote13:43
smoserwere you saying that was not intended ?13:43
smoseranyone want to test something for me and maybe open a bug ?13:43
lynxmansmoser: that was not intended indeed :)13:44
smoseri am under the impression that virtio net and possibly virtio disk are considerably slower in the guest13:44
smoserin precise compared to lucid13:44
lynxmansmoser: can do later today, right now I'm heads down doing a juju openstack install13:44
smoseri would like someone to (with precise host) boot kvm guests of both and prove me wrong or right.13:44
lynxmansmoser: could do :)13:45
lynxmansmoser: as soon as I got this hammered I'll be glad to13:45
smoser(on canonistack, it seems to me that i can hit almost 50M/s writing to /dev/null in lucid, but only half that or worse  in precise)13:45
smoserlynxman, http://paste.ubuntu.com/895099/13:46
smoserthat is how you stop messages from going to the default location13:46
smbhallyn, So it seems bug 929626 which I thought was virt-manager might actually be a libvirt issue. mdeslaur found a rh bugilla with a good lead: https://bugzilla.redhat.com/show_bug.cgi?id=74600713:48
uvirtbotLaunchpad bug 929626 in libvirt "virt-manager misses xen guests shutting down" [Undecided,Confirmed] https://launchpad.net/bugs/92962613:48
uvirtbotbugzilla.redhat.com bug 746007 in libvirt "After using 'shutdown' on a xen guest, virt-manager still reports guest is running" [Unspecified,Assigned]13:48
smbhallyn, Would you know better which area needs inspection when an acquired object seems not to get certain updates?13:50
lynxmansmoser: I know, the difference is that you have messages coming from the same syslog channels, so you need to define both remote and local and then filter out :)13:56
smoserlynxman, so you're syaing that the same does not work ?13:57
smoseri just assumed i could put the & ~ after the last matching condition13:58
smoserand it would drop it13:58
smoserbasically i though "& ~" meant "drop this message if the last condition was true"13:58
smoserso...13:58
smoser http://paste.ubuntu.com/895109/13:58
lynxmansmoser: as far as I know you're dropping the channel, although that is a filtering rule...14:00
lynxmansmoser: let's try that and see how it goes :)14:01
uvirtbotNew bug: #962189 in openvswitch (universe) "dkms module is not automatically rebuild when installing new linux-image package" [Undecided,New] https://launchpad.net/bugs/96218914:05
jamespagettx: around - have a question about milestone-proposed branches for https://github.com/openstack/*14:24
ttxjamespage: yes14:24
jamespagettx: coolio14:24
jamespagettx: so we have had a few issues in the Ubuntu OpenStack CI lab with FOLSOM opening for dev - most of which we have resolved by switching to the milestone-proposed branch14:25
jamespageI just wanted to understand what the Openstack approach to master/milestone-proposed branches was between now and release so I can update the test configurations correctly14:26
ttxSo the RCs will be generated in the milestone-proposed branches14:26
ttxat release time we'll cut stable/essex branches14:26
ttxand hand them to stable maintenance team14:26
jamespagettx: OK - that was what I expect to happen.14:27
ttxthe trick is everyone is not using mliestone-proposed branches yet14:27
ttxsince keystone is not RC1 yet14:27
jamespagettx: so I noticed14:27
ttxso you should actually use "milestone-proposed and master if not"14:27
jamespagettx: OK - thats what we have been doing14:27
ttxI hope keystone will be RC1 today14:28
jamespagettx: https://github.com/openstack/python-novaclient/branches is giving us a few issues as folsom has opened but no milestone-proposed?14:28
jamespagedoes this apply to core projects only or all projects?14:28
ttxhmmm14:29
ttxthere should be one14:29
ttxhttps://github.com/openstack/python-novaclient/tree/milestone-proposed14:30
ttxand there is ^14:30
ttxit wasn't committed to, though14:30
ttxsince novaclient didn't need Final=True pushed to it14:30
ttxso maybe it didn't trigger on your side14:30
=== jvdz_ is now known as jvdz
jamespagettx: hmm - showing my lack of git knowledge now - thanks for pointing that out14:32
jamespagettx: OK - think I'm all set now -thanks for the advice (see you in a couple of weeks!)14:35
ttxnp, see ya14:36
MRCracker2hi all, my ssh speed is too low how i can speed it up?14:38
MRCracker2not any idea?14:53
Matrix3000need help, this nfs mount in my fstab is causing boot to hang15:23
Matrix3000how can i make it timeout the nfs mount and continue booting in like 20 seconds15:23
Matrix3000or something instead of it just perm hanging15:23
ikoniawhy not make it an auto mount map15:24
ikoniawhy is it hanging ? why can't it mount at boot time ?15:24
Matrix3000cause, its offline right now15:24
Matrix3000lol15:24
Matrix3000it's an nfs mount that is under maintenance at the moment and it's not an essential mount15:25
Matrix3000just gives us some extra files15:25
ikoniastick an automount map in15:25
Matrix3000let me look that up15:25
Matrix3000cause i don't know where automap is15:25
ikoniahave a dig on "NFS automount map"15:26
ikoniayou'll get some idea of how to do it,15:26
ikoniaif you get stuck ask15:26
Matrix3000but you are saying using autofs will prevent a boot hang when the system cant connect to the nfs mount?15:32
Matrix3000nfs share I mean15:32
ikoniaMatrix3000: yes, as it doesn't mount it untilt it's called eg: something needs/wants it15:33
Matrix3000ok15:33
Kiallikonia, cant you just add the "nobootwait" flag to the fstab line?15:33
Kiallikonia / Matrix3000: http://askubuntu.com/questions/120/how-do-i-avoid-the-s-to-skip-message-on-boot15:34
Matrix3000that actually looks like an easier sollution as apache does use files on that mount15:35
Matrix3000for one of the sites15:35
Matrix3000but that site is down right now as expected15:35
ikoniaKiall: that would work too, good call15:38
Kiallikonia, Yea, when you use EC2, you learn about that option pretty quick ;)15:42
KiallThere's no console to press the 'S' for Skip etc15:42
ikoniait's a good suggestion, didn't think of it at all15:43
Matrix3000lol15:45
Matrix3000that would be terrible15:45
Matrix3000that's why i am not fan of ec215:45
Matrix3000but, EC2 is affordable and works for the most part15:45
Matrix3000wish it was like vCloud15:46
uvirtbotNew bug: #962262 in openssh (main) "package openssh-server 1:5.3p1-3ubuntu7 failed to install/upgrade: il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 1" [Undecided,New] https://launchpad.net/bugs/96226215:46
uvirtbotNew bug: #957682 in juju (universe) "juju crashed with IOError in write_sample(): [Errno 13] Permission denied: '/home/username/.juju/environments.yaml'" [Low,New] https://launchpad.net/bugs/95768216:02
tollandany idea why this request to httpd is waiting 20 secs to return;16:11
tollandhttp://pastebin.com/N3xq8SWg16:11
tolland(cross posted sorry, ignore the other one)16:11
Decepticonhi people16:11
Decepticongood day16:11
DecepticonI have ubuntu serve of 10.04 but i have problem with my sqladmin16:12
Decepticonthis is error: #2003 Cannot log in to the MySQL server16:12
Decepticonbut i have user and password fine!16:12
Decepticonplease help me please!!!...16:13
Decepticonhi people!16:14
tollandDecepticon: i would start by resetting the user/pass http://is.gd/7kL2vj16:18
Decepticontolland: ok! i´m check this16:19
Decepticonthanks16:19
tollandyou can use the show grants command once you have either reset the admin user, or dropped grants16:19
tollandto see what the server thinks of your user/pass16:20
Decepticontolland:  you are the maximun16:20
Decepticonthanks thanks16:20
Decepticonwueeeeeeeeeeeeeeeeeeeeeeeeeeeeee16:20
Decepticonthank you brother16:20
Decepticonjejejee ,)16:20
Decepticoni´m configure a server ubuntu 10.04 for my job16:21
Decepticonthanks16:21
tollandDecepticon: there is also a pretty good #mysql channel which might be more appropriate for service specific questions... there is a lot of mysql server admin types there16:23
brendandare there any known issues with running apport-collect on ubuntu-server?16:26
Decepticontuxbin:  thanks of, only mysql16:27
tjaaltonhallyn: hey, there's a new xserver-xorg-video-qxl on debian, do you think it would make sense to have in precise?16:50
tjaalton0.0.1716:50
adam_gzul: jamespage Daviey so keystone's test suite is not going to pass unless we patch swift and carry additional patches to test suites that use it, AFAICS16:52
jamespageadam_g, grrr16:52
zulthe swift /dev/log stuff?16:53
adam_gor, alternatively, we can try to disable the swift related keystone tests, which look more like integration tests than unit tests16:53
adam_gzul: yeah16:53
zuladam_g:  im in favor of disabling those tests16:53
adam_gwe probably would have come across this a while ago if swift's tests were enabled16:53
adam_gzul: im sure we all are, but what about the requirements of the MIR?16:55
zuladam_g: well we can add it to the ubuntu-qa testsuite probably16:55
zuljdstrand: ^^^16:55
uvirtbotNew bug: #960690 in quantum (universe) "bug in the debian/control file" [Medium,Fix released] https://launchpad.net/bugs/96069016:56
adam_gzul: well, we are running the entire test suite (swift stuff included) already when we package16:58
adam_gi was able to get those to actually pass on our builds yesterday16:58
zuladam_g: right i mean disabling the tests in the build and add the tests to the ubuntu-qa testsuite16:59
zuladam_g: getting swift and keystone working in a buildd is not pratical imho17:00
hallyntjaalton: that might fix an open bug, sounds good.  i'm out today though17:00
jdstrandzul: which mir are you referring to?17:08
zuljdstrand: keystone17:08
jdstrandzul: what about it?17:08
jdstrandI did the mir and it has a conditional ack17:09
jdstrandsee 'Requirements for main inclusion' in https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/881464/comments/1517:09
uvirtbotLaunchpad bug 881464 in keystone "[MIR] keystone" [High,In progress]17:09
zuljdstrand: the testsuite does alot of integration tests for keystone, which is good, however the testsuite uses git to fetch swift and sets it up for you, however running testsuite in keystone during the buildd to make it past is not pratical17:10
zuls/past/pass/g17:10
jdstrandzul: can you comment on that in the bug?17:10
zuljdstrand: of course17:10
jdstrandzul: so the 139 of the 266 test cases are all a result of swift?17:11
jdstrandthat is more than half17:11
uvirtbotNew bug: #962348 in autofs5 (main) "Automount segfaults if it can't parse an LDAP entry." [Undecided,New] https://launchpad.net/bugs/96234817:11
zuljdstrand: no the keystoneclient tests have been disabled as well becuase of the git usage as well17:12
jdstrandzul: what is it pulling in? why can't the tests be updated to point at packages that are in ubuntu rather than fetching via git?17:13
jdstrandzul: the testsuite is basically invalid otherwise because git will move to bigger and better things but the keystone testsuite will stay static in the archive17:13
zuljdstrand: we tried patching it upstream but they have rejected it17:13
zuljdstrand: agreed17:14
jdstrandzul: right, but can we carry an ubuntu delta? we only really care that the testsuite for a specific version in ubuntu works with a specific version of other packages in ubuntu17:14
zuljdstrand: yeah we can carry the delta17:15
tjaaltonhallyn: ok, maybe I'll skip the sync and wait for you to test it first :)17:15
jdstrandzul: if the tests are worthless, then we can drop it. however, they seem to be worthwhile17:17
=== fenris is now known as Guest70667
jdstrandzul: please comment in the bug and I will respond with alternatives17:18
zuljdstrand: ack17:18
=== Guest70667 is now known as ejat
jdstrandzul: thanks for bringing it up17:18
zuljdstrand: thanks for discussing it17:18
hallyntjaalton: sounds good.  pls email or ping me tomorrow?17:20
tjaaltonhallyn: sure17:21
=== Jasonn is now known as juicy
uvirtbotNew bug: #962373 in juju (universe) "unhelpful error message when .ssh/known_hosts doesn't match" [Undecided,New] https://launchpad.net/bugs/96237317:46
=== koolhead17|away is now known as koolhead17
zullovely..17:47
zulDaviey/adam_g: looks like swift likes to use eventlet-0.9.1517:47
uvirtbotNew bug: #962383 in juju (universe) "ec2-key-pair went away, but juju doesn't say it is unsupported" [Undecided,New] https://launchpad.net/bugs/96238317:56
Davieyzul: Golly.. can you investigate ?17:57
zulDaviey: looking17:58
uvirtbotNew bug: #962389 in juju (universe) "juju Recommends on lxc installs libvirt-bin which causes problems when testing in virtualized environments" [Undecided,New] https://launchpad.net/bugs/96238918:06
smoserlynxman, so i think i know why logging goes to syslog18:09
smoserit already goes there before your ocnfig can stop it18:12
smoseras your config runs after 5018:12
smoser(50-default.conf)18:12
=== Lcawte|Away is now known as Lcawte
zulDaviey: i just run the swift excercises from devstack i dont see anything wrong from the tests, im waiting for more info about that bug18:49
adam_gzul: on precise?18:56
zuladam_g: yes18:56
adam_gzul: what about the swift-bench utility that was run to produce the bug?18:57
zuladam_g: they havent provided any more info on how to reproduce it18:57
Davieyzul: ugreat!18:59
adam_gzul: i think you should have everything you need to run swift-bench in openrc19:00
zuladam_g: you sure?19:01
adam_gzul: not certain, but swift-bench -h shows a config file that needs only the keystone endpoint and credentials19:01
adam_ger, s/keystone/swift19:01
zuladam_g: got it working havent been able to reproduce it so it might be smething with the guy's config19:20
uvirtbotNew bug: #962426 in keystone (universe) "keystone package install doesn't create logrotate.d entry" [Undecided,New] https://launchpad.net/bugs/96242619:23
uvirtbotNew bug: #956578 in asterisk (universe) "Remote crash vulnerability in SIP channel driver" [Undecided,Confirmed] https://launchpad.net/bugs/95657820:06
uvirtbotNew bug: #956580 in asterisk (universe) "Remote Crash Vulnerability in Milliwatt Application" [Undecided,Confirmed] https://launchpad.net/bugs/95658020:06
uvirtbotNew bug: #956581 in asterisk (universe) "Stack Buffer Overflow in HTTP Manager " [Undecided,Confirmed] https://launchpad.net/bugs/95658120:06
uvirtbotNew bug: #962503 in mysql-5.1 (universe) "mysql fails to start due to error in /etc/apparmor.d/usr.sbin.mysqld" [Undecided,New] https://launchpad.net/bugs/96250320:41
uvirtbotNew bug: #962507 in juju (universe) "[FFE] Latest juju snapshot enables maas provider" [Undecided,New] https://launchpad.net/bugs/96250720:46
=== IdleOne is now known as pangolin
uvirtbotNew bug: #962560 in libpam-ldap (main) "pam-auth-update Account-Type should be "Additional"" [Undecided,New] https://launchpad.net/bugs/96256021:36
eb_I'm trying Orchestra and Juju but with juju bootsrap22:05
eb_I'm trying Orchestra and Juju but juju bootstrap return an error22:06
eb_The error is "error: Environments configuration error: /home/localadmin/.juju/environments.yaml: environments.orchestra.acquired-mgmt-class: required value not found"22:07
uvirtbotNew bug: #962393 in phpmyadmin (main) "Installation loops in db-config-common when ran from software-center" [Undecided,New] https://launchpad.net/bugs/96239322:12
DavieySpamapS: Plans to backport apache 2.4.1 to precise-backports?22:23
SpamapSDaviey: would love to!22:23
DavieySpamapS: gonna happen? :)22:24
DavieySpamapS: Didn't you have one knocking around in a PPA?22:24
SpamapSNo22:24
SpamapSI'm not sure its worth it22:25
SpamapS2.2 .. 2.4 .. its still just apache22:25
=== Lcawte is now known as Lcawte|Away
meerkatswhere did the offtopic room go?22:28
DavieySpamapS: How is PHP looking?22:29
SpamapSDaviey: about to start driving nails into 5.4's coffin22:30
ajmitchstill no suhosin patch on the horizon?22:30
SpamapSnope22:31
adam_gDaviey: IN: glance, quantum, swift (assuming 1.4.7), horizon. NOT IN: keystone (rc not released yet), nova (in queue), melange22:36
Davieyadam_g: okay!  thanks for the update.. do we have an ETA on keystone upstream RC?22:38
adam_gDaviey: i think theres just one bug still in progress with a review in gerrit22:38
Davieyadam_g: great!22:39
arosalesadam_g: for the blueprint Implementation status for https://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-openstack-testing seems it should at least be marked at least with "Good Progress" your thoughts?22:59
adam_garosales: oh, ya.  the only TODO will hopefully be DONE after ODS.23:00
adam_garosales: the INPROGRESS regarding the stress tests is  misleading now, i guess. ive been working with the upstream on getting a new stress test suite working nicely and implementing it on our openstack CI23:01
arosalesadam_g: "deployment" might also be fitting then.23:02
adam_garosales: not so much a porting effort anymore. should i postpone/defer or just change the wording?23:02
arosalesadam_g: If you still will get to it this cycle you can leave the remaining to do as is, perhaps just update the "Implementation" status to something other than "Unknown"23:03
adam_garosales: will do, for sure23:04
arosalesadam_g: thanks23:04
adam_garosales: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-openstack-charms  this one needs a bit more TLC, but honestly im not sure how much of those TODOs will be done this cycle.  note that none are really tied to the release schedule23:07
arosalesadam_g: tough to work on the charms with the packages being in such flux23:07
arosaleswe'll revisit all the "postponed" work items for the next cycle too, so those items don't get forgotten23:08
arosalesadam_g: If your pretty sure they are not going to happen this cycle then might as well postpone, kind of odd since they are not tied to the release23:09
arosaleswe can pick them up next cycle, at least for work item tracking ;-)23:11
fluvvellare people generally more in favour of virtual machines using vmware, or kvm. ( it will be a windows vm)23:18
adam_garosales: ok cool. yeah, they're really wishlist features for current juju charms, which can be added anytime really23:18
arosalesadam_g: thank for the updates23:25
_johnnyhi, i'm trying to upgrade from 10.04 to 10.10. network and cd (alternate) both give me the following halt: The package 'update-manager-core' is marked for removal but it is in the removal blacklist.23:34
_johnnyany ideas as to what i'm doing wrong?23:34
tarvid!iptables23:48
ubottuUbuntu, like any other Linux distribution, has firewall capabilities built-in. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo | GUI frontends such as Gufw (GNOME) and Guarddog (KDE from Lucid onwards) also exist.23:48
pukekohowdy23:49
tarvidhttps://help.ubuntu.com/community/IptablesHowTo#Logging is short about logging explicitly dropped packets23:50
tarvidcan I add a "log" option to a rule?23:50
pukekotarvid: setup a new rule and if the packets met certain requirments jump to that rule and log23:53
tarvidthanks pukeko , I've been under attack for weeks23:54
tarvidfinally came with a firewall that works23:54
tarvidjust curious who the culprits are23:54
pukekohey.. i need to "sync" two samba servers one is offline but needs to be available if the other one dies..23:55
pukekowhat else do i need to sync apart from /etc/group /etc/passwd /etc/samba /var/lib/samba ?23:56
pukeko* and the data of course23:56
pukekotarvid: i used to do it via the interfaces.. if it came in / or out of and matched - then jump to a ruleset23:58
tarvidbasically I just want to drop the sh*t23:58
pukekobut that could get a bit hard on the brain - when monitoring both out going and incomming over 3 or more interfaces23:59
tarvidonly two23:59
tarvidsomeone or someones were sucking me dry23:59

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