/srv/irclogs.ubuntu.com/2013/07/30/#juju-gui.txt

hatchhuwshimi: back - so any q's?00:21
huwshimihatch: Hey00:24
huwshimihatch: I was wondering why you removed the "Y.one('.left-breakout').addClass('with-charm');"00:25
hatchI removed the style too and put the width on the container00:27
hatchbut the root of the reasoning is00:27
hatch...00:27
hatchthe 'render' method of the viewlet is responsible for generating it's own markup, not to influence things outside00:28
huwshimihatch: Ah, I see the width was cached, I just refreshed and it works now :)00:30
hatchexcellent :)00:30
jcastrohey guys11:15
jcastroI am having a hard time finding the URL for the juju-gui11:15
jcastrohttps://jujucharms.com/charms/precise/juju-gui/ doesn't work11:15
bacmorning jcastro.  try http://manage.jujucharms.com/charms/precise/juju-gui11:16
jcastrono I mean for normal people11:16
jcastrolike, the results from google URLs don't seem to work for me11:17
jcastrohttps://jujucharms.com/precise/juju-gui-HEAD/ seems to work?11:19
jcastrohttps://jujucharms.com/precise/juju-gui takes me to the wrong charm?11:19
bacjcastro: yeah, you're right.  that last URL takes you to juju.  i wonder if there is an error in the parsing where the '-' is throwing it off11:21
rick_hyou always have to have a versio number11:22
rick_hthere's a bug in truncating juju-gui without a version number because it wants to think that juju is the charm with a version of -gui11:23
jcastroevery single URL I'm clicking from google is broken11:23
jcastroif I can even find it11:23
jcastroI still don't understand why we broke every single URL11:23
jcastroI mentioned at least 1000000 times that we can't break URLs11:23
rick_hbecause we didn't get around to fixing them all. 11:23
rick_hwe fixed most of them with redirects recently, this one didn't make it. It's still in the 'we need a url for HEAD and what's that to be' mode11:24
jcastroI was assured over and over that these weren't going to break11:24
jcastroand NOW if you search for any service + charm you can think of the #1 hit is github11:24
jcastroexcept for wordpress, which returns the oneiric version the charm. :-/11:24
rick_hyea, we've got a task to work on making the gui crawlable by google in a proper way but it's not been worked on11:25
rick_hthere's a bunch of work to try to make the JS driven site indexable11:25
jcastroI am giving a class today for people to deploy the GUI11:26
jcastroand I don't have a way to link to the instructions11:26
rick_hhttps://jujucharms.com/fullscreen/precise/juju-gui-1/#readme11:27
frankbanrick_h: thanks for your review. IIUC you are suggesting to just add the is_subordinate field to the json file, correct?11:29
rick_hfrankban: correct, I know we were doing some ampping of that field but I think that was old charm model stuff11:30
rick_hfrankban: but for that kind of purpose. Just a sanity check that the json -> model is correct while it's doing this11:30
rick_hfrankban: the field should be in the current json, just has to be swapped to true vs false11:30
frankbanrick_h: aha!, so, rather than changing the charm attr, change the value in data before creating the charm, right?11:32
rick_hfrankban: correct, I think that's a slightly 'better' test in case something in the model/json changes11:32
frankbanrick_h: sounds good, thanks11:32
rick_hbut completely optional/suggestion11:32
* frankban lunches12:00
gary_posterjcastro, (1) the link for the juju-gui readme is https://jujucharms.com/fullscreen/precise/juju-gui-head/#bws-readme . (2) we agree that the links were not handled well.  this was something I cared about a lot as well.  my take is that we did not clearly identify qa and acceptance tests as we should have, but ths is a discussion that the team will have.  we will talk about this friday as a failure that we need to im12:12
gary_posterprove with process for the future.  we are fixing the links, and we fixed a large chunk of them last week.  (3) the search issue has been known for some time, and there's been a blueprint to fix it that was and is scheduled to be addressed in August.  https://blueprints.launchpad.net/juju-gui/+spec/servercloud-s-juju-gui-charmbrowser-search-rankings12:12
gary_posterbenji, any progress on #1206260?12:22
_mup_Bug #1206260: GUI charm does not handle browser cache properly <juju-gui:In Progress by benji> <https://launchpad.net/bugs/1206260>12:22
benjiI'm redeploying now to try again12:24
gary_posterbenji ok.  using ~juju-gui-charmers this time?12:24
benjiyep12:24
gary_postercool thanks benji.12:25
benjigary_poster: wait, let me verify: that is the one you get if you don't use a local charm, right?12:25
gary_posterfrankban something to consider with charm server is that we need to support upgrade12:25
gary_posterbenji, depends on how you deployed.  if you said juju deploy juju-gui you are fine. what deploy spelling did you use?12:26
benjiyep, that was it: "juju deploy juju-gui"12:27
gary_posterbenji, cool, s'good12:27
benjik12:27
gary_posterbcsaller, this is your London sprint spreadsheet reminder :-)12:28
jcastrogary_poster: the thing is we already have google juice for the "pretty" URLs, the /charms/precise/wordpress ones12:43
gary_posterjcastro, I've been checking.  we had (thought we had?) a fix for this deployed last Friday.  I'm looking at in in prodstack configs right now.  I'll ask curtis about it when he gets in (hopefully 17 minutes) and hopefully he can figure out what went wrong, and get it fixed very soon, possibly within the hour if we get IS attention/resources.12:44
rick_hgary_poster: the /charms fix didn't go in because the apache rewrite rule would interfere with the jujugui routing12:45
rick_hgary_poster: that fix has to be made to charmworld itself12:45
rick_hto support the /charms route and lack of a version number12:45
gary_posterrick, this one?12:45
gary_posterRewriteRule ^/charms/(oneiric|precise|quantal|raring|saucy)/([^/-]+)$ /$1/$2-HEAD [L,R=301]12:45
rick_hgary_poster: oh hmm, they had one more general than that I had thought. 12:46
rick_hgary_poster: so nvm12:46
gary_posterrick_h, cool, ack12:46
gary_posterjcastro, rick_h the redirect is deployed.  it works great for wordpress and mysql (e.g. https://jujucharms.com/charms/precise/mysql and https://jujucharms.com/~hazmat/precise/mysql).  trailing slashes and hyphens confuse the redirect.  we will address.  But for now, this is only broken for charms that have hyphens in their names12:53
jcastrogary_poster: I had checked last week too, it just wasn't until I tried to google the readme for the gui this morning when I realized I couldn't find it12:53
gary_postersorry hazmat :-P12:53
gary_posterjcastro, yup, hyphen12:53
gary_posterapache redirects are great for bandaids but are not conducive to automated tests12:54
rick_hgary_poster: ah, makes ense. the rule has ([^/-]+) 12:54
frankbangary_poster: morning. re charm server and upgrade, do you mean changing the gui source option or upgrading the charm? how do we want to handle that?12:55
gary_posterrick_h, yup.  we need to add a /? at the end and figure out a lookahead way to spell "not -\d+"12:55
rick_hgary_poster: yea, was just thinking on that and my brain started hurting with lookaheads :)12:55
gary_posterfrankban, upgrading the charm.  changing the gui source is the same as always, I'd guess.12:55
rick_hjujugui tiny review plaese for bug #1202636 https://codereview.appspot.com/1210204312:55
_mup_Bug #1202636: Charm Details Page Under Providers Change Openstack to HP Cloud <juju-gui:Triaged> <https://launchpad.net/bugs/1202636>12:56
bacrick_h: ok12:56
rick_hthanks bac12:57
gary_posterfrankban, so, if someone upgrades from a charm pre-our-server then everything should still work hen they go from apache to tornado.12:57
gary_posterfrankban, important for jujucharms.com12:57
gary_posterand for long-running gui charms12:58
gary_posterrick_h, I looked and code looked good.  however was worried: test and code showed openstack + hp, but that's not what we are seeing in actual app.  any idea why?12:58
frankbangary_poster: ack. so we will need extra-care when switching from the legacy servers to the experimental one12:58
gary_posterrick_h, sorry I meant in the branch before your changes12:59
gary_posterfrankban, exactly12:59
bacrick_h: code looks good.  i did not QA13:01
rick_hgary_poster: sorry, which test?13:02
rick_hgary_poster: not following. before my changes we showed both openstack and hp? That's correct. That's what we were doing. If openstack tests failed we showed the user that both openstack and HP would not work. 13:03
rick_hgary_poster: now the user will never see 'openstack' in any provider info. 13:03
gary_posterrick_h, if I go to https://jujucharms.com/precise/glance-18/13:04
gary_posterI only see openstack13:04
gary_posternot hp13:04
gary_posterthat's my concern rick_h 13:04
rick_hgary_poster: ah, that's because there was a bug from when huw redid to show passing providers13:04
rick_hthe code previously only showed failing providers13:04
rick_hso the hack to 'make openstack mean both hp and openstack' was only in the model code for failing cases13:05
rick_hgary_poster: that's part of my branch to make it consistent on both passing/failing13:05
rick_hgary_poster: peek at https://codereview.appspot.com/12102043/patch/1/1004 and notice that only the !== SUCCESS did the openstack check before13:06
gary_posterrick_h, cool thanks.  will make trivial suggestion but otherwise cool13:06
gary_posteryeah saw thanks13:06
rick_hgary_poster: rgr, thanks13:06
benjigary_poster: I have reproduced the cache problem and at first blush it looks like the problem simply is that we do not provide any cache control at all.13:11
gary_posterbenji, duped: great!! no cache control: I thought we had ETags?13:11
gary_posterI saw them13:11
rick_hare they just timestamp generated by something in the stack and not actually content generated?13:12
gary_posterwe have ETags in the apache charm config, pretty sure13:13
benjigary_poster: we have etags, but I don't think they imply a cache directive.13:13
gary_posterbenji ok.  sounds like an easy fix then, as I had hoped.  yay!  thanks13:13
gary_posterrick_h, doing qa now13:13
benjigary_poster: I propose we add no-cache headers to the world; shall I create a branch to do so?  How will that interact with the new server?13:21
gary_posterbenji, how does a no-cache header interact with etags?  I want files to be cached but I'm ok with ETag checks.13:23
gary_posterbenji, branch: yes.13:23
benjino-cache means not to ever cache :)13:23
gary_posterbenji, I thought so.  don't want that if we can help it.13:23
gary_posterbenji, new server: let frankban know what we settle on here so he can mimic13:24
benjigary_poster: we can add a must-revalidate instead which I am pretty sure will give us the desired effect now, but I don't know how much work it will take to support in the new server13:25
gary_posterbenji, I know ETags are essentially free in new server13:25
frankbangary_poster, benji: that's also my understanding13:25
gary_posterbenji, +1 on must-revalidate.  should we test for downsides, or consider any?13:26
benjiother than testing to see if it works as expected, I can't think of anything.  I'll do a little research.13:27
gary_posterrick_h, qa bad.  getting you details and suggestions.13:27
gary_posterbenji, perfect thanks!13:27
rick_hgary_poster: ok, thanks for the catch. 13:28
benjibtw: a no-cache across the board doesn't look that bad; we load all resources while the WS is connecting, which takes so long that everything is loaded by the time we connect to the environment (on chrome, on my machine, with an empty cache at least)13:28
rick_hthe problem there is users on slower bandwidth. I demo'd jujucharms.com from a coffee shop and it hung for a nice time. 13:29
gary_posterbenji, also there is no WS on jujucharms.com13:29
rick_hI thought it was broken at first it was so much slower13:29
benjihmm, we might want to have a card about evaluating low bandwidth (or more likely high latency) performance13:30
gary_posterbenji, +113:30
benjiI'll add one.13:30
gary_posterbenji, thanks.  meanwhile, let's keep our cache!  we have some relatively big files13:31
benjik13:31
gary_posterrick_h, gave you details in review.  the changes I give in diff fix qa exprience but, as I'm sure you'll see, will certainly break tests13:33
gary_posterrick_h, feel free to discard, as I said13:33
rick_hah, the links. Doh, and I knew the mismatch would bite us on the back side. 13:34
rick_hgary_poster: thanks, I did a similiar thing just now with the filters as I had msised that those would need to be updated.13:34
gary_posterrick_h, ah cool13:35
rick_hkeep forgetting they're still there :/13:35
sinzuiabentley, bac: I need a mid-implementation review of nagios branch. I'd like some direction about the nagios checks and tests: https://code.launchpad.net/~sinzui/charms/precise/juju-gui/nagios/+merge/17758813:37
bacsinzui: ok13:37
sinzuibac: if you are not familiar with the nagos situation in prodstack, be prepared for a shock13:37
bacsinzui: i know only what you described in raleigh.13:38
* bac dons helmet13:38
gary_postersinzui, we need to adjust our jujucharms redirect regex, ideally this morning--so, asap, but not unduly interrupting anything.  lemme know when you are available to discuss13:44
sinzuigary_poster, I expect to be free in 45 minutes. I foresee any issues updating apache. We just need to know the rules to verify locally and in production13:47
gary_postersinzui, cool.  working on them and will give them to you for verification.  thanks13:47
sinzuiI don't foresee an issues I mean13:47
hatchmorning all, still lf 2 reviews https://codereview.appspot.com/12071043/13:48
gary_posterhatch,  morning, was looking at that back ages ago :-P sorry.  best to find someone else now--booked for next 2.5 hours13:50
hatchno problem :)13:50
gary_postersinzui, I have a call now, so I will describe problem here so you can look at it.  charm names with hyphens do not work properly with the current redirect rules.  this breaks the juju-gui redirect, for instance.  Also, charm names with trailing slashes do not work, but these do not work in m.j.c so less of a priority.  Examples of urls:13:54
gary_posterhttps://jujucharms.com/charms/precise/juju-gui13:54
gary_posterhttps://jujucharms.com/~juju-gui/precise/juju-gui13:54
gary_posterhttps://jujucharms.com/charms/precise/wordpress/13:54
gary_posterwe will need a lookahead assertion for the first problem13:54
gary_posterthis seems to work for me:13:54
gary_posterre.match(r'^/charms/(oneiric|precise|quantal|raring|saucy)/((?![^/]+-(\d+|head|HEAD)/?$)[^/]+)/?$', '/charms/precise/juju-head-57/')13:55
gary_posterI tested that with a variety of options.13:55
gary_posterI think it might mess up the $3 though13:55
sinzuithank you gary_poster13:56
gary_posterthanks sinzui!13:56
gary_posterre.match(r'^/charms/(oneiric|precise|quantal|raring|saucy)/((?![^/]+-(?:\d+|head|HEAD)/?$)[^/]+)/?$', '/charms/precise/juju-gui/') better for groups fwiw13:59
rick_hgary_poster: bac updated the branch per the QA issue gary brought up. Redid the solution a bit. It's both simpler and more complex. https://codereview.appspot.com/12102043 14:15
rick_happreciate another look when you get time.14:15
hatchso I was looking at some of the juju-core code - can you not run Go statements on multiple lines? 8 space indentations?14:15
gary_posterrick_h, if you can get someone else would be great.  busy for 2 hours14:15
rick_hhatch: care to swap some review time please? ^^14:16
rick_hhatch: see the history as gary brought up some issues on the first go-round14:16
hatchmine is shorter - you have to do mine twice14:16
hatch:P14:16
rick_hhah!14:16
BradCrittendensinzui: where is check_ingest.sh?  or is such a check the thing you'd like to discuss?14:16
=== BradCrittenden is now known as bac
rick_hhatch: link me up 14:16
hatchhttps://codereview.appspot.com/12071043/14:17
rick_hold chunk mismatch? boooo now you owe me back since mine at least loads :P14:18
hatchlol14:18
hatchrick_h: little odd that openstack == hp no?14:19
rick_hhatch: no, we run charm tests against three platforms. lxc, ec2, hp cloud. hp cloud is called 'openstack' in testing because that's what hp cloud is running.14:20
hatchohh and ec2 doesn't run openstack?14:20
hatchi thought they did14:20
rick_hno14:20
hatchthey must run closedstack14:21
hatchit's closed source brother14:21
abentleybenji: Morning.14:26
benjigood morning14:26
hatchman I really wish npm cache worked on my desktop14:26
hatchmake takes for friggen everrrrrrrrrr14:26
abentleybenji: re: https://code.launchpad.net/~benji/charmworld/bundle-indexing/+merge/176956 you don't need more than one "approve vote".  Those rejections about unapproved revisions were about the "Approved revision", which is set by twiddling "Status".14:27
benjihatch: have you tried setting it globally: npm set cache-min=999999914:28
hatchbenji: I can try14:28
benjiabentley: good to know; I was very tired of fighting the bot there14:28
hatchbenji: still no luck :(14:29
abentleybenji: It kinda looked that way ;-)14:29
benji:)14:29
bachey rick_h, in the template you call like {{prettyProvider . }} -- how's that work?  '.' is passed as the id?14:29
rick_hbac: yea, it's the current scope atm. You'll see that the before was that already. 14:30
rick_h. == current scoped object which is the provider 14:30
benjihatch: you might look at the results of "npm config list" and see if there is anything odd there14:31
hatchyeah nothing out of the ordinary there either14:31
hatchrick_h: so as long as the providers show up with proper names and are clickable that's a successful QA?14:34
rick_hhatch: yes, the failing qa last time was the broken links on the provider names14:34
rick_hhatch: in qa'ing your branch clicking cancel still puts a service icon on the canvas?14:34
hatchsure it's still not a ghost?14:35
rick_hhatch: but it does that on jujucharms.com so LGTM'ing it I guess. Known bug?14:35
rick_hhatch: yea, but I'd expect a clean canvas as it works now w/o the inspector flag14:36
bacrick_h: sorry, i got dropped out of irc after asking that question.  if you'd answered please do so again14:36
rick_hbac:  . == current scoped object which is the provider14:36
hatchrick_h: yeah it's still a ghost - there will be a 'destroy' button on here somewhere to remove it14:37
rick_hbac: there's some notes on scope in the handlebars docs http://handlebarsjs.com/ search for 'scope'14:37
baccool14:37
rick_hhatch: but why is it there anyway? I cancled the deploy?14:37
rick_hbac: I'm not a fan of using . but just kept it since it was used there already14:37
rick_hthe UX makes no sense to me hatch especially when it's a change from non-inspector behavior14:37
hatchrick_h: ahh according to the wireframe 'cancel' should read 'save'14:37
hatchsee V1114:38
rick_hhatch: huh? drag a charm to my canvas and get save/confirm?14:38
hatchsave/next14:38
rick_hwtf does save/next mean on a deploy step. now I'm really confused14:39
hatchalthough that section has changed in almost every revision of the mockups so who knows what it'll be in the end14:39
rick_hok, well LGTM'd and noted with a wtf carry on :)14:39
hatch:)14:41
hatchyours as well14:41
abentleysinzui: I'm thinking maybe we should disable dynamic mappings for elasticsearch.  Since we specify which fields to search on, indexing an unexpected field does us no good (unless we later decide to expect it).  And it could seriously simplify our mapping (currently 457K, pretty-printed).14:42
sinzuiabentley, +114:43
adeuringsinzui, abentley I added a comment to bug 1199780 -- could you tell me your opinion?14:43
_mup_Bug #1199780: search requests errors when a charm has no last_change <charmworld:Triaged> <https://launchpad.net/bugs/1199780>14:43
sinzuijcsackett, hangout?14:44
jcsackettsinzui: invite on the way.14:48
gary_posterjujugui will come by bundle call asap.  almost done15:01
bacsinzui, abentley: coming to bundle call now?15:02
abentleybac: Trying.  Google hangouts wants me to install the latest version of the plugin.15:02
hatchis this in guichat?15:03
Makyohatch, oops, didn't see your review on Huw's branch.  3 LGTMs is better than 2, I guess.  gary_poster, want me to land that?15:04
gary_posterMakyo, +1 thank you15:04
hatchalready landing15:04
hatchMakyo: gary_poster15:04
MakyoOh15:04
hatchin fact....it's landed15:04
MakyoGood luck.  We're all counting on you.15:05
Makyo\o/15:05
hatchlbox submit -v -adopt15:05
hatchawww yeah15:05
* hatch read the help file15:05
MakyoHaha15:05
* hatch pokes his head in all of the offices trying to find the deployer hangout15:06
Makyohatch, wasn't it part of the invite?15:07
Makyohttps://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.ckc3m4182f9qqffjqh2p259d6k?authuser=115:07
sinzuibac, sorry, 1 script, 2 names. I need to delete/replace one of the scripts. either the hook or the file in scripts15:08
Makyohatch ^^^15:08
hatchthanks15:08
hatchjujugui - lf one more review https://codereview.appspot.com/12071043/15:15
hatchrick_h: fyi - I'm working on the destroying the ghost part now15:19
rick_hhatch: all good15:20
Makyojujugui one more review, please https://codereview.appspot.com/12060044/ Mostly mechanical/policy wrt flags in tests15:34
rick_hMakyo: looking15:34
Makyorick_h, thanks.15:34
hatchMakyo: while you're waiting you can review mine :)15:34
rick_hMakyo: card?15:34
* rick_h is trying to be a good card tagger15:35
Makyorick_h, Down in slack, help tests run in isolation.15:35
aloveExperiencing problems installing juju-gui charm (unit.hook.api INFO: Retrieving Juju GUI release). Get connection timeout to Launchpad15:35
rick_hMakyo: ah, cool to drag to review then?15:35
Makyorick_h, oh, yeah, sorry!15:35
Makyojujugui ^^^  Is there a way to get that to run again?  Maybe upgrade-charm?15:37
alovewill try. using juju v0.7 if that makes a difference. couldn't get juju-core to work (CA certificate error).15:38
alovewhen issuing any juju command15:38
aloveIs there only a cs:precise/juju-gui charm?15:39
Makyoalove, that's the promulgated one, yes.15:40
aloveok. will continue to try with that one.15:41
rick_hMakyo: what was the aversion to after() reasoning? 15:42
rick_hI see comments asking for it but I'm not seeing the thought behind it. 15:42
Makyoalove, you can juju set juju-gui-source=0.8.1 to try to get the GUI release again.15:42
aloveMakyo, thanks for the config tip15:43
Makyorick_h, my understanding was that it maintains hygiene between tests, rather than just between suites.15:43
rick_hMakyo: yea, the hygiene phrasing I don't follow I guess. We don't reset namespaces or modules/etc. 15:45
rick_hMakyo: but cool, just curious15:45
Makyorick_h, yeah, I'm curious about that as well, added a card for discussion, 15:45
rick_hah cool15:45
Makyojujugui call in 10 kanban now15:50
Makyohatch, lgtmd15:51
MakyoWhich sounds like a service.  sudo service lgtmd restart15:52
hatchtypical unix name15:54
hatchabreviate all the things!15:54
hatchjujugui guichat in 315:57
MakyoLGTMSE~1.EXE?15:58
hatchohhh DOS15:59
hatchfile to long...I'll just truncate it for you mkay?15:59
hatchI suppose that's better than linux alowing you to rename files to an empty tring lol15:59
hatchjujugui guichat call now16:00
gary_posterhazmat we need your yaml fix landed today.  want us to do last changes and land it for you?16:05
aloveMakyo, Done - juju set juju-gui juju-gui-source=0.8.116:14
alovefoloowed by - juju upgrade-charm juju-gui16:14
Makyoalove, did that work this time?  No LP troubles?16:14
alovegot - ERROR Charm 'cs:precise/juju-gui-68' is the latest revision known16:14
Makyoalove, okay.  The second step doesn't sound like it'll be necessary in the future, since you're already up to date.  Did the config changed hook work16:15
Makyo?16:16
aloveMakyo, yes. when I do a juju get juju-gui I see  value: 0.8.116:17
gary_posterjcastro, you around?16:17
hatchfrankban: is that your typical daily view? out that big window?16:17
Makyoalove, alright.  Does juju status still show the unit in error?16:17
frankbanhatch: no, I am not in the usual place16:18
hazmatgary_poster, working on it now16:18
aloveMakyo, yes. agent-state: install-error16:18
gary_posterhazmat, awesome thanks16:18
hatchfrankban: ahh too bad, looks like it's a nice view....16:18
frankbanhatch: indeed!16:18
jcastrogary_poster: yo16:19
gary_posterjcastro, hey can you join http://tinyurl.com/guichat for 5 min or less?16:19
jcastroyeah16:19
gary_posterjcastro about all category16:20
gary_posterthanks16:20
adeuringsinzui: when/where is the ornage call?16:21
jcsackettadeuring: not sure about where, but when is after rick_h finishes his call, i think.16:22
adeuringok16:22
aloveMakyo: Just some context. Running MAAS master on Raring, Juju boostrap unit on Raring, Juju-gui unit on Precise. Juju 0.716:23
Makyoalove, I think you should be able to retry the failed hook with juju resolved --retry juju-gui/016:24
Makyojujugui please check me on this.16:24
hatchjcsackett: to QA this branch everything should appear to work as normal?16:29
sinzuiadeuring, https://plus.google.com/hangouts/_/614754f01c23d91c52a3c1bfea258b7f9f8fdc0d?hl=en16:30
gary_posterMakyo, alove yes that would retry.  however, alove it sounds like you are working behand a firewall?16:31
gary_posterbehind16:31
jcastrohey rick_h or gary16:32
gary_posterjcastro, yo16:32
jcastrothose URL rewrites, those are 301 redirects?16:32
gary_posterjcastro,  yes.16:33
alovegary_poster: I am behind FW however have installed packages on juju-gui unit manually from repos successfully. Doing a netstat I can see tcp        0      1 192-168-56-101.clouddomain:52515 launchpad-net.nutmeg.canonical.com:https SYN_SENT16:34
gary_posteralove, yeah that looks like the problem.  you need to get the GUI tarball someplace that MAAS can reach it.  Here's one approach:16:36
gary_poster1) download tarball from https://launchpad.net/juju-gui/stable/0.8.1/+download/juju-gui-0.8.1.tgz to somewhere16:36
gary_poster2) put it somewhere on your network that your MAAS cluster can connect to16:37
gary_posterthat needs to be either accessible via a http or file16:37
gary_posterso16:37
gary_posteryou could put it on the filesystem of the GUI service16:38
gary_posteror you could put it somewhere with a static server accessible16:38
gary_poster3) if you used a url, "juju set juju-gui-soure=url:http://PATH TO TARBALL"16:39
gary_posterif you used a file, change that to url:file:///PATH16:39
gary_poster4) do that retry Makyo gave you ("juju resolved --retry juju-gui/0")16:39
=== schwuk is now known as schwuk_away
gary_posterThat should do the trick, if everything is connected properly16:40
gary_posteralove, ^^^ done16:40
alovegary_poster: Many thanks. I'll give that a go now using the filesystem method.16:41
Makyogary_poster, should I do a quick docs branch with that?16:41
gary_posteralove, cool.  that should have been "juju-gui-source" not "juju-gui-soure"16:41
gary_postertypo, sorry16:41
alovenp16:41
gary_posterMakyo, yes, thank you.  Maybe we should bite the bullet and stick the GUI in the charm too :-/16:42
gary_posteras the default source16:42
gary_posterfor these firewall situations16:42
Makyogary_poster, maybe when we hit 1.0?16:42
MakyoYeah16:42
gary_posterMakyo, yeah, maybe so16:42
benjigary_poster: I've verified that my tweaked charm correctly sends new css/js after an upgrade and it also sends 304 Not Modifieds when no upgrade has happened since the last browser request16:42
gary_posterbenji, yay, thanks!16:43
benjiwe should have some sort of test to enforce this behavior, but I think I can add that to the charm tests pretty easily (especially considering that we're changing servers and my change is an Apache config tweak)16:43
jcsacketthatch: sorry for delay, was OTP. yes, everything should work as before, and should work in rapi mode as well.16:43
gary_posterbenji, that would be great thanks16:44
gary_posterbenji, are you happy with this cache behavior as a sane choice?16:44
benjigary_poster: yep, it should work very well; I am worried about the non-gui servers we depend on though; I believe they do not behave well (jujucharms.com, for example)16:45
gary_posterbenji, how so?  you are afraid that they will mess up our cache headers?16:45
gary_posterbenji fwiw, we still use our charm's apache, but it is fronted with another apache that provides the https16:46
gary_posteron jujucharms16:46
benjinope, I'm afraid their headers have the same problem as ours and changes, to e.g., default and category icons, won't be reflected in the gui16:46
gary_posterbenji, oh! I see, you meant manage.jujucharms.com16:48
benjioh, right16:48
benjiand it wouldn't be the category and default icons it would be the charm icons16:49
gary_posterbenji, ack, I will add card.  actually both are pertinent: we changed default icons too lately (added color)16:49
alovegary_poster: you are a star ... install is now progressing to retrieve Juju API source checkout ... but may have similar problem16:50
gary_posteralove, yay!  but yes, may be an issue.  That's PyJuju, not Juju Core. :-/ um.  lemme know if it does turn out badly and I'll think about it then :-)16:52
alovegary_poster: yep, same timeout problem16:53
gary_posterack, 1 sec16:54
gary_posterok, looking16:55
gary_posterum16:55
rick_hgary_poster: sinzui highest priority todo from here? some url cleaning? mjc download numbers? the routing querystring dumping bug? remove filters from the UX?16:55
gary_posteralove soory, can pay attention after another 516:55
gary_postersinzui, if you have suggestion for rick_h, +1.  otherwise CSS transitions would have big bang for buck for upcoming demo16:56
aloveno problem, appreciate any help but don't worry if you're focused elsewhere.16:56
gary_posterrick_h, can help with desc later16:57
gary_posteralove, four options, none of them particularly attractive. (1) use bzr to branch lp:~hazmat/juju/rapi-rollup locally ("bzr branch lp:~hazmat/juju/rapi-rollup") and copy directory on the gui service machine; "juju set juju-gui juju-api-branch=PATH_TO_LOCAL_BZR_BRANCH"17:06
gary_poster(that's the best one; the rest get bad very fast :-P )17:07
gary_poster2) switch to juju core17:07
gary_poster3) ...I forgot...17:09
gary_poster4) hack charm to make it so that you can have the source embedded and give us the diff :-)17:09
gary_posterrick_h, are you good on goals?  can talk through those.  then going to go get some lunch and talk a walk :-)17:10
* gary_poster hungry.17:11
gary_posterbiab: walk and lunch17:11
rick_hgary_poster: I'm goign to grab food as well. Ping me when you get a sec then as I thought huw was doing animations and had some WiP. Happy to help move that forward though. 17:12
alovegary_poster: I'll try 1) ... tomorrow. Bailing out now (UK!). Thanks to you and Makyo.17:14
alovequit17:15
Makyojujugui docs update for charm re: discussion with alove https://codereview.appspot.com/1212004317:16
hatchgary_poster: we should get some of these for when people can't join us for the sprints http://romotive.com/17:28
hatchwhen a ghost is destroyed should we throw up a confirmation?17:40
jcsacketthatch: i don't think so--the ghost disappearing from the canvas should be sufficient, don't you think?17:52
hatchmy concern is that you go to click 'save' and accidentilly hit 'destroy service'17:52
hatchafter you have spent x time setting your config17:52
hatchbut the ux puts the 'are you sure' message at the top of the inspector...17:53
hatchthe complete opposite side of the button17:53
hatchfyi node-inspector has new authors and is now being updated again https://github.com/node-inspector/node-inspector yay!17:56
rick_hhatch: ah, that's cool. Using chrome remote debugging to hook into a node script?17:57
hatchyup it's been stagnant for so long17:58
hatchfinally been picked up again17:58
hatchI think I'm going to take some developer license and make my own confirmation popup18:00
hatchmaybe that should be in a follow-up though18:01
hatchyeah18:01
hatchoh we have a destroy template already18:03
hatchmaybe I'l use that18:03
gary_posterhatch, romotive, heh +118:31
rick_hI talked with a guy at PyOhio that worked for bump and they got him a tele-robot for a few months to try out. 18:32
rick_hsaid it was more akward than anything, ended up sending it back18:32
gary_posterrick_h, maybe you are right about transitions.  hatch, was Huw going to go back to transitions after you talked with him, or is that something for someone else now?  I thought it was for someone else18:32
rick_hgary_poster: yea, I've been hunting for some docs on animations and coming up empty. I know hatch and I had a chat at one point regarding huw's work on them and a demo someone else had. 18:33
hatchgary_poster: for someone else to tackle - it will require markup/styling/scripting changes to how the browser functions to achieve the desired effect that UX wants cc/ rick_h18:33
rick_hmaybe my google-doc-fu is weak 18:33
gary_posterrick_h, I just think it would be funny :-P .  no guidance on practical18:33
gary_posterrick_h, ack.  looking for firefox demo18:35
gary_posterrick_h, https://dl.dropboxusercontent.com/u/10004366/juju-gui/index.html# has annimations18:37
gary_poster-n18:38
rick_hloading18:38
gary_posterrick_h, animations include:18:38
gary_poster- hovering over tab18:38
gary_poster- clicking on tab (in both sidebar and sidebar + charm positions)18:38
rick_hhmm, no worky here18:38
gary_posterrick_h, FF only18:39
rick_hah, the mixed content was blocked so FF didn't load it18:39
gary_poster- clicking on charm (opens charm panel)18:39
gary_poster- orange bar slide (build/browse)18:39
gary_posternote that the orange bar slide is also used in the inspector so building that one generically would be nice18:40
gary_posterespcially because browse/build might die :-P18:40
rick_hah, ok18:40
gary_posterrick_h, hatch might have more insight.  also if this is not interesting, tell me so.  plenty of other things to do18:40
rick_hgary_poster: it's cool, just peeking over demo. 18:41
gary_posterrick_h, great18:41
rick_hgary_poster: ok to land incrementally? 18:41
hatchthe cool thing about the tabbed slide results is that we can get rid of that tabview....mohohahahaha18:41
* hatch ducks18:41
rick_htabbed slide?18:42
gary_posterrick_h, big +1 on incrementally18:42
rick_hgary_poster: k cool then18:42
rick_hhatch: shush18:42
rick_hgary_poster: I would like to bring up hatch's concerns on that tab vs the previous policies of making the tabs url/direct loadable18:42
rick_has it's costing us in maint. time/effort a bunch lately 18:42
rick_hand wondering how worth it it really is 18:43
* rick_h needs to find a way to avoid 'it it' in the future18:43
gary_posterheh18:43
gary_posterrick_h, unclear on what you are advocating discarding18:43
rick_hright now when you click a tab in charm details the url adds the hash attribute #bws-readme18:44
rick_hthat's caused us to complicate routing and this back button behavior bug that hatch filed18:44
rick_hwe're trying to do two different things. On one hand, each tab is it's own url/resource. On the other, we want to back button and not treat it as so. 18:44
rick_hand now we have to kill that feature in the shared code in the inspector charm details18:44
rick_hthe 'work arounds' are adding up and I wanted to see if we could sit down at some point and re-evaluate it.18:45
gary_poster"we want to back button and not treat it as so": you mean we don't want to back button across tabs?18:45
gary_posterI would guess we do18:45
rick_hgary_poster: correct18:45
hatchI'll be available for a chat whenever if you guys want to discuss18:45
rick_hand we don't want it on the inspector version 18:45
gary_posterwell, the inspector simply can't mutate the url; I'd argue that's a reasonable difference.  but...why did we decide that tabs should not participate in back-arrow?  FWIW, here's my expected behavior:18:47
gary_postereach tab is another url, with an actual url element18:47
gary_posterthey are handled as usual in both back arrow history and everywhere else.  so "/bws_readme" not "#bws_readme"18:48
gary_posterto be clear,18:48
gary_posterI'm not saying that we have to do that now18:48
rick_hgary_poster: ok cool18:48
gary_posterbut if doing that is as easy as other options then that would be great18:48
gary_posterIIUC,18:48
rick_hwell the animatino for the tabs would involve getting dirty in that code18:48
rick_hwhich is why I bring it up 18:48
rick_hbecause we'd probably ditch the YUI TabView we're using and go another route. 18:48
hatchit'll be 100x easier without that tabview18:49
rick_hright18:49
hatchit's just not built for that interaction18:49
gary_posteris the tabview buying us much? relatedly, will replacing it be expensive?18:49
rick_hagreed, ok. Well that helps clear it up. hatch can you update your bug with those notes then? More that tabs should be /tabname vs #tabname and not about back button?18:49
rick_hgary_poster: well it's doing the 'fold content into tab defined, click, fire event on change' stuff for them. 18:50
rick_hgary_poster: so it'd have to be replaced with some sort of more carousel-like widget with the animations but same click/change of display events we use for tabs.18:50
gary_posterrick_h, ack. that sounds pretty basic on the face of it18:52
gary_poster?18:52
rick_hgary_poster: sure thing. We actually had a carousel widget we dropped at the start of the project we could start with. 18:52
rick_hbut ok cool, hatch updates his bug, I'll start poking at the animations. Thanks for the walk through. 18:53
rick_hand the animations demo works under chrome once you ditch https on the demo url :)18:54
jcsacketthurray, the carousel we worked on might not be useless after all.18:54
rick_hjcsackett: woot, now to find it :/18:55
gary_posterrick_h, ok, thanks.  go for relatively quick wins--if something looks doable in a day (start to land), it's worth it.  Otherwise, if something looks not quick, hold off, and maybe file a bug with details?18:56
hatchjujugui does anyone know how I access topology ServiceModule methods from app.views.environment.instance.topo ?18:57
rick_hgary_poster: rgr18:57
gary_posterhatch, I believe's bcsaller's intent is events, or refactor18:57
bcsallerhatch:  what are you trying to do?18:57
Makyohatch, events.18:57
hatchHULK SAYS EVENTS BAD!18:57
gary_posterlol18:57
hatchok but for real :)18:58
MakyoOh for Pete's sake.18:58
MakyoEvents.18:58
rick_hhatch: shush with your lies18:58
hatchthe serviceInspector destroy service needs to hide the service context menu in the environment18:58
gary_posterPete's my neighbor.  he's a history teacher.  He likes events.18:58
rick_hevents good! just need to use events responsibly18:58
Makyohatch, fire the clear events.  Just a sec, Ill get the spe18:59
Makyoc18:59
rick_hhatch: so who's above both the serviceInspector and the context menu?18:59
rick_hit's his job to handle it18:59
MakyoclearState18:59
hatchthere is clearState18:59
hatchahh :)18:59
hatchso fire that from topo?18:59
MakyoYep18:59
hatchwerd18:59
hatchsawlid19:01
MakyoChoice.19:01
hatchway to proper19:02
MakyoTops.19:02
hatchchoice19:02
hatchno caps, no period19:02
hatchtops lol19:02
MakyoNah, pass.19:02
MakyoI just really, really like my shift key :)19:02
* rick_h shakes head at oddness of canadians19:02
rick_hhatch: but when I was getting my car worked on in canada I got to watch canadian news and saw some singer didn't want to tribute your area man19:03
hatchoh yeah don't even get me started on that19:03
rick_hhatch: I yelled at the TV "Hey, I've heard of that sack-a-toon place before!"19:03
MakyoHahahah19:03
hatchI only have expletives and derogatory comments to say about her19:04
rick_hand canadian news should stop hiring so many vampires for their broadcasts. It was spooky19:04
hatchyou were probably watching east coast news19:04
rick_hCBC19:04
rick_h?19:04
hatchnational?19:04
rick_hyea, think it was national CBC. They did weather coast to coast19:05
* rick_h was there a while 19:05
hatchahh yeah I think that's broadcast from Toronto19:05
rick_hthey were talking about "The premiers on lake on niagra" and I thought they were talking about a mo-town band19:05
hatchlol19:05
rick_hends up you guys have "The Premiers"...who knew?19:05
hatchshit now you got me all riled up about her19:07
hatchhaha u suck19:07
rick_hlol19:07
rick_hif it makes you feel better I thought they were talking about a "He". Can't recall the name19:07
hatchhttp://www.torontosun.com/2013/07/26/joni-mitchell-calls-saskatoon-bigoted19:08
gary_posterMakyo, LGTM doc branch with comments.  I say review my changes, adjust as desired, and land.19:10
Makyogary_poster, cool, thanks.19:10
gary_posterbcsaller, hey. sorry for bugging you on the London flight, but we are near deadline.  you on that for today?19:13
bcsalleryeah, I'll finish that up today19:14
abentleysinzui: chat?19:14
gary_posterthanks19:14
sinzuiabentley, sure19:14
abentleysinzui: https://plus.google.com/hangouts/_/60b018b674fa86d972e739a8ffd245d09b882bbf?hl=en-GB19:16
hatchMakyo: bcsaller so the linter doesn't like me using app.views.environment.... from the inspector or from service.js because app isn't defined meaning I have to do a hack like `var app = app;` any ideas of non hacky workarounds?19:31
bcsalleryou pass it down either the method you need or the object19:32
Makyohatch, bcsaller +1  app being global is a hack for debugging that we should, frankly, get rid of.  Ditto yui, I think.19:33
hatchwell we should keep it for debugging heh19:33
hatchok can do that19:33
MakyoWell, alrght.  I think it's easier to debug in the standard breakpoint/callstack way, but that's me, maybe it's easier to have that around for debugging.19:34
hatchhmm nowhere that creates this stuff has easy access to the various components either19:36
hatchpooey19:37
bcsallerwhat is the object that needs access to the topo, its not created under the env view?19:38
hatchI'm pretty sure I have it19:38
hatchI just like to blab19:38
hatchok so there is one issue19:44
benjithese charm tests sure do take a while to run19:49
sinzuigary_poster, the redirects are live19:49
gary_posterawesome, thanks sinzui!  what did you add?19:49
sinzuigary_poster, this MP has the links we checked https://code.launchpad.net/~sinzui/canonical-is-charm-configs/hyphened-charm-redirects/+merge/17766519:50
sinzuigary_poster, your re + a variant to support users.19:50
gary_postercool sinzui.  the last 2 examples from qa list are not working for me.  Trying all...19:51
gary_postersinzui, yeah they all work except for last two19:52
gary_posterdo you see the same?19:52
sinzuiI got a redirect for both19:53
sinzuiI was directed to https://jujucharms.com/precise/juju-gui-HEAD/19:53
gary_postersinzui, confirmed, thanks!  I think I was hitting the cacheing bug that benji is fixing.19:54
gary_posterI just had to reload19:54
sinzui:)19:54
gary_postersinzui, I saw https://rt.admin.canonical.com/Ticket/Display.html?id=63590 .  is this a big problem or a quick fix or we don't know yet?19:57
hatchgary_poster: can you pull my branch down and create/delete some ghosts/services to see if you agree with my engineering-license wrt the destroy service alerts lp:~hatch/juju-gui/deletable-ghost19:57
gary_posterlol yes hatch on it19:57
hatch:) thanks19:58
gary_posterhatch +1 pretty scroll.  I don't care for the UX they gave for this but let's run with it for now and see where it goes.20:02
gary_posterthank you!20:02
gary_posters/scroll/animation/20:02
hatchexcellent thanks - I'll now fix the tests20:03
hatchand propose20:03
sinzuigary_poster, I have a fix, but it introduces a fault I need to chase down20:04
gary_postersinzui, ack.  would be curious about details sometime.  maybe discuss at IoM.20:05
sinzuigary_poster, This is the my MP with with m_3's report of failure: https://code.launchpad.net/~sinzui/charms/precise/mongodb/restore-from-dump/+merge/16540820:09
gary_postersinzui, :-/ gotcha20:10
* hatch lunching20:12
gary_posterbcsaller, my EoD is coming soon.  lest I forget, if you get the conflict resolution code landed today, could you send an email to Huw to get him to style it?20:47
bcsalleryes, I will do that 20:47
gary_posterbcsaller, alternatively, if it is not landed but you don't expect big changes, you could send him the branch20:47
gary_postercool tjank you20:47
gary_posterthank20:48
bcsallerthanks20:48
hatchjujugui Looking for two reviews and a QA on https://codereview.appspot.com/12050049 plz and thanks22:38
hatchBueller..........Bueller......22:39
bcsallerhatch: taking a look now22:40
hatch:D thanks22:40
huwshimiMorning23:02
hatchmorning huwshimi23:04
hatchI landed your branch this morning23:04
huwshimihatch: Oh thanks23:05

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