/srv/irclogs.ubuntu.com/2014/03/03/#juju-dev.txt

thumperwallyworld: checked the bot recently?00:24
wallyworldthumper: yep and it's farked. i deleted 100000000 old test processes and restarted and it's been running tests for the 1.17.5 upgrade branch for ages now00:25
wallyworldso it's still broken00:25
thumper:-(00:25
wallyworldthumper: my next step was to beg in #is for more resources to be allocated to that instance?00:26
thumperwallyworld: we can try, right?00:26
wallyworldyeah00:26
waiganithumper: are we standing up?01:31
thumperyes01:31
thumperwallyworld: coming?01:31
mgzmorning all09:14
dimiternmorning from blue fin ;)09:17
dimiternnatefinch, \o10:10
natefinchfwereade, dimitern, mgz, rogpeppe: morning10:10
dimiternnatefinch, we have a camera setup for you10:10
natefinchdimitern: that is awesome, thanks guys.10:11
mgzhey nate!10:12
dimiternnatefinch, i've sent you a g+ link as a pm10:14
natefinchdimitern: oh, thanks, sorry10:14
natefinchdimitern: one sec, having trouble getting G+ to use my canonical account instead of my gmail10:16
dimiternnatefinch, sure, join when you can, just to check it out and say hi, we're about to have a little break10:17
natefinchdimitern:  ok10:17
dimiternnatefinch, you're frozen10:20
dimiternnatefinch, can you hear us well?10:20
natefinchit froze for a while seems better now10:21
natefinchthe sound is pretty soft and somewhat choppy10:21
natefinchdimitern: seems the connection is not very good10:22
natefinchdim that's a bit better10:23
natefinchdimitern: ^10:23
mgzhow mean nate10:23
natefinchmgz: ug, stupid hangouts10:24
mgzI have a coffee grinding story for you nate10:32
=== rogpeppe is now known as rogpeppe1
natefinchmgz: heh, a story? :)10:38
rogpeppenatefinch: lp:~rogpeppe/juju-core/507-peergrouper-integration10:39
rogpeppenatefinch: in worker/peergrouper, go test -gocheck.vv -gocheck.f TestEnsureAvailability10:44
wallyworldjam: mgz: landing bot is broken. i found it was cpu starved and the on aloja where it was running, there was a high load average. i tried resizing the landing instance to m1.large but that failed. so now the only option is to redeploy with a constraint to force it to use a larger instance. is the landing bot fully charmed or do we still have manual steps?10:50
mgzyeah, I'm not sure that resize attempt was wise10:53
mgzI tried sorting it at the end of friday, but the machine was pretty borked10:53
mgzwe probably need to redeploy, which does have several manual steps10:54
Berethi10:57
Beretis there an add-machine API call?10:57
Beretnote I said add machine, not add machines10:57
natefinchBeret: not sure what the difference is?10:57
wallyworldmgz: yeah, the resize was a last resort to avoid redeploying10:57
wallyworldmgz: today, it took about 12 hours for a test run which eventually failed10:58
wallyworldtotally cpu bound10:58
wallyworldi reckon it needs to be on prodstack10:58
dimiternwallyworld, so you're sprinting as well this week?11:02
wallyworlddimitern: no?11:02
mgzhe's just doing the normal wallyworld week, which is sprinting by everyone else's standard11:03
dimiternah :)11:05
dimiternwallyworld, we're told au/nz guys are doing a sprint at the same time11:06
wallyworlddimitern: nah, we did get together a few weeks back though11:06
wallyworldi would have preferred london to dunedin :-)11:07
wallyworldthe maas guys are in brisbane this week also11:09
mattywdimitern, ping?11:17
natefinchmattyw: he's in a sprint, only partly paying attention11:20
mattywnatefinch, ah ok, thanks11:20
=== psivaa is now known as psivaa-lunch
mgznatefinch: we're back! will get on the hangout again shortly, yell when you're around13:46
frankbanhi core devs: am I right assuming the API ServiceDeploy, when called without a ToMachineSpec, uses the following unit placement policy? if clean and empty machines/containers are available, use those, otherwise create a new top level machine for each unit14:03
natefinchfrankban: should be, yes14:13
frankbannatefinch: thanks14:15
=== edu-afk_ is now known as edamato
=== psivaa-lunch is now known as psivaa
rogpeppenatefinch: a little review for you :-) https://codereview.appspot.com/7077004314:52
rogpeppenatefinch: hmm, i think you're frozen14:52
rogpeppenatefinch: oh, no, just immobile :-)14:53
natefinchrogpeppe: haha14:57
rogpeppenatefinch: took you a while to see that :)14:57
rogpeppenatefinch: i'm serious though - a review would be appreciated14:58
natefinchrogpeppe: sure thing14:58
natefinchrogpeppe: why is errgo github.com/juju/errgo/errors and not just github.com/juju/errgo ?  Seems like errgo would never clash with anything, and it makes it more clear that it's errgo, not the std errors package15:01
rogpeppenatefinch: because i think "errors" is a better name for the identifier, and it's a strict superset of the standard errors package15:02
rogpeppenatefinch: links to your reviews?15:09
natefinchrogpeppe: https://codereview.appspot.com/69600043/15:09
tasdomas`I'm having problems constructing a manual environment from lxc containers15:53
tasdomas`the error I get is:15:53
tasdomas`Fetching tools: curl -o $bin/tools.tar.gz 'http://10.0.3.40:8040/tools/releases/juju-1.17.4.1-saucy-amd64.tgz'15:54
tasdomas`2014-03-03 15:50:01 ERROR juju.environs.manual provisioner.go:78 provisioning failed, removing machine 5: rc: 115:54
tasdomas`2014-03-03 15:50:01 ERROR juju.cmd supercommand.go:293 rc: 115:54
=== tasdomas` is now known as tasdomas
=== edamato is now known as edu-afk
mgzsinzui: thanks for resolving bug 1286885 - it is indeed deliberate to restore 1.16 compat16:41
_mup_Bug #1286885: juju 1.17.3 incompatible with tools in canonistack bucket <compatibility> <regression> <juju-core:Won't Fix> <https://launchpad.net/bugs/1286885>16:41
sinzuimgz, no16:42
sinzuimgz, I mean NP16:42
=== edu-afk is now known as edamato
marcoceppiuh, so how do you remove a subordinate?18:07
coreycbhas anyone seen this with juju-core 1.17.4?  https://pastebin.canonical.com/105803/19:27
rick_h_coreycb: is that with lxc?20:03
coreycbrick_h_, no it's using kvm20:05
rick_h_coreycb: ok, but local provider? The local provider doesn't support debug-log yet. I think that's still in progress20:05
coreycbrick_h_, I'm using openstack20:14
coreycbrick_h_, I think that means I'm not using a local provider20:14
rick_h_coreycb: ah ok then not sure.20:14
coreycbrick_h_, btw this worked last week on 1.17.320:15
rick_h_coreycb: k, yea sorry. Can you file a bug with your error and environment details?20:16
coreycbrick_h_, sure and not a problem.  do you know how I can get back to 1.17.3?  it doesn't appear to be available in ppa:juju/devel20:17
rick_h_coreycb: no, I'm not sure. sinzui is that possible without going compiling it custom?20:18
sinzuicoreycb, I think the error means the log is not where juju expects it to be. I understand the machine can be configured to put the logs else where...but I think you would remember doing that20:20
sinzuicoreycb, is the env your talking too 1.17.3? If so I think you need to exec "juju upgrade-juju" to bring the server and agents in line with your client20:22
sinzuicoreycb, 1.17.[0-3] were not backwards compatible with 1.16.x, the fix for 1.17.4 made it not work so well with previous devel versions of Juju.20:23
coreycbsinzui, good question.. I'm not sure what the server is at20:26
coreycbsinzui, juju upgrade-juju didn't change anything, but I'll look into what the server is at20:27
sinzuicoreycb, juju status will report the server and agent machine versions...and since 1.7.4 shows empty info for 1.17.x, you will know you will need to upgrade-juju20:29
coreycbsinzui, thanks.  juju status shows 1.17.3.20:30
sinzuiand you are using juju 1.17.4 your local machine?20:31
coreycbsinzui, yes20:31
sinzuicoreycb, I am surprised you can get that much info out of status. If you upgrade, you will get better debug and logging20:32
coreycbsinzui, ok.  I'll try to get them both to the same version.  I think I need to do more than juju upgrade-juju to upgrade.20:33
sinzuicoreycb, 1.17.x looks for public versions of the tools...20:35
sinzuicoreycb, oh, I didn't see streams.canonical.com get the new tools. you may be right. I will look into this now20:36
coreycbsinzui, appreciate it20:37
bodie_Go newbie here, any recommendations for getting my feet wet?20:38
bodie_in terms of bugfixes or tasks that need taking a whack at20:44
marcoceppibodie_: you can find a list of the bugs here: https://bugs.launchpad.net/juju-core/21:00
marcoceppibodie_: and "small" bugs are typically tagged "papercut" https://bugs.launchpad.net/juju-core/+bugs?field.tag=papercut21:00
bodie_Okay, cool.21:06
thumpero/ bodie_ marcoceppi21:07
thumpergood luck finding a simple bug21:08
thumperjuju is quite a complicated system21:08
bodie_heh... I noticed that.  I'm taking a look over a few things on Github before taking the plunge, I think.  :)21:09
thumperbodie_: what is your background?21:14
sinzuicoreycb, juju-upgrade will work with an open network now. streams.canonical.com has the new tools21:15
bodie_undergrad CS analysis, math, etc, graduated last year, self taught in a bunch of languages.  Good w/ python, perl, C, java21:16
bodie_I know my way around linux and such21:16
* thumper nods21:17
* thumper takes a quick look to see if he can find a simple bug21:17
bodie_Juju, because I was actually thinking about making a similar service and discovered this21:19
thumperbodie_: nice21:19
bodie_yeah, the one thing I see as problematic here is being tied to openstack21:20
bodie_if i read it right21:20
thumperbodie_: I have found that often a good place to start with new projects is to look at low priority bugs (which the main dev team seldom get to) or tech-debt type bugs21:20
thumper?!21:20
thumperjuju isn't tied to open stack21:20
bodie_ahhh21:20
thumperopen stack is just one provider21:21
bodie_I must have misread the site then21:21
bodie_i was at digitalocean for a while and a couple of us were talking about making a platform agnostic cluster deploy tool21:21
bloodearnestbodie_: I think you just found it :)21:21
thumperhazmat has a plugin for dealing with digital ocean21:21
bodie_i'll have to get my head adjusted and re-read ;)21:21
thumperalso first class ec2, azure, soon joyent21:21
bodie_nice!21:21
thumperalso maas, and a local provider21:21
thumperlocal uses LXC containers on the host machine21:21
thumperwe also have manual provisioning21:22
thumperdo work with any machine you happen to have21:22
thumperbodie_:  this could be a simple(ish) intro bug https://bugs.launchpad.net/juju-core/+bug/119736521:22
_mup_Bug #1197365: instance.Instance.WaitDNSName() no longer needed <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1197365>21:22
bodie_right on21:23
thumperbodie_: or this one: https://bugs.launchpad.net/juju-core/+bug/121786821:23
_mup_Bug #1217868: move from state.D to bson.D <hours> <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1217868>21:23
thumperboth are easy(ish) tasks that are just refactoring21:23
thumperand noone else is looking at them21:24
bodie_good deal, I'll take a look21:27
hazmatbodie_, http://github.com/kapilt/juju-digitalocean21:30
coreycbsinzui, I should be able to get that with ppa:juju/devel21:36
coreycbright?21:36
coreycbsinzui, upgrade still isn't working for some reason21:36
sinzuicoreycb, no. Ubuntu and the PPA provide command line and local deploy tools. They provide what goes on your computer.21:37
sinzuicoreycb, "juju --show-log upgrade-juju" tells the server and agents to find newer tools in the the current cloud or on streams.canonical.com21:38
sinzuicoreycb, you can also use your local installation to put the tools in the environment...21:39
sinzuicoreycb, "juju --show-log upgrade-juju --upload-tools"21:39
sinzuicoreycb, while the later always works, I prefer letting juju choose the correct origin so that it never think I have to provide more tools21:39
coreycbsinzui, ok so the good news is that the latter worked.   but the former got "INFO juju upgradejuju.go:120 no upgrades available"21:40
sinzuicoreycb, okay. That means juju isn't finding tools21:42
bloodearnesthazmat: about to have a play with jlxc21:42
sinzuiin the list of places to work21:42
hazmatbloodearnest, that one isn't end user polished.. lots of undocumented setup.. i'm doing a talk on thursday.. i'm hoping to polish it up before then21:43
sinzuicoreycb, you are in a private cloud? Someone, perhaps you placed juju-*.tgz into a container?21:43
bloodearnesthazmat: sure, np, I'm just gonna see if I can get it working, if not no worries21:44
hazmatbloodearnest, actually with the aufs option, its reasonably straight-forward.. i've had some minor issues with aufs though and some software.21:44
hazmatnfs in particular21:44
coreycbsinzui, it's private.. this is on the server team's openstack on openstack deployment (serverstack)21:45
coreycbsinzui, but anyway not sure.. I'll have to check into that21:46
hazmatsinzui, if you don't provide tools you have no idea what tools juju will select, and no dry-run mode.. that's terrifying for prod21:47
sinzuicoreycb, okay. they probably seeded the tools. does the cloud have an open network? eg, can you deploy any charm whithout needing to fork and repackage its deps21:47
coreycbsinzui, hmm, now juju destroy-environment gets "error: no environment specified"21:47
coreycbsinzui, ah, it may not be open21:47
sinzuicoreycb, I would have thought the "--upload-tools" arg would have works from your 1.17.4 host. The feature works too well21:48
sinzuicoreycb, juju 1.17.x changed the destroy-environment args. You must specify the environment name to be clear you know what you are doing...21:50
sinzuijuju destroy-environment my-env21:50
coreycbsinzui, I think I'm good to go.  --upload-tools did work, and debug-log works after I successfully upgrade-juju to 1.17.14.  and destroy-environment works as you said.22:01
sinzuicoreycb, great22:02
coreycbsinzui, oh and there is a juju-1.17.3-precise-amd64.tgz getting pulled down in the bootstrap22:02
coreycbsinzui, anyway, thanks!22:02
bloodearnesthazmat: Great success! :)22:50
bloodearnesthmm, maybe I spoke too early22:52
bloodearnestbut progress, anyway22:53
hazmatbloodearnest, what's the hangup.. its pretty instaneous if its working.23:09
hazmatbloodearnest, if you dont have btrfs.. you need a code mod (its already commented) to enable the aufs support... i should toss that into a cli param.23:10
hazmatbloodearnest, oh.. that install.sh.. i was going to yank it.. doh.23:15
hazmati haven't actually used it, its an old artifact from some previous exploration.23:16

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