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

rick_h_bac or benji, either of you able to help me cover calls at 10am today? 12:15
benjirick_h_: sure.  What does that mean? :)12:15
benji(and what time zone?)12:16
rick_h_benji: 10am edt12:21
benjithanks12:22
rick_h_benji: nvm, meeting got moved to thurs13:09
benjirick_h_: ok13:11
jcastrorick_h_, I noticed the promulgated bundle isn't showing up still13:37
rick_h_jcastro: on jujucharms?13:37
rick_h_jcastro: or on comingsoon?13:38
rick_h_jcastro: jujucharms has to wait for a deploy. The link I gave you was comingsoon which it should show ok for13:38
jcastroah, it's on comingsoon13:38
rick_h_yea, we'll do a deploy this week before charm school13:39
jcastrorick_h_, prod deploys before friday though right?13:39
rick_h_and the marketing thing13:39
jcastroperfect, thanks13:39
jcastrorick_h_, hey so13:44
jcastrohow does the GUI react/show colocated services these days?13:44
jcastrolike if I wanted to do some all-in-one bundles?13:44
rick_h_jcastro: it doesn't. It's the current project. To add a machine view13:44
rick_h_I'll mention it on the uds session13:44
jcastrook so what happens if we have a bundle with coloe'd services, will they still work or does the whole thing fall apart?13:45
rick_h_the bundle should work, but there's no indication in the gui that they're colocated. 13:45
rick_h_though I'll be honest, we've not tried it out yet13:45
jcastrook I think I will wait for the machine view13:45
rick_h_k13:45
jcastrowhat's the TLDR on that, 14.04, past 14.04, or 14.10?13:45
rick_h_14.05 ish13:46
jcastrota13:46
hatchmorning13:54
rick_h_morning13:54
frankbanguihelp: anyone available for a quickstart review? https://codereview.appspot.com/72520044 no qa and thanks13:55
hatchsure13:56
bacfrankban: just one?13:56
frankbanbac: technically I need two. But it's mostly code moves. Anyway, if you want to take a look it would be appreciated13:57
bacok13:57
frankbanthank you both13:57
hatchfrankban all done14:09
hatchluca___ rick_h_  in a design of the inspector there was a button for removing the relations - the code is there but the UI is not.... (re the comments on the bug #1289469)14:10
_mup_Bug #1289469: Remove relation button missing from relations tab in inspector <juju-gui:Won't Fix> <https://launchpad.net/bugs/1289469>14:10
frankbanthanks hatch! I'd still be inclined to have two separate functions, the current logic seems explicit and intuitive14:11
frankbanbac: are you doing the review?14:12
bacfrankban: yes14:12
hatchfrankban sure no problem, I was thinking of abstracting that out of the app and into the ssh utils class but thats just personal preference :)14:12
frankbanbac: cool14:13
frankbanhatch: ack14:13
hatchugh I hate DST changes...all of my meetings are an hour earlier14:13
hatch:P14:13
hatchrick_h_ can we move the 1:1 either an hour later or earlier on wednesday?14:14
rick_h_hatch: otp, can look in a min14:14
hatchack14:14
bacfrankban: done14:20
jcastroanyone know how this happens? https://jujucharms.com/sidebar/search/~bwtiffin/raring/gnucobol-sample-0/?text=cobol#readme14:23
jcastrothe readme looks like proper markdown14:23
hatchjcastro the file doesn't end in md14:25
hatch.md that is14:26
frankbanbac: thanks14:34
bacjujugui: are we meeting in 10 or 70?14:51
hatch10 14:51
hatch:(14:51
baci'll :( that too14:51
hatchus non DST people have to pay for the DST peoples sins14:51
baci think the people with the wildly fluctuating time should suffer, not use rational people14:52
bacs/use/us/14:52
hatchlol14:52
hatchrick_h_ so do I get a +1 on my inspector base branch after the missing render test gets added?14:54
rick_h_bac: yea have it for 6 min from now14:55
rick_h_bac: but will bring up if moving it makes sense14:55
rick_h_hatch: hmm, I forget, looking14:55
bacrick_h_: i'm ok with it.14:55
hatchtbh I'm ok with the new time - only because google keeps track of the DST changes for me :)14:55
hatchodly enough tomorrows standup is at 10 14:56
rick_h_hatch: yea, I moved tomorrow due to vuds14:56
hatchohh14:56
rick_h_jujugui call now15:00
rick_h_benji: able to standup?15:01
benjirick_h_ oh, I thought it was an hour later; coming15:02
jcastrorick_h_, ugh, the GUI is still spitting out bundles that don't pass proof, the "if the relations were reversed" thing again15:27
jcastrohttp://pastebin.ubuntu.com/7068198/15:28
jcastrowhy is this not valid?15:28
hatchdoes a bundle need to pass proof to be listed in the search results?15:30
hatchohh sorry now I get it15:32
hatchthe exports are exporting backwards15:32
hatchjcastro does it deploy? 15:32
jcastroyes15:33
hatchso that seems to me like proof is wrong then15:33
jcastrohey bac15:33
jcastroI am having a hard time pushing a bundle15:33
jcastrojorge@jilldactyl:~/src/bundles/rails-simple$ bzr push lp:~jorge/charms/precise/bundle/rails-simple/bundle15:33
jcastrobzr: ERROR: Permission denied: "~jorge/charms/precise/bundle/rails-simple/bundle/": : Cannot create branch at '/~jorge/charms/precise/bundle/rails-simple/bundle'15:33
jcastroshouldn't that work?15:33
hatchrebooting15:34
rick_h_jcastro: was otp, looking]15:37
bacjcastro: bundle replaces the series name.  so try lp:~jorge/charms/bundles/rails-simple/bundle15:39
bacjcastro: here is the URL for one of mine: bzr+ssh://bazaar.launchpad.net/~bac/charms/bundles/muletrain/bundle/15:39
jcastroaha! so the instructions are wrong15:39
jcastrofixing15:39
bacyay15:39
hatchrick_h_ ok I'm pretty confident that my wifi issues are caused by putting osx to sleep15:40
rick_h_hatch: ugh15:40
hatchapple quality15:41
rick_h_jcastro: where's this bundle so I can check it out?15:41
hatchwho do I have to pay to get someone to fix the linux kernel bug?15:41
hatch:)15:41
rick_h_hatch: no, proof cares about direction15:42
rick_h_hatch: if we're exporting them wrong we need to file a bug and fix them15:42
rick_h_hatch: the deployer doesn't care about order though and will get things deployed15:42
hatchrick_h_ right - but if the bundle is valid (deploys) then proof is wrong15:42
rick_h_but the deployer isn't the final say of truth. Deployer deploys bundles with local charms15:43
rick_h_but we don't ingest them :)15:43
hazmatrick_h_, order should not matter15:43
rick_h_It's a bug that the deployer deploys them15:43
rick_h_hazmat: we talked with core about it and were told order mattered15:43
hatchno I'm pretty sure that order is not important15:43
hazmatrick_h_, that's so short-sited.15:43
jcastrorick_h_, pushed it here: https://code.launchpad.net/~jorge/charms/bundles/rails-simple/bundle15:43
hatchblarg, so confusing heh15:43
hazmatrick_h_, deploying local charms is a huge point to deployer.. its doesn't fit with the sharing use case15:43
rick_h_hazmat: k, we're going off what we were told from core. That's what we implemented15:43
hazmatrick_h_, but it would if deployer did a bundle/zip format 15:44
rick_h_hazmat: understood. Just saying that proof isn't all about 'will it blend'15:44
hazmattrue15:44
hazmatrick_h_, just saying deployer wouldn't exist without the local charm use case15:44
* rick_h_ looks for the notes and bug that lead to us making relations directional15:45
hatchrick_h_ I think CI is down.....15:51
hatchhttps://saucelabs.com/jobs/3515492a81b640c8a0ecf8dfa210e3cd15:52
rick_h_hatch: looking, wonder if the port isn't updated up any more :/15:54
hatchhow could that happen?15:55
jcastrorick_h_, yeah so we need to fix this by friday if at all possible15:56
rick_h_jcastro: k, benji can you find the old communication around that order of relations stuff15:57
jcastrothis didn't show up in my "are bundles ready to be shipped" tests because directional-ness (is that a word?) wasn't an issue before15:57
rick_h_jcastro: right, if order doesn't matter we can go back on it15:57
* benji looks15:57
rick_h_jcastro: but we hit a bug originally that started all this and now I'm not able to find the original bug15:58
jcastrowell that depends if order really matters right?15:58
rick_h_jcastro: so we'll get our notes together and figure out what to do15:58
rick_h_jcastro: well the order error came out of a bug that we were pulling in bad bundles to start with15:58
rick_h_jcastro: so I want to make sure we don't just pull the change and put a new bug back in place15:58
jcastroyeah15:58
jcastroI personally don't care if order matters or not, just that something the GUI exports can work, heh. 15:59
rick_h_jcastro: rgr, so this is a gui export?15:59
rick_h_jcastro: like I told hatch, if we're exporting them out of order then we should fix that15:59
jcastroyes, they are all GUI exports, all I do is mangle envExport to be a name15:59
hatchthe GUI export does not take order into consideration when exporting15:59
hatchbecause when it was written order didn't matter16:00
benjirick_h_: my IRC logs were a victim of my lost partition, but I recall Kapil saying that the deployer respects and enforces relation directionality16:00
rick_h_hatch: ci port got closed up. re-opening. It's a victim of server maint. I think16:01
hatchrick_h_ so who's fault is this? I just want to make sure that this doesn't get broken in the future16:01
rick_h_hatch: give it another go and when it's running you should be able to hit that url now (ci.jujugui.org:8888)16:01
rick_h_hatch: it's the fault that MS does maint which takes down/up machinse every so often and the port isn't a port setup by the charm. It's manually done and it must have gotten lost in the maint from MS.16:02
jcastrorick_h_, if you can tell me how to mangle the existing order relation that would unblock me16:02
rick_h_hatch: it probably will, but it's a pretty obvious failure. The saucelabs says it can't hit the url. If you can't either, then it's not there to hit16:02
hazmatbenji, directionality is a bit of a misnomer that's not specified on the cli, deployer does respect relation creation ordering16:02
jcastrolines 25 and 26: http://bazaar.launchpad.net/~jorge/charms/bundles/rails-simple/bundle/view/head:/bundles.yaml16:02
hatchrick_h_ We are hosting this on Azure?16:03
rick_h_jcastro: sorry, multi-tasking here as our CI is down atm. I've got it pull down and tesing it out16:03
rick_h_hatch: yes16:03
hatchohh, maybe we should look into switching to someone else16:03
rick_h_benji: no can do16:03
hatchI'd just hate for you to be on vacation and the CI goes down until you get back :)16:04
rick_h_hatch: it's the first time since CI went up and the azuire credentials are in the wiki for everyone else to use ;)16:04
benjirick_h_: ??16:04
rick_h_benji: bah sorry16:04
rick_h_hatch:  no can do16:04
benji:)16:04
rick_h_benji: looking through your old branches to see if I can find a branch that rings to the bug 16:04
rick_h_any gmail fu for 'relation ordering' is apprecited benji (not sure if it'll find the pull request/etc)16:04
* benji looks16:05
hatchrick_h_ ok so the ci docs need to be updated then? I didn't see any reference to the host or where to find information on it in there16:05
rick_h_hatch: because the ci docs are public. I emailed ~peeps I thought. If not sorry. It's in the CI page in the private wiki16:05
hazmatrick_h_, relations are a list.. the list order is respected.. not sure which bug triggered it.. but imo if ordering matters to relations its a bug in the underlying charm16:05
hatchrick_h_ right, I'm just saying we should probably have a line which says 'see the wiki for azure details' or something16:06
hazmatdeployer respects the order due to playing in the real world...16:06
rick_h_hazmat: yea, I want to find the original bug. This all started for some legit reason and it's long enough I can't recall16:06
rick_h_hatch: patches welcome :) thanks16:06
hazmatrick_h_, any chance of uistage/comingsoon moving to canonistack ?16:06
rick_h_hazmat: so it'll be a new staging and yes. RT is filed and been in the list for a month or two now16:06
hazmatrick_h_, low priority.. just wanting to be able to shut down that instance.. thanks16:06
rick_h_hazmat: oh hmm, well the charmworld one, due to dns mangling it's first on the list for comingsoon16:06
rick_h_hazmat: yep, we've got rts in to work on getting that moved around16:07
benjirick_h_: this is the branch that adds a hint about bundle errors due to incorrect relation order: https://code.launchpad.net/~benji/charmworld/1263120-allow-self-referential-relations-in-bundles/+merge/20237316:07
rick_h_benji: awesome thanks16:08
rick_h_hazmat: so can you +1 then that per that branch and bug order matters? ^16:09
rick_h_hazmat: so the requires end of a relation must be specified before the provider of that relation? Or am I just confused?16:12
rick_h_jcastro: did http://paste.ubuntu.com/7068467/ testing it in an lxc right now to make sure it comes up right16:20
rick_h_jcastro: filing a bug on the gui to get the order righgt16:20
jcastrowhat do the - - and - mean btw? 16:21
jcastroif you're busy you can explain that to me later actually16:21
rick_h_jcastro: the first - means "here be a relation"16:22
hazmatrick_h_, no.. within a relation pair order doesn't matter, between pairs the order is respected16:22
rick_h_and the second - means "here's the first point, next one is below"16:22
hazmatrick_h_, ie add-relation x y vs add-relation y x doesn't matter16:22
jcastrohttp://pastebin.ubuntu.com/7068476/16:22
hazmatrick_h_, but add-relation x y, add-relation a b will always happen in that order16:22
jcastrothe complex one gets way more complicated16:22
rick_h_hazmat: ok then. Confusion in that16:22
rick_h_hazmat: I suppose the 'order was respected' got confused between the "list of all relatoins in the bundle" and the "order of a single relation"16:23
rick_h_thanks hazmat, jcastro filing bugs to get sorted out16:23
hazmatbenji, rick_h_ so -1 on that branch, cause  order within a relation doesn't matter to juju16:24
jcastrolink or CC me on the bug, I'll need to keep track so I can get in as many bundles as I can when it's fixed16:24
rick_h_jcastro: rgr16:24
hazmatjcastro, re the syntax its a list of lists re - -16:25
benjiif we need to change proof's behavior, that's fine, but the branch in question didn't introduce the behavior in question (it only reported it to the user better)16:25
rick_h_benji: right. So right now there's no behavior issue other than proof is sending an error and so won't ingest16:26
hazmatjcastro, i sometimes find it helpful to do, cause yaml is subset of json.. i typically do  - [x, y]  to avoid the - - nesting16:26
rick_h_benji: and these are bundles that come straight out of the Gui16:26
hatchhas anyone run into an issue when the loader wouldn't find a file defined in modules-debug?16:29
rick_h_hatch: no, it's doing a full make clean-all and build so should be fine16:29
hatchyeah the file is clearly in the list '/vagrant/app/views/inspector-base.js', but then I get Error: ENOENT, no such file or directory 'node_modules/yui/inspector-base/inspector-base.js'16:30
hatchsomehow it's being added to the YUI modules list as well16:30
hatch'./node_modules/yui/inspector-base/inspector-base.js',16:30
rick_h_benji: I've added a bug/card. Can you look at that next after your current branch is up?16:31
benjirick_h_: sure (it may take a little longer than expected, this moring has been interruptful)16:32
rick_h_benji: rgr, thanks.16:32
rick_h_jcastro: you're subscribed. Will get it next in line and work on getting it into the deploy by EOW16:32
jcastrocool, I have enough bundles in the queue so it hopefully won't hold up the line16:32
rick_h_jcastro: I can verify that swap of order works16:33
rick_h_jcastro: deployed that bundle with that change to lxc with quickstart16:33
jcastrook I can get that one in then16:33
hatchrick_h_ so the issue is proof or the GUI?16:33
rick_h_jcastro: rgr16:33
rick_h_hatch: proof, the gui's not helping by not caring about order either16:33
rick_h_hatch: but the fix can just be letting proof let it through16:34
hatchok cool, so order does matter or doesn't?16:34
rick_h_hatch: ok, sorry catching up. have a diff to look at for your loader issue?16:35
hatchfigured it out.....pebkac error16:35
hatchYUI().add() vs YUI.add()16:35
rick_h_ah, yay16:35
hatchthat should really throw instead of working in a cryptic manner16:35
hatchbut oh well16:35
jcastrorick_h_, ugh you're going to hate me, found another problem16:35
hatchlol16:36
jcastrothe GUI exports the GUI in the bundle16:36
jcastrobut if you try to quickstart the bundle16:36
jcastroit bails because the bundle has the GUI defined16:36
hatch^ hehe16:36
hatchso much discussion around that one16:36
jcastroyeah16:36
hatchI think we should give you the option to export the GUI16:36
rick_h_jcastro: yes, known bug. It's on the todo list but won't be there by EOW16:36
jcastroso I take it, you want me to just remove the GUI from all the bundles?16:36
hatchmanually yes :)16:36
jcastrook I'll just do that16:37
luca___rick_h_: I've cleaned up https://drive.google.com/a/canonical.com/?tab=co#folders/0B7XG_QBXNwY1V3B3dDNvYXJGRE016:40
rick_h_luca___: awesome thanks16:40
luca___rick_h_: no worries, I've asked spencer to update the visuals to make sure they are all the latest, so it should be up to date by the end of our day16:41
rick_h_luca___: ok that sounds great. Appreciate it. 16:41
luca___rick_h_: to highlight to the user which environment they are deploying to in the deployment summary what can we say? something like " Deployment summary – Prodstack" or would it better as a affirmation like "These changes will be deployed to Prodstack"?16:43
rick_h_luca___: I'm not sure we have a name atm so I'd start with "Deployment summary" to start with16:43
luca___rick_h_: I see, thanks16:44
rick_h_luca___: but I like the first as it's shorter and easier to see a word I recognize (my env name)16:44
jcastrorick_h_, do you have the bug handy for quickstart/juju-gui? 16:44
rick_h_but it's just personal preference16:44
rick_h_jcastro: yep, sec16:44
rick_h_https://bugs.launchpad.net/juju-gui/+bug/124903916:44
_mup_Bug #1249039: Exporting from real environment exports juju-gui as well <juju-gui:Triaged> <juju-quickstart:Triaged> <https://launchpad.net/bugs/1249039>16:44
rick_h_jcastro: &16:44
rick_h_err ^16:45
jcastroack, filed this too: https://bugs.launchpad.net/charm-tools/+bug/129044416:45
_mup_Bug #1290444: Bundle proof should check for juju gui <Juju Charm Tools:New> <https://launchpad.net/bugs/1290444>16:45
jcastrothat should cover us16:45
rick_h_jcastro: k, will note that one as well. 16:45
hatchrick_h_ I just got an email from MS saying that there was a maintenance restart on all the single instance machines :)17:35
rick_h_hatch: yea17:36
rick_h_they've been warning me of that for a while17:36
rick_h_it's been rescheduled twice17:36
rick_h_but I didn't know it would kill the open port17:36
hatchI wonder if ec2 kills the open ports when rebooted17:36
rick_h_no17:36
hatchseems like a bug to me17:36
hatchrick_h_ does the merge system use a different machine?17:38
hatchmerging my branch had the same issue17:38
rick_h_hatch: no, I'm looking. oh it uses 8889 doh17:41
hatch:)17:41
rick_h_applying change17:42
rick_h_hatch: ok, restarted it from the github side17:46
hatchthanks17:47
rick_h_bac: any luck getting a query plan?17:53
bacrick_h_: not yet17:54
hatchrick_h_ I think I am going to convert the inspector base class into an extension and have the viewlet manager create new instances of the views now that it doesn't need to support viewlets18:00
hatchcare to have a hangout to pre-imp?18:00
rick_h_hatch: sure 18:00
hatchhttps://plus.google.com/hangouts/_/76cpi6bn708kprean3vnlq1vas?hl=en18:00
hatchrick_h_ http://ci.jujugui.org:8080/job/juju-gui-merge/178/console lol wth18:18
hatchCI is going boom!18:18
rick_h_hatch: grrr18:19
rick_h_hatch: crap, looks like we hit that new connect update. 18:20
hatchhmm, is it versioned? can we switch to back to the old version18:21
rick_h_hatch: not sure, it seems strange. 18:22
rick_h_hatch: this is the good part http://paste.ubuntu.com/7069098/18:22
rick_h_hatch: got a phone call in a couple of min. Will have to look at it in a bit18:23
hatchthis might have been a bug caused by the npm update and re-shrinkwrap18:24
hatchwe should still be using connect 2 :(18:24
rick_h_hatch: yea, not sure18:25
rick_h_hatch: can you see what version we list in trunk?18:25
hatchrick_h_ various versions of 2.x18:27
rick_h_hatch: so that's still listed in the deps file?18:28
rick_h_the 2?18:28
rick_h_"various versions" ?18:28
hatchthere are a few deps which have connect as their deps18:29
hatchso we are running multiple versions of it depending on the dep18:29
hatchdep dep dep depppppp18:29
hatch:)18:29
* hatch lunching18:42
bacrick_h_: i'm continuing to poke at elasticsearch running on staging.  i'm having a hard time getting the interactive queries using curl to work the way i expect.  i suspect i'm doing something silly.18:48
rick_h_bac: otp, can look in a sec18:50
rick_h_bac: how goes?19:10
bachey rick_h_.  chatting with curtis to pick his brain19:11
bacrick_h_: you want to hangout real quick like?19:11
rick_h_bac: cool sure thing19:11
rick_h_shoot me a linky and I'll join up19:11
bacrick_h_: https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.t3m5giuddiv9epub48d9skdaso19:12
hatchrick_h_ did you have a chance to get the merging ci back up?19:34
rick_h_hatch: no, on calls19:35
hatchok np, I've finished the changes I'd make so I was going to push them up, but they include the currently-pending branch as well19:36
rick_h_hatch: k19:37
hatchrick_h_ here is the wip https://github.com/juju/juju-gui/pull/172/files just keep in mind that it includes that other branch in the diff as well19:39
bacrick_h_: fwiw, here is a working query against staging using httpie http://paste.ubuntu.com/7069565/19:46
bacno explain, just a query19:46
rick_h_bac: right cool19:46
bacyes, much nicer than curl19:46
rick_h_:)19:47
bacbut elsec ftw19:47
rick_h_very cool19:47
hatchrick_h_ would you like me to take a look at the ci failures?19:59
rick_h_hatch: looking now. The npm versions are the same for the test run vs the merge rnu19:59
hatchok cool 19:59
rick_h_the error is coming out of the node js http server in the test-server.js20:00
rick_h_which is odd, why would it fail here and not in the test rnu20:00
rick_h_but merge does a make clean-all20:00
hatchsorry I can't offer any input, I haven't looked at how the CI runs since ben and I set it up the first time :)20:01
rick_h_hatch: it's there in the make file :)20:01
rick_h_and the jenkins config20:01
hatchwell...any knowledgable input :D20:01
rick_h_everything you have access to20:01
hatchright, I meant from memory :)20:01
hatchhttps://github.com/joyent/node/blob/master/lib/net.js#L342 so apparently no handle is being created for whatever reason20:15
hatch^ rick_h_ 20:15
rick_h_hatch: think I've got it20:16
rick_h_running a merge right now on my branch to verify20:16
rick_h_hatch: I think the reason is that the address was already in use20:16
hatchhmm20:17
rick_h_http://ci.jujugui.org:8080/job/juju-gui-merge/182/console20:17
rick_h_to follow along at home20:17
hatchlol ok20:17
hatchI'm wondering why the address being in use would cause address to return null and not an error20:18
hatchaddress()20:18
rick_h_because the way it was written. server was not defined20:18
rick_h_server.address() died as it had no handle I'd imagine20:18
rick_h_well, we'll see I guess. maybe I'mwrong20:18
rick_h_no, it's running tests now20:19
rick_h_cool20:19
rick_h_I've updated how it starts the server so the new error is: 20:19
rick_h_events.js:7220:19
rick_h_        throw er; // Unhandled 'error' event20:19
rick_h_              ^20:19
rick_h_Error: listen EADDRINUSE20:19
rick_h_per http://ci.jujugui.org:8080/job/juju-gui-merge/181/console20:19
rick_h_which is a LOT more obvious20:19
hatchcool - that must have been a 'recent' change to the Server class returned from createServer20:19
hatchhaha yes this is a much better way20:20
rick_h_once this branch of mine lands you should be safe to :shipit: yours20:20
rick_h_and then you can redo your pull request for review20:20
hatchyeah I'll wait for this one to land first :)20:21
hatchok queueing up 171 again20:22
hatchugh these http json requests are killing this CI20:34
hatchI bet if we fixed that it would cut the CI time in half lol20:34
rick_h_geeze, it's 4:30?! /me missed where today went20:37
hatchoh yeah you guys are now 2h away from me20:38
hatchguess I'll be lonely for more of the day now :'(20:38
rick_h_some days just don't feel like you moved the needle forward at all ugh20:38
hatchtruth!20:38
rick_h_yay, landed20:40
hatchyay20:40
bacrick_h_: results from staging.  still looking at it.  http://paste.ubuntu.com/7069840/plain/20:43
rick_h_bac: is it just me or is this just a few results?20:46
rick_h_I find score 11 times on there?20:46
rick_h_hmm, total says "384" ? /me is confused20:46
hatchpaste was probably like '5MB? fogetaboutit!!!'20:47
rick_h_no, it looks complete, but 11 results let to 384 in our results? 20:47
jcastrorick_h_, bbcsupermicro is having a hard time deploying a bundle20:59
jcastrowhat's the URL structure again?20:59
jcastrojuju quickstart bundle:http://launchpad.net/~jorge/charms/bundles/mediawiki-simple/bundle20:59
rick_h_bac: so in looking at this it seems like there's something missing. It shows 384 total but only lists 10 here. These 10 are good results though. Scores go from 20 down to 1. I like these results you pasted and wonder if we can ignore the rest like they seemed to21:00
jcastrojuju quickstart bundle:~jorge/charms/bundles/mediawiki-simple/bundle21:00
jcastroalso doesn't work21:00
rick_h_jcastro: checking21:00
bacrick_h_: still looking.  trying to read that file in as json so i can play with it.  not parsing.21:01
rick_h_jcastro: sec, the deploy stuff gives you the specific revision. Looking for a revisionless url. 21:01
rick_h_juju-quickstart bundle:~jorge/mediawiki-simple/5/mediawiki-simple21:01
jcastrough21:02
rick_h_is meant to work for yours from the deploy tab21:02
hatchbac right, it's invalid21:02
jcastrothat's not what the help says21:02
jcastrooh ok21:02
bacthanks hatch21:02
jcastrobbcmicrocomputer, ok so for each bundle21:02
hatchbac json needs the key and value to be quoted with "21:02
bachatch: yep21:02
jcastrobbcmicrocomputer, the GUI has deploy instructions21:03
bachatch: sadly it has apostrophes in the data.  so they have to be sorted out.21:03
* bac sorting it out21:03
rick_h_jcastro: juju-quickstart bundle:~jorge/mediawiki-simple/mediawiki-simple works for me21:04
bbcmicrocomputerrick_h_: jcastro: yep, working now21:05
rick_h_jcastro: so the revision is optional21:05
rick_h_bbcmicrocomputer: awesome21:05
rick_h_bbcmicrocomputer: if you get a sec, put together a pastebin of what you tried and we can look into trying to make that more obvious or better21:05
hatchrick_h_ selenium timeout failure on my branch landing :/ will re-run 21:06
bbcmicrocomputerrick_h_: k21:06
rick_h_hatch: I think that's saucelabs :/ grrr but we know that one self heals at least21:07
rick_h_I've got to run and get the boy from day care. I'll check back in later. 21:07
hatchyeah - I think that the http requests are exacerbating the issue...but whichever  21:07
hatchok cool cya21:07
rick_h_we've got 100s of test runs without issue and about 6 of these timeouts. 21:08
rick_h_it can't be that bad21:08
hatchright - it just seems to break on them21:08
hatchbrb21:08
jcastrorick_h_, out of curiosity did your demo mode thing land?21:17
jcastrobbcmicrocomputer, I'll file a bug with the URLs you tried so we don't lose it21:18
bbcmicrocomputerjcastro: k, thanks21:19
bbcmicrocomputeranyone know how to clear out notifications21:19
bbcmicrocomputeri.e. hide errors from the public :)21:19
hatchoh CI21:37
jcastrohatch, man, that URL gave me an idea21:43
hatchlol which url?21:44
jcastrojuju-quickstart bundle:~jorge/mediawiki-simple/mediawiki-simple21:44
hatchohh21:44
hatchwhat is your idea?21:44
jcastroyou know how we do https://jujucharms.com/precise/mysql/21:45
jcastroas a convenience URL21:45
hatchyup21:45
jcastrowe should just make https://jujucharms.com/bundle/mediawiki-simple21:45
rick_h_jcastro: not yet21:45
hatchas rick_h_ drops the mic and walks away21:46
hatchlol21:46
rick_h_hatch: huh?21:46
rick_h_jcastro: the demo thing that is. 21:47
rick_h_jcastro: fighing too many fires to get to fun stuff :/21:47
jcastroI hear ya brother, today has been brutal21:47
hatchrick_h_ haha, maybe it was only funny to me21:47
hatchjcastro was making a feature suggestion, and you were just like 'no' 21:48
hatch;)21:48
rick_h_hatch: oh, other topic21:48
jcastrothat's ok, I am used to it21:48
rick_h_urls will get cleaned up. 21:48
hatchohh maybe I missed some comments21:48
hatch:D21:48
rick_h_hatch: has seen the url cleaning document21:48
rick_h_it really exists21:48
hatchhaha that it does21:49
hatchjujugui there is a trick to clear only a single domains local storage21:50
hatchdo we remember what that trick is?21:50
rick_h_hatch: go to that domain and in chrome dev tools select all and hit the delete key21:53
rick_h_in the resources section 21:53
hatchoh cool that works :)21:54
hatchwell now I'm totally baffled as to why CI failed21:54
hatch"it works locally"21:54
rick_h_hatch: TimeoutException: Message: 'Function isBrowserSupported not found.' 21:55
rick_h_another sauce timeout issue21:56
hatchyeah that's what that says21:56
hatchbut then this https://saucelabs.com/jobs/e943b4ae667c470d9a20b3aad9db5559 shows an error with onboarding21:56
hatchat 41s21:56
hatchbecause the onboarding had already been closed at that point21:56
hatchI'll re-run the CI but this issue looks odd ot me21:56
rick_h_hatch: yea21:57
hatchyay srcset http://blog.chromium.org/2014/02/chrome-34-responsive-images-and_9316.html22:01
bacrick_h_: better data: http://paste.ubuntu.com/7070257/plain/22:03
hatchjsonified :)22:03
bacrick_h_: with scores http://paste.ubuntu.com/7070290/22:04
rick_h_bac: right, now these are good search results22:04
rick_h_how did you get 300+?22:04
bacrick_h_: dunno22:05
rick_h_bac: so that'll be the next quest. How to get from this to the real result set we're seeing in charmworld code. We're doing something that is getting us all the crud results22:05
rick_h_because this is reasonable22:05
rick_h_bac: now this idn't pdb'd from the source right?22:06
bacrick_h_: yeah, i haven't run against stagin22:06
rick_h_bac: this is a manual search to ES direct?22:06
bacrick_h_: now, it is dumped from staging22:06
rick_h_oh, these results aren't from staging?22:06
bacs/now/no/22:06
* rick_h_ is confused22:06
bacyes, these are from staging22:06
bacthe 300+ are on prod22:06
rick_h_ok, so these are from the ES server directly or pdb'd into the data in the charmworld codebase. 22:06
bacthey are dumped from the charmworld app22:07
rick_h_http://staging.jujucharms.com/search?search_text=rabbitmq-server&op=22:07
rick_h_bac: ^ is from staging doing the query for rabbitmq-server22:07
bacthey are dumped from the charmworld app in the api path.  those results are the GUI path22:07
bacrick_h_: i put a json dump in the _unlimited_search call22:08
rick_h_http://staging.jujucharms.com/api/3/search?text=rabbitmq-server is just as huge22:08
rick_h_and  TON slower than the web ui path22:09
bacinvoked using wget staging.jujucharms.com/api/3/search?text=rabbitmq-server22:09
rick_h_using wget on that url I get 5.8mb of data22:10
rick_h_?22:10
bacrick_h_: so, perhaps that _unlimited_search path is only returning partial results and the output is getting overpopulated elsewhere22:10
baci thought it looked like the right place to dump the data22:10
rick_h_bac: that's what I'm thinking. We're building results and getting a LOT more from somewhere22:10
rick_h_bac: that's why I had mentioned walking the api request for search and checking the path we go through is correct22:11
rick_h_I bet we're hitting something off22:11
hatchbut should we really be returning that much data? we make a new fetch for it when the user clicks anyways22:11
rick_h_hatch: we shouldn't be fetching data when a user clicks. The browser has a cache for that22:12
rick_h_if it does it's a bug, the only thing we fetch are icons22:12
hatchyeah there is a spinner and everything22:12
hatchit looks intentional22:12
rick_h_hatch: if you see extra api requests then it's a bug22:12
rick_h_hatch: well it depends on the tab you're on, but the default summary tab should be right away available from the cache22:12
rick_h_hatch: bug with steps to reproduce then please. 22:13
hatchok maybe I am miss remembering22:13
hatchwill check22:13
rick_h_hatch: rgr thanks22:14
bacrick_h_: we're definitely going through that path.  it is what generates the file i grabbed22:15
bacin response to the /api/3/search hit22:15
hatchrick_h_ ok yeah it's definitely making another request22:15
hatchwill file a bug22:15
rick_h_hatch: cool22:15
bacrick_h_: ah, i see what it is doing.  if there is no limit specified it does two requests22:17
bacthe first one only gets ten results but also has the total number of items.  it then does *another* query for the full set.  i was just dumping the first22:18
rick_h_bac: and that's related to our recent "charm/bundle" keyword support? 22:18
rick_h_bac: ah ok!22:18
rick_h_bac: and ugh, but I'll be curious to see if the scores are on the rest and if we can do something like only return results with a score > .5 or 1.022:19
bacrick_h_: http://paste.ubuntu.com/7070395/22:23
rick_h_bac: so looks like < 1.0 is a good cutoff22:25
baci'd bet the first 19 (scores > 1) all have real reference to rabbitmq-server22:25
rick_h_bac: so this sounds like we had a limit on the code before we updated for the charms/bundles keyword and taking that off got us in trouble. 22:25
bacyeah, ok, i'll run with that tomorrow22:25
rick_h_bac: I wonder if we can either filter where score > 1.0 OR go back to a filter on any search that's not charms/bundles the keyword22:26
rick_h_I like the 1.0 because it's based on real criteria vs arbitrary limit that we must have had in place before22:26
baci'd like to see the code changes for that revision.  i'm not sure the change happened there22:26
rick_h_but the hard coded number limit might be easy/quick fix22:26
rick_h_bac: yea, I know there's been a few branches in there, curious if we could find the diff for it.22:26
rick_h_bac: but think we've got the diagnosis. Thanks for working through it22:27
bac[maybe score > 1][:20]22:27
bacyeah, the misfires were annoying.22:27
hatchyay finally it merged22:27
hatchlol22:27
rick_h_hatch: yay22:28
rick_h_maybe this day will start to look up well after EOD22:28
rick_h_:)22:28
hatchhaha22:28
hatchrick_h_ if you want some reading I have finally been able to update my WIP branch22:28
hatchhttps://github.com/juju/juju-gui/pull/17222:29
hatchthe tests will fail and all that but the code qa's well22:29
rick_h_hatch: isn't going to happen for now sorry. 22:29
hatchok np22:29
hatchit's well past your EOD anyways :)22:29
rick_h_and in the morning I've got to do something to prep for vUDS which I've not had time to get a script together for22:29
rick_h_but I will look at it sometime tomorrow22:29
hatchsure - so what would you like me to work on in the mean time22:30
rick_h_hatch: grab a slack card? Object.observe or something?22:31
rick_h_hatch: or look at safari card if you think it's a 1 day thing22:31
hatchyeah the safari one should be22:32
hatchI'll pick that one - I'd rather stay away from databinding for now ;)22:32
rick_h_hatch: heh ok. Well check that out but if it's going to be 2-3 days leave it be. I don't want to sucked into a black hole over that card if we can help it22:32
hatchyep no problem22:32
rick_h_ty22:33
hatchsafari is so fast22:36
hatchheh22:36
hatchholy smokes filesaver.js is hard to read22:56
hatchrick_h_ ping?23:23
rick_h_hatch: pong23:48

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