[01:00] <keithzg> Hmm, I'm trying to mount an iscsi volume via UUID, but neither blkid nor listing /dev/disk/by-uuid seem to list it.
[01:18] <Seven_Six_Two> I've got a server, and I've connected via xdmcp. both are on my lan. I've plugged a usb hd in to the server, an icon appears on my xfce desktop. When I click it, it says failed to mount, not authorized. I've installed gvfs, autofs, all ntfs packages. I've added my username to plugdev, disk, gvfs. I've rebooted.
[01:19] <Seven_Six_Two> I'm using xfce4
[01:22] <zul> adam_g: ill take a look tomorrow
[01:25] <Seven_Six_Two> I also have almost all privs under user privileges
[01:25] <Seven_Six_Two> still can't mount!!\
[01:26] <Seven_Six_Two> option to automount is set in dconf-editor
[01:51] <decci> Hi Guys
[01:53] <decci> I have Ubuntu 12.04.1 to be installed on directly on Compellent SAN. While installing it is not able to see SAN. While CentOS is able to see that
[01:57] <blkperl> decci: you probably need some driver or package
[01:57] <decci> blkperl: What I did is trying installing Ubuntu 12.04.1 first on local disk and then trying installing open-iscsi and see if it detects the SAN
[01:58] <decci> blkperl: Let me send paste the output
[01:59] <decci> blkperl: http://paste.ubuntu.com/1614757/
[02:00] <decci> blkperl: Can you look into this? I am unable to see SAN under /proc/partitions
[02:01] <patdk-lap> you have a local disk installed?
[02:01] <blkperl> decci: is it not sda?
[02:02] <decci> patdk-lap: sda is my local disk
[02:02] <decci> blkperl: sda is my local disk
[02:02] <blkperl> decci: anything in the logs?
[02:03] <blkperl> my iscsi knowledge is weak
[02:04] <patdk-lap> what about: iscsiadm -m session -P 3
[02:04] <sarnold> do I recall that the last time someone had problem with a compellent SAN that they might not have authorized the new machine on the SAN controller or something similar?
[02:05] <patdk-lap> sarnold, well, he has two issues kindof
[02:05] <patdk-lap> first, his i350 is setup for hardware iscsi, and centos sees it as hardware hba
[02:05] <patdk-lap> but ubuntu doesn't seem to see it
[02:05] <patdk-lap> second, is him playing with soft-iscsi
[02:06] <decci> patdk-lap: correct
[02:06] <decci> patdk-lap: sudo iscsiadm -m session -o show output is there
[02:06] <patdk-lap> that is not what I asked for though
[02:07] <decci> patdk-lap: let me try this command
[02:23] <decci> blkperl: My VPN is creating issue. I will come back after 4-5 hours
[02:23] <decci> blkperl: Will you be here to see those output and logs
[02:26]  * patdk-lap will be long asleep
[02:33] <decci> patdk-lap: I am back
[02:34] <decci> patdk-lap: here is your output: http://paste.ubuntu.com/1614802/
[02:36] <decci> patdk-lap: Here is the complete http://paste.ubuntu.com/1614805/
[02:40] <decci> patdk-lap: Are you there?
[02:40] <decci> blkperl: u there
[02:41] <escott> decci, people go in and out of the channel at times
[02:41] <decci> I think if I insert driver for openm-iscsi  into Ubuntu 12.04.1 image it should work
[02:41] <decci> escott: ok
[02:41] <escott> decci, if you want to give a quick recap others can take a look
[02:41] <decci> I have Ubuntu 12.04.1 to be installed on directly on Compellent SAN. While installing it is not able to see SAN. While CentOS is able to see that
[02:41] <sarnold> decci: patdk-lap said one of your problems might have been trying to use the software iscsi support when you've got a hardware card that should do it for you ... assuming you could get drivers for it loaded?
[02:41] <decci> http://paste.ubuntu.com/1614757/
[02:42] <decci> sarnold: I did tried that right...installing Ubuntu locally and then attaching it to SAN rather than directly installing onto the SAN
[02:43] <decci> sarnold: All I am facing issue is with /proc/partitions while it is detecting the compellent SAN
[02:44] <decci> sarnold: http://paste.ubuntu.com/1614805/
[02:44] <decci> escott: Any views?
[02:44] <escott> decci, i dont know anything about iscsi
[02:45] <decci> escott: oh
[02:45] <decci> escott: Can you help me how to insert driver into ubuntu image?
[02:46] <escott> decci, if you just need a module in the initramfs you put it in in /etc/modules.d and then update-initramfs
[02:49] <genii-around> I think it's more like /etc/initramfs-tools/modules
[02:50] <escott> genii-around, cool thanks. i never knew about that file
[02:57] <decci> escott: Can you forward me what steps I wouldneed
[04:57] <jimmyz> newbie here - sorry... how do i figure out the ip address at which to access teh webhost running on a vm?
[09:34] <xnox> jaimef: it would be nice to see all mounts between running the command. Also one should be calling $ udevadm settle , between lvm commands in such a script due to racing with udev.
[09:36] <ruben231> hi guys... any help
[09:37] <ruben231>  i have a mysql datasbed server which on critical Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/opendatabase   128G  112G  9.6G  93% / <------------------------storage is almost full 93 pecent , any suggestion how do  i resolve this issue, im afradi i might break anything with existing databased, dont know what todo
[09:48] <ztane> damnit nodejs, always too old for anything
[09:51] <ztane> goin for chris-lea ppa
[09:52] <ztane> ruben231: is it on lvm?
[09:52] <ztane> can you give it more space or need to compress?
[09:54] <lool> hey, not sure this is the best place to discuss cloud images, but wanted to mention that http://cloud-images.ubuntu.com/releases/lucid/release is gone or 403s since a couple of days, and I wondered whether this was accidental or intended
[10:03] <ruben231> ztane: yes lvm
[10:08] <smb> lool, I would suspect accidental, but I am not in the position to do anything.
[10:12] <lool> Ok; I'll file a bug against ubuntu-on-ec2, hopefully that's the right place
[10:13] <Daviey> utlemming: ^
[10:13] <smb> lool, I wrote an email to Ben/Scott which I think may be in the position to change stings
[10:14] <smb> things
[10:15] <smb> Daviey, Since both of them are not really in this tz, I suspected email works better. :)
[10:16] <Daviey> smb: You underestimate the power of scrollback highlights :)
[10:16] <Daviey> But sure, thanks for sending it
[10:16] <smb> Daviey, You underestimate the power of "meh, this is long ago" :-P
[10:17] <smb> Maybe not so bad for them, but I usually only find someone having Samba issues...
[10:17] <lool> smb: ah thanks; I filed https://bugs.launchpad.net/ubuntu-on-ec2/+bug/1117181
[10:19]  * smb subscribed Ben
[10:20] <lool> the sad part is that I notice some changes that might be bugs because it breaks for the lucid files I was mirroring, but the changes appear to date back to 10.10 timeframe because I hadn't updated my mirror, oh well
[10:23] <ztane> ruben231: if you have space and the filesystem is resizeable, you can use lvextend -L +10G /dev/mapper/opendatabase
[10:24] <ztane> ruben231: then if it is ext4 say, resize2fs /dev/mapper/opendatabase
[10:29] <ruben231>  ztane: so i just add HDD..? coz during install i just used the default setting --> entire disk with LVM
[10:29] <ruben231> would this do..?
[11:03] <Yizi> need a expert advice on web server (ubuntu) should i host the virtual hosts in /var/www or home/username ?
[11:04] <Ben64> /home/username is pretty much how everyone does it
[11:04] <ztane> ruben231: the question is whether you used all the space already
[11:05] <Yizi> ok another issue i have with that is when i assign a user to home directory e.g. /home/ben the user can access oher home directories
[11:05] <Yizi> I just did it and ssh into the system
[11:05] <Ben64> define "access"
[11:05] <ztane> Yizi: there are patches to kernels where the users cannot read others files even though they would have "permissions"
[11:05] <Yizi> being able to read/write files
[11:06] <Ben64> shouldn't be able to write files for sure
[11:06] <Yizi> right my first job is to move the site from /var/www to /home/
[11:06] <Ben64> you could look into ACLs
[11:06] <ztane> why?
[11:06] <Yizi> i need to host 3 sites on one server
[11:07] <Yizi> setup ubuntu and did the apache virtual host
[11:07] <Ben64> https://help.ubuntu.com/community/FilePermissionsACLs
[11:07] <Yizi> installed phpmyadmin with php all worked great, can see the site too but the only issue i have no is giving access directory access to the web design company
[11:09] <Yizi> i followed this guide for setting up the virtual hosts https://www.digitalocean.com/community/articles/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts
[11:11] <ztane> Yizi: you also need php in safe mode / cgi if you really do not want the users to read the other users homedirs using the www-data account
[11:11] <Ben64> a really good idea is don't host people you cannot trust
[11:11] <Yizi> ok i will put the php in safemode now
[11:12] <ztane> which will then mean that nothing really works :D
[11:12] <Yizi> huh?
[11:12] <Ben64> almost everything good requires safe mode to be off
[11:13] <ztane> which means if the sites need to run anything substantial, you cannot use safemode
[11:13] <Yizi> im pretty confused with this, i think i'll just give up on ubuntu really did try
[11:13] <ztane> and instead need to configure php in some cgi mode or fastcgi or I do not actually know... so that the php actually runs with the user's account
[11:13] <Ben64> if you're going to be doing shared hosting, you should trust all the people on it
[11:14] <Ben64> otherwise, use vms
[11:14] <ztane> Ben64: not necessary
[11:14] <Ben64> its impossible to be 100% secure
[11:14] <ztane> but 98 % secure
[11:14] <ztane> meaning: if the users are not really malevolent...
[11:14] <Ben64> so if they roll 20, critical hit and your server dies
[11:14] <ztane> but really you wouldnt want
[11:15] <ztane> do things like have 1 bug on 1 site mean that everyone can without any problems breach to all the other sites too
[11:17] <Yizi> you are right the user is not a sudoer so it cant create anything or modify in other home direcories
[11:19] <Yizi> it would just make it a lot easier if i could allow a user to access /var/www/domain.com so when they ssh they only have access to the folder
[11:20] <Ben64> uh...i don't think its what you want.... http://www.binarytides.com/setup-a-jail-shell-with-jailkit-on-ubuntu/
[11:22] <Yizi> how about setting up a FTP and assigning a user to access /var/www
[11:23] <Ben64> whats your obsession with /var/www
[11:23] <Yizi> because i spend 2 days setting up the site in /var/www
[11:23] <Ben64> theres nothing you can do there you can't do in /home
[11:31] <Yizi> ok guys does this sounds better now
[11:32] <Yizi> created a home user
[11:32] <Yizi> moved the whole site to their
[11:32] <Yizi> renamed the virtual to point to the new location
[11:32] <Yizi> so the site is now under /home/ben/domain.com
[11:48] <Yizi> another home user can see the files on another home users directory e.g. cat index.php but isn't able to edit it, how can i stop them view the files
[11:48] <Yizi> is there a simple permission file?
[11:55] <yolanda> Daviey, jamespage, hi, what's best way to debug a hook? i tried with debug-hooks and running the hook there as it's shown in the manual, but i receive that error: subprocess.CalledProcessError: Command '['unit-get', 'private-address']' returned non-zero exit status 2
[12:34] <RoyK> hrmf. seems if I want to snapshot a vm, it's suspended for the time the snapshot takes, which is several minutes
[12:39] <Ben64> yeah
[13:47] <smoser> jamespage, in virtualmaas http://bazaar.launchpad.net/~virtual-maasers/charms/precise/virtual-maas/trunk/view/head:/scripts/setup-maas how did you make the nodes search .virtualmaaas.com
[13:48] <smoser> ie, when they boot i dont see how they'd have that in their search... or, maybe they dont, but they only end up with fqdn i guess.
[13:54] <yolanda> zul, Daviey. Found a new problem with ceilometer. It has a requires for requests<1.0, but our version is 1.1.0-1, what should we do? do we pin that to the old version?
[13:55] <Daviey> hgwehhwefhoiergw'jeoigboiegbkjpgjopgohigopjgekop
[13:55] <zul> yolanda:  nope submit a patch upstream requrests<=1.1
[13:55] <jamespage> smoser: not quite sure I understand the question?
[13:55] <jamespage> do you mean the physical server or the kvm instances?
[13:55] <yolanda> ok
[13:56] <Daviey> zul: this caused some issues, https://review.openstack.org/#/c/21221/
[13:56] <smoser> instances
[13:56] <smoser> jamespage, i'm sorted, i think.
[13:56] <smoser> maas dhcp doesn't send 'search' or 'domain-name' entries in ists responses.
[13:56] <smoser> so the nodes can only resolve by fqdn.
[13:57] <Daviey> zul: it's fixed with, https://review.openstack.org/#/c/21258/
[13:57] <smoser> but thats ok, because theey only get fqdn (ie, when juju connects them to another node, they get the fqdn of the other node)
[13:58] <Daviey> zul / yolanda: Therefore.... we are potentially screwed.
[13:58] <zul> Daviey: gimme a sec
[14:00] <zul> fuckers
[14:01] <yolanda> oh, so we should stay under 1.0?
[14:03] <zul> yolanda: thinking
[14:14] <sarthor> HELP, Trying to ssh to one of my ubuntu-server installed machine 1 from ubuntu installed machine 2, I am not able to ssh , the message says, "ssh_exchange_identification: Connection closed by remote host". while I can ssh from other computers.
[14:18] <zul> Daviey/yolanda: we can do something like this for python-keystoneclient
[14:24] <SpamapS> zul: crazy idea.. patch ceilometer to work with 1.1 ?
[14:25] <zul> SpamapS: its is a crazy idea
[14:36] <zul> Daviey/yolanda: there is a mini transition going on  there is a transition going on i think, novaclient (https://review.openstack.org/#/c/20119/) and python-cinderclient (https://review.openstack.org/#/c/21222/ although the fix is not correct), and python-keystoneclient got reverted but im working on a proper fix.
[14:36] <RoyK> sarthor: running denyhosts or something?
[14:36] <yolanda> maybe we can put that on hold then?
[14:36] <sarthor> RoyK: no
[14:37] <zul> yolanda: it will make openstack uninstallable on ubuntu imho
[14:37] <RoyK> sarthor: I've seen that if the host is in /etc/hosts.deny - otherwise, check the ssh logs
[14:38] <yolanda> yes, problem is on ceilometer but also on the other packages i see...
[14:39] <yolanda> from my side i can test ceilometer with newest requests version,
[14:41] <zul> yolanda:  yeah im going through the other packages, novaclient was fixed yesterday in the upload i did to our openstack-ci
[14:41] <zul> keystoneclient will be fixed soon, and keystone will be fixed soon as well
[14:42] <sarthor> RoyK: I checked /etc/hosts.deny, there is entry of two IPs, sshd 192.168.1.82 and sshd 192.168.1.2, that 192.168.1.2 is the computer, from which i am tryin to access. I removed that two lines. but after a minute the lines again there. Why? and how to solve.
[14:42] <yolanda> i must double check ceilometer deps again, this wasn't added and i found the problem when ceilometer wasn't starting
[14:43] <RoyK> sarthor: check if denyhosts is running
[14:44] <RoyK> sarthor: dpkg -l | egrep 'denyhosts|fail2ban'
[14:45] <sarthor> RoyK: denyhosts    2.6-10   Utility to help sys admins thwart ssh crackers
[14:45] <RoyK> bingo
[14:46] <RoyK> cd /var/lib/denyhosts
[14:46] <RoyK> grep for your ip there
[14:46] <RoyK> that is
[14:46] <RoyK> stop denyhosts first
[14:46] <RoyK> then remove your ip from the files there
[14:46] <RoyK> add it to allowed-hosts
[14:46] <RoyK> remove it from /etc/hosts.deny
[14:46] <RoyK> start denyhosts again
[14:48] <sarthor> in which file I have to check my IP.
[14:48] <RoyK> all of them
[14:54] <RoyK> sarthor: adding your ip to allowed-hosts will whitelist it permanently
[14:55] <sarthor> RoyK: there is hosts-valid file, no allowed hosts.
[14:55] <RoyK> make it
[14:56] <sarthor> and I deleted from all the files there. and then added to hosts-valid file , restarted denyhosts again.. this time I connected but the password did not work. and now added again to that /etc/hosts.deny
[14:56] <RoyK> I said allowed-hosts
[14:57] <RoyK> also, stop denyhosts, then clean up the files, then add to allowed-hosts, then start denyhosts
[14:57] <sarthor> RoyK: there is no file name allowed-hosts in that directory
[14:58] <RoyK> 15:55 < RoyK> make it
[15:02] <sarthor> RoyK: Worked great. Thanks friend.
[15:02] <sarthor> Thanks to All of you.
[15:13] <ogra_> Daviey, poke
[15:13] <Daviey> ogra_: poke yourself :)
[15:13] <ogra_> haha
[15:14] <Daviey> I need to dash for 10.
[15:53] <yolanda> hi, what's syntax in debian/control to specify a min and max version for a package?
[16:04] <zul> yolanda: https://code.launchpad.net/~zulcss/python-keystoneclient/fix-requests-2/+merge/146887
[16:05] <yolanda> ok
[16:06] <yolanda> magical patch
[16:07] <yolanda> done
[16:21] <zul> jamespage: ping keystone testsuite runs fine now (needed to fix the python-requests building of python-keystoneclient)
[16:26] <jamespage> zul: great!
[16:28] <sarthor> HI, please help me. .pl URLs are downloading instead of displaying
[16:34] <genii-around> sarthor: Do you have libapache2-mod-perl2 installed and enabled?
[16:37] <xiaoy> When i use ssh with my DNS Tunnel (dns2tcp) i always get "Connection to localhost closed by remote host." by the ssh server on the DNS server host...
[16:39] <genii-around> sarthor: eg: sudo apt-get update && sudo apt-get install libapache2-mod-perl2   ... then make sure that the file perl.load is in /etc/apache2/mods-enabled   and do sudo service apache2 restart
[16:44] <yolanda> zul https://code.launchpad.net/~yolanda.robla/ceilometer/grizzly/+merge/146899
[16:50] <zul> yolanda: have you tested this?
[16:50] <yolanda> zul, i've done a build
[16:51] <zul> and it isntalls?
[16:53] <yolanda> you have to manually install pecan, wsme...
[16:53] <yolanda> but after all is fixed, it installs
[16:55] <zul> yolanda:  i think the tools/test-requires for ceileometer is not complete because you need pep8 for the tools/hacking.py
[16:55] <yolanda> let me check
[16:56] <yolanda> it's not listed in tests requires?
[16:56] <yolanda> and not on pip requires even
[16:57] <yolanda> should i submit a patch?
[17:00] <zul> yolanda: please
[17:00] <yolanda> ok
[17:09] <Note> Hi guys, does anyone know whether a 512MB Ubuntu server is big enough memory to run a very small web server and a znc?
[17:09] <Note> As well as a few other things I might want to add in the future
[17:10] <rbasak> Note: that meets the minimum requirements: https://help.ubuntu.com/12.10/serverguide/preparing-to-install.html#system-requirements
[17:11] <rbasak> Note: I don't see why you'd have a problem for a minor web server
[17:11] <Note> Ok, thanks :)
[17:20] <adam_g> zul: http://people.canonical.com/~agandelman/folsom/keystone-2012.2.1-0ubuntu1.1~cloud0/
[17:20] <adam_g> jamespage: ^
[17:20] <zul> adam_g: +1
[17:20] <zul> adam_g: i swear i was going to get to that today ;)
[17:21] <sweettea> where is the proper way to edit iptables rules on ubuntu-server ?
[17:27] <patdk-wk> sweettea, not to
[17:27] <patdk-wk> use like ufw or something
[17:29] <sweettea> I dont want to install ufw
[17:30] <sweettea> I was just reading about it
[17:30] <sweettea> if I make iptables edits, is there a iptables save function
[17:30] <sweettea> that will reload on boot, etc?
[17:32] <sweettea> https://help.ubuntu.com/community/IptablesHowTo
[17:32] <sweettea> iptables-save
[17:32] <sweettea> :)
[17:33] <yolanda> zul https://review.openstack.org/21338
[17:37] <hallyn> ahs3: woohoo, thanks
[17:38] <yolanda> zul, saw the comments for dhellmann? is that right if that is added in tox.ini? should we also consider that file?
[17:38] <zul> yolanda: yeah it needs to be test-requires as pep8==1.3.3
[17:39] <yolanda> although it's already listed in other files as dhellmann says?
[17:40] <ahs3> hallyn: np
[17:41] <zul> yolanda: yes
[17:41] <yolanda> ok
[17:41] <yolanda> i'll modify the proposal and answer
[17:42] <yolanda> why is that pinned to that version?
[17:45] <zul> yolanda: its standard across openstack projects
[17:46] <yolanda> zul, can you check the openstack-metering channel? i don't have arguments to explain that
[17:47] <yolanda> why is that needed also in test-requires, and not only in tox
[17:52] <Note> Hello guys, I have a ZNC running for IRC, but when I connect it sets my hostname to HEX.me (.me is the my domains tld), but on the network i'm connecting my VNC to, I have a vhost, my znc idents me but if I ident myself then my vhost activates, but if i just let my ZNC ident me it doesn't activate, why is this?
[17:59] <yolanda> zul, so the MP should be ok then?
[18:00] <zul> yeah go ahead
[18:01] <Akendo> Hello guys, some got an idea about this: In our OpenStack installation, booting a Ubuntu Cloud Image fails at creating ssh keys. So we're unable to connect to the VM.
[18:02] <Akendo> We check the logs of the VM and saw that the sshd is not able to use any key exchange
[18:06] <sarthor_> Hi, .pl is downloading not opening apache. HELP me please
[18:06] <sarthor_> ubuntu server using
[18:09] <Pici> sarthor_: is mod_perl enabled?>
[18:09] <sarnold> sarthor_: you probably want to search for mod_perl
[18:10] <patdk-wk> seriously doubt it is going be mod_perl compatable
[18:10] <patdk-wk> probably just want normal cgi support
[18:10]  * Pici shrugs
[18:10] <sarthor_> Pici: how to enable that  ? I am not an expert
[18:10] <Pici> patdk-wk: mod_cgi then?
[18:11] <patdk-wk> probably just missing the mapping that .pl should use cgi
[18:11] <genii-around> sarthor: I explained this to you earlier
[18:12] <patdk-wk> http://www.thesitewizard.com/archive/addcgitoapache.shtml
[18:13] <sarthor_> genii-around: I asked that time i was somwhere else. I left from that place. the machine is still on there. but know I am miles away from that place. So I was unable to see your answer genii-around
[18:13] <sarthor_> but now*
[18:14] <genii-around> sarthor: eg: sudo apt-get update && sudo apt-get install libapache2-mod-perl2 ... then make sure that the file perl.load is in /etc/apache2/mods-enabled and do sudo service apache2 restart
[18:14] <patdk-wk> I would be very careful about mod_perl, as it's doesn't run perl scripts the same way you do at the command line
[18:15] <zul> adam_g: looks like nova-manage config convert went away so should we just remove it?
[18:15] <genii-around> patdk-wk: Aah. I don't use perl on apache so wasn't aware of that. cgi runs them the way they were intended however?
[18:16] <patdk-wk> ya
[18:16] <patdk-wk> mod_perl runs it fine, but it doesn't *clean state* between runs, the program is always active, so you can easily have state pre-existing, or leak memory easily when using it
[18:17] <sarnold> also, perl running in the apache process address space. a bit gross. :)
[18:17] <patdk-wk> ya, everything should be fastcgi :)
[18:18] <sarthor_> genii-around: I did as your said. perl.load file is also there. i did restart apache2. checked again .still dowlnoading
[18:19] <xiaoy> I'm using DNS Tunnel (dns2tcp + ssh dynamic port forwarding) but my ssh tunnel just crashes after a few seconds (Connection to localhost closed by remote host.)
[18:20] <xiaoy> I just don't understand what is wrong? It works only for few seconds, than the server just shuts down the connection... :(
[18:20] <xiaoy> i tried also different dns-tunnel server clients, but the result is the same, it's just something with the ssh server...
[18:20] <xiaoy> This is my sshd_config file on the "fake" DNS server http://pastebin.com/XQvTwqH6
[18:20] <xiaoy> dunno, maybe some of you guys have some experience with this
[18:21] <patdk-wk> ya, there is a lot of other setup you need to do to activate mod_perl
[18:21] <patdk-wk> and it needs to be done, per perl script
[18:23] <sarthor_> patdk-wk: will that be too tough to do? In case i am not expert. I just used to read instructions and do as instructed. every I do not understand them.
[18:23] <patdk-wk> not a good idea
[18:23] <sarthor_> yea... but I am a learner
[18:24] <patdk-wk> then learn from the link I supplied
[18:24] <yolanda> zul: https://code.launchpad.net/~yolanda.robla/ceilometer/grizzly/+merge/146899
[18:24] <yolanda> can you approve it?
[18:24] <patdk-wk> unless the script you are using says it was MADE for mod_perl, and gives you instructions for it, I wouldn't even attempt it
[18:24] <genii-around> I think now I remember why I don't like perl under apache
[18:25] <sarthor_> but I think in that start I am doing this stuff which is tough for me. may be it will make me run from learning.. :)
[18:26] <sarthor_> also too much green chilli and lemon on beans.. Muuuh....Several battles to win
[18:31] <stgraber> hallyn: do we actually have anything to do for https://bugs.launchpad.net/ubuntu/precise/+source/lxc/+bug/1060404 in precise?
[18:32] <hallyn> stgraber: i don't think so.  bug is in grub
[18:32] <stgraber> hallyn: right, let me get rid of the lxc task then
[19:02] <sarthor> genii-around: Hi again, as you told me I did like for the .pl files downloading issue. as you told me in the previous message. I did like that and restarted the apache2 but no change. Then I restarted the machine, and know there is not downloading issue. but the files are just opening as text files in the browser. Any solution please?
[19:02] <digitalsanctum> hi, would someone be able to help me with specifying a preseed file for automated install?
[19:03] <RoyK> sarthor: if you set the content-type to text/plain, it should work out nicely
[19:04] <sarthor> RoyK: I am using mozilla and chrome. on cromium is like txt file. but on mozilla firefox still that .pl download file.
[19:04] <RoyK> sarthor: try, from the commandline, HEAD http://url
[19:04] <RoyK> see what content-type is set to
[19:07] <sarthor> RoyK: that says Content-Type: text/plain
[19:07] <RoyK> sarthor: url?
[19:07] <sarthor> 500 Can't connect to url:80 (Bad hostname)
[19:09] <sarthor> I am in that machine where sql-ledger is installed. and I put this command on that machine command prompt.   HEAD http://localhost
[19:09] <stgraber> hallyn: Does /etc/dnsmasq.d-available/ work for you or do you have a better name suggestion? (I don't particularly like the long name but that's the best I could come up with)
[19:09] <sarthor> Content-Type: text/html
[19:09] <sarthor> RoyK:  Content-Type: text/html
[19:13] <hallyn> stgraber: yeah that's fine with me
[19:13] <hallyn> obvious enough if you look at all
[19:13] <hallyn> and reminiscent of /etc/apache2/sites-available
[19:14] <stgraber> hallyn: yeah, I took the name from what apache and freeradius do with their config
[19:17] <stgraber> hallyn: ok, I have a fix for lxc in raring. Will do some more testing, if it works as expected, I'll upload lxc in raring, quantal and precise with that fix and any other pending SRU.
[19:21] <hallyn> stgraber: cool, i'll copy that into libvirt then, thanks :)
[19:30] <smoser> hallyn, did we lose the man page to kvm in raring?
[19:30] <smoser> or is it just me
[19:31]  * RoyK checks
[19:34] <m_tadeu> hi...I just installed gcc4.7 from a ppa, but now this is not the default gcc (which is 4.6)...how can I change that?
[19:34] <stgraber> smoser: well, kvm is just a compatibility symlink at this point so you'd technically want to check the manpage of qemu-system-x86_64, but we can probably provide a symlink to make that easier
[19:35] <RoyK> smoser: looks so
[20:05] <hallyn> smoser: looks like it
[20:06] <hallyn> stgraber: actually kvm will become a wrapper, not just a symlink
[20:06] <hallyn> have i not pushed that whole merge?  FEH
[20:06] <stgraber> root@castiana:~/data/vm/lxc# ls -l /usr/bin/kvm
[20:06] <stgraber> lrwxrwxrwx 1 root root 18 Jan 29 12:55 /usr/bin/kvm -> qemu-system-x86_64
[20:06] <hallyn> yeah i never finished that merge
[20:06] <stgraber> I think I updated my laptop this morning
[20:07] <hallyn> stgraber: yeah the merge isn't finished
[20:07] <hallyn> it'll have to wait until monday at this point
[20:08] <smoser> hallyn, i opened a bug.
[20:09] <smoser> bug 1117636
[20:09] <hallyn> smoser: thanks, fixed in my git tree (git://github.com/hallyn/qemu #de.jan28.ubuntu2)
[20:10] <hallyn> meanwhile debian exp has moved to 1.4.0 upstream, but I'm not sure I want ot do that this late
[20:10] <hallyn> so i may stick with 1.3
[20:11] <smoser> kvm will be a wrapper ?
[20:11] <smoser> what will it do
[20:12] <stgraber> my guess is, detect kvm support and call qemu with --enable-kvm when found
[20:12] <hallyn> smoser: it will do "qemu-system-x86_64 -enable-kvm "$*"" :)
[20:12] <hallyn> actually
[20:12] <hallyn> exec qemu-system-x86_64 -machine accel=kvm:tcg "$@"
[20:12] <smoser> always qemu-system-x86_64 ?
[20:12] <hallyn> yup
[20:14] <Daviey> hallyn: hey.. Do you know where we seem to be seeing different cpu types in kvm instances?
[20:15] <Daviey> hallyn: http://pb.daviey.com/982y/ , http://pb.daviey.com/c9g4/ , http://pastebin.ubuntu.com/1617691/
[20:15] <hallyn> Daviey: yeah the switch from qemu-kvm to qemu makes some changes, but they shouldn't be much
[20:16] <Daviey> hallyn: the qemu64 standardisation was good for live migrations
[20:16] <Daviey> hallyn: the variance seems to be causing woe.
[20:16] <Daviey> (this is precise)
[20:17] <hallyn> Daviey: wait what, you're seeing unexpected result in precise, or the qemu64 default in precise was good?
[20:17] <hallyn> Daviey: you had a patch specifically to default to qemu64 right?  I'm sure we can write a new patch for qemu to do the same, if that would suffice.  (not sure if it would)
[20:19] <Daviey> hallyn: no, this oddity is on precise
[20:19] <Gateway69> simple question, how can you boot a new ubuntu server image, and have it execute some scripts you want after boot up.. ? aka like a script outside of the image that it loads and runs, is this possible?
[20:19] <hallyn> Daviey: then no, i have no idea.
[20:19] <Daviey> And i don't think my patch forced it to qemu64.. simply exposed vmx in the already default qemu64
[20:19] <Gateway69> somethign like , lets say i have a script that says build me a haproxy server, then another script that says build me db server, so we can automate our stack to launch, a new image, update all software on the server, install what we need and configure files
[20:20] <hallyn> Daviey: but you did just remind me that your patch to expose nested vmx to qemu64 instances was never upstreamed
[20:20] <hallyn> right
[20:20] <hallyn> Daviey: and we don't (yet) have that patch in raring's qemu.
[20:20] <Daviey> hallyn: looking at, https://github.com/aliguori/qemu/blob/master/target-i386/cpuid.c .. it seems it's not using the default qemu64 for some reason
[20:21] <Daviey> I wonder if this is something in openstack doing it..
[20:21] <hallyn> Daviey: precise is on qemu-kvm, not qemu,
[20:21] <Daviey> hallyn: a similar patch was proposed upstream and lazily NAK'd
[20:22] <hallyn> Daviey: yeah...
[20:22] <hallyn> Daviey: i'm just commenting that i need to remember to re-add that to raring
[20:22] <hallyn> Daviey: but so you're saying that in lucid through oneiric, it woudl default to qemu64, and in precise and later it does not?
[20:22] <Daviey> super :)
[20:23] <Daviey> hallyn: No.. I'm saying that using an openstack deployment, spanning multiple nodes.. and seeing different cpu types. :/
[20:23] <Daviey> My hunch is openstack is overriding the cpu type now.
[20:23] <Daviey> which raises a big *sigh* if it is indeed the case
[20:24] <hallyn> Daviey: ok, so nothing for me to do in precise's kvm then - just wanted to make sure
[20:25] <hallyn> it would seem (to a naive goon like me) like exposing the unerlying cpu type by default would make sense :)
[20:25] <m_tadeu> how can I change the default gcc version?
[20:25] <hallyn> i realize that doesn't make sense wrt migration,
[20:26] <Daviey> hallyn: *sigh* - https://bugs.launchpad.net/nova/+bug/1003373
[20:28] <hallyn> Daviey: ok but support for that != making it the default
[20:28] <Gateway69> anyone have any ideas?
[20:29] <Daviey> hmm
[20:30] <rbasak> Gateway69: look at cloud-init userdata. But juju will set up a stack to your liking automatically for you, to save yourself a lot of trouble.
[20:30] <rbasak> Or you can reinvent it yourself if you wish :)
[20:31] <Gateway69> haha, juju, yea.. i started looking into that.. ideally internally be able to launch our stack and test it locally, then push any code changes to the cloud.. does juju work with VM? ..
[20:32] <Daviey> hallyn: https://review.openstack.org/#/c/8527/6/nova/virt/libvirt/driver.py does suggest it's disabled by default..
[20:32] <Daviey> my head hurts
[20:32] <Shogoot> hello loverly people :) im stuck trying to set up my firs fileserver at home.... (yes newbie incomming). the question. i got access to my server via ssh, i m remotely on it. but i cannot access internet from the server. as i get no response when i do ping. i got a hiint that it might be /etc/network/intercades but i got my gateway correctly set. so it might be resolv.conf. but on that i get this warning ive never seen before.
[20:33] <Shogoot> Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
[20:33] <Shogoot> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
[20:33] <sarnold> Shogoot: see /etc/resolvconf/* files for explanations there :)
[20:34] <sarnold> Shogoot: when testing network connectivity, check both ips and hostnames; 4.2.2.1 and 8.8.8.8 both respond to pings, so try those..
[20:34] <Shogoot> dang... 8.8.8.8 works
[20:35] <Shogoot> but i cannot do apt-get update... why is that?
[20:35] <sarnold> Shogoot: try ping 91.189.91.15
[20:36] <sarnold> (that's an IP for us.archive.ubuntu.com)
[20:36] <Shogoot> working
[20:36] <Shogoot> hmm.. so it is the dns list... but how o i edit the dns list without the resolv.conf?
[20:36] <sarnold> good :) then you've got busted dns and get to figure out why :)
[20:37] <sarnold> Shogoot: either your dhcp server isn't handing out a dns server to query, or that dns server isn't working, or .. meh, variety of reasons. but you can hard-code new resolvers in /etc/resolvconf/resolv.conf.d/* files
[20:38] <Shogoot> i have a static ip...
[20:38] <sarnold> ah then you can probably apt-get purge resolvconf and be done with it :)
[20:41] <Shogoot> i dont get it. resolv.conf/* has two files head wich has taht warning that the wolrd will explode if i edit it and base that is empty.....
[20:44] <sarnold> Shogoot: those are there for you to edit. well, maybe one or another is more appropriate, but the entire resolv.conf is built out of those.
[20:45] <Shogoot> friking linux people
[20:45] <Shogoot> ;)
[20:45] <sarnold> Shogoot: but if your resolver should never change because the machine has a static address, you may as well remove the package and go back to just editing your /etc/resolv.conf by hand when you change the resolver manually :)
[20:45] <Shogoot> i was used to the resolv conf back in the day
[20:45] <sarnold> Shogoot: yup.
[20:45] <sarnold> Shogoot: and until I found those files I hated the newfangled thing..
[20:51] <hallyn> Daviey: i dunno, i dont' see where the new guest.cpu ends up being used (or whether having it to default to None does what thecomments say it will)
[20:59] <Shogoot> sarnold, i did that purge thing.... just to see what it did....
[21:00] <Shogoot> and ofc i now dont got resolvconf and i cant reinstall it because i dont got any dns...
[21:00] <Shogoot> argh... help...
[21:11] <stgraber> hallyn: there you go: http://paste.ubuntu.com/1617905/
[21:11] <stgraber> turned out to be far trickier to do that I first thought ;)
[21:12] <stgraber> I spent 30min trying to figure out why the postinst was broken to notice it was just some bad dh ordering...
[21:12] <stgraber> anyway. I think I'm happy with this one so I'll push to raring and then prepare the SRUs
[21:13] <hallyn> stgraber: oh yeah, i've run into that before...
[21:14] <hallyn> stgraber: so (just asking) no reason to remove /etc/dnsmasq.d-avilable/lxc on purge?
[21:18] <stgraber> hallyn: well, it's a conffile, so purge should do that anyway
[21:20] <hallyn> oh.  right :)
[21:27] <Shogoot> is there any way to do apt-get update but spesifying the ip to do it from? I have a DNS problem and i need to resintall my resolvconf files.... but as i got the dns problem apt-get update just gives me the unable to resolve host error
[21:43] <ivali> I am running ubuntu server (clean install). Flushed iptables cand disabled ufw.Can it be something else that is blocking me certain ports (135,139,445, 1433 etc.) or should i talk to my ISP?
[21:44] <escott> ivali, it would be very strange for an isp to block a high port
[21:49] <ivali> I've made some tests http://pastebin.com/JeEkhMJd
[21:50] <ivali> Can I assume that my default gw (81.180.93.129) is blocking that port (139) or can it be a problem with the server?
[21:53] <stgraber> hallyn: lxc precise SRU: http://paste.ubuntu.com/1618032/
[21:54] <stgraber> hallyn: note that I had to pretty much rewrite the cloud patch as smoser's branch was changing a quarter of the file to fix some identation. I "think" the code does the same thing though.
[21:54] <stgraber> I'll push to a PPA and very all the fixes here before pushing to -proposed (and I'll have to find some clever way of testing some of those, the lucid outdated cache thing will be hard to test)
[21:56] <smoser> stgraber, you *could* test it :)
[21:58] <sarnold> Shogoot: add whatever IP address your resolver is at to /etc/resolv.conf -- if you don't have one yet, then use 8.8.8.8 (google runs a public DNS server just for this purpose :)
[21:58] <sarnold> Shogoot: you can either stick with google's DNS or you can install your own recursive resolver.
[21:58] <stgraber> smoser: yeah, as I said, I'll test all that mess before uploading to precise-proposed. I just don't enjoy a 30s cherry-pick turning into a 15min diffing session ;)
[22:00] <smoser> fair. i'm not sure why i did that.
[22:00] <smoser> but i will admit to not being able to stand mixing tabs and spaces
[22:04] <hallyn> stgraber: so now if the user removes the dnsmasq.d/lxc symlink, removes and reinstalls, they'll get the file back.  Is that ok?
[22:04] <hallyn> (as opposed to if they make changes, the changes will persist over remove/reinstall)
[22:06] <hallyn> i guess it's what the bug submitter wanted?  but it seems inconsistent
[22:08] <stgraber> hallyn: yes
[22:09] <stgraber> hallyn: if they want it gone, they need to wipe the conffile, not the symlink
[22:09] <stgraber> or empty it, or whatever
[22:16] <hallyn> stgraber: I don't quite get that from the comment at top of the dnsmasq file
[22:17] <hallyn> stgraber: but I'm nto sure how to concisely make it better
[22:21] <hallyn> stgraber: nm, it's fine as is.
[23:29] <hallyn> roaksoax: hey, bug 1109209 should be fix released for raring right?
[23:45] <roaksoax> hallyn: yes!
[23:45] <roaksoax> hallyn: but raring has ubuntu7, quantal6.1
[23:45] <roaksoax> which is the same
[23:51] <SpinningWheels> anyone have any idea why an mdadm array would randomly go from /dev/md0 to a read-only on /dev/127? i cant find any errors in any logs that i've found. any ideas?
[23:53] <escott> SpinningWheels, /dev/127? shouldn't there be something in front of that like sda127 or md127?
[23:57] <SpinningWheels> erm, yeah, md127
[23:58] <escott> SpinningWheels, what is the mdstat?