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

halvorsI'm running a Postfix SMTP server, i use the mail-stack-delivery package. But i'm not able to login using SMTP port 25, only using Submission port 58700:15
halvorsI get, relay access denied :(00:16
ScottKUse port 587.  That's what it's for.00:17
halvorsScottK: But why am i unable to connect using port 25?00:21
halvorsAnd why not use port 25?00:21
ScottKIIRC, mail-stack-delivery may not set up smtp auth for port 25.00:22
ScottK587 is for mail submission.00:22
halvorsI know.00:22
halvorsBut how to enable it?00:22
ScottKLook in /etc/postfix/master.cf00:22
ScottKIf you see what's different for the smtp service and the submission service, you'll probably be able to figure it out.00:23
ScottK587 is better for people who travel a lot because it's not generally blocked or redirected by ISPs/hotels/etc.00:24
halvorsI cannot see any difference...00:25
halvorshttp://pastebin.com/0dJBhnZj00:25
ScottKInteresting.00:28
ScottKIt may be something in main.cf too.00:28
halvorshttp://pastebin.com/Ca2LqtyB00:31
halvors:)00:31
ScottKOK.  No idea why it works on one port and not the other then.00:32
halvorsHave to be something with the authentication...00:32
halvorsScottK: Should i uncomment the "-o" lines under the submission line?00:34
qhartmanhalvors, where are you trying to login _from_? Many ISPs block outbound SMTP connections on 25 as a spam prevention policy. Trying doing it from the server itself if you have not.00:35
halvors1qhartman: I've done that, if you try telneting the server on port 25 (s1.halvors.org) you'll see that it responds...00:42
sarnoldhalvors1: 250 2.0.0 Ok: queued as C5DB4D60B0600:43
halvors1Yes :)00:44
halvors1Dec  6 01:43:20 halvors-server postfix/smtpd[29286]: C5DB4D60B06: client=c-71-237-200-29.hsd1.or.comcast.net[71.237.200.29]00:44
qhartmanhalvors, cool00:44
sarnoldhalvors1: yay :D00:44
halvors1But it doesn't work when trying to authenticate...00:44
sarnoldoh. I never learned how to do that by hand.00:45
sarnoldbut if you're authenticating, why not use 587?00:45
sarnoldyou presumably have control over the clients that intend to authenticate..00:45
halvors1sarnold: Many people try using port 25...00:45
halvors1 5.7.1 <halvors@skymiastudios.com>: Relay access denied00:45
halvors1When trying to login...00:46
halvors1SMTPS SSL/TLS just times out.00:46
=== cpg|away is now known as cpg
halvors1sarnold: What port did you use?00:47
halvors1:)00:47
sarnoldhalvors1: 2500:47
halvors1Without authenticating?00:48
sarnoldhalvors1: right00:48
halvors1Isn't that bad?00:48
sarnoldit's how email works, for better or worse. :)00:48
halvors1Oh you act like a mail server?00:49
sarnoldhalvors1: yeah00:49
halvors1And connect on port 25 to deliver mail?00:49
sarnoldhalvors1: http://paste.ubuntu.com/1413692/00:49
sarnoldI typed all the lines without status codes :)00:49
halvors1If you try sending to halvors@skymiastudios.com does it reject then?00:50
ScottKhalvors1: Yes.  That's how you enable it.00:51
sarnoldhalvors1: denied00:52
sarnoldfunny, even mail from: sarnold@halvors.org, rcpt to: halvors@skymiastudios.com fails00:53
EntropyWorksif your planning on netboot install 12.10 be ready for some headaches00:54
halvors1sarnold: hmm.00:55
halvors1Cause that works when using port 587 and starttls00:55
sarnoldhalvors1: you probably set the relay rules by certificate?00:55
halvors1Um. I really don't know, where is that options set?00:56
halvors1http://paste.ubuntu.com/1413705/00:57
halvors1sarnold: Any idea?01:03
sarnoldhalvors1: no, sorry :)01:03
sarnoldI was expecting to see a relaymap or something...01:03
sarnold.. and with the destination domains not including skymiastudios.com I was a bit surprised that mail gets there on port 587, but .. it's been a long time since I've _used_ postfix.01:04
halvors1http://paste.ubuntu.com/1413721/01:09
halvors1sarnold: Do you think the following lines should be commented out?01:10
sarnoldhalvors1: no idea there :) sorry :(01:10
=== luigi is now known as Guest66160
halvors1sarnold: Ok thank you for your time :)01:17
sarnoldhalvors1 :)01:17
sarnoldI just wish I had the answers..01:17
halvors1sarnold: :)01:18
=== VD is now known as Guest59294
=== VD is now known as Guest38297
=== cpg is now known as cpg|away
jdstrandre libvirt merge> sure thing02:22
jdstrandhallyn: ^02:22
=== shang_ is now known as shang
=== cpg|away is now known as cpg
=== Ursinha is now known as Ursinha-afk
=== Ursinha is now known as Guest52907
imachinehello05:24
imachineanyone use ubuntu 12.04 or 04.1 as -vserver?05:24
imachineI have a debian squeeze install with 3 vservers. Can I painlessly (i.e. set up/config vservers on ubuntu server box, copy the vserver bodies from debian, start services, profit) migrate that to Ubuntu Server 12.04.* ?05:26
imachineThe big question is, can I run debian squeeze inside of ubuntu-12.04 server?05:27
ScottKI'm pretty sure you can.05:51
ScottKBut I haven't done it myself.05:51
=== LordOfTime is now known as TheLordOfTime
=== smb` is now known as smb
=== ibiris|afk is now known as ibiris
uvirtbotNew bug: #1087183 in maas "MaaS cloud-init configuration specifies 'manage_etc_hosts: localhost'" [Undecided,New] https://launchpad.net/bugs/108718309:46
=== chmurifree is now known as chmuri
=== fire_wall is now known as hack
=== mcclurmc_away is now known as mcclurmc
=== nerd is now known as hack
jamespagezul, I'm looking at bug 1085038; looks like the generated entry points are all easy-install so not relevant for the packaging11:31
uvirtbotLaunchpad bug 1085038 in quantum "Python Modules : Wrong versions" [High,Triaged] https://launchpad.net/bugs/108503811:31
=== mcclurmc is now known as mcclurmc_away
=== mcclurmc_away is now known as mcclurmc
Nafalloguys. are there any plans on compiling libvirt with vpx support?11:37
=== yofel_ is now known as yofel
Nafallothat might come down from debian...11:49
Nafallothe exclusion of esx that is11:49
uvirtbotNew bug: #1087228 in bind9 (main) "/etc/network/if-down.d/bind9 doesn't work; should be /etc/network/if-post-down.d/bind9" [Undecided,New] https://launchpad.net/bugs/108722812:11
jamespageyolanda, zul, adam_g: review up for quantum - https://code.launchpad.net/~james-page/quantum/grizzly-updates-1/+merge/13843812:25
jamespagealso worth being aware of bug 103019512:26
uvirtbotLaunchpad bug 1030195 in lintian "lintian reports errors in postinst because of upstart dh_installinit behavior " [Medium,Confirmed] https://launchpad.net/bugs/103019512:26
jamespageI'm pretty sure that alot of postrm scripts are being generated to get rid of that error when its actually a false positive12:26
Nafalloooooh13:02
Nafallovpx/esx is disabled because it would13:03
Nafalloput libvirt in multiverse, isn't it?13:03
=== Ursinha-afk is now known as Ursinha
hallynzul: hey, when you get some time, i think i need some packaging help with https://launchpad.net/~serge-hallyn/+archive/crossc/+sourcepub/2825655/+listing-archive-extra13:35
zulhallyn: sure just getting in13:36
zulwhich means still waking up13:36
hallynzul: me too, tbh13:36
=== hack is now known as video
=== cpg is now known as cpg|away
sabanhi, i m using debian.. and i m getting this error when apt-get update W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B18637BB5175BC68... ? how is this posiblle?13:43
rbasaksaban: did you use add-apt-repository to add your PPA? If not, the easiest way to explain how to fix it is just to remove it from sources.list and use add-apt-repository to add it again13:45
hallynzul: so really i have two questions, the non-urgent one is what i should call the version # on the new qemu package, given the debian version is < both the ubuntu qemu-kvm and qemu-linaro versions13:46
zulerm..13:47
hallynzul: the more urgent one is what to do with qemu-utils and qemu-kvm breaks/replaces13:47
zuljamespage: ^^^13:47
sabanrbasak: as i remember i didnt add anything. and my source.list is this http://pastebin.com/h9wBdkUY13:48
zulhallyn: so uh what? :)13:48
hallynzul: hold on, i'll ask you in 29 mins13:48
hallyn20 that is :)13:48
zulk13:48
hallynthx13:48
rbasaksaban: check /etc/apt/sources.list.d/. And it looks like you're running Debian, not Ubuntu!13:51
jamespagezul, was ^^^ in reference to quantum or hallyn question?13:52
zulhallyn: question13:52
zuler..13:53
zuljamespage: hallyn's question13:53
sabanrbasak: yes i know :P i was just asking here becouse i hadnt any clue why i have ppa problem in my debian server.. i got it now one of program was from ubuntu package or something.. now i know where is the problem... tnx13:55
* jamespage thinks14:04
jamespagehallyn, can you explain the version # question more? whats the difference between ubuntu+debian?14:07
hallynjamespage: the more urgent problem I have is:  qemu-kvm depends on qemu-system depends on qemu-utils, qemu-utils does break/replace qemu-kvm, but it wnts to be upgraded before qemu-kvm (bc of the relations)14:07
hallynso short version is 'apt-get dist-upgrade breaks'14:07
jamespageugh14:08
hallynright.  and because of the way files are being moved between packages, everything needs to be replaced at once14:08
sorenAre none of those relationships versioned?14:08
hallynall are14:09
hallynisn't helping14:09
hallynwhen qemu-utils is being upgraded, it's seeing the old qemu-kvm...14:09
sorenIs this already uploaded or do I need to look in bzr to see the control file?14:10
sorenIf the latter, which branch do I need?14:10
hallynsoren: uploaded to ppa:serge-hallyn/crossc for raring14:11
jamespagesoren, dget -u https://launchpad.net/~serge-hallyn/+archive/crossc/+files/qemu_1.2.0-z-dfsg-8.dsc14:13
sorenqemu-system doesn't seem to depend on qemu-utils, fwiw.14:14
sorenIt recommends it, though, so the result is probably mostly the same.14:14
jamespagehallyn, I'm not sure you need Breaks/Replaces on qemu-kvm itself as its a transitional package14:15
hallynjamespage: i need the files in the old qemu-kvm to be removed before qemu-system is installed...14:15
hallynbut yeah, qemu-system break/replacing *should* be enough14:15
hallyni'm just getting desparate :)14:15
sorenAt least your kvm package will need an epoch added to it.14:16
hallynyeah i'll get rid of the break/replaces on qemu-kvm altogether.14:16
hallynsoren: what do you mean?14:17
sorenhallyn: Sorry, I phrased that poorly.14:17
sorenhallyn: Your kvm package will need an epoch.14:17
hallynsoren: that also sounds like part of an answer to my first question - how to version these14:17
sorenhallyn: The others won't need it, just the kvm one. Otherwise it won't supersede the existing kvm package.14:18
jamespagehallyn, I'm wondering whether not having a (= ${source:Version) on Recommends: qemu-utils might be something todo with14:19
jamespageit14:19
* jamespage grasps at straws14:19
hallynsoren: is the kvm package still needed?  it was transitional...14:19
hallynjamespage: that sounds right!14:20
sorenhallyn: Nope, you should be able to just get rid of it. Good point.14:20
hallynsoren: though will ppl get confused if they can't apt-get install kvm' ?14:21
jamespagehallyn, Recommends can do weird stuff with ordering and configuration14:21
sorenhallyn: Other things that you can get rid of also include:14:22
soren Conflicts: kvm (= 85+dfsg-4.1)14:22
* jamespage thinks of bacula as a case in point14:22
sorenIt's been a while since that was useful (if ever).14:22
sorenhallyn: Yeah, that's true.14:22
sorenhallyn: Things might still depend on kvm rather than qemu-kvm or whatever.14:22
hallynsoren: current raring package does not have an epoch on kvm...14:23
sorenhallyn: Yes, it does?14:23
sorenHm.14:24
sorenFrom what I can tell, apt is doing exactly what it's being told.14:24
sorenYou're specifying that qemu depends on qemu-system (>= same version).14:24
sorenSo you're telling it that qemu-system must be installed before qemu.14:25
sorenSame for qemu-system -> qemu-utils.14:25
hallyni'm not asking for qemu14:25
sorenOh, sorry.14:25
sorenWell, same problem, really.14:26
hallynthe lack of versioning on recommends as jamespage suggested sounds a likely culprit,14:26
sorenqemu-kvm depends on qemu-system (= same version).14:26
sorenSo it must be installed first.14:26
hallynright14:26
sorenAnd then qemu-system says it needs qemu-utils first.14:26
sorenBut qemu-utils says it'll break qemu-kvm.14:26
hallyn<< its own version14:26
sorenRight.14:27
hallynso i want qemu-kvm removed.14:27
hallynthat should do the right thing right?14:27
hallynit takes hours for a build to happen so i want to look for other possible problems before submitting :)14:27
sorenAre you attempting to get rid of qemu-kvm?14:27
sorenIs that the goal?14:27
hallynyes14:27
sorenAh. I see.14:27
hallynqemu-system provides everything14:28
sorenI missed that entirely.14:28
hallyn(it's the debian-experimental git branch, merging qemu+qemu-kvm)14:28
hallynsorry - that would be confusing then!14:28
sorenWhich package replaces qemu-kvm?14:29
hallynqemu-system14:29
sorenOk. So qemu-system should say that it replaces, conflicts and provides qemu-kvm.14:30
hallynoh, provides14:30
sorenYeah.14:30
sorenThe problem is that you have versioned dependencies on it.14:30
sorenI don't think we can do versioned provides yet.14:31
sorenI could be wrong, though. It's been a while.14:31
sorenDoes anything have a versioned dependency on qemu-kvm?14:32
hallynso right now i have http://paste.ubuntu.com/1414805/14:32
hallynas the new debian/control14:32
hallynthey just have breaks/replaces on versioned qemu-kvm14:32
hallynsoren: jamespage: all right i'll try the pastebin'd version;  my other question then was,14:34
hallynno,14:35
hallynoh i didn't type that14:35
hallyndebian version is 1.2.0-dfsg, ubuntu version is 1.2.0+noroms and 1.2.0-201214:36
hallynapart from updating the source to qemu 1.3.0, or doing what i'm doing in ppa (using 1.2.0-z-dfsg),14:36
hallynis there something else i can do with the versioning when switching to the debian packages?14:36
hallyni don't wnat to do an epoch really since the problem goes away with 1.3.014:37
hallynsoren: jamespage: thanks, let's see how that goes  (build queued)14:47
luminoushi, I have had a hard time getting this sorted out in #ubuntu, my issue may require some more expertise,  so I'm here :)   I'm trying to install redmine on a ubuntu server, so it is relevant.15:01
luminoushttp://dpaste.com/842127/ <<< libmagick-dev won't install properly for me, having cancelled aptitude mid-run15:01
luminousaptitude install & cancel looked like:  http://dpaste.de/qi8dq/15:01
jamespageadam_g, I think we need to wrestle the swift charms back off my finnie15:54
jamespagethere ain't much review going on around this commits.15:55
hallynjdstrand: hey,15:57
hallynjdstrand: so i'm working on a patch to allow 9p mounts in libvirt,15:57
hallynbut the example used in the bug report was a 9pfs under /home15:57
hallynvirt-aa-helper expliclty disallows paths under /home15:57
hallyndo we want to enforce that for this too?15:57
jdstrandhallyn: I'm not familiar with 9p mounts. what do they do?15:58
hallyni'm not either in particular, but they offer a dir on the host through the 9pfs network fs to the vm,15:59
hallynand actually  my patch is treating them and fstype=bind the same way15:59
hallyn(this is re bug 943680)16:00
uvirtbotLaunchpad bug 943680 in libvirt "Apparmor profile does not authorize access to 9p shared filesystems " [Low,Confirmed] https://launchpad.net/bugs/94368016:00
hallynwait, i don't see home explicitly listed16:01
jdstrandhallyn: yeah, me either16:01
hallynbut i do get virt-aa-helper: error: /home/ubuntu/9p16:02
jdstrandhallyn: are you talking about the apparmor profile for virt-aa-helper itself, or the profile it generates for the vm?16:02
hallynvirt-aa-helper: error: skipped restricted file16:02
hallynthe profile it generates for the vm16:02
hallyngah, sorry, biam16:02
jdstrandhallyn: that is probably this check:16:03
jdstrandcase S_IFDIR:16:03
jdstrand  return 1;16:03
jdstrand  break;16:03
hallynjdstrand: oh.  that's right.  thanks!  i guess i need to make that '${x}/**'16:08
jdstrandhallyn: what type of rule do you want to add in the end?16:08
jdstrandright16:08
jdstrandso...16:08
jdstrandthat will require more work16:08
hallynsnprintf :)16:09
jdstrandhallyn: maybe create a vah_add_dir()16:09
jdstrandfyi, upstream doesn't like snprintf16:09
hallynsigh16:09
hallyndouble sigh16:09
hallynthey wont reply to me anyway :)16:09
hallynok i think i'm going to put that off then.  i thought it might be a quick addition to the other patches i sent to you for review,16:10
jdstrandhallyn: possibly because you didn't run 'make check' 'make syntax-check'16:10
jdstrandmake syntax-check will tell you about things like snprint16:10
jdstrandf16:10
hallynand tell me to write in a custom language?16:11
jdstrandthey will want you to use something like virBufferAsprintf16:11
jdstrandso would I btw, that is what virt-aa-helper does16:12
jdstrandI got dinged for that when I submitted my patches initially16:12
jdstrandhallyn: so, it doesn't have to be overly complicated16:12
hallynno but there are other things to do, and i'm chafing at custom language16:13
jdstrandvah_add_file() grows a 'bool dir' arg16:13
jdstrandthen you can have a different call to virBufferAsprintf when its true16:13
jdstrandvalid_path could also grow a 'bool dir'16:14
hallyndo we want the same restrictions on dirs as on files?16:14
hallyn(besides "can't be a dir" :)16:14
jdstrandthen in get_files() if it is 9p, set dir=True, otherwise default to False16:15
hallynjdstrand: not quite like that,16:16
jdstrandhallyn: re same restrictions> for now, I think yes16:16
hallyni'm specifically running through the ctl->def->fss and looking for 'mount' and 'bind' fstypes,16:17
hallynbut right16:17
jdstrandwell, ok16:17
jdstrandbasically, default to False unless you need it to be True :)16:17
hallyn(just want to make sure you're not suggesting I do this elsewhere through a call to reload_profile)16:17
jdstrandno, just in get_files()16:18
hallynok.  thanks.  i guess first (once my disgust settles) i'll do the virBufferAsprintf thing for the patches i've already sent.16:19
jdstrandhallyn: so, I was going to suggest making 'make syntax-check' happy. should I just wait for you to do that before I review the merge?16:19
hallynsoren: jamespage: ok, still having the same problem...16:19
jdstrandhallyn: sorry about that. actually, once you get used to it, their functions work pretty well... but I empathize having gone through it myself16:20
hallynjdstrand: well assuming it's a simple replacement, i'd say no, there's a lot more to those patches which could have real bugs16:20
hallynso as long as there's no problems with the fundamental patches, then i can avoid bugging you next time i send :)16:21
hallynsoren: jamespage: so qemu-kvm upgrade causes qemu-system install recommends qemu-utils install which breaks on the old version of qemu-kvm, which isn't installed bc of this loop.16:21
hallynhm, lemme check the pkg contents.  maybe that last conflicts isn't strictly needed16:22
hallyndrat.  it is.  qemu-io is in both16:24
hallynwait, if i have qemu-system providing qemu-kvm, does that mean i don't need a qemu-kvm metapackage?16:25
jamespagehallyn, I might be tempted to mock this up in an empty package16:26
jamespageso I could tweak the depends and see effects quickly16:26
hallyndo i maybe want conflicts instead of breaks?16:27
hallynjamespage: yes, except i'd probably spend several hours setting that up without breaking the rest of the packaging so nothing installs :)16:31
hallynlemme ask this q in -devel16:31
jamespagehallyn, I think that might be a good idea16:32
=== matsubara is now known as matsubara-lunch
hallynuh, wait.  i see another stupid thing i did.  not necessarily related, but perhaps.  biab16:41
jamespageyolanda, looking at your revised MP for nova/upstart now16:42
yolandajamespage, i was trying to finish the testings anyway16:43
yolandaso maybe it isn't correct16:43
jamespageyolanda, the changelog is a little fuddled and not correct formatted - but aside from that looks OK16:47
yolandajamespage, i have it pending to be corrected, yes, i need to push the changes16:48
jamespageadam_g, zul: any objection if I create some new views in the lab?  I like the OS series centric stuff we have in the public instance17:05
zulno objections here if it makes life easier17:05
jamespageyolanda, merged your changes; deploying into the lab right now....17:20
jamespage(nova is the trigger for a re-deployment test - and adam_g appears to have the grizzly deployment on precise working now)17:20
yolandagreat!17:27
yolandai trust more in the changes, now i can test it properly with the new environment17:27
=== matsubara-lunch is now known as matsubara
uvirtbotNew bug: #1087363 in bacula (main) "package bacula-director-mysql 5.2.5-0ubuntu6.2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/108736317:51
adam_gjamespage: +1 to both swift charms and modifying the jenkins views. i was hoping todo some swift work this week.17:53
jamespageadam_g, the swift charms contain some bad juju atm the moment17:54
adam_gjamespage: is cloud-init the main blocker for quantum's use of config drive on 12.04?17:54
samba35rebooted17:54
jamespageadam_g, its the guest that needs the later version of cloud-init17:54
adam_gjamespage: ya, last i checked the keystone stuff was hard-coded config options. actually it seems whoever pushed the changes to the official charms didn't push all of them17:54
adam_gjamespage: oh, ok, so its a guest-only issue?17:55
jamespageadam_g, yes17:55
jamespageadam_g, quantal cloud images should just work17:55
jamespageadam_g, the other thing you need todo is create a tenant network17:55
adam_gjamespage: okay. i tried boht last night with no luck. the instance never got its IP, which i assume it gets from the node running the dhcp agent?17:55
jamespageadam_g, the ext_net is shared across tenants and has not DHCP - its for floating IP's17:55
jamespageadam_g, nova-cloud-controller has a 'quantum-tenant-net' script which will create one for you17:56
jamespageI created one for the admin tenant and then ran nova instances as that admin user - that worked OK17:56
adam_gjamespage: but for fixed-ips.. i had the network and ports created so that new instances got new fixed IPs from the tenants network associated with it, but the IP never made it to the instance via DHCP17:56
adam_gjamespage: does all of the internal traffic flow over eth0? or is it possible/required to set that stuff to use a specific network, similar to flat_interface /w FlatDHCP?17:58
hallynjdstrand: lp:~serge-hallyn/ubuntu/raring/libvirt/libvirt-hugepages updated to use virBuffer17:59
hallynrecon i need to resend to libvirt list17:59
jamespageadam_g, it does; its encapsulated in gre tunnels between the ovs instances in each compute node and the quantum gateway18:01
jamespageadam_g, its possible todo other network configurations but thats the one the charm supports right now18:01
jamespageI do want to add other ones....18:01
jamespageadam_g, I've not tried what you did with the tenant network;;;18:02
jamespageyou should end up with a dnsmasq instance running on the gateway which dishes DHCP18:03
adam_gjamespage: yup. all *looked* okay. there was dnsmasq running with a host file that was updated when instances came and went, but DHCP appeared not to be working from the instances.18:05
adam_gill redeploy soon and have another look18:05
jamespageadam_g, OK18:06
jamespageworth checking the tunnels have setup ok with 'ovs-vsctl show'  - you should see one for each endpoint on quantum-agent and nova-compute nodes18:06
=== mcclurmc is now known as mcclurmc_away
jamespageadam_g, I stuck in a fix for the python-dnspython problem for all three charms - see my comment in the bug report as to why this is required18:07
adam_gjamespage: ack18:07
nidazolecan anyone help me about  how to combine 3 dd images from 3 SCSI physical disk to one image? the images got through RAID controller. i am trying to launch those to VMWare!!18:13
patdk-wkheh?18:14
patdk-wkyour in the wrong place then18:15
patdk-wkand if you combine them into one image, you will mess it all up18:15
sarnoldnidazole: (a) prepare for, and mentally accept, that you cannot do this. (b) _maybe_ there are md or dm tools that might be able to do this, but it'll probably be annoying, difficult, and you may be the first...18:15
patdk-wkyou need to convert them to vmdk files18:15
patdk-wkoh wait18:15
patdk-wkyour attempting to join 3 disks from a raid?18:15
patdk-wkya, I did that last month18:16
patdk-wkyou have to write a program to do it :) or use a very expensive windows program18:16
sarnoldpatdk-wk: hardware raid controller? :)18:16
patdk-wkI missread images got through raid, as images not through raid18:16
nidazolemd didnt work18:17
patdk-wkin my case, hardware raid died18:17
patdk-wkwhy would md work?18:17
nidazolehow to convert split dd images to vmdk?18:18
nidazoleLIVEVIEW?18:18
patdk-wknidazole, you write a program to do it :)18:18
patdk-wkand define split18:18
patdk-wkI seriously doubt your *raid* was setup for concat18:19
shaunoqemu has a helper tool qemu-img which is fantastic for converting between the various formats18:19
patdk-wkyes, that will come after you joined the 3 drives back into 118:19
nidazolepatdk-wk: ok :)  how?18:20
patdk-wkmake a program :)18:20
sarnoldpatdk-wk: did you need documentation from the raid card vendor or were you able to figure out the data format by inspection alone?18:21
patdk-wksarnold, I didn't need anything18:21
patdk-wkI knew how I setup the raid, so I knew the params, and just wrote a program to unstripe the data18:22
patdk-wkalso added sparsefile support into it, cause I have a habbit of zero'ng my disks, so it saved a crapload of time18:22
sarnoldpatdk-wk: there was no metadata on the drives that you had to skip? no funny geometry problems? :)18:22
patdk-wkin my case, raid10 setup with 128k blocks18:22
sarnoldpatdk-wk: hahahaha18:22
sarnoldpatdk-wk++18:22
patdk-wkno metadata, if there was, it was at the end of the disks18:23
patdk-wkdumped finished image to new disk, and reboot :)18:23
sarnoldpatdk-wk: hooray for documenting / remembering your setup. Nice. :)18:24
patdk-wkI also recovered a raid50 setup, last jan18:25
patdk-wkthat was much more fun :)18:25
patdk-wkraid50 with 7 disks, 3 bad disks, raid card totally screwed18:26
patdk-wkfinding working disks, getting them in order, recover each of them using ddrescue18:27
patdk-wktook almost a week18:27
patdk-wkthose had metadata, but it was easy to locate a *correct* mbr, and then adjust for it18:28
sarnoldooo18:28
patdk-wkso the question still remains, how did he have his raid setup? raid1 with spare? raid5? maybe raid6 but I doubt it18:29
nidazolethanks, patdk-wk.18:30
nidazoleabout expensive programs?18:30
nidazolewhat programs?18:32
nidazoleand what kind of params i need to write a program?18:32
patdk-wk is what I used at one time: www.ufsexplorer.com/download_pro.php18:36
nidazolepatdk-wk: can i combine the images with this?18:38
patdk-wkI think so, been a long time since I used it18:39
nidazolepatdk-wk: and one more question please. what kind of params i need to write a program?18:40
patdk-wkheh18:40
nidazolejust heh?18:41
nidazole:)18:41
patdk-wkask an understandable question18:41
nidazolei cant, but thank you very much.18:42
nidazolevery usefull to me.18:43
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== ibiris is now known as ibiris|afk
hallynstgraber: for lxcapi get/set_cgroup_item, i was going to pass in a container obj and use the container's cgroup.  Not name a cgroup.  Based on your email i'm not sure that's what you mean.  di dyou mean to pass a cgroup name in?19:13
stgraberhallyn: oh yeah, my e-mail was a bit confusing, I guess the C implementation would be something like get_cgroup_item(c, subsystem, key)19:14
hallynkewl19:16
hallyn(actually it'll be 'int (*get_cgroup_item)(container, char *subsys, char *retv, int inlen)19:16
stgraberok, same as get_config_item, works for me :)19:17
hallynstgraber: exactly :)  thanks19:18
stgraberafter the binding, I expect it to be possible to do things like lxc.Container("p1").get_cgroup_item("blkio", "blkio.throttle.io_service_bytes") in python which would return the content of /sys/fs/cgroup/blkio/lxc/p1/blkio.throttle.io_service_bytes19:18
stgraberit's unfortunate that we need to repeat the blkio part in the key, but well, that's how cgroups are and it's not worth working around :)19:19
cryptonitehello19:29
mysteriousdarenhi cryptonite19:30
cryptonitei was interested in setting up a home mail server, what do you think will the rasberry pi be enough or would it be better to run it on a vps?19:31
shaunoI'd recommend against the Pi simple because residential connections and smtp don't mix well19:33
sarnoldcryptonite: storage is probably the weak point, I'm not sure I'd want a mail spool on sd or usb..19:33
sarnoldgood point shauno :)19:34
cryptoniteshauno: what do you mean?19:35
cryptonitei have also an atom setup which could be used too19:36
shaunocryptonite: many isps block smtp on residential connections, because the primary use-case for it is trojan'd windows boxen.19:36
shaunoand I have to say I agree with them.  the valid few are far, far out-numbered19:36
sarnold… and many other ISPs also put their dynamic IPs on RBLs to help _others_ block their users as well :)19:37
cryptonitei think i could disable the smtp port blocking for my connection...19:38
cryptonitebut you say that other people might not get the emails i send them?19:39
Ngso the cloudimg images, they boot with console=tty1 and console=ttyS0, and it seems like it boots with the kernel displaying tty1, but in the plymouth world that means you just see kernel messages and not anything from/above init. Is there an easy way round that? I'd quite like to see all the output19:39
sarnoldcryptonite: yeah, that's happened to me before...19:40
shaunocryptonite: it's quite possible that the more stricter recipients might not look so kindly on such connections, yeah.  which is less relevant if you're only taking inbound19:40
shaunobut I/O is still a consideration on the Pi specifically19:40
=== niemeyer_ is now known as niemeyer
cryptonitei would like to be able to do both, send and receive19:44
zasternAnybody using ActiveMQ or mcollective on ubuntu? I'm getting a weird error that seems to be specific to the ubuntu packages - when I try to start with /etc/init.d/activemq console activemq, I get ""File /etc/activemq/instances-enabled//activemq.xml not found." Note the double slash.19:56
sarnoldzastern: how about "service activemq start" or similar?19:58
zasternsarnold: it does start, and I see the java process with ps aux, but it's not listening on the specified port19:59
zasternthats why im trying to do service activemq console to get debug info19:59
zasterni already disabled ufw so its not that19:59
sarnoldzastern: is it bound to localhost:port or a specific IP:port, just not the one you need?20:00
zasternsarnold: its not bound to anything20:06
zasternnetstat -a shows nothing for it20:06
sarnoldzastern: darn. :(20:07
sarnoldzastern: is there anything in the logs?20:08
zasternsarnold: no, thats why im trying to use console!20:08
zasternhaha20:08
zasternconsole is debug output20:08
zasterntehres no logs at all from what i can tell20:08
sarnoldzastern: hehe, I figured you'd look there first, but it never hurts to double-check :/20:09
adam_gjamespage: still around?20:22
=== lifeless_ is now known as lifeless
sh_thas anyone here had issues with ubuntu hanging on shutdown/reboot? "Unmounting local filesystems..." is what i'm seeing. fresh installation with 16 JBOD disks setup in fstab.. all working/test mounted prior to reboot20:53
sarnoldsh_t: sync can take a while..20:53
sarnoldsh_t: run 'sync ; shutdown -h now', and see if it is still slow at the same point?20:54
sh_tserver was idle20:54
sh_tbut i'll try that20:54
sarnoldhrm.20:54
sh_ti read some thread about it on the ubuntu forums.. some people having to put "killall"'s into /etc/init.d/umountroot20:55
jamespageadam_g, yep20:58
guntbertsh_t: I take a guess: DELL ?20:58
sh_tguntbert: no, supermicro20:59
sh_tguntbert: it doesn't happen in 10.. only 12 (which ive decided to start using recently)20:59
guntbertsh_t: then its probably different from what I experienced, I remember (answered) questions around that topic on askubuntu21:00
jamespageadam_g, juju set quantum-gateway ext-port=eth121:05
jamespageand magic will happen21:06
adam_gjamespage: okay, i think thats what i probably needed. i had everything up on quantal. instances were getting their IPs, but iw as unable to reach them myself.21:06
adam_gjamespage: don't think i had ext-port set, ill try that next time.21:06
jamespageadam_g, you can set it now21:07
adam_gjamespage: do floating ips (created and associated via quantumclient) work as expected?21:07
jamespageadam_g, yes21:07
jamespageadam_g, the folsom/stable branch also includes the integration between nova and quantum so you don't have to use quantum at all21:08
jamespageadam_g, however the charm does not support that yet21:08
jamespagethats for next iteration21:08
adam_gjamespage: cool21:08
adam_gjamespage: i just put up some MPs for the swift charms to get things rolling there. just migrated to using the openstack-common stuff for cloud archive installation.21:09
jamespageadam_g, you can actually see the instance from quantum-gateway21:09
jamespage"sudo ip netns exec qrouter-5ba6e7b8-5bdd-4cb7-8a3a-361561d8e771 ping 192.168.21.131"21:09
jamespagequantum uses ip namespaces heavily on the gateway21:10
jamespageadam_g, did you take the deb out of the charm?21:10
adam_gjamespage: but from elsewhere its accessible via 192.168.21.131?21:10
adam_gjamespage: yup. that gets installed now from the archive, if folsom (or later) is being installed21:10
jamespageadam_g, once you set the ext-port for the gateway yes21:10
jamespageall that does is add the port to the bridge and set the link to up21:11
adam_gim half tempted to rewrite the swift stuff in python. theres to much config file sync'ing that could be done better using templates21:11
jamespageadam_g, I need to sync up the quantum charm to work with common as well21:12
adam_gjamespage: i think we can get your stuff merged first, and then sync into there. i mentioned in one of those reviews, id like to have just one configure_network_manager() we can use from both nova-compute and nova-c-c.21:15
jamespageadam_g, yeah +1 to that21:15
jamespageadam_g, can we make the commons project an official one as well please....21:15
adam_gjamespage: sure.21:22
jamespageadam_g, looking at you comment re testing for IP in compute/controller21:22
adam_gjamespage: https://launchpad.net/openstack-charm-helpers21:28
jamespageadam_g, nice21:29
jamespageadam_g, I just pushed a fix for the [[ -n private_address ]] bug to cloud/compute branches21:34
zasternAnybody running into issues getting activemq running on ubuntu for mcollective? The package seems possibly broken.21:35
adam_gjamespage: cool. i wanna do another deploy and then ill merge those21:39
jamespageadam_g, ack - thats me done for today - ttfn21:48
adam_gjamespage: cya21:56
adam_gUrsinha: ping21:59
=== You're now known as ubuntulog
Ursinhaadam_g, pong22:14
adam_gUrsinha: er, just sent an email. :)22:24
Ursinhaadam_g, will reply :) do you want/need the answer now or tomorrow is fine?22:25
adam_gUrsinha: no rush. tomorrow's cool22:25
Ursinhaadam_g, cool :)22:25
=== Ard1t is now known as Guest36245
=== Ard1t2 is now known as Ard1t
=== cpg|away is now known as cpg
hallynstgraber: bleh!  what a pain!  you can't get size of a cgroup file through stat or seek.22:54
hallyni sort of knew that, but was hoping someone had fixed it by now :)22:55
jeeves_mossif I have the %maildir% dump from my pooched dovecot install, is there a way to get the e-mails back out of the database so I can import them into a mail program, and then offload them to Exchange?22:57
Patrickdkheh?23:01
Patrickdkdovecot doesn't do databases23:01
Patrickdkyou shouldn't even import them23:02
Patrickdkyou should just setup an imap program and transfer them23:02
stgraberhallyn: oh, that's fun, so how do you read those files? just read until you get nothing?23:02
jeeves_mossWell, the issue is that the server crashed, and I only have the backup of the maildir directory.23:04
hallynstgraber: yup! :)23:05
hallynstgraber: so i only do that if null pointer is passed in or 0 length23:05
hallynif you pass in a small value your indication will be return value == what you passed in, not the full size as with lxc_get_config_item23:06
Patrickdkjeeves_moss, since you only backed up the maildir, you have to rebuild the rest of the server23:11
Patrickdkonce it's build put the maildir files on it23:11
Patrickdkthen you can transfer it to exchange, or whatever you want23:11
Patrickdkthe space savings you got, from only backing up the maildir, is the cost of restoring things, when this happens23:12
sarnoldmany mail clients can grok maildir; maybe aim mutt at the maildir, and configure it to know how to imap to the exchange server, and then 'copy' the mails to a folder on the imap...23:12
jeeves_mossPatrickdk, and if the users were in a MySQL database, I'm guessing I'm going to have to totally rebuild EVERYTHING in order to get the mail out of it?23:13
Patrickdkgetting access to the mail is easy, it's one file per email23:13
Patrickdkthe issue is, you can't give that to exchange23:14
jeeves_mossPatrickdk, or is there a way to set it up that I can run a shell program to login to my exchange server and upload all the e-mails to the "inbox"23:14
Patrickdkyou can do an imap transfer, but you need to setup an imap server for that to work23:14
PatrickdkI don't know of any maildir->imap program23:14
Patrickdkonly imap->imap23:14
jeeves_mossPatrickdk, I know that each e-mail is just a file.  Can I "import" that into the local directory in Thunderbird or something?23:14
Patrickdkdunno about thunderbird23:15
sarnoldmutt should do it23:15
jeeves_mossPatrickdk, I'm just trying to thin of the fastest way to move the emails around.  I'd really like to take that old server out to the parkinglot and smash it.23:15
jeeves_mosssarnold, mutt will, but I'm not sure how to move the e-mails around.  I had migrated ~50 users to Exchange to shut them up while I sorted out the other mess23:16
sarnoldjeeves_moss: T lets you tag by patterns. ;C will copy all tagged messages to a folder.23:17
jeeves_mosssarnold, thanks!23:17
sarnoldjeeves_moss: it may not be pretty :) but if you don't want to set up dovecot again and use an imap<->imap, it might be the thing to save your bacon...23:17
=== codingenesis is now known as nerd
jeeves_mosssarnold, lol, lets hope.  As I said, it was a v-hosted dovecot/postfix/MySQL mess that I had thrust on me.   I was sick of explaining why M$ products didn't work.  So, I just built an exchange server and everyone shut up23:18
sarnoldjeeves_moss: muttrc(5), search for "Constructing Patterns" to see the rules available...23:18
jeeves_mosssarnold, thanks.23:18
jeeves_mosssarnold, now I'm going to see if I can wake it up using WOL23:20
sarnoldjeeves_moss: plus, you'll have fun when someone wants a mail "out of backups" and you say, "okay, it'll take me about four hours to clone this exchange, an hour to load the database off backup, I'll get it to you ... tomorrow." :)23:20
jeeves_mosssarnold, lol.  I've attached a few file boxes to my door.  and the note above it says "If you need something, submit a form (pick a box).  If you've submitted a form, don't bother asking me in person.  They will be accomplished in order of need of the group, not in order of personal preference.  Asking me will result in your request being moved further down the pile"23:22
sarnoldjeeves_moss: oof :)23:23
jeeves_mossa few people have asked, and I have taken their request form and physically moved it to the bottom of the pile while they were standing there.  Under the pile is a garbage bucket.  They're warned that the second request will be moved lower than the pile23:24
jeeves_mossdamn it.  I can't find the MAC of the server that's turned off23:25
patdk-lapsarnold? heh?23:29
patdk-lapyou NEVER clone exchange to get an email out of backups23:29
patdk-lapyou just mount the backup, and restore the email23:29
sarnoldpatdk-lap: that's how it was explained to me last time I asked an exchange admin how they got mails out of backups.23:30
patdk-lapthis was echange pre 2003?23:30
patdk-lapI know in 2003 there was a backup mailspool, you restored the backup to it, then did some recovery thing23:30
patdk-lapin 2007/2010, you just restore and copy over the active mailspool23:30
patdk-lapexchange does some voodoo so it doesn't actually overwrite it23:31
patdk-lapI've done this a few times in the last couple of months23:31
patdk-lapusers completely wiping out their exchange mail somehow via their iphone23:31
patdk-lapnot nearly as nice as a maildir email restore23:32
patdk-lapbut I have even dropped maildir/mbox on my mail servers, for mdbox23:33
sarnoldpatdk-lap: yeah, probably 2003, 2004, I asked about it...23:33
jeeves_mosssarnold, if I have e-mail cached in Thunderbird, is there a method to sync it back to the server?23:34
sarnoldjeeves_moss: not that I know of, but I know nearly zero about thunderbird.23:34
patdk-lapthe only thing I know about thunderbird is it stores email internally using mbox format23:34
jeeves_mosssarnold, lol.  Well, I think when I get home, I'm going to fire up that old box, and strip all of the crud out of it.23:35

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