/srv/irclogs.ubuntu.com/2016/09/20/#juju-dev.txt

babbageclunk'night everyone! o/00:09
menn0babbageclunk: good night!00:10
veebersWho is the best person to talk to about the jujugui charm store?00:24
* redir goes eod00:33
redirbbl00:33
redirveebers: I don't know. Maybe https://github.com/juju/charmstore/graphs/contributors that is in a current timezone00:35
veebersredir: worth a shot, thanks :-)00:36
=== alexisb-afk is now known as alexisb
=== akhavr1 is now known as akhavr
alexisbis there a way for me to easily force a unit into error state?00:49
perrito666Alexis a custom broken charm01:04
perrito666Just take any charm and blow the install hook with a raise01:04
alexisbperrito666, ok01:05
menn0axw: ship it for your first azure PR01:24
axwmenn0: thanks!01:25
* thumper runs restore again...01:25
anastasiamacnatefinch: hi :)02:31
natefinchanastasiamac: howdy02:31
anastasiamacnatefinch: since m in list-credentials, could u please not do the fix related to https://bugs.launchpad.net/juju/+bug/1596687 for it?02:32
mupBug #1596687: command list output not consistent <2.0> <usability> <juju:In Progress by natefinch> <https://launchpad.net/bugs/1596687>02:32
anastasiamacnatefinch: i'll do it in my current pr02:32
anastasiamacthe "No foo.." fix ;)02:32
natefinchanastasiamac: sure02:32
anastasiamacnatefinch: \o/02:33
natefinchanastasiamac: all I did was add a check in formatCredentialsTabular, if len(credentials.Credentials) == 0 { fmt.Fprintln(writer, "No credentials to display."); return nil; }02:36
anastasiamacnatefinch: waht about other formats like yaml and json?02:38
anastasiamacwhat* :-P02:38
natefinchanastasiamac: I had assumed we only care about tabular, since that's the "human readable" output.  But maybe it's appropriate for yaml and json too, if we write the notification stderr02:39
rick_h_those are machine readable and an empty value seems less interesting.02:40
rick_h_I guess standardizing on either an empty {} or empty string might be good to check02:40
rick_h_but I'd suggest just sticking with the current readable work and landing that in case we can get it into rc102:40
anastasiamacnatefinch: rick_h_: for tabular and yaml, I would have thought we'd want human-readable "no foo.." but for json leave it as empty? :D02:41
rick_h_vs including it all in one card02:41
rick_h_anastasiamac: no, not for yaml since it's parsable02:41
anastasiamacrick_h_: ok. so only tabular for noe, the rest leave a sis?02:41
anastasiamacas is* bleh..02:41
rick_h_umm ok :)02:41
anastasiamac:)02:42
anastasiamacgot it \o/ will do for credentials :) tyvm natefinch, rick_h_02:42
natefinchok.. just a note, we could still write out to stderr, without messing up people parsing the stdout of yaml and json... to a terminal user, it would look the same, but a script wouldn't see it.02:43
rick_h_natefinch: rgr, and worth a polish bug as follow up02:43
rick_h_natefinch: as well as checking we output a standard object when there's no data in each format02:43
rick_h_natefinch: but as follow up please02:43
natefinchrick_h_: will do. For now I'll just twiddle the tabular output, which I think is a pretty good 90%+ solution02:44
rick_h_ty02:44
natefinchrick_h_: so... I've actually being doing this as stderr, just because that's how our CLI context object works... when you say "write out this informational message", it goes to stderr.  Is that ok, or should I switch it to stdout?02:45
rick_h_natefinch: hmm, it seems odd since it's not an error, but I feel like this is something I'd tend to get wrong and rely on folks like jam to correct me on02:46
natefinchrick_h_: AFAIK, the usual mantra is use stderr for logging/human readable info, and use stdout for data output.  But I'm happy to have someone else weigh in.  Juju standards may be different.02:47
alexisbok last time I checked this should work right??: charm pull-source cs:xenial/postgresql02:54
alexisbor just charm pull-source cs:postgressql02:54
alexisbor just charm pull-source cs:postgresql02:54
alexisbhmm cassandra works02:58
thumperfuck what?03:04
thumperhow can this happen?03:05
* thumper digs03:05
natefinchthumper: hey, do you think this is something we could just change? https://bugs.launchpad.net/juju/+bug/162519403:15
mupBug #1625194: flag parsing error doesn't match juju error styling <usability> <juju:Triaged> <https://launchpad.net/bugs/1625194>03:15
thumpernatefinch: sure... best way would be to just write it to the logger03:16
natefinchthumper: not sure I follow.03:17
thumperinstead of writing "error: %v"03:17
thumperuse loggo logger03:17
thumperit will do the coloring03:17
natefinchahh, yes03:17
thumperveebers: still trying to work out why the machine agent isn't getting the api updates03:21
veebersmenn0: would you know the version numbering works when 'juju upgrading'? I started with 2.0-rc1-xenial-amd64, expected 2.0-rc1.1 but got 2.0-rc1.2 (note the .2)03:22
veebersthumper: ack03:22
veebersmenn0: hmm, I think it might be due to me thinking of the version as returned by the binaries '--version' as opposed to what was reported in the running status03:38
anastasiamacaxw: updated https://github.com/juju/juju/pull/6274 to have the comment and the new output for tabular output when no credentials03:50
anastasiamacaxw: i thinks it's good to go...03:50
thumperveebers: how do you want these binaries03:54
thumper?03:54
veebersthumper: are you able to scp them up to the machine from yesterday>03:56
thumperprobably03:56
* thumper thinks03:56
axwanastasiamac: LGTM03:56
anastasiamacaxw: \o/04:03
axwthumper menn0: will either of you have a chance to review my 3rd azure PR today? I'm going to need 2 reviews, so can't just be OCR. specifically just need https://github.com/juju/juju/pull/6272/commits/8e0933ad924cd72e1e2433e0c9a5fec78a236b73 reviewed04:19
menn0axw: i'll take a look once i'm off this call with thumper04:46
axwmenn0: thanks04:46
menn0thumper: I installed the minimal centos7 ISO in a VM while we were talking and it comes with /sbin/service too05:18
thumpersweet05:18
thumperdoes it do what we expect?05:18
menn0thumper: looks like it05:20
thumpercool05:21
=== thumper is now known as thumper-cooking
menn0thumper-cooking: yep it works as expected (redirecting commands to systemctl)05:22
menn0axw: review done05:42
=== menn0 is now known as menn0-afk
axwmenn0-afk: thanks muchly05:42
anastasiamacaxw: did the review too... funny how menn0-afk and i picked on the same things ;)05:47
axwanastasiamac: TYVM05:47
axwanastasiamac: I'm just dropping the TODO for now. implementing that means more changes to credentials in general05:48
axwdon't really have time for it right now05:48
anastasiamacaxw: \o/ thank you for doing it - very exciting to see interactive in azure05:49
anastasiamacaxw: I'd drop it too, there does not seem to be much need for it right not05:49
anastasiamacnow*05:49
axwanastasiamac menn0-afk: thanks for the reviews, it's all landed in time for RC1. woot :)06:40
anastasiamacaxw: \o/ u r the champion06:40
=== frankban|afk is now known as frankban
babbageclunkmgz: ping?07:27
=== thumper-cooking is now known as thumper
thumperha ha07:49
thumpergot it07:49
thumperwell, at least some of it07:49
babbageclunkmgz: ping?08:41
thumperanyone feel like reviewing a restore branch? https://github.com/juju/juju/pull/628208:50
thumperthis is really quite urgent for rc108:52
thumperanyway, it is almost 9pm08:52
* thumper is done08:52
anastasiamac\o/08:52
perrito666Thumper ship it with a small comment09:45
perrito666Well github is very reviewable from my phone I love that09:47
mgzbabbageclunk: yo, worry09:59
mgz-w+s10:00
babbageclunkmgz: hey - if I've got a last minute change to charm URL formats that I'm rushing to finish, is it too late to get it into the RC1 build?10:00
mgzit's fine to commit to master either way10:01
mgzas far as I'm aware, nothing was kicked off in the way of release last night10:01
mgzif the change lands now, can discuss when coming to it if that rev can go in the rc as well10:02
babbageclunkOk great - can you ping me if that's happening and I haven't landed my change? (I'll try to keep an eye out for it.)10:03
mgzsure thing10:04
babbageclunkmgz: Thanks!10:04
voidspaceI thought it was a quiet morning, I wasn't signed into IRC...10:06
voidspacefrobware: is the MAAS meeting happening today?10:06
voidspacefrobware: it's in my calendar10:06
frobwarevoidspace: yep - as always. It's only me and mpontillo that turn up these days.10:07
voidspacebabbageclunk: if you're free at 2pm you *might* find it useful (if you have any questions or feedback about MAAS)10:07
voidspacefrobware: I can come today, I haven't done much on MAAS, but it's good to stay in touch with what's happening10:07
babbageclunkvoidspace: hopefully I'll have this stuff done, so I'll try to come along.10:09
voidspacebabbageclunk: cool10:09
macgreagoirfrobware: I was there last week. I must have been too quiet :-)10:12
frobwaremacgreagoir: ignore my sweeping generalisations...10:12
* macgreagoir ignores frobware untl further notice10:13
babbageclunkfrobware, voidspace, macgreagoir: Can I please get a review of https://github.com/juju/names/pull/74? It's pretty short!10:15
frobwarebabbageclunk: on the Q10:15
babbageclunkfrobware: Is that like a train or...10:15
frobwarebabbageclunk: wreck.. to complete your analogy! :-D10:16
babbageclunkfrobware: :)10:19
frobwarebabbageclunk: reviewed10:35
babbageclunkfrobware: Thanks!10:35
macgreagoirbabbageclunk frobware: I added a review too, but I only see mine :-/10:38
macgreagoir(PR 74)10:39
babbageclunkmacgreagoir: Thanks!10:40
babbageclunkfrobware, I can't see yours either - are you just pretending to have done reviews for the mad props?10:40
babbageclunkfrobware: Or maybe you just didn't hit the complete button or something? I haven't done a review since we switched to github reviews.10:41
frobwareweird10:47
frobwarebabbageclunk: I see my comments in http://reviews.vapour.ws/r/5723/10:47
frobwarebabbageclunk: ah... so I'm still using RB.10:48
macgreagoirfrobware: Just seen your review for me in RB too. I was looking it GH :-)10:48
* frobware still wonders why we aren't using Gerrit.10:49
babbageclunkfrobware: Oh yeah, that would do it! Cool, I'll read it there.10:51
frobwarebabbageclunk, macgreagoir, jam, voidspace: anyone - http://reviews.vapour.ws/r/5720/ :)10:55
voidspacefrobware: head down right now, but I can get to it in a bit if someone else doesn't10:57
frobwarevoidspace: ack.10:57
rick_h_dimitern: want to sync or are you all busy with the rc1 fixes? we can punt to later on?11:03
dimiternrick_h_: now is as good as any time :) let's sync11:03
rick_h_dimitern: k11:03
rick_h_frobware: any reason not to $$merge$$ the branch?11:05
frobwarerick_h_: not really. didn't want to be both submitter and merger without at least passing it by 1 other person.11:06
frobwarerick_h_: I can merge now11:06
rick_h_frobware: k, I'll add it then :)11:06
user_____hi! need your help11:15
user_____juju add-machine takes forever11:15
user_____cloud-init-output.log shows “Setting up snapd (2.14.2~16.04) …” (last line in file)11:16
user_____how to fix this?11:16
dimiternuser_____: can you try bootstrapping again with --config enable-os-refresh-update=false --config enable-os-upgrade=false ?11:21
dimiternuser_____: I've seen this can help in those cases11:22
user_____thank you! will try11:24
babbageclunkmacgreagoir: Embarrassing review? https://github.com/juju/names/pull/7511:55
macgreagoirbabbageclunk: LGTM :-)11:56
babbageclunkmacgreagoir: Thanks!11:56
babbageclunkvoidspace: Sorry, can't make the meeting - neck deep in test failures at the moment.12:59
marcoceppiwhat hook is triggered when I run `juju attach` ?13:11
voidspacebabbageclunk: argh, I'm late anyway!13:14
rick_h_marcoceppi: upgrade-charm I believe13:14
marcoceppirick_h_: believe, or confirmed?13:21
rick_h_marcoceppi: believe, 90% sure but I've been wrong before13:22
rick_h_marcoceppi: docs don't seem to state it, so have to check the code.13:22
rick_h_katco: ^ can you confirm I'm not crazy?13:23
rick_h_or natefinch ^13:23
rick_h_marcoceppi: ok, confirmed: https://github.com/juju/juju/blob/c5326a97429362f1c13b593bc58bc56757f9b3c8/resource/context/cmd/get.go#L6213:26
natefinchI missed the context I think13:26
natefinchoh, maybe not13:27
natefinchyes, upgrade-charm13:27
marcoceppimbruzek: ^^13:33
mbruzekack, marcoceppi I will test this out, thanks13:35
rick_h_katco: natefinch frobware dimitern ping for standup14:01
frobwarerick_h_: hmm. thought I was in there already.14:02
dimiternomw14:03
redirreboot brb14:37
=== rmcall_ is now known as rmcall
rick_h_frobware: ping, sent a card your way that's important to at least diagnose before other stuff please.15:22
alexisbperrito666, ping15:41
rick_h_katco: can you please review/QA nate's PR? https://github.com/juju/juju/pull/628515:54
katcorick_h_: sure15:54
rick_h_katco: ty15:54
katcoare we not using review board?15:55
rick_h_katco: evidently not. There was talk of using the new GH review system, but I missed that folks were using it officially15:55
katcorick_h_: mmm i'm going to review this in RB. i don't have a horse in that race, but i'd prefer we don't do this piecemeal15:55
rick_h_katco: k15:56
katconatefinch: needs QA steps: ^^^15:57
natefinchkatco: oops, ok, will add15:58
natefinchrick_h_: where do we support spaces, do you know?16:05
rick_h_natefinch: maas and aws16:05
natefinchrick_h_: ok16:06
frobwarerick_h_: reluctant to go back to beta15. unless they say it's still broken in beta18.16:08
rick_h_frobware: understand, just need to work with them and have it move forward please. I'm nervous this is actually going to be hostname related because it was rabbit, but the fact that it was nova/etc means it might have been the container issues that just landed.16:09
rick_h_frobware: so ideally we'd get them to test the RC, but if there's an issue with OIL and OS deploys in 2.0 we need to be on that as it's a bit of bread and butter for us16:10
* rick_h_ goes for lunchables 16:12
frobwarerick_h_: so here's a thing - we need a tool that capture lots of stuff about the environment. In trying to repro this can I just use 3 machines on a flat network? Do I need multiple disks? Etc. The bundle is useful but it doesn't describe the rest of the environment. Or put another way, how do we stop raising bugs that initially require a lot of back-and-forth getting said info.16:13
natefinchkatco: one minute, trying to fix list-spaces... realized I had forgotten it since I hadn't been able to test it16:14
katconatefinch: k16:14
katcofrobware: the idea of an "environment debugger" tool has come up frequently. a way to both snapshot critical info about the env, and to interact with it in other ways than through the controller16:15
katcofrobware: i think our on-site folks would like such a tool16:15
katcofrobware: and it would help with critsits16:15
frobwarekatco: the lack of this gates the speed at which we can fix issues.16:15
katcoagreed16:16
natefinchit is a little tricky because there's basically infinite information that *could* matter.16:16
perrito666alexisb: pong16:16
alexisbperrito666, nevermind16:16
alexisbwe are all good16:16
frobwarenatefinch: some is better than none. Right now I need info. it's also close to my EOD. which means another day passes.16:16
frobwarenatefinch: but in essence we have compute, storage and network.16:17
perrito666alexisb: oh, so you only call me when things are bad, so that is how things are16:17
natefinchfrobware: true enough.  And a tool we can continue to extend as we think of things we need would still be helpful.  I wrote something like that for my last job  when people kept filing issues without even grabbing logs.16:17
frobwarenatefinch: some description covering the basics would be a head start16:17
alexisbperrito666, :) that is what happens when you are a loan teammember on16:18
alexisbtha manager finds you when things go bad16:18
perrito666loan teammember? something tells me I should check my email :p16:18
alexisbwell reed is at the dentist and christian is close to eod16:20
alexisbthe rest are not online yet16:20
alexisbso that make syou the go to Ateam dude16:20
alexisbyou lucky dog16:20
perrito666meh, shame on reed, his mouth is occupied not his hands, he could very well be working while his teeth get fixed16:21
alexisblol16:22
natefinchwtf16:32
natefinchwhy does list-spaces default to yaml?16:32
voidspacenatefinch: because we hate you16:32
natefinchI knew it!16:32
voidspace:-)16:32
frobwarenatefinch: and juju spaces?16:33
natefinchfrobware: juju list-spaces is just an alias for juju spaces16:38
rick_h_frobware: round one would be to template-ize the questions we tend to ask16:42
rick_h_frobware: then look at automating those questions with tools16:42
natefinchfrobware: the default for commands should be tabular, with json and yaml as flag options16:44
* alexisb takes a break, back in an hour17:03
=== alexisb is now known as alexisb-afk
natefinchrick_h_: uh, so, what should I do about the fact that spaces has no tabular output?  That seems like a separate bug.17:16
rick_h_natefinch: +1, please file and target to 2.0 GA and we'll have to get it cleared up17:17
natefinchcool17:17
rick_h_natefinch: ty for the catch17:17
natefinchrick_h_: it's amazing how many bugs get shaken out just by running a bunch of commands :)17:17
rick_h_:)17:18
rick_h_using the product ftw17:18
natefinchindeed17:18
natefinchrick_h_: https://bugs.launchpad.net/juju/+bug/162573717:30
mupBug #1625737: list-spaces doesn't have tabular format <juju:New> <https://launchpad.net/bugs/1625737>17:30
natefinchkatco: replied to your comment btw17:43
babbageclunkAnyone know if there's a cunning debugging trick for getting stack traces out of a running go program?17:53
rediralexisb-afk: ping17:53
redirholler when you're back17:53
frobwarebabbageclunk: if you send SIGQUIT does that work (cannot remember)17:55
frobwarebabbageclunk: "17:55
frobware717:55
frobwaredown vote17:55
frobwareAccording to the docs of the runtime package, sending a SIGQUIT to a Go program will, by default, print a stack trace for every extant goroutine, eliding functions internal to the run-time system, and then exit with exit code 2."17:55
frobwarebabbageclunk: read all the way to the end of the sentence. :)17:56
=== frankban is now known as frankban|afk
babbageclunkI mean, I think that'd be ok - it'll get restarted, and I seem to already have bounced it once.17:56
babbageclunkfrobware: The process in question is basically hanging already.17:56
=== alexisb-afk is now known as alexisb
frobwarebabbageclunk: get some coffee whilst the go routines are printed. Just general advice. :-D17:57
alexisbredir, heya, I have a meeting at the top of the hour, but will ping when I am off17:58
* frobware EOD17:58
babbageclunkWhere's it going to print to? The jujud process is a d17:58
babbageclunkaemon17:58
rediralexisb: cool18:02
redirbabbageclunk: what are you trying to print?18:06
redirwb katco :)18:11
natefinchMe reading a bug report:  Steps to reproduce:  1) Deploy Openstack private cloud.   **rapid banging on the back button**18:19
perrito666lol18:27
natefinchrick_h_: I don't understand exactly what is wrong in this bug: https://bugs.launchpad.net/juju/+bug/161620018:55
mupBug #1616200: Error message uses 'local:' URL to refer to local charm. <deploy> <jujuqa> <juju:Triaged by rharding> <https://launchpad.net/bugs/1616200>18:55
rick_h_natefinch: looking19:02
alexisbredir, available when you are19:03
rick_h_natefinch: so local: isn't useful, the invalid name is in the metadata.yaml right?19:03
redirwhere alexisb ?19:03
rick_h_natefinch: so the local: blows smoke19:03
alexisb1x1 HO19:03
katcoredir: sorry, o/19:06
katconatefinch: k, tal19:06
redirkatco: no sweat19:06
katconatefinch: were you able to get list-spaces working as well?19:07
natefinchkatco: no... there's no tabular format for list-spaces, and tabular is the only place we should have this output, so it's basically N/A for now.  I filed another bug about list-spaces missing the tabular output19:08
katconatefinch: ah ok. that was the whole thing of list-spaces defaulting to yaml19:09
natefinchkatco: correct... I thought it was just a bad default, but when I want to look at it, tabular just didn't exist19:09
katcooops19:09
marcoceppihalp rick_h_ (and others) network spaces in beta18 work against maas and lxd, yeah?19:31
natefinchrick_h_: FYI, that local: charm bug... it would be a pretty invasive thing to change.  I agree that the UX is kind of bad:19:37
natefinch$ juju deploy ./star_say19:37
natefinchERROR bad charm URL in response: URL has invalid charm or bundle name: "local:win2012r2/star_say-0"19:37
natefinchmarcoceppi: AFAIK it's AWS and Maas only19:38
marcoceppinatefinch: so, if I do a deploy to LXD on a MAAS node19:38
marcoceppino worky?19:38
natefinchmarcoceppi: oh, no, I meant the lxd provider.... not sure how spaces interacts with containers on maas nodes19:39
natefinchmarcoceppi: I know they've been working on that area, might be post-18, not sure19:39
katconatefinch: point me at that bug? i might have some insight since i've been in that area lately19:40
katconatefinch: the local deploy bug19:40
natefinchkatco: https://bugs.launchpad.net/juju/+bug/161620019:40
mupBug #1616200: Error message uses 'local:' URL to refer to local charm. <deploy> <jujuqa> <juju:Triaged by rharding> <https://launchpad.net/bugs/1616200>19:40
marcoceppinatefinch rick_h_ I'm about to walk into a place tomorrow  where we could /really/ use it19:41
marcoceppiso I'd like to know now19:41
natefinchkatco: updated the bug with an easier repro that makes the problem more obvious19:42
katconatefinch: ta19:42
natefinchkatco: the error is generated from gopkg.in/juju/charm.v6-unstable/url.go ~line 27819:42
katconatefinch: can you put that in the bug as well?19:43
natefinchkatco: heh good idea19:43
natefinchkatco: we could change the error to only specify the name, but that might have unintended side effects when the rest of the url matters.... maybe not, but I'm not entirely sure, since it's in code that is probably used in a lot of places.19:44
katconatefinch: so the bug is that the "local:" schema is used?19:45
katcoin the error message?19:45
katconatefinch: also, it seems like juju did a lot of work before it validated the charm name... i'm just skimming, but did we do a lot of setup for nothing?19:46
natefinchkatco: seems like the charm is being validated on the server19:47
katconatefinch: i wonder if we should do both. but seems like validation of the name should be one of the first things we try19:48
natefinchkatco: well, I think validation can be done all at once.  It's not expensive.  Maybe the reason we do it on the server is in case validation rules ever change?  The server is really the thing that has final say as to what's valid.19:49
katconatefinch: yeah, if we soften/change validation, we wouldn't want the check in a newer client different than an older server19:50
katconatefinch: well, for that matter i wonder if we can do it client side, because an older server may be *more* permissive than the client19:51
natefinchyep19:51
rick_h_marcoceppi: right, only MAAS. there's nothing to setup subnets/etc in lxd yet that we can use. lxd was working on some of that this cycle19:52
katconatefinch: maybe we just need to move the validation of the charm on the server to before we do any real-work19:52
rick_h_marcoceppi: so it has to be raw machines on maas, though I guess there's some things that you can stick in a container and as long as the raw machine is in the space the container will be19:52
rick_h_marcoceppi: openstack works in this way on maas and it's deployed into containers on maas19:53
marcoceppirick_h_: well, we're deploying into containers on maas for openstack19:53
rick_h_marcoceppi: k, well spaces was written and tested with openstack on maas so should be good then19:53
marcoceppibut for whatever reason, containers are being put on one nic and not the other19:53
rick_h_marcoceppi: so there was a bunch of container on maas issues that fix landed today and is in the RC being built19:54
marcoceppirick_h_: since there are two nics (two networks) one public ext net and the other internal19:54
marcoceppirick_h_: good to know19:54
marcoceppirick_h_: I'll make them move to rc1 tomorrow19:54
rick_h_marcoceppi: but it was typically that the container was only getting the br0 vs the whole list of interfaces19:54
rick_h_natefinch: sorry, ran to get the boy from school. So what's up with the local:?19:55
katcorick_h_: i think we're first wondering what the bug is. that it's using "local:"?19:57
thumpermorning19:57
rick_h_katco: yes, that the user is told to fix the name of their charm and the local: is nothing to do with the name of their charm19:57
katcothumper: heyo19:57
katcorick_h_: ahh i see. so it should get rid of "local:trusty/" in that example19:58
rick_h_katco: right19:58
perrito666thumper: I bow to your sed-fu19:59
katcorick_h_: ok, i think natefinch was saying that it would be difficult to fix bc it's done server-side19:59
thumperperrito666: it was actually menn019:59
rick_h_katco: I see, and shared code vs something specific to this deploy command situation?19:59
perrito666thumper: thanks for that fix also, I had hit a wall regarding that issue20:00
katcorick_h_: that might be it. i wonder why we couldn't just modify that error message though20:00
thumperperrito666: we were checking many things while trying to work out why the machine agent got the wrong ip address20:00
rick_h_katco: yea, the revision is also in that error20:00
katcorick_h_: maybe something to follow up on if he's already out for the day20:00
rick_h_katco: so it seems we go "bad name, here's the ID to go fix"20:00
thumperthe race with the peergrouper only became apparent late yesterday20:00
natefinchkatco, rick_h_ : we certainly could, it's just that the code is very likely used by a lot of different consumers... I'd be afraid we'd break something20:00
thumpernow to look at the HA CI test20:00
katcorick_h_: bc the flipside is also true: if it's shared code, we have the opportunity to fix it for all clients20:00
katconatefinch: we'd just be changing an error's text right?20:01
rick_h_natefinch: "very likely" doesn't scare me away :P need to see the list of what's effected and if the message makes sense in the other locations then20:01
katcoi would be grumpy if anyone is doing anything fancy with the text of an error message downstream =|20:01
natefinchkatco: I'd bet a reasonable sum of money that a ton of tests fail20:03
natefinchkatco: not that anything actually stops functioning per se20:03
katconatefinch: so, i think i've found a sane way out of that mess20:03
rick_h_well should only be a couple asserting the sanity check. Most tests will be working on the assumption the charm name is correct20:04
katconatefinch: part of the reason our tests are so fragile is that we re-check the same thing all over the place20:04
rick_h_I'm not sure how a ton of tests should fail on that corner case failure mode20:04
katconatefinch: so if a bunch of tests fail, we should isolate that check into a test that checks that one thing, and delete the checks in all the other tests20:04
natefinchrick_h_: have you run our tests? :)20:07
katcoi.e. this is where the principle of "tests should only test one thing" really pays off20:07
rick_h_natefinch: a couple of times, but yes I'm attmepting to apply logic20:07
rick_h_natefinch: it seems easy enuogh to see how many will fail20:07
rick_h_natefinch: the whole "it could be bad" just doesn't jive. If it's bad, let's find out how bad. Guessing the outcome is :(20:08
natefinchrick_h_, katco: well, I only see 4 places that would fail in core, and like 7 in charm.v620:09
natefinchtests that is20:09
natefinchat least from a quick grep of the message20:10
rick_h_natefinch: cool, doesn't seem horrible20:10
natefinchrick_h_: not at all :)  But I also didn't search all of github/juju  ... there are a lot of repos that interact with charms... others might break.  But I guess it should be obvious enough when that happens for whoever to just fix it.20:11
rick_h_natefinch: +120:12
=== beisner is now known as beisner-food
=== beisner-food is now known as beisner
thumpertest fix for someone https://github.com/juju/juju/pull/629020:59
thumpernow... how to create a new branch locally based on the revert of a revert...21:01
thumpernatefinch, katco: either of you know?21:01
* thumper goes to uncle google21:01
* katco thinks21:01
katcothumper: well the revert is just a commit with changes reversed, right? your goal is what, to rebase your local branch off that commit?21:02
thumperI landed a branch earlier21:02
thumperthat has just been reverted21:02
thumperand I want to make a branch that reverts the revert and fix the issue21:02
thumperI feel it should be simple21:03
thumperand I think it is21:03
thumperI just don't remember the incantation21:03
katcothumper: you should just be able to revert the revert commit... what is it and i'll paste you a command?21:03
rediranyone made any docs on snapping juju?21:03
thumperdoes the revert command make a branch?21:04
alexisbperrito666, https://bugs.launchpad.net/juju/+bug/162565721:05
mupBug #1625657: add-model fails erroneously when a cloud is specified and a credential is specified and needs to be uploaded. <juju:Triaged by alexis-bruemmer> <https://launchpad.net/bugs/1625657>21:05
katcothumper: git revert --no-commit master^221:06
katcothumper: can't revert the merge-commit, but can revert the revert if that doesn't not make sense :)21:07
thumperok21:08
thumperyeah21:08
thumperkatco: do you remember how to tell go to compile as if another os?21:08
thumperhmm21:09
thumperis it just `GOOS=osx go test`?21:09
thumperyep21:11
thumpernot sure it will actually run the tests though21:11
thumperbut it did find the compile error it was getting21:11
thumperexec fork error :) - not entirely surprised there21:11
thumperwell... GOOS=darwin21:15
perrito666alexisb: Cordoba21:17
perrito666Córdoba21:17
perrito666alexlist: is there a card for that bug?21:27
alexisbaxw, when you come online hatch will be chasing you down22:00
redirwhere do I publsh a juju snap? a namespace? or just make up a name like juju-with-feature-blah22:02
redir?22:02
thumperperrito666: still around?22:06
thumperperrito666: I'd like to talk restore and HA and juju's expectations22:07
perrito666thumper: sure, gimme a moment to get my icq going on22:07
thumperperrito666: we can use a hangout22:07
menn0redir: the snappy namespace feature didn't really seem to do anything22:07
thumperit is just alexisb that my HO hates22:07
menn0redir: I think the idea is you just pick a name like "juju-redir-blahblah"22:07
menn0I used "juju-menno"22:08
redirmenn0: tx, I can do that22:08
* perrito666 starts his acoustic coupling dial22:08
perrito666thumper: standup HO is ok?22:08
alexisbanastasiamac, I saw your side update on release notes in teh standup, can you add it to the 2.0 doc so we can interate22:09
thumperperrito666: ack22:09
thumperveebers: would be great if you could join perrito666 and me in the standup HO22:09
anastasiamacalexisb: sure, it was cut-and-paste from release minutes but i'll add it to release notes too22:10
alexisbanastasiamac, thanks22:10
veebersthumper: still there? I can join now22:11
thumperveebers: yep22:11
anastasiamacalexisb: it's in as "Done and needs elaborating" under "what's new in rc1" :D22:12
axwhatch: I'm available for being chased down now22:37
axwalexisb: I thought you were going to drop the "d" off resolved?22:39
alexisbaxw, one sec22:43
redirTask 8dd3657e-3470-4262-9253-0558b18d4aef is waiting for execution.22:50
redir:/22:50
redirand fails22:50
redirdoes the snapcraft yaml included in the repo checkout a fresh repo? Looks like it22:55
menn0thumper: http://reviews.vapour.ws/r/5733/22:56
redirto do a build with a feature, does one use a commit has in the source-tag field?22:56
redirs/commit has/commit hash/22:59
thumpermenn0: shipit22:59
alexisbok axw, sorry about that23:02
alexisbso the issue with resovle is that the command doesnt actaully resovle anything23:02
alexisbin only marks errors 'resovled'23:02
axwalexisb: ok. I guess I feel the same thing thumper mentioned yesterday, that it's much the sme as "bzr resolve"23:04
axwI guess it's fine23:04
axwat least the not-scary thing is done by default now23:04
alexisband thta was the point of the PR (change the default)23:05
alexisbrenaming the command in my mind means changing the behavior too23:05
thumperalexisb: I was always told that the idea of the "resolved" command was to tell juju that you had resolved the issue yourself23:11
thumpernot that you expect juju to resolve it23:11
thumperso clearing the flag is fine23:11
alexisbmenn0, ping23:16
mwhudsonhangouts doesn't want to talk to me23:18
rick_h_axw: hmm, is that 40 right? in looking at the numbers I expected the t2.medium to be more cpu power especially as dual core?23:22
axwrick_h_: baseline performance is 40%23:28
axwrick_h_: when idle, t2 machines accrue credits to surge or whatever it's called23:29
rick_h_axw: of the burstable23:29
rick_h_axw: hmm, ok23:29
=== rmcall_ is now known as rmcall
alexisbaxw, I need just a few minutes before we meet23:58
alexisbis that ok?23:58
axwalexisb: np, ping when yoiu're ready23:58

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