/srv/irclogs.ubuntu.com/2013/08/22/#ubuntu-server.txt

hallyn_smoser: your patch intorducing the ubuntu-cloud-prep hook removed code doing rm $rootfs/etc/hostname in the ubuntu-cloudtemplate, and didn't replace that anywhere00:04
hallyn_smoser: when I re-add that, ubuntu-cloud containers get their correct hostname.  Otherwise, they are always called ubuntu, as sidnei found00:04
=== freeflying_away is now known as freeflying
kantlivelongive got an interesting question maybe someone can help with.. i have an img of a single partition on a disk. is there a way i can make a partition table in a file and move the contents of the file into it? i basically wanna rebuild the disk as a file00:26
SpinningWheelsrecent development. my ubuntu servers don't use the configuration in /etc/network/interfaces on bootup. i have to ifdown ifup the interface or restart networking service for the configuration to be used.00:26
sarnoldkantlivelong: why do you need the partition table?00:27
kantlivelongsarnold: i wanna make it bootable in vmware/virtualbox00:28
kantlivelongsarnold: so basically take a single partition dump made using dd00:28
kantlivelongsarnold: then recreate the partition table and put it in00:28
kantlivelongoh and i have a dump of the mbr too00:29
kantlivelongmy only idea is to make a blank file using dd and treat it as a block device, partition it w/ parted then copy it over.. i just dont know how to have it handled as a block dev00:30
sarnoldkantlivelong: if cfdisk or fdisk won't just work on a file, you can use a loop device to get there (man losetup)00:31
sarnoldkantlivelong: but before putting too much effort into this yourself, look at the qemu-img --help and manpage and see if it can get you there without having to do the dd dirty work yourself00:32
kantlivelongsarnold: thanks :D didnt know of losetup00:32
sarnold(or, if you can just re-dd the disk, dd the whole thing rather than just the one partition.. :)00:32
kantlivelongsarnold: yeah theres alot of other partitions though :P its a multi boot system00:32
smoserhallyn_, that was by design. that should'nt really be necessary.01:31
hallyn_smoser: but it seems to be.  if i leave $rootfs/etc/hostname in place, it always is 'ubuntu' after starting the container02:31
hallyn_if i remove it, it has the correct hostname after lxc-start02:31
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== thumper is now known as thumper-afk
MACscrok, i cant for the life of me get LXC to work with a normal bridge so that it gets an ip address from my routers dhcp server. Nat works great out of the box, but its not what i want =(06:24
MACscrseems all the intructions i have tried not only work, but are somehow different than each other.  Shouldnt something like this be pretty basic and not require a bunch of workarounds?06:25
MACscralso, should i use 12.04 or should i maybe use a newer version that might have better LXC support?06:26
=== smb` is now known as smb
=== thumper-afk is now known as thumper
kamiGood morning.07:59
kamiI have problems with NFS on a fresh install of 12.04.02.07:59
kamiIn /etc/exports, I have '/export *(rw,async,no_root_squash,no_subtree_check)'08:00
kamihosts.allow and hosts.deny are both empty08:00
kamiWhen I try to mount the share, I get http://paste.ubuntu.com/6013157/08:02
kamior better: http://paste.lisp.org/display/13857908:06
kamiI wonder why it says "qword_eol: fflush failed: errno 2 (No such file or directory)"08:06
kamiThere IS such a directory as ls shows.08:07
josephtacosis the a new way to enable mod_rewrite in apache2.4.6? on ubuntu 13.1008:32
josephtacosis the a new way to enable mod_rewrite in apache2.4.6? on ubuntu 13.1008:46
Questwhat choices do I have for type 1 virtualization and which one is better for installing  solaris and windows 2008 server r2 with multiple user access by remote computers (for both OS simultaneously)?09:03
jamespagesmb, OK - I now have a functional dkms module based on the 1.11 branch of openvswitch09:29
jamespageonly 12 patches to get to 3.11 support09:29
smbso simple? :-P09:29
smbjamespage, Do you want me to cross-check or are you just uploading it?09:31
jamespagesmb, review would be nice09:31
smbjamespage, sure, just point me at the bzr branch09:32
jamespagesmb, lp:~james-page/ubuntu/saucy/openvswitch/snapshot-1.1109:32
smbjamespage, k, looking09:32
smbjamespage, Only patch 1 sounds a bit like it might rely on some kernel implementation without adding compat elements but maybe that is not true. The rest is a lot of churn to look at. So I just try how the dkms module compiles and works on S and P.10:06
jamespagesmb, I think thats a good idea!10:06
jamespagesmb, my cherry picking was based on having to pick the GRE restructuring patch to support 3.11 usage10:07
jamespageotherwise I'd end up implementing a hacked compat patch for the piece10:07
smbjamespage, Oh yes, that sounds plausible. From 0012 it looks like even more moved into upstream headers. And in theory the openvswitch source tries to have the compat layer. So it is quite possible that some of the later patches actually does that. Looked like gre files might have been pulled in. Just hard to decide on a patch by patch base10:11
jamespagesmb, it has - infact the upstream kernel module for openvswitch in 3.11 supports GRE10:11
jamespageoh - I cc'ed you didn't I10:11
jamespagedoh!10:11
smbjamespage, You may or may not. Have not looked into my inbox for a while10:12
jamespagesmb, yeah - upstream confirmed that was the case10:12
=== styol_ is now known as styol
jamespagesupport for VXLAN tunnelling should come in 3.1210:13
jamespagesmb, so hopefully we can ditch DKMS for 14.04 for openvswitch10:13
jamespagethat would be nice!10:13
smbHeh, yep10:13
jamespagesmb, bah - I have a system I've been testing with used ovs on the primary nic10:14
jamespagermmod openvswitch was not a great idea over the network was it....10:14
* jamespage faceplants10:14
smbThats many systems to you. I also have often to be very careful about what I do where10:16
jamespagesmb, OK _ I'm testing with the 3.2 kernel in precise as well10:18
smbjamespage, seems to have at least built in 3.210:19
jamespagesmb, thats good10:20
jamespagesmb, just installing a 3.2 kernel on my precise system - normally run the hwe kernel10:20
=== styol_ is now known as styol
smbjamespage, Oh, hm, need to make sure this is the right kernel...10:22
jamespagesmb, well it built for 3.210:22
jamespagethats good10:22
smbjamespage, Ok, yeah mine was a 3.2, too but one never can be sure10:24
smbThe openflow test ran successful too10:24
smbjamespage, only the common part of loading unloading looks like it might suffer from upstart script problems10:25
jamespagesmb, oh yes10:26
jamespageservice openvswitch-switch force-reload-kmod10:26
jamespagethat don't work with my latest updates10:26
jamespagesmb, I'll update the tests10:28
jamespagesmb, OK - updated tests pushed10:31
smbjamespage, Ok, that works on P10:32
jamespagesmb, I've submitted the patch for 3.11 upstream and asked whether the patchset for 1.11 branch might be accepted - I don't think its technically released as yet!10:36
smbjamespage, Yeah I think we at least would have to wait for comments about the patchset from upstream. At least practical testing seemed good so far if that does not miss something10:38
jamespagesmb, I'm going todo a quick gre tunnel test10:41
smbjamespage, Ok, I would try to go back finding any sanity in nested kvm10:44
jamespagesmb, thanks for your help10:50
jamespagesmb, GRE seems OK on 3.11 kernel but busted on 3.210:51
jamespagewhich is a bit of a problem as I want to backport this for the cloud archive10:51
smbjamespage, Was that with only new dkms or userspace replaced too?10:55
jamespagesmb, just dkms10:55
smbHm, yeah that may get into trouble when the interfaces are different. :/10:56
jamespagesmb, oh - hold on10:58
jamespagethis might be something else interring with it on my precise machine10:58
jamespageI'm using vlan package as well10:58
* jamespage tried on a different machine10:58
jamespagesmb, nope - its bust11:21
* jamespage debugs some more11:21
jamespageprobably something in the gre compat layer I suspect11:22
smbjamespage, In some sense good that its not "just" some other dependency. I would suspect that some user-space facing part changed from their old implementation to those picked from the kernel.11:24
jamespagesmb, I'll see11:25
smbThose are the cases where one wonders whether not the whole source should be pushed into older releases... Of course that will make any AA beat the foo out of me11:25
jamespagesmb, well for the cloud archive you will get the userspace tools as well11:25
jamespagesmb, rebuilding for precise now to see if that makes a difference11:25
jamespagesmb, I doubled checked the lts-raring dkms backport we are providing for 12.04.3 - that works OK with gre11:26
jamespageand the 12.04 userspace tools11:26
smbI would think that the raring version still had their old gre code11:27
jamespagesmb, hmm - interesting11:31
jamespageneeds new userspace tools11:31
* jamespage stops flapping11:31
jamespagesmb, hmm - bug in there somewhere - as soon as I do stateful TCP connections over GRE I pretty quickly kill the machine11:44
smbjamespage, You mean even with Saucy and new tools? ... that would be bad11:45
jamespagesmb, yes11:45
jamespageand I do mean that!11:46
smbdarn11:46
jamespagesmb, nothing in the kern.log11:46
smbjamespage, If a VM reacts the same way and does not take down the host, maybe a dump can be taken11:48
smbThough it seems 3.11 may have changed the dmesg format and crash has to play catch up11:48
jamespagesmb, VM do  the same thing11:48
jamespagesmb, OK - master of upstream with my 3.11 support enabled does not crash11:53
jamespageso I'm either missing a fix or I broke the backport11:54
smbHm, neither particularly pleasant to find11:55
jamespagesmb, also native kernel module is OK12:02
jamespagesmb, so probably my backport - suspect I'm missing something12:02
jamespageI think I see12:02
smbWished I could be a bit more helpful but I am not very good at multitasking :/12:06
=== Quest is now known as Guest11267
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
Jeeves_MossI'm trying to recover e-mails that were orignally in a Dovecot server.  I was able to recover all but one's e-mails from .PST files on the local system.  I currently have the directory where the e-mail files were orignally, but I'm lost hot to make a simple install so I can install JUST those e-mails, so I can connect with outlook and pull them into Exchange.13:56
greppyJeeves_Moss: it may be simpler ( or harder ) than you think, if it was an IMAP server, you may be able to just convert from Maildir to Exchange, a google search may help you there.13:59
Jeeves_Mossgreppy, I think (if memory serves), I've tried that.  I'm going to try spinning up the VM, and uncompressing the 6Gb file to the drive14:01
Jeeves_Mossgreppy, if you're going to be around for a bit, I'd apericate any help you can offer14:01
plarsjamespage: I'm having trouble getting my maas to get as far as a juju deploy for the 12.04.3 testing. If you have a simple way to do it in your environment again, it would be nice to have that result filled in on the iso tracker14:09
jamespageplars, sorry - I dont14:09
plarsjamespage: I'm getting further than before, but it's one of the last remaining things we need before release14:09
jamespageplars, have you pinged matsubara?14:10
plarsjamespage: no, not yet14:10
plarsjamespage: doesn't seem to be on14:10
zetheroojust was looking at this (http://www.serenux.com/2009/11/howto-fix-a-missing-eth0-adapter-after-moving-ubuntu-server-from-one-box-to-another/) since I am experiencing the same issue .... but I am wondering if there was any way to make it so that the disks can be removed from one host and placed into a backup host and not have to manually fix the MAC address issue .... !?14:11
TJ-zetheroo: If you make /etc/udev/rules.d/70-persistent-net.rules "chmod o-w" (read-only) then "/lib/udev/write_net_rules" will not change it, instead writing the updated rules to /dev/null14:36
=== freeflying is now known as freeflying_away
zetherooTJ-: would that allow a disk from host1 to be placed into host2, booted up and have network up and running?14:44
TJ-zetheroo: If you prevent *any* rules ever being written to "/etc/udev/rules.d/70-persistent-net.rules"14:45
zetheroook, and I can leave /etc/network/interfaces alone?14:45
TJ-You could just make /lib/udev/write_net_rules non-executable, too14:46
TJ-You could even add a custom rule that fires on the same triggers and blanks 70-persistent-net.rules if it detects that all the MACs are now different to those recorded14:47
TJ-I have something similiar in an emergency USB flash drive so I can use it in multiple-interface servers (some have 10 i/fs) and it won't change assignments14:49
zetheroowhat would be the safest and simplest method in your opinion?14:51
TJ-Well, if you know the HDD is going to move then prevent write_net_rules ever running from day 0. If not, and it has already written to 70-persistent-net.rules you've got to edit that file. So then you need to decide whether to do it manually, or have a udev script that will do it for you when/if ever needed14:53
zetheroowe have 3 running servers and one redundant server - all 4 are identical hardware and software wise ...14:55
zetheroothe idea is that in case a server dies we can simply remove the disks and place them into the redundant server and power it up without a hitch ...14:56
TJ-Well it doesn't take much to manually edit the files, but if you want it automatic, you'll need to add a script to do it14:58
zetheroooh ok ... so just changing that files permissions to read-only would not do the trick ...14:59
TJ-As I said, once it has been written to once you'll have to edit anyhow, so either you never let it be written to, or you must edit one way or another15:02
zetheroook, so I removed the disk from a server and placed it into the redundant server ... booted up ... no eth0 interface is there ... if I comment out the SUBSYSTEM line in /etc/udev/rules.d/70-persistent-net.rules and then change it to read-only, then reboot the system, will that then work?15:06
Linuxx@zetheroo: Do you see the interface with dmesg | grep eth?15:10
zuljamespage/roaksoax: https://code.launchpad.net/~zulcss/neutron/usage-audit/+merge/18159215:21
=== Ursinha is now known as Ursinha-afk
jamespagesmb, \o/ I'm not exploding my test servers any more15:22
jamespageneeded one extra commit15:22
smbYay!15:22
TJ-If a process being 'controlled' by system dbus-daemon fails, will that process restart with the same ownership as the dbus-daemon?15:24
=== Ursinha-afk is now known as Ursinha
zetheroook, I tested the above and it worked great :)15:30
tgm4883Does ubumirror actually work? I'm using almost a stock configuration and all I get is "Unexpected remote arg: archive.ubuntu.com::ubuntu/". This is on 12.0415:45
hallyn_zul: saucy connecting to saucy using xen+ssh://serge@ip/ works with virsh, hangs with virt-manager  <shrug>  giving up on virt-manager for now15:50
zulweird15:50
hallyn_yeah15:50
smbhallyn_, Does virsh connection hang with dumpxml 015:50
hallyn_smb: yeah, even locally15:51
hallyn_virsh -c xen:/// empxml 0 or virsh -c xen:/// edit ubuntu both hang15:51
smbhallyn_, then you must have a non-fixed version of libvirt15:51
hallyn_presumably that's the cause of the virt-manager hang, makes sense15:51
hallyn_smb: non-fixed?15:51
hallyn_i've got 1.1.1-0ubuntu315:51
smbhallyn_, This should have been fixed in previous15:52
smbversions15:52
zuljamespage:  http://people.canonical.com/~chucks/ca/ (that should get us up to date with whats in the cloud archvie)15:52
smbHrm... And I thought the patch went into upstream at some point15:52
smbzul, did the pull of 1.1.1 contain d7a45bf22368161869963b92a0a1d5599590fdf5 from upstream?15:53
smbxen: Use internal interfaces in xenDomainUsedCpus15:53
zulsmb:  which one is that?15:53
zulsmb:  gitweb link?15:54
smbzul, That would be the sha1 in upstream... :-P15:54
zulsmb:  lemme check15:54
* hallyn_ is d/ling the pkg source to check15:54
hallyn_smb: no it's not in the pkg15:55
=== psivaa is now known as psivaa-afk
smbhallyn_, Yes, seems this did come too late into upstream...15:56
hallyn_smb: are there other patches I"ll need to push?15:56
smbhallyn_, It is in upstream master, so just needs picking15:57
hallyn_smb: yes, doing that.  but are there any ohters i'll need15:57
hallyn_ok, building and testing :)15:58
hallyn_thx smb15:58
smbhallyn_, no, just had to drop ubuntu-xen-fix-api-deadlocks.patch in favour of the other but I suppose dropping happened15:58
smbThere are two patches I did not push upstream as they seemed rather depending on the way we have modified some things15:59
hallyn_i don't see anything like 'fix api deadlocks' in git history16:00
smbhallyn_, That was only the version we had in the package16:01
hallyn_oh - in our package, gotcha16:01
smbRight, and it had been evolving for the better anyway, so its kind of good it is gone but kinda bad the replacement did not make it into 1.1.1 upstream16:02
hallyn_patch is still in the directory, but not listed in series16:02
hallyn_ok, build is proceeding.  lessee16:02
smbhallyn_, Oh, so you can remove it while you are at it16:02
hallyn_yeah16:02
hallyn_i can also look at the -maint tree which i think has a patch for us to push16:03
=== mooky_ is now known as mooky
=== Ursinha-afk is now known as Ursinha
smbhallyn_, feel free. I am outta here :)16:04
hallyn_smb: \o16:05
hallyn_smb: that fixed it, thanks!16:18
hallyn_BUT!  I now want to test with all the v1.1.1-maint patches pushed.16:19
hallyn_waiting for zul to get back so i can ask him to doublecheck :)16:19
FunnyLookinHatAnyone here know why SSH claims it can't resolve a domain but host -a returns the correct A record for it?  I just created it on my DNS host a minute ago, but I'd assume that seeing it with host -a would mean it's queryable16:36
sgrandoes it have an underscore in the name?16:38
sgranhost -a queries for an A record16:39
sgranping/ssh etc use a libc function that checks for validity of a hostname16:39
sgranthese often overlap, but don't need to16:39
hallyn_smb: ppa:smb/xen seems to be working fine with libvirt17:07
explodesWhen I log in, it shows the temperature in Celsius, how do I show it in Fahrenheit?18:37
sarnoldexplodes: grep for 'sensors' in your /etc/update-motd.d/ -- if you find it, replace it with sensors -f18:41
explodessarnold: Nice, thanks.18:41
hallyn_FunnyLookinHat: unlikely, but also conceivable that you have a .ssh/config entry for the domain which sets up a proxy, and the proxy doesn't actually know the host...18:44
FunnyLookinHathallyn_, got it figured out - thx :D18:46
hallyn_ok18:46
=== zkxs_ is now known as zkxs
=== psivaa-afk is now known as psivaa
K4kHi, perhaps this is a better place to ask my question since it's more server specific. I'm trying to configure postfix smtp/sasl with dovecot and I keep getting the following error: "warning: SASL authentication failure: unable to canonify user and get auxprops" but I'm unsure why. All documentation I've found seems to indicate I've got it all configured properly.19:31
sarnoldK4k: do you get better error messages if you look through log files?19:34
K4kmail.log is telling me what I posted, nothing more useful unfortunately19:34
sarnoldoh, drat, I hoped that was a user-facing error message that glossed over details. :(19:35
K4kmy client connects and presents my server certificate, then prompts for my password19:36
K4kThen tells me "SASL authentication failed"19:36
K4kon the server side, the chain of events looks like this: http://pastebin.com/9nPUfTFK19:38
sarnoldK4k: your client presents the server cert? o_O19:39
K4kmy server is using a mismatched hostname self signed cert at the moment so the client says "Hey, this looks funny, do you want to proceed anyway"19:39
K4knothing weird19:40
sarnoldoh, it presents the cert to the user :) I thoght it was trying to handshake iwth the server's certificate..19:40
K4koh, haha, no19:41
K4kLooks like Ubuntu runs postfix in a chroot which might be an issue...19:43
K4kWOO! I think I fixed it19:54
K4kit was a client side configuration issue19:54
K4kI'm glad I'm not crazy19:54
sarnoldK4k: woo, what was it?19:55
K4kmy smtp_url line in my muttrc originally was user@example.com:587 and I saw in an example document that they didn't have the user@ portion so I took that out and it started working19:56
K4kit's a little unsettling though because it now doesn't ask for my password to send email...19:56
K4kso something is still not quite right19:57
adam_gDaviey, jamespage http://people.canonical.com/~agandelman/ca/grizzly/2013.1.3/21:14
adam_gready for grizzly-proposed21:14
Davieyadam_g: visibly, they look good.  Are you also uploading to raring?21:24
adam_gDaviey, they're already in queue21:37
adam_gDaviey, gonna push to grizzly-proposed unless you have any objections21:37
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== thumper is now known as thumper-afk
=== freeflying_away is now known as freeflying

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