/srv/irclogs.ubuntu.com/2013/12/04/#ubuntu-server.txt

=== freeflying_away is now known as freeflying
=== gary_poster is now known as gary_poster|away
hallynxnox: hey, (stgraber suggested I ask you) do you know of any way offhand to have n thread handlers in an nih_main_loop()?  (particularly this is a nih-dbus app)02:33
xnoxhallyn: first one needs to recompile libnih with "--enable-threading" flag, if there is need we can provide it as a separate package. It's same api/abi (sans threading) but threading is not considered safe for e.g. init.02:39
xnoxhallyn: and then I believe you would have a main_loop per thread.02:40
xnoxhallyn: entirely untested, first step is to recompile and check the test-suite results.02:40
xnoxhallyn: if you want some better thread API, I'm all ears.02:43
xnoxI'm writting a lot of libnih upstream code these days.02:43
xnoxhallyn: if you are ok with something more haevy weight, i'd look into into glib / gio, they have more dbus features/code.02:45
stgraberxnox: it's for the cgroup manager, I think we're mostly using nih for the convenient dbus API. If we are to move away from it, my guess would be to go straight with libdbus and not depend on a giant library like glib02:52
hallynxnox: hm, thanks.02:55
hallynstgraber: bs.  if we go away from it, i'm going with straight unix socket :)02:55
hallyneffing kids these days with their little toolboxes that trade control ('its so complicated') for crappy random boilerplate02:56
stgraberhallyn: considering the pile of hack you had to do to get ucreds to sort of work with dbus, I can't blame you ;)02:56
hallynstgraber: now i realize that really the thing to do is add scm_creds sending to dbus,02:56
stgraberyeah, but that'd be awkward since dbus supports tcp and a bunch of other medium on which scm_creds won't work02:56
hallynsame with sending scm_rights though02:57
xnoxstgraber: scm_creds work with libdbus on linux (or so I thought)03:00
xnoxplus libnih-dbus depends on libdbus, so you already have libdbus.03:01
xnox(granted with nih main loop)03:01
stgraberxnox: you can get the initial ucred from the socket, passing a scm_cred later on over the raw socket proved to be pretty tricky03:01
xnoxI see.03:01
stgraberxnox: basically what we need is to have our client send a dbus message, then send a ucred struct, then wait for the reply from the server03:02
stgraberxnox: the server needs to grab the message from the client, wait to get the ucred, then process the request and return the reply03:02
stgraberbased on what hallyn has been telling me today, it's not nearly as easy to do as it should be...03:02
hallynxnox: yeah you cannot send a ucred using dbus.  dbus sends an scm_cred during auth phase but that' sit03:02
hallynstgraber: not just not easy, not supported03:03
hallynstgraber: however, in the end i figured out how to fetch my own reply so I could bypass the send_message_call_reply_block(0 or whatever03:03
hallynthat was a big step up03:03
hallynall i have to do is manually send the scm-credential over the underlying fd03:04
hallynxnox: I don't suppose you are at all 'in' with the upstream dbus crowd? :)03:04
hallynstill the dbus perf overhead (by all accounts no better than at least 2-4x) may be insurmountable03:05
xnox*giggle* not really no. If anything they hate me for bringing up "upstart dbus activation" and opening with "remember, scott & lennart had a fight about it 2 years ago"03:05
hallynlol03:05
hallynstgraber: hm, so would statically linking cgmanager against a custom-build libnih with threading be a problem?  after all we wanted minimal dependencies03:06
xnoxhallyn: hm.. but surely kdbus would need to marshal creds & rights? and it looks like systemd commits of kdbus do have it.03:06
xnoxhallyn: i'd provide threaded libnih in debian/ubuntu, but.....03:06
hallynxnox: the server can get the creentials of the caller.  but that's not what i'm after03:06
xnoxhallyn: libnih/upstart are removed from most RPM distros these days due to non-maintainance.03:07
hallynnon-maintenance?03:07
xnoxhallyn: as in no RPM package maintainers in fedora (after it stopped being their init)03:07
xnoxand almost by definition that meant no other RPM distros maintained it either.03:07
hallyngotcha03:08
hallyn(i woudl have thought the RHEL folks would want to maintain it for a bit)03:09
xnoxhallyn: talk to pitti, he did do dbus work, as far as I remember and he might now a better way to do it.03:09
stgraberhallyn: any static linking is usually very badly seen from the archive admin team and for good reason (security updates being the biggest one)03:09
hallynstgraber: yeah...03:09
stgraberhallyn: desrt (Ryan Lortie) also has a few commits in dbus upstream (but don't mention nih since he's one of the glib guys ;))03:10
hallyni dislike glib and nih equally :)03:10
xnoxcgroups manager is an exercise in FLOSS political correctness =)03:11
hallyn(not that i would've used dbus at all without nih)03:11
hallynxnox: astute03:12
stgrabermy feeling is that we either manage to get nih and dbus to play nice or we go with good old (lxc-style) C and raw unix socket then try to build a protocol that's not too awful on top of that03:12
hallynstgraber: i'm done with it for tonight, will look more tomorrow - but near as i can tell, all my tests were working today, but that was an accident and in fact the scm_cred sending is very racy03:13
hallyn(meaning i'm feeling down on our chance of being able to use dbus - again, unless we start making upstream dbus changes)03:13
stgraberupstream dbus changes will quite problematic with our plans of backward compatibility...03:14
stgraber*will be03:14
hallynstgraber: yup03:14
hallynthough couldn't we just also backport the dbus delta? :)03:14
hallyn'ust'03:14
hallyn'just'03:14
hallyni crack me up03:14
zulhallyn:  yeah will have it tomorrow03:21
xnoxstgraber: hallyn: if i understand it right, once authenticated you can open a new abstract private dbus socket for that client & expect the first connect/authentication to be the "new" crendentials you want the client to pass (if kernels permits you to do that) followed by a stream message / magic cookie you gave the client during it's initial authentication.03:23
xnox...... but that wouldn't pass scm_rights, only creds, horum.03:23
xnoxdbus-over-dbus03:24
techacthi03:32
stgraberxnox: the trick is, we don't want the default ucred struct that's sent on open. We want an hand made struct to be sent instead which contains a different uid and pid than the default one.03:33
stgraberxnox: that's how we transmit the uid and pid of the task in a way that gets converted by the kernel into the host namespace.03:33
xnoxstgraber: if it's hand-made, would it be verified by kernel? oh interesting. well the _CRED and _RIGHTS are arrays of ints, which is a native dbus type.03:34
xnoxstgraber: it's just you'd need to hand construct it from a{i} into struct ucred once you receive it.03:34
stgraberxnox: it is verified and converted by the kernel03:34
stgraberxnox: that's how we retrict root in a container from sending us a pid that doesn't belong to the container03:35
stgraberxnox: and that's also how we then get the mapped PID on the host namespace (in the container you send the uid and pid in the container. On the host you receive the uid and pid as seen by the host)03:35
xnoxwith marshalling between receiver/sender03:36
stgrabersending an equivalent of the struct over dbus would bypass that convertion and validation step by the kernel which would make the whole thing worthless03:36
xnoxyeah, it would be worthless.03:36
xnoxi don't see how dbus can help you here, since it's inherently insecure for this. Using sockets is the only way i can think of how you can make sure that kernel does conversion/validation.03:37
stgraberthe biggest issue we have is that there's no easy way from the host to know what's the host PID from a provided container PID. The only two ways we can do that is either by attaching to the container (setns with PID namespace) which is only supported since 3.8 (our target is 3.2) or sending scm_cred over a unix socket03:37
stgraberso our current dbus implementation is similar to upstart's, so we are our own server on the host and we use a unix socket, so as we have access to the raw socket, we can send the ucred, but as hallyn said, that's very hackish and racy03:38
stgraberso I guess hallyn will poke at it some more tomorrow and if that looks like too much of a hack, we may fallback to our own protocol, ditching dbus and nih for a good old handmade solution...03:39
stgraberon the upside, that'd reduce our dependencies to basically just the C library, which would be convenient for portability (LXC supports most distros and native Android)03:40
stgrabertbh I wasn't terribly looking forward to porting libnih to bionic ;)03:40
rostamHI I need to install python-autobahn on my 12.04 LTS update 3 system. Could someone help me to find out where to get that? thx03:42
AlecTaylorWhich Java should I install, and how can I install it with its dependencies?03:53
* AlecTaylor tried `sudo apt-get install default-jre -f`03:53
martisjmornigng03:55
martisjI'm having issues with our ssh keys on an ubuntu 10.4.3 server.03:56
martisjWhen ssh'ing in to the server it's still asking for a password even though my key is in the ~/.ssh/authorized_keys file03:57
=== gfrog is now known as gfrog_busy
mardraummartisj: check the ssh logs, either incorrect key or file perms usually04:14
martisjmardraum: thanks!!04:15
martisjfound a stackoverflow related to permissions, but it doesn't seem to be it :S04:16
martisjprobably incorrec key04:16
martisj:S04:16
martisjmardraum: n00b question, where is the ssh log located?04:38
martisjfound it now04:40
martisjvar/log/auth.lgo04:40
martisjI foud this in the log: error: key_from_blob: remaining bytes in key blob 26804:47
martisjblah :S04:47
=== seiflotfy_ is now known as seiflotfy
=== danley_ is now known as danley
=== Raboo_ is now known as Raboo
yogeshhi06:10
bluekinghello08:11
bluekingwhere I find settings for removeable devices,  my raid array /dev/md0  are listed as removeable that it shouldn't be08:12
andolblueking: Listed where?08:15
bluekingandol:  I installed ubuntu server   and added ubuntu gnome desktop  to it    when open 'files' application  raid array are listed there as removeable08:17
andolblueking: Have you defined a mount point for /dev/md0 in your /etc/fstab?08:18
bluekingyes08:18
andolIn that case I don't know. At least in Unity I seem to recall that having been the distinction.08:19
bluekingUUID=xxxxxx-some numbersxxx /home/user/downloads ext4 defaults   0  208:19
bluekingnothing wrong there ?   added this line after finished initial install of ubuntu server08:20
sarnoldblueking: in some sense, it -is- removable, you can always use mdadm to turn off the raid array and thus 'detach' it...08:21
bluekingsarnold:  ok08:22
bluekingit wasn't mounted in start08:22
bluekingusb mounted devices are not listed in fstab   don't know where settings for that are ?08:24
sarnoldblueking: check /etc/udev/ and /lib/udev/ for that...08:25
bluekingsarnold:  will look into it08:36
bluekingsarnold:  nothing configured in udev.conf08:38
sarnoldblueking: no, it wouldn't be, check out /lib/udev/hwdb.d/20-usb-vendor-model.hwdb and other files. information about usb devices is scttered all over the udev files..08:40
sarnoldblueking: time for me to call it a day :) have fun and good luck08:40
bluekingthanx for help :)08:40
bluekingsarnold:08:40
bluekinghmm in /sys/devices/virtual/block/md0/removable     it's 0  flag  means not removable09:03
=== Ursinha_ is now known as Ursinha
=== DavidDuffey is now known as dduffey
=== yokel_ is now known as yokel
=== KaeltenAway is now known as Kaelten
=== whaley_ is now known as whaley
=== acrocity_ is now known as acrocity
jamespageyolanda, some feedback on the heat charm - more units tests would be good; and I'd rather see use of the pwgen function from charmhelpers than using hexdump if that would work OK09:45
yolandajamespage, ok, i'll take a look09:46
jamespageyolanda, you can probably ditch the upgrade_charm hook - that call was put into existing charms to deal with changing the default vhost for rabbitmq09:47
yolandajamespage, about the heat logo, the one that we have in launchpad isn't the official one?09:53
jamespageyolanda, don't worry about that for now - I'll poke someone in the design team for some nice openstack ones09:53
jamespagethey did the ones for the other openstack charms09:53
yolandaok09:54
=== apw` is now known as apw
yolandajamespage, i have a conflict with ceilometer. stevedore version requirements is >=0.12, but we have only 0.10-2, shoud we update stevedore version first?10:56
jamespageyolanda, sounds like a good idea10:57
jamespageyolanda, I just pinged zigo (debian maintainer)  - lets see if he has immediate plan - if not we delta it and give him a patch if need be :-)11:00
yolandaok11:01
=== psivaa is now known as psivaa-afk
bluekinga question about local net, have setup one pc as router  ubuntu server, with dhcp server  shorewall .. and two asus routers that I have some options to set these two...  1:  make its own subnet for wifi  one wifi router and the second router set in AP mode   or 2: set both wifi router in AP mode and have same subnet as local net ?11:18
yolandajamespage, created this MP to prevent at least the FTBFS: https://code.launchpad.net/~yolanda.robla/ceilometer/icehouse_ftbfs/+merge/19769211:19
=== shadeslayer_ is now known as shadeslayer
yolandait will be pending the stevedore upgrade to 0.12, because package right now doesn't work11:20
jamespageyolanda, OK _ I checked with zigo - he has other challenges as he needs to test with havana as well11:36
jamespageso I uploaded to trusty11:36
yolandajamespage, you uploaded 0.12 version?11:37
jamespage0.13 actually11:37
yolandacool, so i'll try to update my MP for ceilometer11:40
=== psivaa-afk is now known as psivaa
jamespageyolanda, should land in a bit12:11
jamespagebackport-o-matic will detect it and shove it into the lab the the icehouse staging PPA12:11
jamespageDaviey, named for you ^^12:11
jamespageyolanda, some feedback in your ceilometer MP12:34
yolandaok12:34
R_L_Nhey guys quick question12:39
R_L_Nim trying to install ubuntu server without the network configured12:40
R_L_Nthis should be fine except for when i get to the step for choosing a mirror12:40
R_L_Ni cant get past it because it fails to find the mirror12:40
R_L_Nis there a secret way past this? i cant see one12:40
jamespagezul, most of our backport failures either seem to be python3 related or due to BD's on dh-python now13:13
=== gary_poster|away is now known as gary_poster
jamespagezul, dh-python from wheezy backports looks like it might be an option13:25
jamespageat least the delta is probably good for the backport we need to have13:26
* jamespage looks deeper13:26
yolandajamespage, pushed the fixes for ceilometer, but it won't work until new stevedore is pushed13:32
zuljamespage:  ack13:33
smoserroaksoax, were you planning (or could you) upload a maas to trusty that is >= 1.4+bzr1693+dfsg-0ubuntu2.2  ?13:34
smosercurrently trusty < saucy-proposed13:35
smoserwhich is a "violation" in some sense13:35
smoserjamespage,  could you review https://code.launchpad.net/~smoser/ubuntu-reports/cloud-tools-next/+merge/19760413:46
jamespagesmoser, sorry - I suck13:47
smoserits admittedly not the most beautiful patch in the world, but it works13:47
smoserand it gets me charts that actually have meaning versus the confusing bunch of RED at http://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/cloud-tools_versions.html13:47
smoserOMG RED!13:47
jamespagesmoser, looking now13:50
roaksoaxsmoser i was working on the package split before releasibg a new version since i wanted it out there sooner rather than later13:51
smoserroaksoax, just upload 2.213:58
smoserearly and often rather than perfect.13:58
smoserrbasak, https://bugs.launchpad.net/maas/+bug/125708213:58
smoseri'm confused.13:58
uvirtbotLaunchpad bug 1257082 in ntp "MAAS does not use NTP servers specified in DHCPD options" [Undecided,New]13:58
smoserNTPDATE_USE_NTP_CONF=yes is "correct", no?13:59
smoserit looks to me like:13:59
rbasaksmoser: I'm not sure that makes sense. AFAICS, if ntpdate intends to pick up the DHCP NTP server, surely it should do it by default?13:59
smoseri know i'm missing something.13:59
smoserbut to me, ifup of dhcp causes /etc/dhcp/dhclient-exit-hooks.d/ntpdate14:00
smoserto run14:00
smoserwhich writes14:00
smoser/var/lib/ntpdate/default.dhcp14:00
roaksoaxsmoser: do you have anything to upload that doesn't involve a new upstream release?14:00
smoserand then after that is written14:00
smoser/etc/network/if-up.d/ntpdate would run, which reads that file if present.14:00
smoserroaksoax, why can't you just upload the same thing to trusty that is in saucy ?14:00
rbasaksmoser: except it doesn't, which is either intentional or a bug. Take a look at the logic in /usr/sbin/ntpdate-debian.14:01
smoserrbasak, i'm missing something14:01
roaksoaxsmoser: ah! i see.. i guess noone every copied to the package to trusty14:01
smoserhttp://paste.ubuntu.com/6519871/14:01
rbasaksmoser: if NTPDATE_USE_NTP_CONF=yes (the default), then /var/lib/ntpdate/default.dhcp is never examined.14:02
smoserrbasak, thats /usr/sbin/ntpdate-debian14:02
smoseroh.14:02
smoseri see.14:02
smoseri just assumed that the list of files thre in the 'yes' case14:02
smoserincluded /var/lib/ntpdate/default.dhcp14:03
rbasakSeems to me that NTPDATE_USE_NTP_CONF should be treated as if it says no if /etc/ntp.conf doesn't actually exist.14:03
smoserand never even looked at the other case.14:03
rbasakI think a bug in Debian is warranted here, to at least figure out the intention.14:03
smoseryeah.14:03
rbasakI'll file it, shall I?14:03
smoseryeah. and link to yours.14:04
smoserthanks rbasak. i just assumed line 10 there was searchign through ntpdate/default.dhcp14:05
zulhallyn:  libvirt-pythong should be fixed now14:05
=== gfrog_busy is now known as gfrog
zuljdstrand:  ping14:11
=== stgraber_ is now known as stgraber
jdstrandzul: hey14:18
zuljdstrand:  can you get someone to look at the MIR for python-misaka please?14:20
=== dev_mick_ is now known as dev_mick
jamespagezul, OK - have a dh-python that works for icehouse/precise14:30
zuljamespage:  sweet14:30
zulim just fighting python-librabbitmq14:30
jamespagezul, can you check http://paste.ubuntu.com/6520014/ and +114:30
jamespageI'll then push it to all the right places manullay14:31
zul+114:31
zulmaybe we should get that delta in dh-python as well14:31
zuljamespage:  actually nevermind about what i was saying in the delta14:32
=== xnox_ is now known as xnox
jamespagesmoser, OK - I did a local test and then deployed it to the server14:58
smoserso will the server magically add the 'cloud-tools-next' ?14:58
=== mibofra- is now known as mibofra
smoserjamespage, ^15:14
=== dev_mick_ is now known as dev_mick
jamespagesmoser, no i need to enable that15:15
jamespagesmoser, which I have now down /44 past the hour15:16
smoseri have no idea what that meant15:17
jamespagesmoser, it runs at 44 minutes past the hour15:18
jamespagethe reports are staggered15:18
smoserah.15:18
smoserk.15:18
Davieyjamespage: hah, backport-o-matic :)15:20
jcastrohttps://blueprints.launchpad.net/ubuntu/+spec/servercloud-s-webscale15:22
jcastrodoes anyone know if any of this is targetted for T?15:22
jamespagejcastro, nginx was mentioned - rbasak was looking at that I think15:23
jamespagevarnish - nid15:24
zuljamespage:  crap glance milestone.proposed is using olso.messaging15:47
jamespagezul, is it or is that on master?15:47
zuljamespage:  milestone-proposed15:48
zuljamespage:  aka icehouse-115:48
zulgrumble grumble15:48
jamespagezul, better get it uploaded then15:49
jamespage:-)15:49
zuljamespage:  i have it uploaded its just old15:49
jamespageDaviey, b-o-m for short15:49
zuljust need to do an MIR15:49
Davieyjamespage: b-o-o-m would be better :)15:49
jamespagezul, that should be a nod through right?15:49
zuljamespage:  b-o-o-m Daviey jinx15:49
zuljamespage:  yeah15:49
zulim on it15:49
jamespagezul, good man15:50
jamespagezul, OK - we have quite a few blocked on http://people.canonical.com/~ubuntu-archive/component-mismatches-proposed.svg15:51
smoserjamespage, hoorah!15:52
smoserhttp://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/cloud-tools_versions.html15:52
smoserhttp://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/cloud-tools-next_versions.html15:52
smoserstill red, but meaningful red15:52
zuljamespage:  yeah im working my way through im kind of ignoring python-nose though since its not a openstack dependency anymore15:52
jamespageok15:53
jamespagesmoser, we should get b-o-m running for cloud-tools and cloud-tools next15:53
zuljamespage:  kombu is mostly done, misaka is blocked on a security review15:53
zuljamespage:  we need to package oslo.rootwrap after icehouse-1 is out as well15:56
zuljamespage:  ok oslo.mesaging a11 (needed by glance) and MIR filed16:15
=== eagles0513875_ is now known as eagles0513875
=== Ursinha is now known as Ursinha-afk
=== jpds_ is now known as jpds
=== Ursinha-afk is now known as Ursinha
zuljamespage/roaksoax: https://code.launchpad.net/~zulcss/glance/oslo-messaging/+merge/19775216:33
zuljamespage:  oslo.messaging MIR approved, and boomed it16:56
hallynzul: it's a problem that 'sudo apt-get dist-upgrade' doesn't cause libvirt-python to be installed automatically.  so you keep your python-libvirt 1.1.4 by default until you fix it16:58
zulhallyn:  argh...16:59
zulill fix that up16:59
hallynok - new tests running (first failed bc i didnt notice the break :)17:00
jamespagezul, +117:16
zuljamespage:  thanks17:24
jamespageyolanda, ceilometer build fix looks OK _ add one missing BD - down to 35 test failures now!17:49
jamespagepushed17:49
smoserjamespage, any idea how big a mess this is:17:56
smoserhttps://launchpad.net/~ubuntu-cloud-archive/+archive/cloud-tools-next/+build/530099717:56
smoserdh-systemd dependency17:57
jamespageits not that bad tbh17:57
jamespageat least I don;t think so17:57
smoserok. i'll give a try17:57
jamespageI just had to backport dh-python for 12.04 for the icehouse archive17:57
smoserjamespage, did it work ?17:58
smoseris it no change?17:58
jamespagesmoser, yes - but I had to delta it quite a bit17:58
smoserhm..17:58
jamespageit was already backported for wheezy which was pretty close17:59
smoserwell i guess my only real option ins to take your work then.17:59
jamespagesmoser, I'd try it17:59
smoserjamespage, so i guess i'll just take your cloud0 and make it ctools0 ?18:01
jamespagesmoser, do you need dh-python?18:01
smoserbah18:01
smoserfor some reason i was thinking dh-systemd was dh-python18:02
smoseryeah, i'll look at it18:02
jamespagesmoser, is that for mongodb per chance?18:02
smoseryes18:02
jamespagesmoser, boost will be an issue as well18:02
jamespageprecise has a to-old version18:02
jamespageI'd not got to looking at that just yet18:03
adam_gjamespage, so theres a bit of hacking we need to do around the neutron config that gets passed thru nova-compute -> nova-compute, currently handled by nova-compute's CloudComputeContext18:04
adam_gjamespage, moving that to the charmhelpers context18:04
jamespageok18:04
smoserutlemming, can we get trusty builds of maas-ephemeral images turned on ?18:06
adam_gjamespage, eek actually this is quite a bit of refactoring18:08
=== _root_ is now known as Pmcl
=== Pmcl is now known as Pmcl1
=== err-or_ is now known as err-or
jamespagezul, gah - that fix for pbr was not quite enough19:32
zuljamespage:  :(19:34
zuljamespage:  simplejson fixed19:34
jamespagezul, I think I have to drop the u at the start of the string as well19:34
igalicHello happy people.19:35
igalicI'm hitting https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/705113 and wondering if anyone knows how to fix it19:35
uvirtbotLaunchpad bug 705113 in preseed "partman-lvm/device_remove_lvm does not work if volume group name already in use on disk (dup-of: 154086)" [Undecided,Confirmed]19:35
uvirtbotLaunchpad bug 154086 in partman-auto-lvm "Installing to HDD with previous ubuntu fails to create fresh LVM claiming group already in use" [High,Fix released]19:35
xnoxigalic: you can wipe the drive clean, or do lvm superblock removal.19:38
xnoxigalic: if you are doing automated pressed you can wipe it from early command19:38
xnoxigalic: i have tried to fix this bug for real, but i'm not sure at which point it happens now again / how to reproduce it. Such that I can catch were else it's borked.19:39
igalicxnox: I did lvremove only, then ran the setup again. How would I wipe it clean in early command, though?19:40
igalicI'd like to fix for future installations too.19:40
xnoxigalic: lvremove does not remove the "volume group".19:41
xnoxigalic: you need to remove the volume group.19:41
xnoxigalic: vgremove.19:41
igalicxnox: no. I'm doing an lvremove on the HOST. This is a VM setup. I'm giving the VM a disk that's essentially an lvm partition. But even if I lvremove that partition, when I create a new host on top of it, it'll end in conflict.19:44
xnoxigalic: from the point of view of booted install, what does it see?19:44
xnoxigalic: e.g. can you go into advanced partitioning?19:44
xnoxdoes it see a blank "disk", which happens to have "ghosts" ?19:45
igalicxnox: it sees the same disk that the previous installation created. Which is bad, because I'm running in a preseed, I don't *want* to go into any partioning.19:45
xnox(lvremove doesn't zero out the disk, so you do have left over metadata left, the installer goes to create partition table & partitions and if they align identical.... which they will for auto-preseed.... lvm metadata is re-detected and BOOM lvm2 explodes)19:46
xnoxigalic: before provisioning a VM, do provide it with clean disks.19:46
igalicxnox: and I can't preseed that out?19:47
igaliclvm/confirm_nooverwrite boolean false  or somesuch?19:47
xnoxinstaller scans the disk and sees no partitioning table no nothing, later when it goes to partition it things appear out of the blue and it doesn't know how to deal with it.19:48
igalicah.19:49
igalicI see.19:49
xnoxigalic: you can preseed partman/early_command which does dd if=/dev/zero of=$your-target count=30M or somesuch.19:49
xnoxigalic: as far as I understand it's a bug in "lvcreate on the host" where "lvcreate" will give you "a random disk with random data on it"19:49
igalic"random"19:51
xnoxigalic: well, last unused extend, which would match last removal in best case scenario19:51
xnoxigalic: can you try  on the host: lvremove, lvcreate --zero y, provision VM with that created LV and check what happens?19:51
igalicxnox: no can-do. lvcreate is done by koan. I will however create a bug report for that.19:52
xnoxactually that will not zero out the whole volume, only beginning of it.19:53
igalic*nod*19:55
igalicxnox: count=30M == 30 million?19:56
igalichuh?19:56
xnox... 30 MB....20:08
xnoxdo bs=1MB count=30 if you wish.20:08
igalicxnox: one 1m was enough.20:09
igalicxnox: https://github.com/cobbler/cobbler/issues/66420:10
xnoxcobbler *shrug*20:14
igalicCan someone exlain to me how to set a default gateway for IPv6? http://dpaste.com/1492966/20:46
jkyleI accidentally uploaded a package to a ppa that doesn't exist so it was rejected. But when I trie dto dput again to the correct ppa, it says it's already been uploaded20:50
jkyleis there a way around that20:50
=== rdw200169_ is now known as rdw200169
=== mjohnson15_2 is now known as mjohnson15
henkjanpff, bug #87932421:09
uvirtbotLaunchpad bug 879324 in apt "apt-get dselect-upgrade prefers multiarch over native" [Medium,Triaged] https://launchpad.net/bugs/87932421:09
henkjannasty one :(21:09
=== rdw200169_ is now known as rdw200169
=== gary_poster is now known as gary_poster|away
hallynzul: that's a negatory on the libvirt tests:  http://paste.ubuntu.com/6522197/22:25
hallyni'll take a look tomorrow if you don't find it first, but not tonight22:26
zulhallyn:  son of a bitch22:26
hallyns/:/ you/22:27
* hallyn out, bbl22:28
PryathDo any of you happen to have experience setting up an Amazon EC2 webserver with ubuntu server 13 64bit?22:28
sarnoldI wouldn't be surprised if I've done that a few times.. are you having trouble?22:31
Pryaththat is an interesting question, would you mind if I query with you to avoid spamming the channel?22:32
sarnoldchannel would be best, other people can learn or correct me if I'm wrong :)22:32
PryathI've spent many hours trying to configure this thing. After fixing a few obscure errors and problems which should probably have never occured, I'm now having trouble logging in to phpmyadmin. Not only that, but the thing is randomly giving me two different error codes w/ the same message for the same problem ( #2003 & #1130) "Cannot log in to the MySQL server". I'm sure I'm missing something like s22:35
Pryathetting a default user/pass, but I already did that when I installed everything. I even reinstalled phpmyadmin to reset the passwords22:35
Pryathto say the least I'm so burnt out from fixing all the other problems & I've spent 30 minutes trying to fix this one. I don't know who to ask or where; the problems have been so numerous.22:37
sarnoldyikes, mysql and phpmyadmin both have iffy security histories; please make sure the configuration of both tools only allows connections from hosts you expect, you have host-based firewalling to only allow connections from hosts you expect, and please double-check your AWS security groups to make sure _those_ only allow connections from hosts you expect.22:37
Pryathwell my security group disallows public connections22:38
sarnoldgood good22:38
Pryathonly my ip can ssh in22:38
Pryathor use http/https22:38
sarnoldPryath: are both mysqld and phpmyadmin running on the same host? is mysql configured to allow connections from localhost if so?22:38
Pryathbind-ip was set to 127.0.0.1, I know that because I was trying another tweak22:39
Pryathnot sure if that's what you mean?22:39
Pryathand I believe they are both on the same host22:39
sarnoldcool. mysql will have a specific username and password used for connecting to it, I can't recall if it is set in my.cnf or set in a database table once you've connected.. make sure it matches your phpmyadmin credentials.22:41
PryathI'm normally a windows user. I've used ubuntu very sparingly so it's been hard to adapt to this22:42
PryathI'll see if I can figure out if that's the case22:42
PryathI looked through my.cnf and I don't see a username or password entry22:44
sarnoldPryath: hey, the serverguide has a nice little command for changing the mysqld root password: sudo dpkg-reconfigure mysql-server-5.522:46
sarnoldPryath: https://help.ubuntu.com/12.04/serverguide/mysql.html22:47
PryathI was actually on that page already22:47
Pryathit's one of my 20 tabs open22:47
PryathI believe I've already done that22:47
PryathI'll do it again just to see22:47
Pryathshould my mysql username just be root?22:50
sarnoldfor the user account that will manage the other mysql user accounts, table privileges, etc., yes22:52
Pryath"granting access to database phpmyadmin for root@localhost: success.22:53
Pryathverifying access for root@localhost: failed.22:53
Pryath"22:53
sarnoldPryath: is there anything informative in the logs?22:53
Pryathit's quite amusing actually, it says "error encountered creating user:" but it's just a blank line after that22:54
Pryathoh by the way this is me doing sudo "dpkg-reconfigure -plow phpmyadmin"22:55
PryathI already did mysql, there were no errors for that22:55
Pryathwell anyways, I've been at this for too long and need a break. Thank you for trying to help me sarnold22:56
sarnoldPryath: good luck, keep at it, and don't forget to read through the log files... they're your friends. :) good luck!22:58
=== DWSR is now known as Guest11806
sponzorhi. i seted up vsftpd ssl on ubuntu 12.04 server. i added users and tested. everything works fine.. now im trying to access files that i uploaded over ftp to server via browser. so when i go ftpserver:990 and then type in ftp:ftppass and see files.. can someone point me to the right direction for google on that?23:22
sarnoldsponzor: what's wrong? it sounds like it works fine?23:24
sponzoryeah when i go to ip:990 it askes for user:pass and it wont accept it23:25
sarnoldare there any error messages in the vsftpd log files that might indicate why it rejected the username and password?23:29
sponzoryeah Thu Dec  5 00:29:57 2013 [pid 1] [anonymous] FAIL LOGIN: Client "10.0.0.11"23:30
sponzorbut i get this error even  if i dont enter password23:33
sponzorand i disabled anonymous in .conf23:33
sarnoldsponzor: perhaps the browser tries anonymous and username@domain as password when trying to retrieve the directory listing in the first place?23:34
sponzortryed username@domain its same23:36
sarnoldsponzor: try ftp://username:password@ftpserver:990/   and see what that does?23:37
sponzorsame error and askes for us:pass this is conf i double checked it and it looksfine http://pastebin.com/kDDFZdR223:40
sponzordo i have to edit apache sites to make it work?23:42
sarnoldsponzor: what is listening on port 990? apache or vsftpd?23:43
sponzorvsftpd23:43
sarnoldis that how you -want- to get to the files via web browsers?23:43
sarnoldI've assumed this whole time that you wanted to use vsftpd as the server and configure it for both good ftp clients (like lftp) and bad clients (like web browsers :)23:44
sponzorah no :D if someone needs to download i can gaeve him link to file and username:pass (chrome firefox..... much easer than ask him to install filezilla or something... half of ppl cant even connect with filezilla :/ and other half like me cant make server to work :D23:45
sarnoldsponzor: that's not a surprise, ftp is a horrible protocol, half the firewalls in the world break ftp. hehe.23:47
sarnoldsponzor: if you want folks to use web browsers, it would probably be best to also configure apache to have access to these files, and serve them up via http on a different port23:48
sarnoldyou could use http authentication if you wanted to restrict it by username/password, but that would be a separate apache-owned username/password database in the easiest cases23:48
sponzorhmm thats even better i can make different users with no rights to use ftp, but only to download from web. great advice23:50
sarnoldsponzor: I've used mod_authn_file with good success for small numbers of users: http://httpd.apache.org/docs/2.2/howto/auth.html23:53

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