/srv/irclogs.ubuntu.com/2016/08/31/#juju-dev.txt

menn0perrito666: haha00:01
perrito666I have the exact same, but no one ever rings it since my office has a window outside and I see people comming00:02
perrito666mm, GoRename in an interface will do the smart thing with its implementation....00:08
redirperrito666: smart meaning what you want?00:10
perrito666redir: what else?00:10
redir:)00:11
redirperrito666: the right thing?00:11
redirI wish it updated comments.00:12
redirI understand why it doesn't but I can wish.00:12
perrito666ah the comments part is really annoying00:12
perrito666I tried once GoRename on implementation instead of the interface, not nice00:12
redirI also with GoTestFunc worked with check, or vice-versa00:13
redir*also wish00:13
perrito666menn0: funny, delegatos in spanish (with a space "dele gatos") means "give that person cats"00:15
menn0perrito666: LOL!00:15
menn0ok00:18
menn0perrito666: ship it00:22
perrito666menn0: tx a lot00:23
perrito666well look at that, a 4k monitor costs 6X more in my country than in amazon....00:31
* perrito666 stays in HD00:32
menn0perrito666: ping00:42
perrito666menn0: pong00:52
menn0perrito666: https://github.com/juju/juju/blame/master/apiserver/client/status.go#L85300:52
menn0perrito666: should that really be || ?00:53
menn0perrito666: I'm wondering if it's supposed to be &&00:53
perrito666menn0: let me refresh my memory00:56
menn0perrito666: sure00:56
menn0perrito666: I'm not completely sure myself, but it looks suspicious00:56
=== natefinch-afk is now known as natefinch
perrito666menn0: I am pretty sure I am blamed there for a move since I cant recall wth is going on there but, it makes sense because it might be possible to be in Maintenance but with message Installing00:59
perrito666I would track MessageInstalling to determine that00:59
perrito666I bet it is set when Agent is in Maintenance, this would be a good reason for such ||01:00
menn0perrito666: actually, I've misread the code01:00
menn0perrito666: ignore me01:00
perrito666menn0: sure thing :p01:00
perrito666ill go have dinner then return if you need a rubber duck01:00
redirwallyworld: http://reviews.vapour.ws/r/5563/ or menn0 ...01:02
redirbbiab01:02
wallyworldok01:02
redir~8pm or so PDT01:02
perrito666redir: what's with US people and Time standards01:16
perrito666menn0: need a hand?01:17
natefinchperrito666: what, we have 6 time zones, which differ based on what time of year it is, thanks to daylight saving time. Not so bad, right?01:17
perrito666natefinch: actually the problem is not how many you have, is the names you use01:18
perrito666much like with every other form of numeric representation aparently01:18
natefinchlol01:18
natefinchunless anyone has some special insight into https://bugs.launchpad.net/juju-core/1.25/+bug/1610880 - I'm just going to bail on it.  I've burned a week trying to figure this crap out, and now it's just decided to stop being reproducible :/01:21
mupBug #1610880: Downloading container templates fails in manual environment <juju-core 1.25:Triaged by natefinch> <https://launchpad.net/bugs/1610880>01:21
wallyworldmenn0: juju/agent/MigrateParams - there's a check for empty Model, but to me, model should never be empty right?01:41
menn0perrito666: all good at the moment01:41
menn0wallyworld: loading context01:42
wallyworldmenn0: also, we now are going to need to start explicitly passing around a controller UUID since that will not be the same as the controller model uuid anymore01:42
menn0wallyworld: MigrateParams has nothing to do with migrations01:43
menn0wallyworld: model migrations that is01:43
wallyworldoh, ffs01:43
wallyworldit for migrating older format files01:44
wallyworldhmmm01:44
wallyworld2.0 will be clean slate01:44
perrito666gnight all01:49
menn0perrito666:  good night01:49
perrito666wow, tests are especially unreliable today01:50
natefinchthumper, wallyworld: either of you have thoughts on a bug I should tackle?  Looks like all the criticals under juju are assigned, except this one:  https://bugs.launchpad.net/juju/+bug/161463502:26
mupBug #1614635: Deploy sometimes fails behind a proxy <landscape> <juju:Triaged by rharding> <https://launchpad.net/bugs/1614635>02:26
wallyworldnatefinch: anything landscape related is good to pick up02:27
thumperffs02:32
natefinchwallyworld: I was hoping to avoid that one, just because it sounds setup-intensive.  I'd need a maas environment behind a firewall using a proxy...02:32
thumperI'm giving up on the manual ha bug right now02:32
thumpersince you can never get into ha, it won't matter that you can't kill it02:32
natefinchhaha02:32
thumperthis is a rabbit hole02:32
thumperand a lot more work than I thought02:33
thumperso perhaps better to work on other more important bugs02:33
natefinchthumper: exactly the reasoning I used when abandoning my manual bug.... only after following the rabbit hole way too deep.02:34
thumpernatefinch: what was your manual bug?02:34
wallyworldnatefinch: what about https://bugs.launchpad.net/juju/+bug/161719002:34
mupBug #1617190: Logout required after failed login <juju:Triaged by alexis-bruemmer> <https://launchpad.net/bugs/1617190>02:34
natefinchthumper: https://bugs.launchpad.net/juju-core/1.25/+bug/161088002:34
mupBug #1610880: Downloading container templates fails in manual environment <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1610880>02:34
natefinchthumper: it was 100% reproducible until today, when it became 100% unreproducible, which is when I threw in the towel02:35
thumperhaha02:35
wallyworldthumper: manual ha will be important for system z etc02:35
wallyworldbut not this week02:36
natefinchwallyworld: I could do that one, sure.  I wasn't sure if alexis was actually working on it02:36
wallyworldnatefinch: no, she assigns bugs to herself02:36
wallyworldso she knows what to track02:36
natefinchwallyworld: ok cool02:36
thumperwallyworld: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8993/artifact/artifacts/trusty-out.log this is failing often02:42
thumperbut intermittently02:42
thumper cmdControllerSuite.TestAddModelWithCloudAndRegion02:42
thumper[LOG] 0:00.377 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: cannot open api: unable to connect to API: websocket.Dial wss://localhost:59081/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api: dial tcp 127.0.0.1:59081: getsockopt: connection refused02:42
thumpernot sure why it is failing to connect to the api server02:43
wallyworldyeah, weird02:43
thumperactually02:44
thumperperhaps it failed the first time02:44
thumperand retried02:44
thumperbut the error was still written out02:44
thumperthe expected string is in the obtained string02:44
thumperbut after an error line02:44
wallyworldhah, tht could be it02:44
=== menn0 is now known as menn0-afk
thumperfuck sticks03:33
thumpermenn0-afk: really afk?03:42
thumperhmm, only 12 minutes, so probably03:42
thumperanyway, remeber the i/o timeout retry patch?03:42
thumperwell the rpc layer returns errors.Trace(err)03:42
thumperso none of the errors had an error code, and were all fatal03:42
thumpereven the ones that said retry :)03:42
thumperanyway, identified, and fix QA03:42
thumperthen pushing03:42
thumperwallyworld: cmdRegistrationSuite.TestAddUserAndRegister failing intermittently too03:43
natefinchheh, katco fixed a bug just like that somewhere recently03:43
thumper...     "ERROR \"api-caller\" manifold worker returned unexpected error: cannot open api: unable to connect to API: websocket.Dial wss://localhost:50983/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api: dial tcp 127.0.0.1:50983: getsockopt: connection refused\n" +03:43
thumperin the middle of expected output03:44
wallyworldsame root cause then03:44
thumperprobably worthwhile figuring out why we are getting this connectino refused03:44
thumperit is obviously new03:44
thumperand causing many failures03:44
wallyworldmight just be slow back end03:44
thumperpart of the problem is the apiserver errors are showing in the client output03:48
thumperthat's just wrong03:48
thumperbut due to how our tests do everything...03:48
thumperwallyworld: I can see why we are getting the errors03:51
thumper[LOG] 0:00.168 INFO juju.apiserver listening on "[::]:60736"03:52
thumper[LOG] 0:00.226 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: cannot open api: unable to connect to API: websocket.Dial wss://localhost:50983/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api: dial tcp 127.0.0.1:50983: getsockopt: connection refused03:52
thumperdifferent port03:52
wallyworldoh, that race condition03:52
thumperperhaps also ipv6 localhost03:52
wallyworldthat's been there for ages03:52
thumperbut port will do it03:52
wallyworldapparently it's hard to fix03:53
wallyworldand the window was considered small enough that we wouldn;t see it, but i may be mis remembering03:53
thumperwallyworld: http://reviews.vapour.ws/r/5565/04:10
thumperwallyworld: if you are busy, I could take another look04:10
wallyworldi am busy, separating controller and model tag, what a a mess, but i can look at pr04:10
wallyworldthumper: lgtm04:12
thumperpr is very small04:17
thumperta04:17
natefinchhas anyone done anything about not having to pass --config=bootstrap.yaml every time we bootstrap? I keep forgetting, so I end up bootstrapping without all the config options I normally want to use.04:39
thumperthese featuretests are failing almost every time now04:46
thumperffs04:46
natefinch--debug isn't displayed as a flag anywhere anymore?04:50
natefinchit still works... but how is anyone supposed to know it exists?04:50
natefinchahh, help global-options... which is like 3 levels deep in the help :/04:52
=== menn0-afk is now known as menn0
menn0thumper: back04:59
thumpermenn0: got a few minutes to discuss this annoying intermittent failure?04:59
menn0thumper: yep05:00
thumper1:105:00
menn0thumper: I used -check.list to see which tests run before TestAddModel05:49
menn0thumper: passing this should run just those tests: -check.f '(meterStatusIntegrationSuite|UserSuite|debugLogDbSuite|syslogSuite|annotationsSuite|CloudAPISuite|apiEnvironmentSuite|BakeryStorageSuite|blockSuite|cmdControllerSuite.TestAddModel)'05:49
menn0thumper: i've got the stress tester running now with that05:49
dimiternwow I've got a full novel as a review from babbageclunk :)06:00
TheMuemorning dimitern07:09
dimiternhey TheMue :)07:10
TheMuefound some time to lurk around here again ;)07:10
dimiternTheMue: how's life? ;)07:11
TheMuedimitern: fine, nice project here using a mix of JS frontend (mostly done by others), Go microserves (here I'm the evangelist), and couchdb as database07:13
TheMuedimitern: only fighting with some fences of this bigger company, in total 12K worldwide07:14
TheMuedimitern: so many old-fashioned processes I have to break for a new product07:15
dimiternTheMue: sounds interesting :)07:16
TheMuedimitern: yip, it is, and a good local team here07:16
TheMuedimitern: only less interesting travels than with Canonical :D last tour has been to London again?07:17
=== frankban|afk is now known as frankban
* TheMue continuous with his crypto stuff ...07:20
dimiternTheMue: actually I was in Leiden most recently07:21
dimiternTheMue: but I'm sure we'll be in London soon enough :)07:21
TheMuedimitern: Netherlands, interesting. a new location.07:23
TheMuedimitern: I'm missing San Francisco *sigh*07:23
dimiternTheMue: yeah - was the first time for me there07:23
dimiternTheMue: I'll be at the Juju Charmers Summit in Pasadena, CA in a couple of weeks07:24
TheMuedimitern: quickly have to join *lol*07:24
dimiternTheMue: here's a link: http://summit.juju.solutions/07:25
TheMuedimitern: don't think my company would send me07:30
=== jamespag` is now known as jamespage
rogpeppe1i see the get-controller-config command. is there any way of setting controller config values?07:39
rogpeppe1axw, menn0: ^07:39
axwwallyworld: ^07:40
axwrogpeppe1: (I don't think so)07:40
rogpeppe1axw: hmm07:40
axwAFAICR, you can only set them at bootstrap time right now07:40
=== gnuoy` is now known as gnuoy
wallyworldrogpeppe1: axw: juju set-model-defaults07:53
wallyworldah07:53
wallyworldcontroller-config, that is immutable07:54
wallyworldapiport, stateport etc07:54
wallyworldcontroller uuid07:54
wallyworlddid you mean the model defaults?07:54
axwwallyworld: for argument's sake, it would be nice to be able to toggle auditing-enabled07:56
wallyworldaxw: i thought there was CLI for that, but maybe not07:57
wallyworldthe auditing stuff is POConly07:57
wallyworldneeds to be cleaned up07:57
macgreagoirbabbageclunk: Following up on that lxd bootstrap failure stuff, I'm not seeing any issues with amd64 (trusty or xenial) but with ppc64le. Have you tested, by any chance?09:26
* macgreagoir should look for your bug...09:27
mupBug #1618798 opened: endpoint not used in lxd provider <juju-core:New> <https://launchpad.net/bugs/1618798>09:39
babbageclunkmacgreagoir: sorry, was afk - it's bug 161863609:42
mupBug #1618636: Bootstrapping with beta16 on lxd gives "unable to connect" error <lxd> <juju:New> <https://launchpad.net/bugs/1618636>09:42
macgreagoirbabbageclunk: Cheers, let me compare notes with that...09:42
babbageclunkIt happens when I bootstrap inside a container - I did that just to sidestep the built-from-source juju binary, but I'll try reproducing it outside the container now.09:43
voidspacemenn0: you should try this: http://www.bbc.co.uk/news/world-europe-3722841309:45
babbageclunkvoidspace: gah!09:46
voidspacebabbageclunk: hardcore09:46
babbageclunkvoidspace: ah, it's fine, he's holding onto that stick for most of it.09:47
voidspacebabbageclunk: ah, fair point - I hadn't noticed that09:48
babbageclunkvoidspace: (I think it's a selfie stick.)09:48
voidspacebabbageclunk: :-)09:48
voidspacebabbageclunk: dilemna09:48
voidspacebabbageclunk: I'm working with CloudImageMetadata09:48
voidspacebabbageclunk: should the plural be CloudImageMetadatas09:48
voidspacebabbageclunk: ?09:48
voidspaceit just sounds awful09:49
voidspaceI'm being inconsistent at the moment - I have a type called cloudimagemetadata and then a collection type that I kind of have to call cloudimagemetadatas09:49
babbageclunkNot as awful as dilemna09:49
macgreagoirvoidspace: Data is plural ;-)09:49
voidspacemacgreagoir: yes it is09:49
macgreagoir:-)09:50
voidspacemacgreagoir: hence the dilemna09:50
babbageclunkYeah, should be CloudImageMetadatum09:50
voidspacehah09:50
voidspaceit's not a datum it has data09:50
voidspaceat a higher level of abstraction its a datum I guess09:50
babbageclunkCloudImageMetadataSet?09:51
macgreagoirCloudImageMetadatabase :-D09:51
voidspacebabbageclunk: dilemna is valid09:51
voidspacebabbageclunk: and better09:51
voidspacemacgreagoir: hah09:51
voidspacebabbageclunk: maybe09:51
babbageclunkyou're invalid09:52
voidspacebabbageclunk: ableist09:52
babbageclunkDoes that really have an e? When I'm the boss it will not.09:53
voidspacebabbageclunk: your spelling is horrifical09:54
voidspacebabbageclunk: whenever there's an option you pick the most confusing one so as to seem superior09:54
voidspacebabbageclunk: *everyone* knows that09:54
voidspacegah09:54
babbageclunkAnyway, there are lots of infos in the codebase, but I don't think datas would be so easily tolerated.09:56
voidspacebabbageclunk: yeah, it's pretty horrible09:56
voidspaceinfos isn't great09:56
babbageclunkvoidspace: I think dataset's alright, as long as one isn't too bothered by the implication that it should be a set.10:01
voidspacebabbageclunk: right, I think I agree10:02
voidspaceand there is no real set in go anyway10:02
babbageclunkAnd really, if you're ok with dilemna, something purporting to be a set but then not really being one is the least of your problems.10:03
voidspace:-)10:03
macgreagoirvoidspace: +1 metadataset, fwiw10:04
voidspacemacgreagoir: cool, thanks - sounds like it's decided10:04
babbageclunkmacgreagoir: I haven't managed to reproduce that bug outside a container. How can I determine whether the agent is being uploaded from my machine rather than pulled from a stream?10:27
babbageclunkmacgreagoir: (because I think that might be confounding things)10:29
macgreagoirbabbageclunk: Let me check my logs. I can repro on amd64 only in a nested container, like you.10:30
macgreagoirbabbageclunk: I see tools downloaded (in both archs). The error in ppc64le is clearly from the code that tries to use local as remote.10:32
macgreagoirI guess that's a fair starting point for amd64 too.10:32
macgreagoirThe ppc64le bug is back on beta11.10:33
ashipikamgz: ping?10:43
macgreagoirbabbageclunk: Just fyi, https://bugs.launchpad.net/juju/+bug/1618636/comments/110:51
mupBug #1618636: Bootstrapping with beta16 on lxd gives "unable to connect" error <lxd> <juju:New> <https://launchpad.net/bugs/1618636>10:52
babbageclunkmacgreagoir: another interesting data point, I get much more output (from cloud-init, apt installs etc) from the bootstrap process in the container than I do from the one running on my host - do you know why that might be?10:53
macgreagoirAn interesting datum? :-)10:54
macgreagoirbabbageclunk: I'm trying to get a ppc64le build with some more loggin output, but not succeeding yet.10:55
* babbageclunk lols10:56
mattywhey folks, how can one login to the models' mongo db now?11:00
babbageclunkmattyw: the juju-mongodb package includes the mongo binary now, so you can run that connecting to 127.0.0.1:37017 on the controller. Get the password from the admin user from the agent.conf, and pass --sslAllowInvalidCertificates.11:07
mattywbabbageclunk, I get errors about --sslAllowInvalidCertificates not being a valid arg11:10
babbageclunkmattyw: You need to run the mongo from /usr/lib/juju/mongo3.2/bin - check the version?11:11
rogpeppe1fwereade: i'm seeing a lot of this kind of test failure. any idea why we might be seeing more of it recently? http://juju-ci.vapour.ws:8080/job/github-merge-juju/9009/artifact/artifacts/trusty-out.log/*view*/11:13
babbageclunkmattyw: Oh, you need to pass --ssl as well.11:14
babbageclunkmattyw: I'm trying to do this now too, but I haven't gotten in yet.11:15
mattywbabbageclunk, I think I wasn't using juju-mongodb, I'm updating my script now11:15
mattywbabbageclunk, /usr/lib/juju/mongo3.2/bin/mongo: No such file or directory11:16
babbageclunkmattyw: Really? On xenial?11:16
mattywbabbageclunk, trusty11:16
babbageclunkmattyw: that would do it - sorry, all of this has been mongo 3.2 advice.11:17
mattywbabbageclunk, do we not install 3.2 on trusty as well?11:17
babbageclunkmattyw: Not sure. Does the directory exist?11:18
mattywbabbageclunk, it doesn't11:18
babbageclunkmattyw: Then I think the mongo binary will be in /usr/lib/juju/bin instead, if it's anywhere.11:19
mattywbabbageclunk, I see all the server side packages but none of the client ones11:19
babbageclunkmattyw: Ok, in that case you should be able to install mongodb-clients11:20
macgreagoirbabbageclunk: Again, just fyi, I found a beta12 ppc64el deb. I don't see the lxd issue in this test.11:22
mattywbabbageclunk, so this is the script I'm using http://paste.ubuntu.com/23115673/11:23
babbageclunkmacgreagoir: I don't see the lxd problem in beta15 either.11:23
mattywbabbageclunk, must be something wrong with the last line - the args sent to mongo11:23
babbageclunkmattyw: On trusty it's mongo 2.4, so the args are different11:24
mattywbabbageclunk, any idea what they should be?11:26
macgreagoirbabbageclunk: I can't find or build a ppc beta15 to test :-/11:27
babbageclunkmattyw: just trying it out now - had to bootstrap a trusty controller11:27
babbageclunkmattyw: This works for me: mongo -u admin -p <password> 127.0.0.1:37017/juju  --authenticationDatabase admin --ssl11:28
mattywbabbageclunk, sorry mate, how do I login to the controller, juju ssh -m default 0?11:32
babbageclunkmattyw: juju ssh -m controller 011:33
fwereaderogpeppe1, those look like it's "just" a logging change... and that ideally we'd have the logging going somewhere else so we could inspect the command's contributions to stderr alone11:37
rogpeppe1fwereade: it's a sporadic failure11:38
rogpeppe1fwereade: do you think that the API connection failure is expected there then?11:40
fwereaderogpeppe1, right -- most of the time we connect flawlessly, sometimes the odd connection failure should be retried transparently11:41
fwereaderogpeppe1, that was my read11:41
rogpeppe1fwereade: interesting. i'll go back and look at the other test failures in that light11:41
rogpeppe1fwereade: do you think that perhaps the manifold worker shouldn't be reporting at ERROR level?11:43
rogpeppe1fwereade: and... this is client-side, right? what's the worker doing logging its errors there?11:44
rogpeppe1fwereade: or does the client side have workers too now?11:45
fwereaderogpeppe1, this is a featuretest: it is indeed probable that it's just part of the appropriate chunk-of-controller11:45
rogpeppe1fwereade: i guess we could paper over the issue by configuring the logger used for the command output to exclude all logs from juju.worker.*11:46
* fwereade winces a little, and worries how well that's going to work in practice... but logs and commands are tangly, so, well, I suppose it'd be expedient11:47
rogpeppe1fwereade: FWIW this test failure and others similar has wasted me a lot of time yesterday. it's definitely worth some kind of fix :)11:47
rogpeppe1fwereade: yeah, i'm not sure either.11:48
fwereaderogpeppe1, yeah, definitely not arguing it doesn't need a solution, just pushing for a bit of find-the-ultimate-cause ;)11:48
rogpeppe1fwereade: alternatively, maybe that manifold error doesn't justify ERROR status and could be logged at INFO level11:49
rogpeppe1fwereade: after all, it's fairly run-of-the-mill to get errors there.11:49
fwereaderogpeppe1, probably also reasonable, yeah11:50
fwereaderogpeppe1, but similarly leaves us vulnerable to similar changes infecting these tests in future11:50
rogpeppe1fwereade: yeah, i was thinking that too11:50
fwereaderogpeppe1, mainly a matter of how-much-time-can-you-justify, I think :(11:51
rogpeppe1fwereade: zero currently - i'm off on hols tomorrow :)11:52
rogpeppe1fwereade: i'm just trying to remind myself how that output gets captured in tests11:52
rogpeppe1fwereade: ha, interesting realisation: there's no way to get a logging source to totally shut up, because CRITICAL messages will always be logged.12:08
rogpeppe1luckily nothing logs at CRITICAL level12:09
fwereaderogpeppe1, two opposing bugs in perfect balance, eh12:16
babbageclunkjhobbs: around?12:44
perrito666fwereade: ping?12:58
babbageclunkjhobbs: ping?13:22
frobwaredimitern: ping - can we sync before standup please?13:24
dimiternfrobware: ok, just a couple of minutes and I'll join standup HO13:28
frobwaredimitern: ack13:28
dimiternfrobware: oops, sorry13:37
katcofwereade: mgz: standup time14:01
dimiternbabbageclunk: ping14:06
babbageclunkdimitern: pong!14:12
dimiternbabbageclunk: hey, I've pushed some changes to http://reviews.vapour.ws/r/5559/14:30
babbageclunkdimitern: ok, I'll take a look.14:30
dimiternbabbageclunk: ta!14:30
dimiternvoidspace, frobware: please take a look if you can as well ^^14:31
dimiternbabbageclunk, voidspace, frobware: sorry, I've realized I didn't actually push them :/ now I did14:33
dimiternfwereade_: you've got a review14:59
fwereade_dimitern, tyvm15:04
rogpeppe1mgz: any idea why this failed? i can't see any errors. http://juju-ci.vapour.ws:8080/job/github-merge-juju/9014/15:07
dimiternrogpeppe1: check trusty-err.log: state/modelmigration_test.go:29: undefined: state.ModelMigrationSpec15:09
dimitern 15:09
macgreagoirbabbageclunk: Out of interest, your test for lxd bootstrap with a from-source binary, did you also have a jujud available in ./ ?15:10
voidspaceit compiles!15:10
rogpeppe1dimitern: oh i didn't realise compiler errors were hidden in the other artifact15:10
voidspaceDoesn't *work*, but it compiles...15:10
rogpeppe1dimitern: that's... unintuitive15:10
babbageclunkmacgreagoir: no, I was in ~, and mangled my path and gopath so that there were no from-source juju binaries around.15:11
babbageclunkmacgreagoir: But I've worked out my problem - we ripped out the bit of the lxd provider that tells LXD to listen to https.15:11
dimiternrogpeppe1: it's says where to look plainly in the console log :)15:12
macgreagoirbabbageclunk: OK, cool. One down :-)15:13
rogpeppe1dimitern: it does? where does it say that?15:13
babbageclunkmacgreagoir: well, not quite sure where to put it back in, but yeah, the mystery's solved!15:13
dimiternrogpeppe1: See /var/lib/jenkins/workspace/github-merge-juju/artifacts/trusty-err.log15:14
dimitern 15:14
macgreagoirbabbageclunk: I can't reproduce my bug on ppc with tip.15:14
dimiternrogpeppe1: ~10 lines from the bottom going up15:14
babbageclunkmacgreagoir: yay, it's fixed! ;)15:14
macgreagoir:-D15:14
rogpeppe1dimitern: i know that's where the error is15:15
rogpeppe1dimitern: but i think it's unintuitive that most test failure output goes into trusty-out.log but compiler errors go into trusty-err.log15:15
rogpeppe1dimitern: i think that both stderr and stdout from the go test should go into the same stream15:16
dimiternrogpeppe1: ah, sorry - yeah, that's not so obvious15:16
babbageclunkrogpeppe1: +115:16
rock___ Hi. I deployed OpenStack on LXD using https://github.com/openstack-charmers/openstack-on-lxd. I have created "cinder-storagedriver" charm . I pushed the created charm to public charm market place(charm store). So Using JUJU GUI when i was trying to deploy "cinder-storagedriver" charm by adding relation  to "cinder" it was throwing an error.15:19
rock___ERROR: Relation biarca-openstack:juju-info to cinder:juju-info: cannot add relation   "biarca-openstack:juju-info cinder:juju-info" : principal and subordinate applications' series must match.15:19
rock___But I can able to deploy my charm through juju cli by taking from charm store. And I can able to add relation to cinder successfully. And everything working fine.15:19
dimiternrock___: can you paste a link to the charm you pushed?15:20
marcoceppirock___: biarca-openstack needs to be the same operating system series as the charm deployed15:20
dimiternrock___: also, how did you deploy it?15:20
marcoceppirock___: I imagine the GUI is pulling the wrong series of teh charm15:20
rock___https://jujucharms.com/u/siva9296/biarca/015:21
rock___my charm support xenial,trusty and precise. Rest of the openstack deployment  support  Xenial. juju status pasted info : http://paste.openstack.org/show/565199/15:22
rock___As part of debug,  I deployed juju-gui as $juju deploy cs:juju-gui-134 on our setup. But it was showing series as trusty even we have choosen xenial.15:23
dimiternrock___: that paste link does not open for me - can you retry pasting it with paste.ubuntu.com or some other service please?15:25
rock___dimitern: juju status pasted info http://paste.openstack.org/show/565217/15:27
dimiternrock___: ok, I opened that fine, but the charm urls are not there - please paste `juju status --format=yaml` for more details?15:28
rock___marcoceppi: Yes. GUI is pulling the wrong series of the charm. When I deployed my charm using JUJU CLI. It worked fine.15:28
dimiternrock___: if your config has 'default-series: trusty' that might be cause; alternatively, deploy biarca with --series xenial to be explicit about it15:30
dimitern(it should complain if that's required, but it might be just picking the first entry in the list of series-es from metadata - trusty in this case)15:31
dimiternbabbageclunk, frobware, voidspace: a friendly review poke :)15:32
rock___dinitern: yes . In metadata.yaml trusty is the first one of the list of series. But how it worked fine when I deployed my charm through JUJU CLI.15:35
babbageclunkdimitern: I was still reviewing it! It takes a long time to type all of my complaining. ;)15:36
dimiternbabbageclunk: ah, sorry :) sure, take your time!15:37
dimiternrock___: are you using the CLI from a trusty machine or a xenial one?15:37
rock___dimitern: From a Xenial machine.15:38
babbageclunkdimitern: Finished now.15:38
babbageclunkdimitern: that approach is neat!15:38
dimiternbabbageclunk: sweet! thanks :)15:38
rock___dimitern: juju status --format=yaml pasted info http://paste.openstack.org/show/565227/15:39
dimiternrock___: thanks! there you have it - the gui is running as trusty15:42
dimiternhow did that happen I'm not sure.. but does it work if you deploy your charm from the CLI?15:43
rock___dimitern: As part of debug,  I deployed juju-gui as $juju deploy cs:juju-gui-134 on our setup. But it was showing series as trusty even we have choosen xenial.15:43
rock___Actually, We no need to deploy juju-gui separately. If we run "$sudo juju gui" It will give https://10.75.116.66:17070/gui/3d58eec3-a3ed-4430-8eb4-8f3ec7db7ea8/.15:45
dimiternrock___: yeah, it sounds like it should refuse to deploy it, if it's multi-series charm and no series is given (it used to - perhaps something changed recently)15:46
rock___dimitern: We manually deployed juju-gui to know which series it is going to take.15:47
rock___dimitern: we choosen xenial but it has taken trusty.15:48
dimiternrock___: but you should then use the full cs: url - e.g. cs:xenial/juju-gui-13415:48
dimiternor instead, juju deploy cs:juju-gui-134 --series xenial15:48
dimiternrock___: unless some config gets in the way - you check if `juju model-config | grep -i trusty` returns anything15:51
voidspacedimitern: you've had a review on 5559 - or do you want a review on something else?15:53
voidspacedimitern: ah, I'm just slow15:53
* voidspace has now read the backscroll15:53
dimiternvoidspace: :)15:53
babbageclunkvoidspace: other people a15:54
babbageclunkvoidspace: re allowed to review it too!15:54
voidspacebabbageclunk: frankly it's better for everyone if they do...15:55
frobwaredimitern: hey, sorry. was sidetracked with maas-2.1 and bridge_all=True15:55
rock___dimitern:  I tried $sudo juju deploy cs:juju-gui-134 --series xenial.  pasted log for this is http://paste.openstack.org/show/565229/. sudo juju model-config | grep -i trusty returns nothing.15:55
babbageclunkvoidspace: I feel like you're saying the same thing as me but mean the opposite. :)15:56
voidspacebabbageclunk: uhm, that would assume I have even the faintest idea what I'm talking about15:57
voidspacebabbageclunk: a very dangerous assumption15:57
dimiternrock___: oops, it seems you've got a panic there - sorry about that15:57
babbageclunkvoidspace: you know what they say about assumption15:57
voidspaceheh15:57
dimiternrock___: it might be worth trying the next (last) beta16 to see if it's any better (and produces no panic)15:58
rock___dimitern: So Juju 2.0 is the development channel. So the charms present in development channel were migrated to edge?16:00
dimiternrock___: if it's still there, please file a but with that output, link to the charm, and the version of juju!16:00
babbageclunkjhobbs: ping?16:00
rock___dimitern: So I have to upgrade to juju latest version[Juju 2.0-beta16] right?16:01
dimiternrock___: I'd first try that to see if it was fixed between beta15 and beta1616:02
dimiternrock___: if not - then please file a bug and we'll triage it16:02
jhobbshi babbageclunk16:02
babbageclunkjhobbs: Hey! I'm trying to do some digging on https://bugs.launchpad.net/juju/+bug/161115916:03
mupBug #1611159: model not successfully destroyed, and error on "juju list-models" <oil> <oil-2.0> <juju:Triaged by 2-xtian> <https://launchpad.net/bugs/1611159>16:03
babbageclunkjhobbs: How can I reproduce it?16:04
jhobbswell it's an automated test setup16:05
jhobbsbabbageclunk: i have a maas server with 12 machines commissioned in it, and 1 vm. i bootstrap with the VM as the controller node, and then jenkins adds a couple of models and deploys openstack to them, runs some tests, then destroys the models16:06
jhobbseach model is handled by a seperate worker in jenkins and done in parallel16:06
jhobbsif i were going to try to reproduce it outside of oil i would use juju with a maas provider, one controller, and add and remove a bunch of models in parallel16:07
rock___dimitern: ok. Thank you.16:08
redirmorning16:08
babbageclunkjhobbs: ok, I'll try that. Do you feel like the bundles being deployed would make a difference? Or is it more about the models being added and removed?16:08
jhobbsi really don't know16:09
jhobbsit seems the failure is around models being created and destroyed16:09
jhobbsbut maybe other stuff going on at the same time contributes to that16:09
babbageclunkjhobbs: Yeah, that makes sense.16:09
babbageclunkjhobbs: Is this maas 2, or 1.9? I'll start trying to reproduce it with beta16 - are you working with that or another version in particular?16:11
jhobbsbabbageclunk: MAAS 2, and that was with beta 1416:14
jhobbsi can try to reproduce again with 16, maybe later today, if i do, are there any settings i should enable for logging?16:14
frobwaredimitern: oooh bridges! http://178.62.20.154/~aim/bridges.png16:14
frobwaredimitern: minor quibble -  I can't actually login to the node16:15
dimiternfrobware: weeell - it's alpha1 :)16:16
babbageclunkjhobbs: I think the logging you're using is good - mostly I want to be able to poke around in the system once it's in this state to try to work out what to look at next.16:16
frobwaredimitern: and, heh... alll the things we've discovered you can't do.... and some of them are back again.16:17
frobwaredimitern: MTU issues -> http://pastebin.ubuntu.com/23116684/16:18
dimiternfrobware: we've been there, done that16:18
dimiternfrobware: but that's likely as much curtin's fault as maas'es16:18
frobwaredimitern: I'll raise this via email/bug with maas folks16:18
dimiternfrobware: +116:19
frobwaredimitern: I need to EOD now - will pick this up in the moring.16:20
dimiternfrobware: ok, have a good one ;)16:20
dimiternI'll be EODing soon as well16:21
mupBug #1618963 opened: Local provider can't deploy on xenial <juju-core:New> <https://launchpad.net/bugs/1618963>16:41
=== frankban is now known as frankban|afk
=== rmcall_ is now known as rmcall
jcastroanyone have options on: https://bugs.launchpad.net/juju/+bug/161899618:10
mupBug #1618996: unable to specify manually added machines from bundle.yaml <juju:New> <https://launchpad.net/bugs/1618996>18:10
katcojcastro: do you know if that worked in b15?19:26
katcojcastro: or is this a new feature request?19:26
natefinchjcastro: is the bundle supposed to declare the machines, too?  I haven't really dealt with bundles yet, but I'm sorta surprised that it would work without machines specified in the bundle itself19:27
jcastrothe bundle is declaring the machines19:33
katconatefinch: there is a "To" field i think might allow you to place things on existing machines.19:33
jcastroright19:33
katcojcastro: i'm not sure if this is a regression or a new feature. could you check to see if it works on b15?19:33
katcojcastro: also, is this bundle hand-crafted? wondering if the to directives are wrong: https://github.com/juju/charm/blob/v6-unstable/bundledata.go#L20119:36
katcojcastro: i.e. maybe it should be "cinder/0" or "lxc:0", not "1"19:37
natefinchalso, does it work somewhere other than manual?19:40
jcastromarcoceppi: ^^19:41
redirReview anyone? http://reviews.vapour.ws/r/5569/20:04
marcoceppijcastro: what's the action item?20:20
alexisbkatco, can you help out redir20:21
katcoalexisb: yes in a bit20:21
redirno major rush20:21
* katco just finished a true unit test for deploying a bundle :)20:42
* redir plays trumpet, pops champagne and passes a glass to katco20:42
katcoi haven't looked at the diff, but i think this will be a pain to review.20:42
* redir backs away slowly20:42
katcoi need to move some things around too20:43
rediralexisb: you have some controllers created ?20:44
rediranyone have a couple controllers created20:44
redirjust laying around...20:44
katcoredir: i have some bootstrapped20:45
redirkatco: what's the output of juju show-controllers?20:45
natefinchhey, color, neat20:46
katcoredir: gah.... i am lying to you. when did i destroy that...20:46
natefinchredir:20:46
natefinchCONTROLLER  MODEL       USER         CLOUD/REGION20:46
natefinchgoogle*     default     admin@local  google/us-east120:46
natefinchlocalhost   controller  admin@local  lxd/localhost20:46
natefinchlxd         default     admin@local  lxd/localhost20:46
katconatefinch: ta20:46
natefinchgoogle is in blue20:46
redirnatefinch: that is show or list?20:46
redirlooks like show20:47
natefinchredir: oh... I didn't realize there were two different commands20:47
natefinchthat's horrible20:47
katcogod me either...20:47
redirwhich ist that?20:47
redirthat you have the output from?20:47
katcothat is awful. who upon first use knows the difference between show and list?20:47
natefinchthat's "juju controllers"  which uh... is the same as list-contollers20:47
* katco face-palms hard20:48
redirok so what's the output of show-controllers?20:48
redirjust one entry?20:48
natefinchyes, just one20:48
katcojuju show-controllers should be juju controllers --detail{s,ed}20:48
katcoor something20:48
natefinchkatco: +1000000000000000000000000000000020:48
katcobut not 2 commands with verbs that are synonymous20:48
redirwhelp20:48
alexisbredir, yes I do20:48
rediralexisb: natefinch answered my question20:49
redirbut it leaves me new questions20:49
natefinchyeah, show controllers only ever shows one, as far as I can tell, the current one20:49
natefinchwhich uh, makes it poorly named20:49
redirnatefinch: yes it appears to be an alias to show-controller20:50
natefinchaaaaahhhhhhh20:50
katconatefinch: juju controllers <name> could do the right thing20:50
redirat least help for plural shows the help for singular20:50
natefinchredir: yes that appears to be true20:50
katcowait... so show-controller is just an alias for list-controllers?20:50
natefinchno no20:50
redirno20:50
natefinchshow-controllers is an alias for show-controller20:51
redirshow-cotnrollers appears to be an alias for what natefinch said20:51
katco...why20:51
natefinchexcept that every other command is very careful not to alias plurals... because show-xxx  is supposed to show exactly one, and list-xxx is supposed to show many20:51
katcowe should remove that alias. show-controller makes *more* sense to me at least20:51
alexisbnatefinch, redir, katco: the cli is consistant (or should be consistant) with "<somecommand>s" being the same as "list<command>s"20:51
redirbecase strange attractors20:52
alexisbif show-controller is aliased to controllers that is wrong20:52
katcoalexisb: show-controllers is aliased to show-controller (i think?)20:52
alexisbah yeah that needs to be cleaned up still20:52
redirding ding I think katco said the right thing20:52
katcowhich makes no sense to me20:52
redirand natefinch before that20:52
alexisbwe still have plurals where we shouldnt20:52
alexisblist should be plural and show should be singular20:52
redirso I just added agent version info to show-controllers20:53
redirbut it only shows me one20:53
alexisbthe original design didnt start that way and we havent cleaned up yet20:53
alexisbthere is a bug open20:53
natefinchoh man20:53
redirand I am trying to understand if it should show more20:53
redirOh then I just added version to show-controller and plural is a vestigal alias20:54
rediryes?20:54
natefinchis there a bug open to hide aliases from juju show commands? cause, right now:20:54
natefinchr$ juju help commands | wc -l20:54
natefinch16820:54
alexisbredir, there should not be an alias for show controller20:54
redirOK20:54
rediralexisb: care to HO?20:55
alexisbredir, sure20:55
jcastrowhile we're at it, all the action CLI commands need a redo IMO20:55
redirstandup?20:55
alexisbjcastro, adding to the pile will not help (also you will need to elaborate)20:55
jcastroheh20:55
katcojcastro: only we can criticize our CLI! we're retaking these complaints20:55
jcastroyeah so, if you think of doing an action show-action-status and show-action-output break the flow20:56
jcastroI can never remember them so I constantly have to refer to the docs20:56
natefinchOur CLI: https://1.bp.blogspot.com/-ZM7ejcL9pk8/Vr4roZBEJsI/AAAAAAAACpY/oyyCEKiAs7A/s1600/TheSimpsons1218-1.jpg20:57
jcastrobut none of my complaints are 2.0 material I don't think20:57
=== natefinch is now known as natefinch-afk
katcoredir: bootstrapping your change now, only 1 minor comment for the review21:02
thumpermorning21:07
redirkatco: k tx21:08
redirkatco: and going to eradicate the alias for that too21:09
katcoredir: ship it21:09
redirkatco: tx21:10
menn0wallyworld: here's the change to extract the unit status logic in the apiserver http://reviews.vapour.ws/r/5571/23:13
wallyworldok23:14
alexisbthumper, axw ping23:16
alexisbperrito666, ping23:16
axwalexisb: pong, just joined23:16
perrito666alexisb: pong23:16
alexisbperrito666, standup23:17
perrito666yay bug landed23:33

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