[00:00] <delinquentme> is there a quick and easy way I can find out how much RAM a machine is capable of running  + how much it currently has?
[00:00] <delinquentme> via command line?
[00:01] <sarnold> delinquentme: sudo dmidecode -t memory    will probably show you what you need
[00:02] <delinquentme> Yeah I just ran it ... is it consistent?
[00:02] <delinquentme> bc I dont believe the output I'm getting
[00:02] <sarnold> it's always worked for me..
[00:02] <delinquentme> 90% sure I've only got 2 slots ... it tells me I've got 4
[00:02] <sarnold> but I've only had a handful of motherboards, compared to the vast numbers available...
[00:03] <delinquentme> It's important to note that Dmidecode reports system hardware information as described in the BIOS and does not scan your hardware, so in some cases the output can be wrong.
[00:03] <sarnold> heh, could be :/ you can always compare against crucial.com's database
[00:03] <delinquentme> ^
[00:04] <sarnold> delinquentme: you could also try sudo lshw -c memory -- I don't see a "maximum" though..
[01:00] <adam_g> jamespage, verification-done for that openstack folsom batch. http://people.canonical.com/~agandelman/2012.2.3-verification/   first thing tomorrow,  gonna update the meta-bug to include all new change log entries, tag verification-done where needed and post logs
[01:02] <adam_g> jamespage, i noticed though that none of the rebased packages that made it into proposed were built with 'debbuild -v$prev_proposed_package', so bug references from the original uploads might be a bit screwy / missing in the sru tracker?
[01:02] <adam_g> jamespage, ttyt
[02:10] <Arrick> how does one force ssmtp to send email as an address such as noreply@domain.com
[04:41] <Jeudi> Can UFW be used to set up a network firewall on a soho LAN?  UFW 0.29.3-1.
[08:11] <jamespage> adam_g, great - yeah - the rebase without -v was my mistake - Daviey is aware
[08:12] <Daviey> jamespage: strictly, it wasn't your mistake - as we checked that lack of -v was infact OK
[08:12] <Daviey> but I think any uploads i do, i will still do -v :)
[08:35] <_ruben> ok .. this is mighty annoying .. got a fresh vm with heartbeat installed, but for some reason it refuses to create /var/run/heartbeat/register (or it does create but gets removed again), imparing its connectivity stuff
[08:58] <koolhead17> burp..
[10:47] <no0tic> hi
[10:56] <no0tic> I'm trying to understand the basics of openstack and would like to set up a test environment using one or two IBM blades. I read various articles on openstack docs and ubuntu docs, and I am trying to follow https://help.ubuntu.com/community/UbuntuCloudInfrastructure. I don't get where hypervisors are concerned. Where will the vm instances run? I have a little experience with cloudstack,
[10:56] <no0tic> where an external controller commands multiple hosts with hypervisors like xen or esx and starts user vm instances on various hosts. I would like to use XCP as the basic layer of my environment but I don't know where to start from.
[11:25] <andygraybeal> no0tic, i only use kvm
[11:25] <andygraybeal> so i'm not much help :) .... libvirt/kvm :)
[11:25] <andygraybeal> it's super easy.. i don't know any of the words you used ;)
[12:48] <Daviey> jamespage / smoser: I just noticed raring-server-amd64.iso is 707MB.. we wanted to keep it sub 700. Can one of you deal?
[12:49] <jamespage> Daviey, cjwatson is tweaking the shipped seed to reduce that
[12:49] <jamespage> we discussed in release earlier
[12:50] <jamespage> Daviey,  (python-svn + miscfiles + openssh-blacklist*) got the chop
[12:50] <Daviey> jamespage: bah, i am 5 steps behind today. :)
[12:50] <jamespage> Daviey, yeah - my jetlag is bad as well
[13:49] <andygraybeal> hey guys, i need some handholding with app armor ... i'm reading here: https://help.ubuntu.com/10.04/serverguide/apparmor.html
[13:49] <andygraybeal> i need to give libvirt access to eth1
[13:50] <andygraybeal> i have a /etc/apparmor.d/libvirt ... but i'm afraid of anything
[13:50] <andygraybeal> err.. welll i have no clue
[13:52] <rbasak> andygraybeal: have you read https://wiki.ubuntu.com/DebuggingApparmor#Fixing_profile_bugs? If you can get apparmor complain messages logged, then aa-logprof walks you through profile modifications to permit those actions. I've only done it once and can't really help you further though.
[13:52] <andygraybeal> rock on
[13:52] <andygraybeal> thank you
[13:53] <andygraybeal> i'm eyeballing this: usr.sbin.libvirtd file right now :)  and i will read that guide you posted.
[13:54] <andygraybeal> i can't break anything, this is my mail and www server :)
[13:56] <andygraybeal> rbasak, i don't think there is a bug, i think there is a configuration problem
[13:56] <andygraybeal> but maybe yuo know this too
[13:58] <rbasak> andygraybeal: sure - you might want to do something different from the default configuration. But either way you need to get a modified profile on your system, so to that point the same documentation should suffice for both cases. See the last bit (about /etc/apparmor.d/local/) of that section for details of how to apply this as a local configuration modification only.
[14:02] <jdstrand> andygraybeal: you might be interested in http://wiki.apparmor.net/index.php/Libvirt
[14:05] <andygraybeal> thank you jdstrand
[14:05] <andygraybeal> i think the problem might be that i'm just an idiot
[14:05] <andygraybeal> and i have a stupid network configuration that bridges my eth1 and i didn't realize it till now
[14:05] <andygraybeal> and not an apparmour thing
[14:05] <andygraybeal> but this libvirt apparmor thing is nice!
[14:05] <andygraybeal> the document
[14:06] <andygraybeal> aah jdstrand, ah neat your name is in the article!
[14:06] <andygraybeal> professional turd polisher, nice.
[14:07] <jdstrand> heh, yes. taglines are fun
[14:37] <Skaag> hello guys, I have a problem upgrading my kernel:
[14:37] <Skaag> linux-server : Depends: linux-image-server (= 3.2.0.38.46) but 3.2.0.40.48 is installed
[14:38] <Skaag> I tried apt-get -f install, it doesn't help
[14:39] <bean> Skaag: 38.46 is earlier than 40.48... no?
[14:41] <ogra_> Skaag, what command did you use exactly ?
[14:42] <ogra_> note that apt-get upgrade will neither remove existing packages nor install new ones ... you need to use apt-get dist-upgrade in that case
[14:44] <Skaag> I see
[14:44] <Skaag> I was just trying to upgrade actually
[14:44] <Skaag> i'll try a dist-upgrade and see if it yields different output
[14:44] <ogra_> tight, you want dist-upgrade
[14:44] <ogra_> *right even
[14:45] <Skaag> does the channel have an official pastebin you guys like?
[14:46] <andygraybeal> aah okay... so it does seem to be app-armor
[14:46] <andol> Skaag: http://paste.ubuntu.com might be appropiate :)
[14:53] <Skaag> http://paste.ubuntu.com/5595740/
[14:53] <Skaag> both dist-upgrade and -f install, fail to fix the issue
[14:54] <Skaag> I may have to remove something first, but what?
[14:54] <ogra_> did you apt-get update first ?
[14:54] <ogra_> to update the package lists
[14:55] <Skaag> I believe I did. I will feel really stupid if I didn't. hold on.
[14:55] <Skaag> same problem
[14:55] <Skaag> (after updating)
[14:58] <Skaag> let's see if aptitude can do better
[15:09] <bean> Skaag: it looks liek you're trying to install an older kernel than what you have.
[15:11] <Skaag> yes
[15:11] <Skaag> but how do fix this? :)
[15:11] <Skaag> aptitude is going forward, so far
[15:11] <Skaag> hopefully it will manage to overcome this
[15:17] <andygraybeal> jdstrand, well i found that the apparmor profile is set to allow me to have rw access to my eth1:   "/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/resource" rw,
[15:17] <andygraybeal>   "/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/config" rw,
[15:17] <andygraybeal>   "/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/resource0" rw,
[15:17] <andygraybeal> do i need more than this?
[15:17] <andygraybeal> that is in the specific file for the libvirt machine, and it says the file is auto created with the libvirt process
[15:20] <jdstrand> andygraybeal: do you have any apparmor denials in /var/log/kern.log on the host?
[15:21] <andygraybeal> jdstrand, yes, lemme post to that pastie bin
[15:21] <andygraybeal> i don't understand this devils talk
[15:22] <andygraybeal> this is the device: /sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/vendor"
[15:23] <andygraybeal> this is the pastie: http://paste.ubuntu.com/5595791/
[15:25] <andygraybeal> something about requesting a mask and then getting denied the request?
[15:25] <jdstrand> I think that is harmless, but can you shutdown the vm, then add to /etc/apparmor.d/libvirt/libvirt-c2059dbd-b96a-bb40-3c11-6dd10877acef the following:
[15:25] <jdstrand> /sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/vendor r,
[15:25] <jdstrand> then start the vm
[15:26] <andygraybeal> aah 'vendor'
[15:27] <andygraybeal> inside the brakets?
[15:28] <jdstrand> yes
[15:28] <jdstrand> under the '#include ...' lines
[15:29] <petey> hey how would i search for a specific file?
[15:29] <petey> like an sql file
[15:32] <andygraybeal> jdstrand, i'm moving forward, now i have another error... but no problem in my kern.log!
[15:32] <andygraybeal> i will research the other error and will get back if i cannot figure it out.
[15:33] <andygraybeal> thank you jdstrand!
[15:33] <bean> petey: locate "name of file"
[15:33] <Skaag> still no luck with that kernel upgrade
[15:33] <andygraybeal> i think that solved that bit of the problem.
[15:33] <bean> Skaag: you mean kernel downgrade...
[15:33] <Skaag> aptitude fails the exact same way
[15:33] <Skaag> yes
[15:33] <jdstrand> andygraybeal: ok. I'm thinking it isn't an apparmor issue. however, it would be nice to address that denial. can you file a bug using 'ubuntu-bug libvirt' with exact steps to reproduce?
[15:34] <andygraybeal> Skaag, how did you get into that state?  (i'm curious, not judging.. i'm like some guy living out of the trenches.. not knowing what is coming at me or what is going away!)
[15:34] <andygraybeal> jdstrand, i'm in 10.04 ....
[15:34] <andygraybeal> jdstrand, i would thikn everyone would scream to use 12.04 at me.
[15:34] <andygraybeal> jdstrand, whatever you did.. cleared up the kernel.log!
[15:35] <bean> Skaag: "apt-get install linux-image-server=3.2.0.38.46 linux-image-headers=3.2.0.38.46" first maybe
[15:35] <jdstrand> yeah, that would probably not be fixed in an SRU. but you know how to silence the denial now
[15:35] <andygraybeal> SRU ?
[15:38] <Skaag> trying
[15:38] <andygraybeal> jdstrand, this is the new error from my libvirt machien log:
[15:38] <andygraybeal> http://paste.ubuntu.com/5595828/
[15:38] <Skaag> E: Version '3.2.0.38.46' for 'linux-image-server' was not found
[15:39] <Skaag> andygraybeal: I can only theorize: Many dist-upgrades, without rebooting after kernel updates, and then erasing older kernels from /boot/ because it was running out of space...
[15:39] <andygraybeal> Skaag, that sounds like what i do!
[15:39] <andygraybeal> i'm glad i'm not in your position.
[15:39] <Skaag> my position isn't that bad... ;0
[15:39] <Skaag> I mean everything is working, but I do want upgrades to continue working
[15:40] <jdstrand> andygraybeal: that is unfortunately not a useful error message due to the way libvirt reports errors. I suggest disabling apparmor for libvirt for now, then try to troubleshoot the problem. when you get it worked out, reenable apparmor in libvirt, and try again
[15:40] <andygraybeal> jdstrand, how do i disable apparmor in libvirt?
[15:40] <Skaag> and where would my uptime be, if I rebooted after every new ubuntu kernel?! :)
[15:41] <jdstrand> it is in that wiki page. but the easy temporary way is to do: sudo /etc/init.d/libvirt-bin stop ; sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd ; sudo /etc/init.d/libvirt-bin start
[15:41] <andygraybeal> thank you  jdstrand
[15:42] <jdstrand> you can then verify it is disabled by doing 'virsh capabilities | grep apparmor'
[15:43] <andygraybeal> jdstrand, i typed in: " libvir: Security Labeling error : error calling aa_change_profile() " and went to the bug tracker and your name is all over it!
[15:44] <andygraybeal> ubuntu is so powerful because of this alone; being about to talk face to face to people like you.
[15:44] <andygraybeal> it is great.
[15:44] <jdstrand> that error message is potentially misleading. it could be just the last thing that went wrong before libvirt couldn't go any further with it
[15:44] <petey> bean: thanks
[15:44] <andygraybeal> okay, i understand
[15:44] <jdstrand> that improved in later releases, but with lucid, it can be interesting debugging libvirt
[15:45] <jdstrand> andygraybeal: heh, thanks
[15:45] <bean> petey: ?
[15:45] <bean> oh the locate
[15:45] <petey> hey its not working
[15:45] <petey> im trying locate "xxx.sql"
[15:46] <andygraybeal> jdstrand, yes, i am hoping to get this to work because it is the crux of my setup at work... to run LTSP from a virtual machine.
[15:46] <andygraybeal> else i have a lot of backpedaling to do!
[15:46] <bean> petey: do "sudo updatedb" first
[15:48] <andygraybeal> jdstrand, stopping libvirt like this will it kill my running virtual machines (my web and mail servers?)
[15:48] <Skaag> ok so I did this: dpkg -r linux-server && dpkg -r linux-image-server
[15:48] <Skaag> now dist-upgrade works
[15:48] <andygraybeal> Skaag, congrats man!
[15:48] <Skaag> will my server die on next reboot? :-)
[15:48] <roaksoax> halvors: around?
[15:48] <roaksoax> err
[15:48] <roaksoax> sorry
[15:48] <roaksoax> hallyn: around?
[15:49] <hallyn> roaksoax: yeah
[15:49] <Skaag> I mean am I not supposed to be running a 'server' kernel?
[15:49] <roaksoax> hallyn: would you know why i would get something like this: maas@canaima:/home/ubuntu$ virsh list --all
[15:49] <roaksoax> error: failed to connect to the hypervisor
[15:49] <Skaag> looks like I'm running a 'generic' kernel right now
[15:49] <roaksoax> hallyn: for that particular user, while with other users it works just fine?
[15:49] <hallyn> roaksoax: bc that user isnot in group libvirtd?
[15:49] <jdstrand> andygraybeal: no, they shouldn't shutdown. it is possible the libvirt might lose track of them, but if you don't mess with the monitor file, I think it'll be ok. you could try just the apparmor_parser line. that may work
[15:50] <roaksoax> hallyn: it has sudoers access to virsh
[15:50] <andygraybeal> jdstrand, rock! thanks
[15:50] <roaksoax> hallyn: however, this is an upgrade from quantal -> raring, and it stopped working in raring
[15:50] <roaksoax> jamespage: did you have to do anything special for maas to be able to control virsh?
[15:50] <roaksoax> vmass that is
[15:50] <hallyn> roaksoax: what does 'sudoers access to virsh' mean?
[15:50] <jamespage> roaksoax, yes - I had to patch the power control template to use sudo
[15:51] <hallyn> oh, you're running virsh as root through sudo?
[15:51] <jamespage> roaksoax, and add a sudoers config to let it do that
[15:51] <roaksoax> jamespage: ahhh
[15:51] <roaksoax> hallyn: that's it then :)
[15:51] <roaksoax> hallyn: sorry for the noise :)
[15:51] <jamespage> roaksoax, patching the power control template would have been lost on upgrade
[15:51] <roaksoax> jamespage: yeah...
[15:51] <roaksoax> I'll commit that upstream
[15:51] <jamespage> roaksoax, I refer you to bug 1073463
[15:51] <hallyn> roaksoax: ok, cool, ttyl :)
[15:51] <jamespage> :-)
[15:52] <jamespage> just poking you!
[15:52] <roaksoax> jamespage: that bug requires upstream support.. julian said he would work on it :)
[15:52] <andygraybeal> jdstrand, apparmor is confirmed not running, by way of your virsh command and grp.  libvirt now says this: http://paste.ubuntu.com/5595856/
[15:52] <andygraybeal> *grp = grep
[15:53] <andygraybeal> what the heck does "no IOMMU" mean?
[15:53] <jdstrand> andygraybeal: ok, so we've confirmed it isn't apparmor. unfortunately, I'm not familiar with the issue you are seeing with pci-assign
[15:54] <jdstrand> hallyn: have you seen that before ^
[15:54] <andygraybeal> jdstrand, okay thank you for holding my hand up until now.  i appreciate it.
[15:54] <andygraybeal> i will keep googling.
[15:54] <hallyn> looking
[15:55] <hallyn> jdstrand: well, if you dont' have IOMMU you can't do pci assign right?
[15:56] <jdstrand> I guess not "If your hardware doesn't have an IOMMU ("Intel VT-d" support in case of Intel - "AMD I/O Virtualization Technology" support in case of AMD), you'll not be able to assign devices in KVM." - http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
[15:56] <jdstrand> andygraybeal: ^
[15:56] <andygraybeal> hm.. i have intel
[15:56] <andygraybeal> xeon
[15:57] <andygraybeal> maybe that's not what they are talking about though
[15:57] <andygraybeal> i pasted my kern.log in case it is helpful too : http://paste.ubuntu.com/5595870/
[15:57] <jdstrand> andygraybeal: the page I quoted has other info on how to see if your motherboard and/or cpu supports VT-d
[15:57] <andygraybeal> okay cool
[15:58] <andygraybeal> i assigned USB device on this same machine
[15:58] <andygraybeal> would that mean anything?
[15:58] <andygraybeal> i don't think i have assigned PCI device yet.
[15:59] <andygraybeal> i will read linux-kvm page
[16:00] <andygraybeal> xeon is not listed with VT-d support  .... omg i want to cry
[16:04] <andygraybeal> i'm still reading ti seems that just because xeon is not listed on that page doesn't mean it doesn't nhave VT-d support
[16:04] <andygraybeal> ah it's a function of the chipset.. too
[16:05] <andygraybeal> it isn't often i run into a hardware limitation.....
[16:05] <andygraybeal> like this i mean.
[16:08] <andygraybeal> jdstrand, well... i run this command: 'dmesg | grep -e DMAR -e IOMMU' and nothing comes up... so depressing
[16:09] <andygraybeal> looks like i need to do some peaking around my BIOS too...
[16:09] <hallyn> andygraybeal: is this a network card you want to assign?
[16:09] <andygraybeal> yes it is.
[16:10] <andygraybeal> maybe i just do a bridge...and leave it to that, eh?
[16:10] <hallyn> yup
[16:10] <andygraybeal> good deal, not the end of the world then.
[16:11] <andygraybeal> but i think i'm going to take a walk around the block to chill out a bit.
[16:20] <andygraybeal> okay back
[16:26] <RoyK> seems there's a bug with neted raids on ubuntu raring, probably on precise as well. similar is reported for mint13. if I create two RAID5s and then a RAID0 on top of those, the latter won't be started after a reboot. this works on lucid
[17:07] <InteliWasp> if i install 13.04 beta 2 today, is there a way to update it to the official version after it's release?
[17:24] <sarnold> InteliWasp: I'd expect 'apt-get dist-upgrade' to do a good enough job..
[17:24] <Pici> !final
[17:29] <InteliWasp> ok thanks
[17:34] <RoyK> https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1171945
[18:03] <roaksoax> jamespage: does this make sense to you? http://paste.ubuntu.com/5596176/
[18:11] <adam_g> jamespage, Daviey  verification-done for https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1116671  and any other related ubuntu bug tasks
[18:20] <roaksoax> smoser: I'll be making this change for raring: http://paste.ubuntu.com/5596235/
[18:20] <roaksoax> do you agree?
[18:20] <smoser> only that i dont think it shoudl be necessary
[18:20] <smoser> are you sure that template file is being rendered?
[18:20] <smoser> rather than another one?
[18:21] <roaksoax> smoser: yes, it is being rendered, i just dunno why it doesn't add what's required
[18:21] <roaksoax> smoser: give me a sec and I'll show you
[20:11] <jamespage> zul: bug 1163218
[20:11] <zul> yeah its fixed in bzr
[20:11] <jamespage> zul, coolio
[20:12] <zul> ill do one last upload tomorrow
[20:12] <jamespage> zul, ack
[21:16] <cellofellow> I'm trying to set up DKIM verification on Postfix. I have a site with several (~50) domains, and it'd be ideal to manage those domains on the mail servers' OpenDKIM using the DB, but I've not found any comprehensive information on actually doing that.
[21:27] <Daviey> jcastro: watching your workshop video.. seemed you did a great job kicking it off
[21:29] <jcastro> Daviey: in hindsight I say "ummm" way too much
[21:29] <jcastro> it's like my crutch word
[21:30] <Daviey> jcastro: not as bad as you think.  I hadn't noticed until you said that
[21:31] <sarnold> uhoh, now Daviey won't be able to ignore it again :)
[21:31] <jcastro> it's this thing where you think a talk went awesome until you see yourself on video
[21:31] <cellofellow> jcastro: no need to be hard on yourself.
[21:31] <jcastro> and then it's like "God, what am I saying!"
[21:31] <sarnold> jcastro: I'm lucky to have avoided that so far :) hehe
[21:39] <Daviey> jcastro: been there. :)
[21:40] <Daviey> jcastro: Could be worse, you could trip on a cable on the stage - and make a fool of yourself. :P
[21:40] <jcastro> that was one of the best talks I've ever seen. It was awesome.
[21:47] <andygraybeal> how do i re-run the ldap client auth configuration?  .... dpkg-reconfigure .... ??
[21:47] <andygraybeal> i tihnk i typed in the wrong host uri
[21:48] <andygraybeal> oh oh i got it
[21:52] <Jeudi> Can UFW be used to set up a network firewall for a small lan?
[21:53] <jdstrand> Jeudi: yes, it can, though you have to know a bit about iptables syntax atm. see 'man ufw-framework' for details
[21:54] <Jeudi> jdstrand: thanks.  I'll read that and see how I fare.