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

=== dax_ is now known as dax
uvirtbotNew bug: #1022772 in postfix (main) "Microversion release update for postfix 2.9.3-2" [Undecided,New] https://launchpad.net/bugs/102277200:36
=== Aaton is now known as Aaton_off
=== n0ts_off is now known as n0ts
darkf34rI'd like to register my nickname on freenode, could I?01:04
daxdarkf34r: http://freenode.net/faq.shtml#nicksetup01:05
dax(btw, #freenode is the usual channel for network support questions)01:05
=== cpg is now known as cpg|away
BuenGeniohi there02:05
BuenGenioany idea why this has started happening after the last postfix upgrade?02:05
BuenGeniohttp://pastebin.com/VPR9wXRP02:05
BuenGeniosome users - not all, and not always, also started complaining about their mail clients asking for their passwords when sending mail02:05
BuenGeniopersonally, I've never had this occur to me on the same server, and there's nothing obvious in logs that would suggest it's a postfix/auth issue02:05
BuenGeniohowever, the small proportion of users with the problem only started complaining after the upgrade02:05
qman__if they're using MS outlook, it just does that, tell them to reboot02:12
qman__as for your pastebin, looks like you're missing whatever library or module is used for quotas02:13
BuenGenioqman__, didn't used to do that "password incorrect". in any case, you know what their answer is going to be - it works with my other email account - so it's YOUR problem02:20
BuenGenioand they would be right...02:21
qman__I deal with it all the time, MS Outlook just does that sometimes, usually when the server goes offline while the computer is connected02:21
qman__the fix is to reboot, or in bad cases, recreate the profile02:21
ScottKBuenGenio: Those errors are from a postfix that was built with the unofficial VDA patch.02:21
qman__but if people besides Outlook users see it, then you may have an issue02:22
ScottKThe official Ubuntu packages don't have that.02:22
ScottKSo if you switched from a custom build with the VDA patch to the standard Ubuntu packages, you'd get errors like that.02:22
BuenGeniohow to get rid of that?02:23
ScottKActually there's a few there that aren't VDA related.02:23
ScottKWhat version of Ubuntu are you running?02:23
BuenGenio12.0402:23
BuenGenioupgraded from 11.04 -> 11.1002:23
BuenGenio-> 12.0402:23
qman__well, you either need to get a same-patched custom version for 12.04, or deconfigure the custom bits02:24
ScottKWhat's the  output of dpkg -s postfix?02:24
ScottKAlso what do you get from grep spf /etc/postfix?02:26
ScottKBuenGenio: ^^^02:27
BuenGenio1 sec02:27
ScottKAlso please pastebin the output of postconf -n.02:27
BuenGenionothing02:27
ScottKCan you pastebin /etc/postfix/master.cf?02:29
ScottKAlso main.cf.02:29
BuenGenioScottK, http://pastebin.com/rW1c2Ckz02:29
BuenGeniopostconf -n ^^02:29
BuenGenioScottK: master.cf: http://pastebin.com/av5q2syH02:30
ScottKOK.  What was it you got no output for?02:30
BuenGenioScottK, for grep -i spf02:31
ScottKOK.02:31
ScottKHow about main.cf.02:35
ScottKAnd I'm also still looking for dpkg -s postfix.02:35
ScottKBuenGenio: Have you vanished?02:39
BuenGeniono, i'm here02:39
ScottKBuenGenio: Did you pastbin main.cf?02:39
ScottKI need to see that.02:40
BuenGenioScottK, dpkg -s postfix: http://pastebin.com/3d7PLQ8t02:40
ScottKGood.  That's the correct one for 12.04 with all updates applied (which is what you want).02:41
ScottKNow main.cf.02:41
BuenGeniocat /etc/postfix/main.cf: http://pastebin.com/V536vh4t02:41
ScottKThanks.02:41
BuenGeniocheers02:41
ScottKSo there are a few problems here.02:43
ScottKFirst is the SPF one.  To use the SPF policy server you've got set up, you need to do two things:02:45
ScottK1.  Add check_policy_service unix:private/policyd-spf to your smtpd_recipient_restrictions, right before permit_auth_destination.02:45
BuenGeniook02:46
ScottK2.  In line 123 of your master.cf add the missing 'd' to policy-spf, i.e. policyd-spf.02:46
ScottKThat will make those warnings go away.02:47
BuenGenioyeah, so I did something wrong grepping /etc/postfix for spf the first time =)02:47
BuenGeniothere's quite a few spf references there02:47
ScottKYes.02:49
ScottKNot a problem.02:49
BuenGenioadded spf restriction02:49
BuenGeniobut that doesn't address the "unused parameter" issues02:50
ScottKRemove all reference to virtual_mailbox_limit_override, virtual_maildir_extended, virtual_overquota_bounce, virtual_create_maildirsize, and virtual_maildir_limit_message from main.cf.02:50
ScottKThose are VDA patch functions that aren't supported by postfix upstream or Ubuntu.02:51
ScottKAlternately, you can update your package to apply the VDA patch, but you are totally and completely on your own there.02:51
ScottKhttp://vda.sourceforge.net/02:52
ScottKThey have their own mailing lists.02:52
BuenGeniook02:52
BuenGeniois there a launchpad project with binaries for that?02:53
ScottKNo idea.  That's part of where completely on your own kicks in.02:53
BuenGenioheh02:54
BuenGeniocool, thanks for the help02:54
BuenGenioScottK, one error left02:55
BuenGenio/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: spf-policyd_time_limit=3600s02:55
ScottKWhat's your service in master.cf called?02:56
ScottKIs it policyd-spf?02:56
ScottKIf so, that needs to match.02:56
ScottKpolicyd-spf_time_limit=3600s02:57
ScottKI see it was policy-spf.02:57
ScottKSo make that parameter in main.cf match the service name in master.cf plus _time_limit.02:58
ScottKBuenGenio: ^^^02:58
BuenGenioah02:58
BuenGeniooic02:58
BuenGeniosweet02:59
ScottKOne of the changes in more recent postfix releases is it started warning about these things.  Those were possibly broken all along, but no one knew because there were no warnings.03:02
hilarieokay, so my isp got mad at me for using both an static and dynamic ip (long story) so I went out and bought a 2nd nic for my ubuntu server, and its showing up as connected, but I can't figure out how to make it play nice, right now, I just have my xubuntu hooked directly up to it trying to get it to connect, so I can then put my router in place of the xubuntu netbook and everything can be connected03:30
hilariehow can I get my ubuntu dhcp server up and running? it shows its active, but my xubuntu isn't connecting03:30
hallynstgraber: all right i don't expect this to be reliable yet, but lp:~serge-hallyn/ubuntu/quantal/lxc/lxc-api-getconfig/ .  it leaves open the question of how you want the get_config_item(lxc.network) to look03:38
hilariehow to tell if your nic is "modern" and will handle the crossover stuff without you?03:39
stgraberhallyn: I guess the easiest is to do as you said on Friday, have get_config_item("lxc.network...") return the key for all interfaces, one on each line03:41
stgraberhallyn: I can pretty easily then write some python to query all the .network keys and generate nice interface objects (or similar) that people can understand and update easily03:41
hallynstgraber: it gives full 'lxc.network.*' output.  (none of the others do)03:42
stgraberhallyn: yeah, not sure I like the special casing that much... I think it's best to treat the network stuff just like any other key and let the higher level stuff deal with it (in this case, the python overlay).03:44
hallynstgraber: but that doesn't really work bc the network stuff needs context03:44
hallyni.e. one nic might be macvlan with vlan_id to print, one might be veth with another endpoint ifname to print03:45
hallyngateways and bcast etc are also optional03:46
hallynso i could drop 'lxc.network.' but keep the rest of the key names, but that just makes it all the more work for your layer since you'll have to convert between that and the config file03:46
hallynso maybe i need a network-specific query api after all with things like 'network_get_link()'03:47
stgrabergah, lxc's network config is really a mess... let me quickly write a bit of python that looks like what I was hoping to get from get_config_item/set_config_item/clear_config_item, then we can see if that's even doable ;)03:48
hallynstgraber: let's talk tomorrow (or after you've taken a look and can tell me which parts you hate the most)03:48
hallynsounds good03:48
hallyngood night03:48
=== ping is now known as Guest17391
stgraberhallyn: http://paste.ubuntu.com/1083899/ that's rougly how I was planning to use get_config_item. Essentially iterating all possible keys, assuming I'll always get one line per interface with the line empty if it's not set03:56
stgraberhallyn: which then lets me build a list of interfaces and properties that the user can play with. When changed, I'd simply iterate through all the keys again with clear_config_item first, then do set_config_item calls to set the keys03:57
stgraberso it'd involve quite a bunch of calls to get_config_item, clear_config_item and set_config_item03:58
stgraberhallyn: which only works as long as none of these keys can exist more than once per interface (I'm not sure about that bit, if these some of these keys can be defined multiple times, it'll just fail...)04:00
=== cpg|away is now known as cpg
stgraber(we really should really plan to move to lxc.network.<interface>.* ... that'd make things much easier to deal with ;))04:00
stgraberhallyn: anyway, I'm off, I'll take a long at the branch tomorrow (for now I was just speculating based on our previous discussion and IRC comments, haven't looked at the implementation). good night04:01
hallynstgraber: lxc.network.ipv{4,6} are both lists (meaning multiple values for addresses)04:03
hallynnight04:03
stgraberhallyn: argh...04:06
ping__hy04:10
ping__help my ubuntu server installing lusca can't cache youtube :(04:10
=== cpg is now known as cpg|away
ping__help :(04:38
=== cpg|away is now known as cpg
glosoliHow do I check if mail service is installed in my VDS05:16
glosoli ?05:16
andolglosoli: Well, did you install one? :) Also, how do you define a mail service? A basic (sending) SMTP server, or more?05:18
glosoliandol: basic sending smtp server, I didin't installed one, but it might have been installed when I buyed a Cloud Server with Ubuntu, I kinda see in Parallels Panel something like sendmail mentioned05:19
andolglosoli: For starters, you can check if you have anything listening on port 2505:22
andolsudo netstat -tlnp | grep ":25"05:22
glosoliyeah send mail05:23
glosoliis being listening on 2505:23
andolglosoli: Ok, sounds like you have something install, but no idea whatever it is properly configured or not.05:25
glosoliok will check that out as there is some php file on the website being hosted by that server05:25
andol(Also, sendmail is something I haven't touched in a while.)05:25
glosoliso if it won't popup any error while using send_mail I assume I can think that everything is o05:25
glosoli ?05:25
glosoliis ok"05:25
andolNo idea.05:26
ping__hy sir, plz help, i instal squid on ubuntu server, but i cn't cache youtube ?05:31
=== cpg is now known as cpg|away
glosoliany ideas how to clear DNS Cache05:47
glosoli ?05:47
=== ping is now known as Guest34040
ping__s05:50
ping__glosoli = sudo aptitude install nscd05:51
ping__Flush DNS Cache in Ubuntu Using the following command sudo /etc/init.d/nscd restart05:51
glosoliso likely if I updated some domains ip, if I flush DNS Cache I will get to it as the new IP already05:53
glosoli ?05:53
=== cpg|away is now known as cpg
greppyglosoli: are you using your own local dns server, or using an ISP or other external DNS server?06:03
glosoligreppy: ISP, so that basically means I  can't do anything yes06:03
glosoli ?06:03
greppyglosoli: probably not06:04
glosoliwhat's the best email panel06:29
glosoli ?06:29
glosolior the most used one, for having email control center or something inside ubuntu server as some kind of web front end06:29
greppyglosoli: I have been using and liking the froxlor panel from http://froxlor.org06:30
greppyglosoli: but I also do some domain hosting for friends and family, giving them the power to manage the email for thier domains makes life easier.06:31
glosoligreppy: does it also provide something like frontend for singing with accounts and reading the mails ?06:31
greppyglosoli: nope, for that you can use something like squirrelmail or roundcube.06:32
SteveRileyglosol: for dns flush, see http://ubuntuguide.net/flush-clean-dns-cache-ubuntu-12-04-precise06:34
glosoliSteveRiley: too late, isp already updated hmm06:35
glosoligreppy: I found roundcube something pretty06:35
SteveRileyglosoli: ah, okie. sorry, just noticed your msg.06:35
glosoliSteveRiley: no problem06:35
=== _ruben_ is now known as _ruben
glosoligreppy: 10GB for hosting something like email service for few mails and some other websites, is far too less for a server yes ?06:41
greppyglosoli: depends on how much space they want to use.06:43
glosoligreppy: Might be ~5GB06:44
greppymost websites are not that large unless you have lots of images, movie or music files.06:44
glosoliwell I think if I add everything it might be 90percent of space wasted06:44
greppyall of my email fits in about 2.3gb, but that is archiving several years and also being on several mailing lists.06:44
=== ubuntu is now known as Guest65589
=== Guest65589 is now known as NathanStilwell
=== zyga is now known as zyga-afk
=== almaisan-away is now known as al-maisan
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== ubuntu is now known as Guest87398
=== Guest87398 is now known as Nathan_S
Anomie21Is there any firewall for Ubuntu 11.10 that has a nice web gui?09:42
jMCgAnomie21: fwbuilder is a nice GUI and can be exported to pretty much everything.09:44
jMCgWe use it at $work for everything (ipfw, iptables, etc…)09:44
jMCgPersonally, I just use ufw on Ubuntu09:45
=== zyga-afk is now known as zyga
jMCgTo repeat my fancy pants question from yestereve:10:06
jMCg18:58:37 < jMCg> I'm trying to run my own repo (with reprepro), but I run into the following problem: I'm rebuilding packages and they end up with the  same version number in different distros (lucid, precise, oneiric), so when I run includedeb on new packages, I get:10:06
jMCg19:00:41 < jMCg> http://dpaste.com/768679/10:06
jMCgThe progress so far: I know that what I want is not possible, because the repo uses the same pool to serve all files from it. If I want it any other way, I'd need a different config for each distro, but HEY HEY, the config is different for each distro ANYWAY. (emphasis mine)10:08
jMCgputting Multiple in conf/incoming would allow me to put the package in multiple distributions, but of course not when the same version has different.. stuff. Is different.10:24
jMCgI'm talking to myself, I know, but that's okay, really.10:32
jMCgPonies.10:32
=== n0ts is now known as n0ts_off
=== al-maisan is now known as almaisan-away
=== matsubara is now known as matsubara-afk
glosolihttp://www.webmin.com/deb.html is this ok for doing webmin installatin on Ubuntu Server11:01
glosoli ?11:01
bazhang!webmin | glosoli11:11
ubottuglosoli: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.11:11
glosolibazhang: what would you recommend to change it11:12
glosoli ?11:12
bazhanghttps://help.ubuntu.com/community/Zentyal11:12
=== cpg is now known as cpg|away
glosolibazhang: is it free11:16
glosoli ?11:16
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
zulgood morning12:01
jamespagemorning zul12:06
jamespagezul: hey - I uploaded a fix for openvswitch so that it will actually start with the 3.5 kernel12:06
zuljamespage: cool...sorry i couldnt get to it soonser12:06
jamespagehowever the DKMS package is still broken - I did try to pick some patches but it got to the point where I may as well just done a HEAD snapshot12:07
jamespagezul, also the kernel module is NOT provided by the kernel on arm*12:07
zuljamespage:  ok ill take a look at it this afternoon...i swear12:07
jamespagezul, sorry - I was not hassling - I'm through my immediate blocker with this mornings upload12:08
jamespagejust wanted to impart what I had discovered12:08
zuljamespage: i know you were not hassling..i need to spend some time on it12:09
feisarHi I have a question regarding UFW, I'd like to do the following: sudo ufw allow from any to 192.168.255.5 port 60000:65535/tcp12:19
feisarbut I get the error: ERROR: Port ranges must be numeric12:19
=== Ursinha` is now known as Ursinha
jdstrandfeisar: change /tcp to ' proto tcp'12:30
Pupeno_WWhat's the proper place to modify the prompt system wide?12:32
feisarjdstrand: thank you : ) 'sudo ufw allow proto tcp from any to 192.168.255.2 port 60000:65535' did the trick!12:48
=== almaisan-away is now known as al-maisan
RoyKany idea what kernel I should choose for an ubuntu server guest (x86_64) under vmware esx?13:18
=== dendro-afk is now known as dendrobates
stgraberhallyn: so, thinking about it some more (but still haven't checked your branch, sorry), I guess the easiest way of dealing with this mess would be to add an index argument to all the *_config_item() functions and an extra count_config_item() function13:29
stgraberhallyn: for most of the keys (!network basically), this would be set to 0/NULL but for network, you would be able to query the various sections independently using it13:30
stgraberhallyn: though I don't really like the count_config_item name, would have to think of something better as it wouldn't be returning the number of key with a matching name, but instead the number of sections to use with index=13:31
stgraberhallyn: I suppose it could simply be count_config_section() and based on what we currently have, the only option where it'd return >1 would be for anything under lxc.network13:33
jamespagezul, around? wanted to discuss something openvswitch-ish with you13:36
zuljamespage: yep13:37
jamespagezul, OK _ let me set the scene13:37
* zul gets his popcorn13:37
jamespageI'm working on packaging a tool called mininet which makes use of the openvswitch-controller13:38
jamespagehowever; it uses the ovs-controller executable directly13:39
zulok13:39
jamespageBUT the openvswitch-controller package installs an init scripts and starts it up automatically13:39
jamespageI considered doing bad things in the postinst/postrm script for mininet to stop/disable it13:40
jamespagebut going on the big linitian error I don't think using update-rc.d to manipulate another packages init scripts appears to be acceptable13:40
zulok13:41
jamespagezul: how would you feel about some restructuring of the openvswitch package so that say all binaries are provided by -common13:41
zuljamespage: i wouldnt mind13:41
jamespageand the -controller et al packages just have the init scripts13:41
jamespagezul, do you know the debian maintainer?  I think its one of the upstream guys13:42
zuljamespage: yeah he is...i would talk to the debian guy...simon horms is his name i think13:43
jamespagezul, ack13:44
jamespageI'll email them both13:44
=== zyga is now known as zyga-food
jamespagerbasak, nice triaging BTW14:04
hallynstgraber: I figured only network would have a c->num_networks(), and then c->get_network_config(c, "macvlan.vlan_id") which returns -1 if invalid14:09
rbasakthanks!14:12
stgraberhallyn: surely with an extra parameter to get_network_config to tell it what network to retrieve the key from?14:13
=== joete is now known as bca
jamespageany chance someone could verify an SRU for me - bug 99329114:18
uvirtbotLaunchpad bug 993291 in nis "[SRU] package nis 3.17-32ubuntu1.2 failed to install/upgrade: invoke-rc.d: unknown initscript, /etc/init.d/nis not found." [Medium,Fix committed] https://launchpad.net/bugs/99329114:18
jamespagecheers14:19
hallynstgraber: of course14:20
hallynlemme do some busywork and then i guess i'll write it all back down and see how it looks14:20
stgraberhallyn: ok. I'm not a big fan of special casing networking like that, but at the same time my suggestion would essentially do that too (as count_config_section() would only return >1 for network)14:22
=== zyga-food is now known as zyga
hallynstgraber: well there is another possibility - we can use our own tweak on the config syntax, and have:14:28
=== ubuntu is now known as Nathan_S
hallynget_config_item(c, "lxc.network") -> ("veth", "macvlan", "veth")14:28
hallynget_config_item(c, "lxc.network.nic2.macvlan_id") -> "4802"14:29
hallynuh, make that "veth\nmacvlan\nveth" for the first return value14:29
stgraberhallyn: could you make that:14:31
stgraberget_config_item(c, "lxc.network") => "eth0\neth1\neth2" (with ethX being whatever name lxc would use in the container)14:31
stgraberthen have get_config_item(c, "lxc.network.eth2.macvlan_id") => 480214:32
stgraberbecause I'm kind of planning to ask for a config format change for lxc.network to essentially match the above, so that way, if that change ever gets upstream, we wouldn't need any API change14:33
stgraber(or rather, API consumers wouldn't need to change)14:33
hallynstgraber: but they don't have to have a name14:37
hallyni suppose for unnammed ones i could use 'nic%d', and use the name if it exists...   complicates (and makes more fragile) by a bit, but gives you what you want in most normal cases14:37
stgraberhmm, good point...14:38
stgraberok, let's just go with lxc.network.<index>.<key> => lxc.network.0.macvlan_id14:38
stgraberor nic0 if you prefer but I'm not sure it really makes it any clearer :)14:39
hallynagreed14:39
hallyni suspect from a user pov this will mean we'll want a get_keys() fn, i.e. get_keys("lxc.network.0")14:39
stgraberhallyn: yeah, that'd make my life much easier when writing the python code to deal with networks. Otherwise I'd have to include an hardcoded list of keys and go through them all, not difficult to do but seems to be a bit of a waste of CPU time ;)14:42
=== al-maisan is now known as almaisan-away
=== n0ts_off is now known as n0ts
glosoliHey folks, I have some question, so here it goes: I have made backup via Direct Admin from some shared hosting, is there any way to restore that backup in some Dedicated Server I own with something other than Direct Admin ? cheers15:12
jamespageUrsinha, do you have the mootbot meeting log for last week?15:16
jamespageI seem unable to find it :-)15:16
Ursinhaoops, sure, just a moment15:16
jamespageUrsinha, thanks for running the meeting BTW - much appreciated15:18
Ursinhajamespage, no problem at all, sorry I haven't updated the page as I should15:19
Ursinhajamespage, here's is the output generated by the bot: http://ubottu.com/meetingology/logs/ubuntu-meeting/2012/ubuntu-meeting.2012-07-03-16.00.moin.txt15:20
jamespageUrsinha, ta15:23
* jamespage nudges Daviey about the thrift packages in the NEW queue15:31
Davieyjamespage: undoubtedly15:32
=== dendrobates is now known as dendro-afk
jamespageDaviey, ta15:44
Davieyjamespage: It's all accepted, but can you confirm python-thrift needs Arch: any ?15:46
jamespageDaviey, yep - it builds a .so15:46
Davieyah, super15:46
=== n0ts is now known as n0ts_off
Davieyo/16:00
Davieygah16:00
bencerthere were some ongoing efforts to package ovirt, what's the status of this on 12.10?16:04
smbzul, Hm, I just realized (by failure) that between my xen version and yours from the later source there seems to be a tiny but evil difference that it does not create the /usr/lib/xen-default link. Something that libvirt does not like much...16:09
Daviey!!!16:09
=== zyga_ is now known as zyga
zulsmb: ergh...ok16:09
smbzul, Not sure why. To me the update-alternatives --remove in the xen-utils postinst looks a bit weird...16:10
=== zyga is now known as zyga-afk
=== Lcawte|Away is now known as Lcawte
=== matsubara-afk is now known as matsubara
zulsmoser: i have a euca2ools patch if you want to review it later this week16:27
smoserzul, have you/can you do a pull request to upstream?16:28
smoserhttps://github.com/eucalyptus/euca2ools16:28
zulsmoser:  no/yes, it adds armhf as a valid architecture16:29
zulso i dont know if its suitable for upstream inclusion16:29
smoseri would suspect it is.16:29
smoseror surely we can make it such that it is16:29
glosoliI am installing Zentyal16:37
glosolianyone can say what does that mean "   │ Please enter the password for the admin entry in your LDAP directory.  â”‚  "16:37
glosoli ?16:37
glosoliLDAP Directory what exactly is it for16:37
xranbyglosoli: LDAP can be used to keep track on manu users in larger organizations. like centralized login authentication for multiple systems16:40
xranbymany16:40
glosoliso that password should be hard to ques ?16:40
glosoliguess"16:40
Davieyzul: so.. should we do a pep8 1.1 upload?16:41
zulDaviey: wouldnt it be a bit backwards since we already have 1.2 in quantal16:42
Davieyzul: i mean, 1.1 to quanta16:42
Davieyquantal16:43
DavieyAs in, i don't think openstack is going to 1.2 anytime soon16:43
xranbyglosoli: sorry i have not setup any Zentyal system so i cant guide you..16:43
glosolixranby: what do you use16:43
glosoli ?16:43
zulDaviey: yeah i started getting the pep8 tests past with 1.2, its not going to be easy16:43
zulso yeah16:44
Davieyzul: i think we should just go back :(16:44
Davieyi'll do that now16:44
zulDaviey: i dont want to....but yes16:44
zulDaviey: pep8 will need to be blacklisted for syncs then16:46
zuljamespage: i dont understand it...according to the changelog for openvswich you patched to work with 3.5 but dkms building still fails for me16:46
jamespagezul, I did not - "use of openvswitch without openvswitch-datapath-dkms"16:47
jamespageI could not get the dkms build to work16:47
smbzul, So yes, I think that xen-utils-4.1.postinst should actually have a "update-alternatives --install /usr/lib/xen-default xen-default /usr/lib/xen-4.1 50" (or whatever prio is normal) instead of --remove-16:47
zuljamespage: ok ill start there then :)16:48
jamespagezul, it probably needs a 1.7.x git snapshot with some patches I think16:48
zulsmb: 4.1.3~rc1+hg-20120614.a9c0a89c08f2-3 removed the /usr/lib/xen-default according to the changelog16:48
zulsmb: so libvirt needs to be fixed16:49
zuljamespage:  or patch the snot out of the dkms module16:49
jamespagezul, I got to 5 patchsets; none of which applied cleanly and then gave up16:50
zuljamespage: *sigh* :)16:50
smbzul Just read that... Though I wonder how well that works if xen suddenly becomes xen-4.2... But probably not an immediate problem...16:50
zulsmb: i guess we will find out eventually :)16:51
smbPretty much very likely. :)16:51
zuljamespage: crud... with the openvswitch git tree http://paste.ubuntu.com/1084805/16:55
jamespagezul: yeah - git tree + patch to allow 3.5 kernel16:56
zuljamespage: right16:56
jamespagezul, there is only one explicit kernel check in datapath/datapath.c16:56
jamespageand note that the only think that this provides over the kernel openvswitch provided module is the brcompat module16:57
jamespagewhich is not advised....16:57
zulyeah16:57
zuljamespage: i wonder why we are still using the 1.4 branch16:59
jamespagezul, not sure; its been pretty much untouched from Debian AFAICK16:59
jamespageAFAIK16:59
* jamespage <- should learn to type16:59
zulmaybe stick 1.6.1 in a ppa so we can test it out16:59
zuljamespage: there is a program called hooked on phonics :)17:00
jamespagezul, it still lacks the 3.5 support tho17:00
jamespageI think thats only in the 1.7 branch17:00
jamespagesorry - not even there....17:00
* jamespage sighs17:00
jamespagezul: worth a discussion with upstream - bpl just pointed out an obvious way for me to fix my mininet problem...17:01
jamespagewithout restructuring the package....17:01
jamespageblp that is17:01
jamespagenot bpl - he's someone else....17:02
glosolihttp://dpaste.org/PmoiE/ how do I fix this ?17:20
=== Aaton_off is now known as Aaton
=== dendro-afk is now known as dendrobates
=== chmac7 is now known as chmac
piercedwaterI am trying ton convert FLAC to ALAC using avconv, but i get this error and avconv stops: [flac @ 0x824baa0] Format detected only with low score of 25, misdetection possible!17:51
piercedwaterany ideas?17:51
r3dLunchb0xlooking for a good server reporting tool. Just need basics, top/network/disk/cpu/mem17:53
r3dLunchb0xsomething I can send to management17:53
tonyyarussoHi, I just copied rsyslog config files over from an older Ubuntu system (either 10.04 or 8.04) to a new Ubuntu 12.04 system, and something's different with our logging behavior.  This is a central logging box, and it's supposed to write to separate files per source host.  Problem is, it's doing that AND writing EVERYTHING to the normal /var/log/syslog.  Did something change in how that's handled in the config file?  How do I ...17:54
tonyyarusso... tell it not to duplicate the remote stuff, and only put local messages in there?17:54
tonyyarussoHere's the config we're using:  http://pastebin.com/exZtpiSK17:54
tonyyarussor3dLunchb0x: What exactly are you trying to report?  They're current status?  Capacity trends?  Outage history?17:55
r3dLunchb0xtrends over 5-7 days. I tried nagios and zabbix but i would like simple...bash scripts even17:56
glosoliHmm wha can be the problem18:00
glosoliapache2 is isntalled18:00
glosolithere is no init script for it18:00
adam_gwin 918:03
koolhead17hoi all18:07
=== cpg|away is now known as cpg
=== zyga-afk is now known as zyga
=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|away
r3dLunchb0xtonyyarusso: trends over 5-7 days. I tried nagios and zabbix but i would like simple...bash scripts even18:45
tonyyarussor3dLunchb0x: For things like disk space, a little bash script would be fine.  Network traffic would be a little trickier, depending on what level of granularity (how frequent of checks) you need.  You could use the Nagios plugins and just run them from cron, or use snmpget for everything, again from cron.18:56
tonyyarussoIf you wanted to actually calculate trend lines or anything there are ways to do it, but it'd be a bit more complicated.18:56
r3dLunchb0xtonyyarusso: snmpget....i tried that on ubuntu server 10.04 running on HP proliant hw, I get nothing worth while...Is there not a pkg for something like this?19:06
=== zyga is now known as zyga-afk
rbasakdu2rrd (http://oss.oetiker.ch/optools/wiki/du2rrd) is awesome for monitoring disk space19:27
zastaphcan't decide if I should setup RAID 0 or 1 from BIOS which is a fake RAID or from Ubuntu https://help.ubuntu.com/community/Installation/SoftwareRAID on my HP Microserver19:50
RoyKzastaph: I'd drop raid config and rather use software raid19:55
RoyKjust my opinion...19:55
zastaphright19:55
* RoyK has setup dozens of servers on software raid...19:55
zastaphI got one 160GB and 2 250GB in the server.. could probably do RAID 5, but then all 3 would be 160GB i guess19:56
RoyKyou have a wee bit more control with software raid when something goes wrong19:57
RoyKtwo small partitions for the root and the rest for raid-5 should do19:57
RoyKalthough, personally, I never mix those, but I guess there aren't too much space in that thing19:57
RoyKwhat about two tiny SSDs for the root mirror and three largish drives for the data?19:58
zastaphi got 2 small servers.. this one will be for KVM on a USB stick, and then 160GB space for 3-4 VM's .. then on the other server I'll install a samba/NFS for actual storage19:58
zastaphi figured that would be the right way to do things19:59
RoyKyou could use two USB sticks for the root and the drives in raid-519:59
RoyKyou'll hit the wall once it starts swapping, though20:00
zastaphif the USB stick breaks I'd just lose the RAID master and KVM server... that could be restored I guess20:00
RoyKzastaph: keep in mind swap if you want to use a usb stick for the root - those sticks are usually slow20:01
zastaphright..20:01
RoyKzastaph: if you have sufficient memory, decrease vm.swappiness to something very low, like 020:01
zastaphso could use the 160GB for KVM, and buy 3 new for RAID-5 for VM's20:02
RoyKkvm/libvirt without the VMs is just config files20:02
LcawteAnyone around to help me with some firewall problems20:02
RoyKso two 16GB plugs in a mirror for the root should suffice20:02
zastaphyes but you said if I use usb stick I'll get a bottleneck?20:02
zastaphdon't have 2 plugs, only 120:03
RoyKa usb hub? :)20:03
RoyKanother single point of failure, so maybe not20:03
zastaph:)20:03
RoyKLcawte: !ask20:04
RoyKerm20:04
RoyK!ask20:04
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience20:04
RoyKzastaph: are you sure there aren't more USB outlets on the mobo?20:04
RoyKthere usually are20:04
zastaphRoyK, internally no.. but sure outside.. but hmm?20:04
zastaphand raid on USB sticks?20:05
RoyKwhy not? :)20:06
LcawteOk, so I'm running Ubuntu Server, and I have iptables installed, anyway... the firewall I assume, it doesn't seem to be the router, as other people were getting through, used to "randomly" block certain people, like one of my friends used to get blocked, but now everyone but my IP seems to be blocked. Although, on ports other connections are getting through from the same server... whats going on?20:06
Lcawtedomain is lewiscawte.info20:07
zastaphand that's a stripe raid i guess?20:07
RoyKzastaph: raid-1 aka mirror20:07
zastaphbut then I don't get any speed from it.. so what's the point? if the KVM itself breaking isn't any critical?20:07
RoyKzastaph: so that when (not if) one of them dies or is unplugged, the other can do the job20:07
zastaphthe VM's could still be restored i guess20:08
RoyKzastaph: well, if the root dies, your VMs will probably have a rather hard time20:08
zastaphhmm, right20:08
zastaphand installing RAID on the root is as easily as doing it on other disks?20:08
RoyKbut then, if you don't need uptime, just go with a single drive20:09
zastaphno I don't need uptime20:09
RoyKzastaph: with ubuntu server, yes, just create partitions for boot and root and swap as "physical partitions for md" (equal size on both drives) and configure md20:09
RoyKthat's during install20:09
RoyKyou can't do that with ubuntu desktop install20:10
zastaphright, I read that20:10
zastaphwhat if I choose minimum install? (for virtual machine)20:10
RoyKbut then, running ubuntu desktop off a usb plug won't be much fun :P20:10
zastaphshould I choose normal20:10
RoyKerm20:10
RoyKthe VMs shouldn't do much thinking about md20:10
RoyKjust setup your server with two USB sticks, make a mirror on  those, or three, one for boot, one for root, one for swap20:11
RoyKonce installed, create a raid-5 on the three spinning drives (or do it during install, up to you)20:11
zastaphi also had this design in mind: 1 USB for root (KVM on Ubuntu) .. 160GB for VM's, and RAID 1 on x2 250GB's, doing daily/weekly backup of the VM's to that. Anyway if I put my VM's on a RAID it's not a backup20:12
RoyKmount that somewhere like /usr/lib/libvirt (if you do it after installation, make sure to rsync -avPHAS the data from the old dir to the newly mounted)20:12
zastaphand then all data on my secondary server, RAID 10 setup or something20:12
RoyKzastaph: didn't you say you had a secondary server? if so, use that for backup20:12
zastaphsomeone told me it's always a good idea to use a decoupled NFS for data, to avoid having data in VM's, keep them tidy20:13
RoyKI don't think that would be of much need20:13
RoyKI've been running VMs off NFS for some time20:14
zastaphI like the idea of decoupling logic and data20:14
RoyKzastaph: sure, the data is under /var/lib/libvirt/images, the logic is mostly under /etc/libvirt20:15
RoyKzastaph: but then, decoupling sufficiently, and you lose control over what's really needed, to keep good backups until the day you need them20:16
zastaphyes and I would just mount the other server folders on the KVM server20:16
RoyKzastaph: well, not much changes in kvm land, except the images, that is, unless you change the VMs20:17
zastaphlets say I have my git repositories and my sql databases taking up 1 TB .. Would you store those inside the actual VM image? or on a secondary image on the same server?20:17
RoyKzastaph: if I were you, I'd setup the server with two small, spinning drives, and perhaps a spare, and just use the storage server for the VMs, over NFS20:17
RoyKzastaph: you *can*, but it's not necessarily a good idea to run databases in a VM. Better use the fileserver for that. For Git, I don't think it matters much, but perhaps an NFS share on the fileserver for storage will look better the day you need to extract it and the VM has somehow died20:19
zastaphwould you make small images for VM's? 30GB something, and then secondary images for the server, and everything on the storage server?20:19
zastaphduh, secondary images for the data20:20
RoyKjust tell kvm not to allocate the VM images, and let them grow dynamically, then you can make them as big as you like (or whatever is healthy)20:21
zastaphthen you would store the actual data (git repositories, etc.) inside the VM's ?20:21
RoyKfor data, I'd say use the fileserver with NFS from the VMs20:21
zastaphheh i'm lost20:21
zastaphi thought the mantra about VM's is that they are "encapsulated" and can be easily moved20:22
RoyKcontrol question: You're setting up a fileserver with a bunch of space, right? And, you're setting up a smallish server to serve VMs20:23
zastaphfileserver has 4 1TB's .. I was thinking about setting up vanilla Ubuntu server on that, with manual samba or NFS sharing..20:24
zastaphbut yes to your question20:25
RoyKzastaph: in my world, I'd use VMs for small things or application specific setups, like a Zimbra server, or some webserver for my brother, or this irc login host20:26
RoyKfor things demanding I/O specifically, I'd use iron20:26
zastaphwhat is Iron20:26
RoyKhardware20:27
RoyKlike your fileserver20:27
zastaphperformance is not my main goal.. i'll be the only user of these servers.. maintainability, stability and not losing my data is important20:27
RoyKzastaph: if a VM needs to serve large amounts of data, I would do that via NFS from the server to avoid that data locked up in a VM image20:27
zastaphi'd like to keep things simple though20:28
RoyKif it's smallish, it's no problem20:28
RoyKif it's a database, I'd use the fileserver, if the database is significant in size20:28
RoyKif it's something small, like a wordpress db, just use it locally20:29
zastaphinstall mysql on the fileserver?20:29
zastaphnot install mysql in a VM, and then the actual data on the fileserver?20:29
RoyKI have a single server at an ISP running a few VMs. A few of the VMs need databases, and the host runs those. It makes better use of available memory than spreading that buffering out to the VMs, allowing me to shrink memory use on the VMs20:30
RoyKI don't run databases in VMs unless it's something very isolated20:30
RoyKor unless someone is sufficiently geeky to demand full admin rights to that db :P20:30
zastaphmake sense.. and indeed it would be a good idea to just install mysql to the fileserver running vanilla ubuntu20:30
zastaphit should be able to handle that and samba/NFS at the same time20:31
RoyKyes20:31
RoyKeven a very, very, very cheap machine would be able to handle that20:31
RoyKeven a cheap cellphone :P20:31
* RoyK reminds everyone that 1999 is over20:31
zastaphactually.. I could also install git-core on the fileserver, rather than letting a secondary server/VM handle that20:32
zastaphi'm starting to rule out the VM server's purpose now :p20:32
RoyKzastaph: so long noone needs direct access to the git root, yes20:32
RoyKzastaph: but if you want someone to access the git file store directly, that's better done within a VM20:32
zastaphi.. don't think I need that20:33
RoyKzastaph: but then, perhaps the git file store may be on the fileserver, shared with nfs20:33
resnomy machine booted to busybox, ibelieve my hdd is failing, how can i get it running temporarliry?20:33
zastaphjust a generic git user, behind ssh20:33
resnoi tried fsck20:33
RoyKresno: boot on a live cd and start troubleshooting from there20:33
zastaphand when I think about it.. KVM only complicates things :)20:33
RoyK:)20:33
zastaphand if I can run git+mysql+samba/NFS on one server, I have a whole server leftover for playing around20:34
RoyKzastaph: you can probably run those VMs on the fileserver as well, normally samba+mysql+git won't use that much cpu20:34
zastaphand install KVM where?20:34
RoyKthat's what I ended up doing, just two 1,5TB drives in a mirror, cpu is just a core2duo, 6 gigs of RAM, currently 5 VMs in production20:35
RoyKon the fileserver20:35
resnoRoyK: production wise, what hypervisor do you use?20:35
RoyKjust make sure you have (a) mirrored root on separate drives and (b) a small RAID set, RAID-5 or better, for the data, also on separate drives20:36
RoyK!kvm20:36
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM20:36
resnooh you use kvm everywhere?20:36
RoyKresno: I just use kvm, some people prefer Xen, since it's slightly cooler, but it's harder to work with (IMHO)20:36
zastaphRoyK, fileserver has 4 1TB's .. can't I just RAID10 those for one main ubunut server? and then install git+mysql+samba/NFS ?20:36
RoyKresno: at work, we use vmware in a rather large setup - kvm can't do that IMO20:37
resnoRoyK: i was considering going esxi20:37
RoyKzastaph: do you have room for another two oldish 160GB drives for the root?20:37
zastaphresno, I tried all of them before I settled with KVM.. they are only headaches :)20:37
RoyKresno: it's better, I guess, but KVM works well for me20:37
zastaphRoyK, not without some modifications.. but.. if I'm not going to KVM, why do I need a root?20:38
resnoRoyK: my question has been how do you setup drives on a baremetal hypervisor?20:38
resnoesxi on usb, and then os drive and then data drives?20:38
zastaphesxi lost me when I tried to clone and had to pay cash :)20:39
RoyKresno: depends on the hardware, obviously, but my typical setup would be two small spinning drives for the root, and a largish raid-5 or raid-6 for the data20:39
resnoRoyK: "root" being? oses stuff?20:39
RoyKor raid-1+0 if you're worried about IOPS20:39
RoyKresno: root being your root filesystem with its programs, /boot and swap20:40
resnogotcha20:40
RoyKzastaph: erm - you need a root filesystem on the server ;)20:41
zastaphRoyK, then we're back to scratch.. root on one server, and data on fileserver20:41
RoyKzastaph: and you can't boot off a raid-[56]20:41
zastaphoh20:41
zastaphI only have 4 HDD slots in each server20:42
zastaphrest have to be mounted in special ways20:42
* RoyK hands zastaph a roll of duct tape20:42
zastaphdecisions decisions20:42
RoyKor perhaps a new chassis? ;)20:42
zastaphouch20:42
zastaphall the time wasted to customize these 2 :)20:43
RoyKmost of us have a few around, and they should be usable for most mobos20:43
zastaphso.. even if I wanted to dedicate one for solely fileserving, I would still need 1-2 extra disks for its root? if I wanted the 4 HDD slots for RAID-10 ?20:44
RoyKyes, you need more than four drive slots for a good fileserver20:45
RoyKyou can, however, run the root off a couple of usb drives, but it will be slowish to boot, and not much fun if it starts swapping20:45
resnoheh, a fileserver with limited drive expandability?20:45
RoyKbut then, swapping is rarely fun20:45
RoyKresno++20:45
zastaphresno, but a very energy efficient one ;)20:45
zastaphthey both have eSATA :p20:46
resnois using sas not an option?20:46
RoyKzastaph: how many esata ports?20:47
sorenRoyK: Actually, grub2 should support booting from raid5.20:48
RoyKzastaph: a port multiplier won't be much good for performance20:48
zastaph1 in each20:48
RoyKsoren: oh - when did that happen?20:48
RoyK!grub220:48
ubottuGRUB2 is the default Ubuntu boot manager since 9.10 (Karmic). Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 - See !grub1 for releases before Karmic (9.10)20:48
zastaphsoren, RAID-10 too?20:48
sorenRoyK: I have mailing list posts from at least 2009 suggesting that it works.20:48
sorenRoyK: http://www.mail-archive.com/grub-devel@gnu.org/msg08994.html20:48
zulhallyn: ping20:49
RoyKsoren: I thought I tried that within a vm with precise just recently and found it didn't work at all20:49
zastaphand does that work for software raid too?20:49
zulsoren: grub2 works?20:49
RoyKstill20:49
RoyKeven if it *is* supposed to work, I stand my ground: I would recommend two smallish drives for the root, and a small bunch of largish drives for a RAID-5 or -6 set for the data20:50
RoyKthat will separate system and data, and make recovery far easier the day it all goes wrong20:51
zastaphhmm right..20:51
zulhallyn: so libvirt-lxc segfaults for me20:51
hallynzul:/win 2020:52
sorenzul: It's been known to not be entirely broken at times.20:53
hallyn(*&(* lag20:53
zastaphRoyK, then I could get a dual-disk device -> eSATA and boot from that, and use 4 HDD's in each for RAID-1020:53
hallynzul: where does it segfault?20:53
zulhallyn: when its trying to load veth020:53
zulhallyn: hold on20:54
RoyKzastaph: sounds like a good idea ;)20:54
zulhallyn: this is the dmesg20:54
zulhallyn: http://paste.ubuntu.com/1085179/20:54
RoyKzastaph: or even better, you said you weren't worried about performance, if so, rather use raid-6, same net data, better safety20:54
zulhallyn: http://paste.ubuntu.com/1085180/ thats the xml domain20:55
zulhallyn: thats the log file: http://pastebin.ubuntu.com/1085182/20:55
zulhallyn: and yes veth is loaded20:56
zastaphRoyK, thanks for all the ideas20:56
RoyKzastaph: out of interest, how many VMs do you plan to run concurrently?20:57
RoyKif it's just a few, and perhaps a local mysql or postgresql db on the host, and a git thing, then raid-6 or even raid-5 will probably suffice20:57
zastaphyeah 3-420:57
RoyKlinux' i/o scheduling and buffering does a fairly good job for those things20:57
zastaphbut don't forget it's atom based servers, and software raid20:58
RoyKwhich atom?20:58
RoyKH?20:58
* RoyK sniggers20:58
RoyKsorry, just, which atom cpu?20:59
RoyKand how much memory?20:59
zastaphAcer easyStore H340 -> Intel Atom 230 ... HP ProLiant Microserver -> AMD N36L20:59
zulhallyn: and im at a lost20:59
zastaphahh memory.. only 2 GB in the easyStore but 8 GB in the microserver20:59
zastaphwhich calls for the easyStore being just a dumb fileserver21:00
zastaphand Atom 230 has no hardware extensions21:00
zastaphfor virtualization21:00
RoyKthen better separate them21:00
resnoatoms virtualizing..21:01
hallynzul: trying...21:01
resnothis is just sounding worse to me21:01
zastaphHP microserver is quite good for virtualization with a minimum energy use21:01
zulhallyn: 0.9.13 does the same thing i think21:01
* RoyK thought his fileserver was fried today and checked pricing for a new mobo+cpu+8GB RAM and it cost about NOK 1300 with a two (or four?) core amd thing21:01
RoyKI don't really see a good reason for using atoms for servers...21:02
hallynzul: you get this with what's stock in quantal?21:02
zulhallyn: yep21:02
RoyKzastaph: how much did those machines cost?21:02
zastaphRoyK, yeah perhaps I live up to the saying when you buy cheap you pay double :)21:02
RoyKzastaph: and btw, that was from a local computer shop, not something from ebay ;)21:03
zastaphRoyK, don't recall.. easyStore I bought for windows home server (which broke, obviously) and HP Microserver was quite cheap21:03
RoyKNOK 1300 is ~USD 200, btw21:03
zulhallyn: if i removed the nwfilter stuff it works fine21:04
zastaphlooking for a eSATA device for 2 HDD's21:05
RoyKzastaph: really, get an old chassis with room for some drives and start over - it'll be easier and probably just as cheap ;)21:06
zastaphRoyK, and I have a wet dream to get ZFS working :p http://sstahlman.blogspot.dk/2011/02/acer-easystore-h340-using-eon-to-fool.html21:06
RoyKzastaph: and quite possibly very much better21:06
RoyKzastaph: with linux?21:06
zastaphmmm.. wanna buy 2 small servers? :)21:06
zastaphnah solaris21:07
RoyKI've used openindiana in production for some time21:07
RoyKbut I guess smartos or omnios may be better supported these days21:07
zastaphI looked at the install docs and just gave up :)21:07
zastaphi tried smartos, same feeling21:07
resnoi was once excited about zfs, but now im against it21:07
zastaphif they make ZFS in something as easy to use as ubuntu server, I'm on21:08
resnonon-expandablity of raid was a kill21:08
RoyKresno: I've used zfs for some 400TB of storage and it rocks, but I'm using linux md for my home server for the reason you mention21:08
resnoyea, for my home server being stuck willnever work21:09
RoyKresno: the only way to expand a redundant zpool correctly, is to replace every drive with larger ones, which is somewhat a showstopper for a homeserver21:09
RoyKlinux md rocks that way :D21:10
RoyKmake a mirror, convert to raid-5, add a drive, add another, convert to raid-6, oops need more space, convert to raid-5 ...21:10
zastaphsomeone needs to simplify RAID :)21:11
RoyKzastaph: it's a bit hard for a complex system like zfs21:12
RoyKsince raidz is more like raid-3 than anything else - there are no block-level stripes, just write stripes21:13
RoyKand then there's a snapshot, or a clone, and another dedup, so to change that to something else while running, you need to rewrite the whole system, which isn't very easy21:14
zastapheverything can be simplified.. system shouldn't ask you silly questions like pools and stripes.. instead it should show you a GUI with your harddisks, and ask if you want reliability or speed, and then set it up behind the scenes :)21:14
resnoRoyK: im just curious if i have two disks free and a 3rd with data... can i do that?21:14
resnozastaph: do you run a gui on your server?21:14
RoyKresno: detail that, please21:14
zastaphnah, just saying that RAID could be simplified a lot21:14
RoyKzastaph: it really can't21:15
RoyKzastaph: RAID is rather complex21:15
hallynzul: bridging to virbr0 worked fine, bridging to br0 seems to have killed my instance21:15
resnoRoyK: ok. 3x2TB drives. 2 of the drives are empty. 1 drive has stuff on it. so, i want to start raid but dont have 3 disks to do it (raid 5)21:15
RoyKzastaph: it'd be like saying "scientists, can you please simplify this physics thing?"21:15
zastaphso was programming in the 80es.. but it's gotten easier :)21:15
hallynor just killed its network21:15
RoyKresno: just create a RAID-5 on those two drives21:15
resnoRoyK: ah, you can do that... ool21:16
RoyKresno: then create a filesystem on that one, or perhaps an lvm system first if you want more flexibility, then create a filesystem on the lvm21:16
resnoswell21:16
resnoRoyK: gotta run andpikc up the kid :) bbl21:16
RoyKresno: then move the data, then expand the raid to the third drive, it'll take half a day or so, but the system will be online during that time21:16
stgraberhallyn: hmm, I have a weird one for you, maybe you have a clue of what's going on here :)21:17
stgraber~ # ls /proc/sys/net/ipv4/conf/21:17
stgraberall      default  eth0     lo       sit021:17
stgraber~ # ls /proc/sys/net/ipv6/conf/21:17
stgraberall      default  lo       sit021:17
stgraberhallyn: found that one while testing my automated ipv6 tester with quantal containers21:17
stgraberhallyn: basically eth0 vanished from ipv6/conf but not from ipv4/conf (I'd expect it to be present in both)21:18
stgraberI didn't even know that was possible (and not quite convinced it should be ;))21:18
RoyKstgraber: can you pastebin 'ifconfig -a' ?21:18
RoyK!pastebin21:18
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.21:18
hallynstgraber: interesting.  i don't get that in precise at least21:19
stgraberRoyK: no ifconfig, I'm debugging that in an installer initrd ;) and don't worry, I know pastebinit, I wrote it.21:19
stgraberhallyn: that's with a quantal container running on a precise host21:19
stgraberhallyn: running the exact same test with precise container on the same quantal host works fine21:19
hallynquantal container on quantal host also works for me.21:20
hallynlemme create a quantal container on my precise laptop21:21
stgraberhallyn: yeah, seems to be specific to whatever d-i is doing, the router container works great on quantal21:21
hallynfunky21:21
stgraberyeah, also based on the logs it worked for a while as it managed to run rdisc6, get an IP and everything, then dhclient started and no more v6 after that :)21:21
hallynand so you don't expect me to see this in a quantal container on precise host?  you were doing something 'special'?21:22
stgraberhallyn: well, starting debian-installer in a container, that's all ;) (which you may consider as "special")21:23
hallyni do21:24
hallynis it possible for you to have it straced?21:24
zastaphRoyK, hey.. I thnk both servers support PXE boot.. can't I just use the 1 server for root then, and boot second server from first, thus dedicate all 4 disks to RAID-6 ?21:24
stgraberhallyn: stracing the whole installer is a bit tricky as it's downloading quite a few megs of stuff from the network, I'm trying to figure out exactly what bit triggers that bug so I can strace it21:26
RoyKzastaph: you can, but I still think it's a jolly good idea to use an old chassis with some cheap mobo with enough SATA controllers and room for drives and more SATA controllers as the drives fill up21:28
hallynzul: jinkeys!  this is a kernel bug21:28
hallynsmb: ^21:28
hallynwell, ok, the kernel bug doesnt' really look like what zul is reporting, but crikey21:28
stgraberhallyn: though besides half of the libraries changing, a clear change is isc-dhcp that got bumped from 4.1 to 4.2, I'll diff the dhclient script quickly to see if it wouldn't be that simple :)21:28
RoyKerm - what kernel bug?21:28
hallynthe one where when i do 'brctl addif br0 veth0' my networking hangs21:29
zastaphRoyK, these 2 might have more SATA controllers inside, but then I need to figure what to do with power aswell21:29
=== cpg|away is now known as cpg
RoyKzastaph: most drives don't use too much power these days, at least not the "green" ones21:30
zastaphand why is PXE a bad option?21:31
RoyKzastaph: just please listen - using a traditional pc with very cheap mobo+cpu+memory will make your life a bit less miserable once you need to upgrade21:31
hallynzul: does your whole compute node become inaccessible after that segfault or not?21:31
RoyKzastaph: it's just another thing that can fail21:31
zulhallyn: no dont think so21:31
hallynodd21:31
zastaphRoyK, sure.. but it's hard to accept that I have to give up 2 servers :)21:31
hallynall right let me go grab my quantal laptop and test on bare metal21:32
zulhallyn: no it doesnt21:32
RoyKzastaph: sell them on ebay :D21:32
RoyKzastaph: or keep one for playing around, use it for something cool21:32
zastaphmight try that21:32
zastaphI use VM's for playing around21:32
RoyKzastaph: I've been working with data storage as my prime job for about three years, with mostly open systems, and I'm just giving you a bit of advice21:33
zastaphbut I don't want to build a server myself.. then rather buy something ready21:33
RoyKzastaph: it's just a motherboard, a cpu and some memory and drives21:34
hallynzul: which kernel are you on?21:34
RoyKand a havoc of cables21:34
zul3.521:34
zul3.5.0-3-generic21:34
zastaphwith me, buying hardware is never just something, it's lots of options and decisions :)21:34
RoyKwell, that's your choice21:35
RoyKI'm going to bed21:35
zastaphgood night21:35
RoyKnite, lads and lassies21:35
zulhallyn: i noticed that CONFIG_NET_CLS_CGROUP is built as a module21:36
stgraberhallyn: http://paste.ubuntu.com/1085250/21:37
stgraberhallyn: addr flush is the problem :)21:38
stgraberhallyn: simplified version: http://paste.ubuntu.com/1085255/21:39
hallynstgraber: .... "don't do that" ? :)21:40
hallynman page says "this is a pretty dangerous operation" :)21:40
stgraberhallyn: well, in netcfg we need to flush all the addresses and routes everytime we call netcfg21:42
stgraberhallyn: I interpret this warning as "it's dangerous as you'll loose all your addresses and routes" but that's exactly what I want, except for the side effect of loosing the interface in proc :)21:42
hallynstgraber: now this only happens with veth (in a container) right?  if you do it on bare metal it doesn't?21:50
stgraberhallyn: same on bare metal21:51
hallynzul: i'd say open a bug.  i can't get a box ready to reproduce today (and technically am not supposed to this week :)21:51
stgraberhallyn: well, at least with a bridge interface. Let me try with a real interface21:51
zulhallyn: cool...will do so21:51
hallynzul: thanks21:51
stgraberhallyn: yep, reproduced on bare metal with eth0 on my netbook21:52
* stgraber patches isc-dhcp to workaround the bug for now21:53
hallynzul: when bridging to a br1 (which has a lxc container running on it) my libvirt container starts fine, so i'm not sure what is going on when i have it clinging to br0 with eth021:54
hallynzul: and i haven't yet reproduced your segv :)21:54
zulyeah...fun fun21:54
hallynhaha.  shutdown my libvirt-lxc instance, 'why didn't it go away?'.  oh yeah...21:55
hallynzul: there you go.  it's the filterref21:56
zulhallyn: thats what i supsected21:56
hallynhttp://paste.ubuntu.com/1085277/21:56
hallynbleh21:57
hallynwell installing libvirt-bin-dbg should make it simple enough to debug.  next week.21:57
hallynstgraber: still looking through git log21:58
stgraberhallyn: so far I know it affects 3.2 to 3.5 at least. I don't have anything running an earlier kernel to test against21:58
hallynstgraber: oh, but 'ip addr flush eth0' doesn't do that in precise userspace.  so it's not a kernel change22:00
stgraberhallyn: it does in precise too, I was just lucky enough that isc-dhcp was using "ip -4 addr flush" back then22:01
stgraberhallyn: now in 4.2 they changed it to "ip addr flush" instead which flushes both ipv4 and ipv6 and triggers the bug22:01
zastaphso, RAID 1 is the only RAID ubuntu support for boot/root out of the box?22:01
hallynstgraber: no, i'm doing 'ip addr flush eth0' and it doesn't go away22:02
hallynbut in q container it does22:03
stgraberhallyn: definitely does here :) tried on bare metal 12.04 and in a clean 12.04 container22:03
hallynodd22:04
hallynin fact even if i chroot into my q container i still can't get /proc/sys/net/ipv6/conf/eth0 to go away22:04
hallyneth0 being my real but unused nic22:04
hallynmaybe it has to be a non-init procfs?22:04
hallynno, doesn't help22:05
hallynall right, i need to run.  hopefully i can finish up the api stuff later tonight - but i'm not optimistic for tonight :(22:06
stgraberhallyn: do you have an ipv4 on it?22:06
stgraberhallyn: it probably needs something to flush to trigger it22:06
hallynstgraber: yeah, just did 'ifconfig eth0 10.0.9.9 up'.22:07
hallyn(it wasnt' actually live, mind you)22:07
stgraberhallyn: strace: http://paste.ubuntu.com/1085297/ (not that it's really useful as the netlink messages aren't exactly easy to decipher)22:07
hallyngrumble :)22:08
cpghi, i have a 12.04 system that after upgrading everything, it seems to not be willing to upgrade the kernel for some reason:22:08
cpgThe following packages have been kept back:22:08
cpg  linux-generic-pae linux-headers-generic-pae linux-image-generic-pae22:08
cpgseeking advice as to why this could be22:09
hallynstgraber: i sacrificed my wlan0, but still couldn't get it to disappear22:11
hallynstgraber: ttyl22:11
stgraberhallyn: really weird, I had no problem reproducing it on 3 machines here, two on 12.04 (both containers and host) and one on 12.10...22:13
stgraberanyway, ttyl22:14
resnozastaph: raid has been made easy by unraid22:15
resnoRoyK: have you ever looked at unraid?22:16
zastaphhe left22:16
resnomeh22:16
zastaphI think I'm gonna buy this for my root/boot: http://www.raidsonic.de/en/products/soho-raid.php?we_objectID=686322:16
zastaphand then I can use the 4 internal disks on the HP Microserver for RAID-1022:16
zastaphwas kinda hard to find, as it's not a hdd enclosure nor a NAS22:18
zastaphthe category is sohoraid :)22:18
=== Lcawte is now known as Lcawte|Away
=== ping is now known as Guest54881
=== bazhang_ is now known as bazhang
thyshi23:49
ping__n thys hy to23:50
thysIm confused, files say that I have wzdftp but when I type in pstree it says it vsdftp. which is it have then?23:53
=== jhulten_ is now known as jhulten
ping__service vsftpd restart23:59

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