[00:08] hey rick_h_ [00:09] bac: howdy [00:09] i've gotten most things integrated and working. may need to bug you in the morning to work out why the heights aren't what i expect. [00:09] bac: sure thing [00:09] the charm panel has very tight specs for those sizings [00:09] ping me when you get in and we can run through it. [00:09] bac: k [00:10] rick_h_: it is here if you're curious lp:~bac/juju-gui/hookup-resizing-textarea [00:10] the single line inputs in the charm panel have to be 28px tall. it took some weird tweaking to get them there [00:11] bac: yea, I think that's what that single input height was for. To kind of 'check' how tall each line of text should be [00:11] bac: I'll try to look at it in the morning and see [00:12] rick_h_: i changed single_line to be either falsy or to take a height. the LP version used 1em hard coded [00:12] rick_h_: have a good night. [00:12] bac: you too [01:35] * hazmat watches gary_poster fill up the inbox in real time [01:35] :-) [01:36] thanks [01:36] welcome (glad it is a good thing; was a bit worried about subscribing juju-gui but thought it was appropriate) [01:38] oh, is that why I'm getting dupes? [01:38] ok, thought I had done it wrong when I sub'd to everything [01:50] sorry rick_h_ [01:50] gary_poster: no, all good. Was curious checking if they were new ones I missed/etc [01:50] :-) [01:50] I added three [01:51] added juju-gui for those [01:51] cool [09:31] morning rogpeppe [09:32] frankban: hiya [09:32] bug 1160971 seems fixed, I attached the script used to dupe it, now it works well, do you want me to mark it as fix release in juju-core? [09:32] <_mup_> Bug #1160971: WebSocket disconnects when an invalid request is sent [09:33] frankban: cool. i thought it probably was but your pastebin has disappeared so wanted to check with you [09:33] frankban: it's incredibly annoying that pastebin has lost everything [09:33] rogpeppe: yes, it's not a reliable tool for this kind of things [09:34] frankban: tbh i think they have a responsibility to keep all the pastes around [09:34] frankban: they're a specific kind of history and really quite important [09:36] rogpeppe: I agree, IIRC there was some discussion in some ml about this issue. [09:37] rogpeppe: anyway, marking it as "fix released" if you agree. [09:37] frankban: in particular a lot of IRC discussion logs will be less useful without the pastes [09:37] frankban: sgtm [09:39] rogpeppe: cool. oh, and congrats for your spotlight award, you deserved it! :-) [09:39] frankban: thanks! [09:39] frankban: you guys have been awesome too [09:40] :-) [11:42] anyone know what the config is on the charm to not have it ask for the password? I'm not seeing a config option for that. [11:46] rick_h_: as far as I can tell if you deploy to py-juju and set "staging" to true in the config, then it shouldn't request a password [11:47] benji: cool, /me goes to try [11:48] cool though, first time I've deployed juju-gui and into an environment with our charmworld stuff [11:49] sweet https://ec2-54-224-200-253.compute-1.amazonaws.com/bws/fullscreen [11:50] gary_poster: so this is a juju-gui using svg image links back to charmworld serving the svg image files working. [11:50] gary_poster: still no gzip, but I think it works out well [11:52] thanks benji, worked [11:52] cool [11:52] <3 using uistage to look up charm config options and descriptions lol [11:52] dogfooding! [11:52] :) [12:09] rick_h_, yeah, way better! [12:10] gary_poster: I think so. I'll bring it up in our stand up for review from others and then we'll see about breaking the work down into backend/front end cards [12:10] cool [12:11] and this has the charmworld server doing the correct trimmed OPTION request, so 231B pre-flight with 158K of data [12:11] so much better than over 1M [12:12] cool, rick_h_. If you cache for switch between full and sidepanel then I think that will be a pretty good resolution [12:12] I mean, the combined package [12:12] gary_poster: right [12:14] rick_h_, so is that instance trunk, or a custom branch of yours? I could update the sandbox version and then we could have this behavior on the demo if you want--and the sandbox will make it feel asnappier also [12:15] gary_poster: it's a custom branch of charmworld and juju-gui that just implemented a quick hack to proof it out [12:16] rick_h_, ok cool [12:16] gary_poster: so we have to go back and add the feature to charmworld, with tests, etc. and the front end [12:16] I actually really like this 'create a branch, hack feature in, launch charms, point at hack branches...test' [12:17] really kind of cool to A/B ish feature test [12:17] add feature and tests: yeah, understood rick_h_ . Is that a "by the end of this week" thing, if it were prioritized, do you think rick_h_ (understanding that it might not be prioritized and your estimate might be wrong and la la la la) ;-) [12:18] rick_h_, cool to test with: agree. lightweight deployment is very nice. makes me want it even more lighter weight :-) particularly for iterative development and testing [12:18] gary_poster: I'll ask in the stand up. I think since it can make the demo better it will be my/abentley's goal for today, but not sure [12:18] cool [12:19] gary_poster: I do need a hand from someone in debugging an issue I've got that only shows in prod mode. however, when I try to run make prod I get 404's vs the app [12:19] huh [12:19] gary_poster: just at some point today if someone is experienced in how prodmode is setup/diff [12:19] rick_h_, yeah I know that. now's about as good time as I'll get. If we can't figure it out quickly I can hand it off [12:19] https://bugs.launchpad.net/juju-gui/+bug/1175183 only happens in production mode, but running that locally would 404 when I go to 127.../bws/fullscreen and such [12:19] <_mup_> Bug #1175183: Filters checkboxes should not act as radio buttons [12:19] I mean, I know about that [12:20] ah [12:20] yeah [12:21] prod mode is simply dumber atm, in that the backing webserver can't serve index.html from arbitrary urls [12:21] so quick hack: [12:21] merge your "charmbrowser defaul" branch and debug [12:21] ah, gotcha. makes sense. [12:21] alternative, maybe quick hack: [12:21] thanks, will do [12:22] look at devel and try to switch that to serve prod temporarily [12:22] cool [12:36] benji, if you want to talk about memory, I have about 10 or 15 [12:36] gary_poster: sounds good. the regular place? [12:36] sure benji [12:39] hi rick_h_, thanks for your email and explanation [12:40] rick_h_: upon further investigation i did see that the fields on the charm panel have a line-height and height of 18px, so it is working just fine [12:40] bac: np, thinking it's the generic css rules from input -> textarea getting in the way if I'm lokoing at the right spot [12:40] rick_h_: and those are the ones we're trying to match [12:40] bac: yep, that's what I was going to add today. I missed putting line-height in those css notes [12:40] so font-size, line-height, padding, border all come into the combined height you end up getting [12:41] rick_h_: there is a problem with the service settings page, though. if you still have my branch could you add haproxy and then look at http://localhost:8888/:gui:/service/haproxy/config/ when you have time? [12:41] bac: I can pull it back down. give me a few. [12:48] bac: ok, loaded and on that url [12:48] so if you look down at service, one of the last ones [12:49] k [12:49] bac: ok, so this should be opened up? [12:49] rick_h_: you'll see it is a single line, though it is populated with multi-line data. a keypress in there will cause it to expand [12:49] righto [12:49] k, /me goes and looks at code/etc for a bit [12:50] i'm stepping through the resize() method called at the end of the initializer now. that is where it is supposed to get expanded [12:51] bac: right, but in resize it checks for single_line and trumps the height in that first if condition I'd expect [12:51] rick_h_: ah, i think maybe _prev_scroll_height should not be initialized to 0 [12:52] rick_h_: i see this behavior whether using single_line or now [12:52] not [12:52] bac: so this was built to work with the inline editor such as the bug title, so that a single line would expand only when you were editing [12:52] rick_h_: funny thing is it works in charm panel when using single_line [12:52] in this view it does not work either way [12:52] bac: k, looking [12:57] ugh, multi dispatch FML. Goes through this debug code so many times [12:58] bac, what view is doing the initial work here? loading plugging the textareas? [12:58] bac: actually, want to chat for a second? [12:59] sure [12:59] bac: looks like the normal hangout is taken, sec [12:59] k [13:00] bac: https://plus.google.com/hangouts/_/439096b6bd109b21f6137274b06438e42739fdb0?authuser=0&hl=en [13:38] rick_h_, I think I LGTM'd everything from Huw [13:38] thanks gary_poster [13:39] welcome [13:44] hi gary_poster -- the integration with the resizing textarea is going well. it works in the charm panel but is not happy in the service settings view. rick and i know what's going on and i'm chasing it down. [13:44] awesome bac! [13:44] thanks for heads up [13:55] bac: after I cleared my browser 100x I did get it to hit those debuggers but the Y.Array.each wasn't seeming to get hit. [13:55] rick_h_: similar here [14:02] bac: bah, you don't need to Y.Array.each a nodelist, you should be able to just do view.tareas.each(... [14:02] rick_h_: i'm confused. when the break point hits, view.tareas is an array with 12 elements. the breakpoint inside the .each never hits, though [14:02] bac: if you get a sec try that. If not I'll give it a go after I get this stuff landed for huw [14:06] rick_h_: that works if you do tarea.resizingTextarea.resize(); -- the plugin must be included [14:06] bac: ah! awesome [14:07] bac: so at least a hack can make it work then. Might check with hatch or someone more up on showView() to see if there's a better place to hook into. A 'rendered' event or something. Otherwise, this gets around the issue at least [14:07] whaaaadauuupppp [14:08] hey hatch [14:08] beetlejuice ... beetlejuice ... [14:08] BEETLEJUICE!!!!!! [14:09] so in services.js views.service_config there is a container that i'm using to add the resizing textarea plugin [14:10] hatch: all well and good, but that container has not yet been added to the DOM, so the initial size computations are all zero [14:11] hatch: I couldn't figure out how/when showView() from _buildServiceView() actually put the thing in the DOM [14:12] hatch: in app.js, so we put some hack code into the callback for post-showView() but feels hacky [14:12] hatch: http://paste.ubuntu.com/5625996/ [14:13] * hatch creates a card for everyone to use gist.github.com so we can have editing and syntax highlighting [14:13] ;) [14:13] hatch: replies! [14:14] paste.mitechie.com :) lodgeit ftw [14:14] sorry I had to run and take the garbage out....not that it mattered I missed the damn truck [14:14] gists are mini git repos, nothing beats that :) [14:15] bac: rick_h_ so that's how you're supposed to do it - th eonly change I would do is have a method you call in the view to do that each() [14:15] hatch: yea, makes sense. view.fixTextAreas() [14:15] haha - well....instantitateTextAreas :P [14:16] view.inTheDippyDomNow() [14:16] :P [14:16] view.lickyBoomBoomDown [14:16] view.informer [14:17] view.blam [14:17] name that song! first person wins 1 internet [14:20] no, not Snow, anyone but Snow [14:20] lol [14:21] that just makes me want to start 'ice ice baby'ing around the house [14:21] rick_h_, hatch: yeah perhaps we should not attach the plugin until after showview [14:21] I'll take two Vanilla Ices (Icies?) over Snow [14:21] bac: or that. [14:21] http://www.youtube.com/watch?v=NtILxBszyf8 [14:21] Especially now that he is a general contractor with a renovation TV show [14:21] I want those sunglasses [14:21] lol [14:22] benji: haha really? [14:22] yep [14:22] who saw that career change coming? [14:23] hatch: https://www.youtube.com/watch?v=IrNiiNRCvYo [14:23] vanilla ice !== snow :) [14:24] oh [14:24] sorry too early [14:24] missed the convo changing tracks [14:24] :) [14:28] jujugui - has anyone looked into these CI failures? I think this one is fixable [14:29] hatch, I tried yesterday. sent email. [14:29] 2013-05-02 14:27:27,704 DEBUG openstack: 400 '{"badRequest": {"message": "Can not find requested image", "code": 400}}' [14:29] oh woops sorry I'm 100+ behind in my emails [14:29] hatch, we must fix it. make distfile might be broken? [14:30] possible, I'll grab my laptop and log into it [14:30] see what I can do to fix it [14:32] hatch make distfile works on trunk. this is on charm apparently. do you know where to find the right image numbers offhand? [14:32] if you can fix CI, teknico is looking at broken charm [14:32] isn't that euca-describe-images or something [14:32] was just looking it up [14:32] hatch something like that but then you have to know which one to choose of a zillion [14:33] I'll pick the one with the coolest name [14:33] heh [14:33] honestly I was going to see what the old one was and try and find something similar [14:35] gary_poster, hatch, teknico: it seems that make distfile is broken in trunk: http://pastebin.ubuntu.com/5626062/ [14:35] oh ok [14:35] frankban, worked for me after make clean. maybe make clean-all is necessary to trigger [14:36] gary_poster: oh, trying [14:38] ok well if you guys are on it i'll get back to gui stuff [14:38] gary_poster: still an error [14:38] hatch, multiple problems [14:38] hatch if you can fix image name that would be fanulous [14:38] fabulous even [14:38] (make clean-all && make distfile) [14:39] ohh ok [14:39] frankban, weird. I got a fresh branch and WFM. Raring, yeah? [14:39] gary_poster: FYI manage.j.c is updated with fixes to the OPTIONS request and gzip is now enabled so tinyurl.com/jujucharms should hurt less. [14:39] gary_poster: yes, trying on a branch [14:39] frankban, and the failure was the same as before ? " bin/py: File removed before we read it" is weird error [14:40] gary_poster: yes [14:40] rick_h_, awesome thanks. once fires are out I'll also update tinyurl.com/jujucharms [14:46] hmm I cannot remember how we specify the image to use [14:46] hatch in ~/.juju/environments.yaml [14:47] ohh right right [14:50] umm....image id's are in the format aXi-XXXXXXXX - the one in the env.yaml looks like a hash of some type [14:51] or am I missing something here? [14:51] gary_poster: it was a local problem: bin/py broken symbolic link in my trunk branch, not removed by make clean-all [14:51] frankban, ah ok cool. [14:52] so as far as images go - do we want 64bit raring? [14:52] hatch no [14:52] we want 64 bit precise [14:52] or stay with 12.04? [14:54] does anyone have any idea how that id got changed? [14:54] hatch 12.04 [14:55] hatch the id changed probably because they have improvements to the image [14:55] newer sources [14:55] that sort of thing [14:55] no I mean they aren't even in the same format [14:55] the one in our env.yaml is a huge hash [14:55] not the format of the image id's [14:56] hmph who knows I'll keep it just in case [14:57] hatch, sorry, trying to get over at the machine to look. have a call in 3 [14:57] and was just off another call [14:57] sure np - I am just looking through the list of images [14:57] I think we want ubuntu-released image? [14:57] sounds like it would make the most sense :) [14:58] yes hatch I think so. Although if it has "smoser" in the name it is fine too I think [14:58] there are those too but they are further down - I'll try this one for now [14:58] ok [15:00] ok id updated and new build kicked off [15:00] really wondering how that id got changed [15:05] hmm now it's saying invalid image ref provided [15:05] hatch http://10.189.74.2:8080/job/jujugui-test-charm/385/console [15:05] I'm confused... [15:05] not good image [15:06] ok will try the smore one [15:07] here are some charm changes, I'd like a few eyes on it, possibly frankban's, and bcsaller_'s when he's around: https://codereview.appspot.com/9121043/ [15:07] I even did a pre-review of sorts to help you out :-) [15:07] kicked off build again [15:08] teknico: will do [15:08] frankban, thanks [15:09] ok invalid image ref again...it must not like the id format [15:09] so I need to somehow associate the id in the euca list to some hash? [15:10] according to the canonistack documentation it's the proper ID format [15:11] checking in #canonical-support [15:12] orr..... matsubara you around? [15:12] hatch, yep [15:13] so we started getting these errors last week [15:13] DEBUG openstack: 400 '{"badRequest": {"message": "Can not find requested image", "code": 400}}' [15:13] and when I view the environments.yaml file the ID is a large hash [15:13] but when I change it to a proper ID it gives me an invalid ref id [15:13] ERROR Unexpected 400: '{"badRequest": {"message": "Invalid imageRef provided.", "code": 400}}' [15:13] hatch, deploying on canonistack? [15:13] yeah [15:14] so it's like it's expecting a large hash ID not the one that's in euca-describe-images [15:18] hatch, can you deploy locally from your laptop? [15:19] I can try [15:19] but I'm going to guess no [15:19] heh [15:21] that also has the large hash i'd [15:21] ids [15:21] I can't remember where those came from [15:21] but no - can't find the requested image [15:21] hatch, sorry, got disconnected. I think smoser knows the id to use. maybe ask on #is? [15:22] ok so it doesn't follow the canonistack documentation on wiki any more? [15:22] the id's from euca-describe-images aren't valid? [15:23] ok I asked him [15:24] hatch, this is in the env.yaml file for the charmworld project: default-image-id: bb636e4f-79d7-4d6b-b13b-c7d53419fd5a [15:25] yeah same we have [15:25] which doesn't work [15:25] hey hazmat. https://blueprints.launchpad.net/juju-gui/+spec/servercloud-s-juju-gui-read-only-for-is is the blueprint. It is for juju-gui. I think you need a juju-core blueprint. That will be one that GUI follows [15:25] I think I should try to delet the gui one [15:25] e [15:25] gary_poster, ack, thanks [15:28] hatch, might be a problem on canonistack itself [15:28] just got an id - and an explanation as to what's up [15:28] so /me happy [15:28] cool [15:28] noooooooooo bug in yui makes me sad...well at least lack of support [15:29] which bug? [15:29] hazmat, I was wrong: https://blueprints.launchpad.net/juju-core/+spec/servercloud-s-juju-core-role-based-access-control [15:30] have at it :-) [15:30] gary_poster: jenkins is about to shut down so when it's back we'll see if this new ID works...and I also found out why there is a discrepecy and will update the documentation [15:30] hatch: working on it. Looks like it has two query string parsers. One in http://yuilibrary.com/yui/docs/api/files/app_js_router.js.html#l994 [15:30] hatch: and the query string module itself [15:30] hatch, and can you also document what to do in the future when this happens? :-) [15:30] rick_h_: keep in mind we have totally bastardized that router code :) [15:30] hatch: the one in the router code is dumb and can't handle querystring: "category=databases&category=file_servers& [15:30] gary_poster: definitely - I was getting frustrated hah [15:30] where a key is in there twice to turn into an [] [15:30] :-) cool [15:43] rick_h_: that's because query strings with multiple of the same keys are technically invalid :) [15:44] hatch: but but but [15:44] hatch: it works in dev mode :P [15:44] haha no I agree it's a commonly used feature [15:45] hatch: only fails in production so building tests against Y.QueryString and Y.Route atm [15:45] oh really? that's interesting [15:46] hatch: http://jsbin.com/efofol/1/ [15:47] hatch: so for some reason in dev it's using Y.QueryString but in production using Y.Router._parseQuery and thus breaking my filters [15:47] hatch: anyway, will ahve to find some way to cheat it when I get back from lunch. bbl [15:48] ohhhhh [15:48] now I see what's going on [15:50] juju kanban now please [15:50] jujugui I mean [15:51] bcsaller, any idea when your branch might land? if soon I will wait to update tinyurl.com/jujucharms [15:53] gary_poster: I pushed a number of updates a minute ago, I think I if I could get a second review on https://codereview.appspot.com/9070043/ I'm ok with it as an intermediate step [15:54] bcsaller_, cool, let's rustle someone up on the call [15:54] redoing the propose now [15:55] gary_poster: did you ever get it to work in practice? [15:55] bcsaller_, aigh! no! doing now. [15:58] bcsaller, lol that's *awesome* [15:58] heh :) [15:58] bcsaller_, I will have to do a live demo on call :-P [15:59] bcsaller_, qa: cannot add or remove relations to imported bits [16:00] maybe fixed [16:00] but just pulled [16:00] oops [16:00] jujugui call nowq [16:00] gary_poster: yeah, should work now [16:05] jovan2: i'd like you to look at the expanding textareas. i have an instance coming up at http://ec2-50-19-207-147.compute-1.amazonaws.com and it will be available soon [16:05] https://codereview.appspot.com/9070043/ [16:06] bac: sure [16:12] bac: pwd? [16:12] Makyo: congrats! [16:12] Thanks :) [16:15] I found out this morning we made a couple of the local papers, too, since it was the first day. :P [16:16] jovan2: trying to get it [16:18] bcsaller_, frankban, thanks for the reviews! [16:23] LF review for doc update https://codereview.appspot.com/9124043/ [16:24] hatch, maybe mention how to choose the ids? look for precise, and...? [16:24] now that the CI is back up we have failures in IE [16:24] :-( [16:24] gary_poster: adding [16:24] thanks [16:27] gary_poster: proposing [16:28] hey rick_h_, could you look at the above ec2 url? [16:29] updated [16:31] * bac lunches [16:33] gary_poster: "the Juju API cannot accept a websocket directly (it expects to have to upgrade it)" [16:33] gary_poster: what does that mean? [16:34] rogpeppe, it may be no longer relevant, Where is that? on call [16:34] gary_poster: it's from servercloud-s-juju-core-role-based-access-control [16:37] rogpeppe, could you delete? not relevant [16:39] gary_poster: ah actually - i'd missed the fact that that comment was talking specifically about py juju [16:39] gary_poster: so probably still relevant [16:39] yes === matsubara is now known as matsubara-lunch [16:48] bac: did you test your textarea stuff in IE? it looks like it's breaking the CI [16:48] sorry... :) [16:57] hatch, It hasn't landed yet, has it? [16:58] the video shows a 'textarea' suite failing [16:58] Was it landed as separate branches, then? [16:58] I can't seem to stop the video to see what the title actually says [16:58] I have no idea [17:16] hatch, some of it landed a while ago [17:16] specifically some standalone plugin tests [17:16] IIRC [17:17] the new branch actually integrates it [17:17] ohh ok - looks like it's those tests which are failing in IE [17:18] bac, LGTM with comments plus fixing the IE tests from previous checkin [17:21] benji did you run the charm tests when you landed? teknico reported that tests were broken in trunk [17:23] frankban, LGTM. Did deploy tests also fail for you? [17:24] gary_poster: not tried, teknico said they were failing in trunk, I suggested to handle that in another card. I can check it tomorrow [17:24] ok thanks frankban. have a good evening [17:24] gary_poster: you too! [17:30] bcsaller_, I still cannot add or remove relations on imported services with tip of your branch [17:31] gary_poster: yeah, I loaded the charms so I thought it would work, I'm looking at that now, very odd error [17:31] this.db.charms.get('id') [17:31] ["cs:precise/memcached-6", "cs:precise/wordpress-14", "cs:precise/mysql-19", "cs:precise/mediawiki-8", "cs:precise/haproxy-17"] [17:31] app.db.charms.get('id') [17:31] ["cs:precise/memcached-6", "cs:precise/wordpress-10", "cs:precise/mysql-16", "cs:precise/mediawiki-6", "cs:precise/haproxy-16"] [17:31] where 'this' is the fakebackend [17:31] that's a lot of smiley faces [17:32] hatch: you have a very expressive IRC client [17:32] yeah it even does inline pastebins, images, and autoresolves tinyurls [17:34] bcsaller_, weird...so fakebackend is not honoring the service revision [17:34] bcsaller_, maybe it can't honor it? [17:35] gary_poster: or they are pulling from the old and the new sources [17:35] bcsaller_, because the charm store only offers current versions? and so the solution is to reconcile? [17:35] on the service [17:36] bcsaller_, I think that is it: line 325 of fakebackend [17:36] this.get('charmStore').loadByPath( [17:36] charmIdParts.charm_store_path [17:37] if you go get that json... [17:37] I suspect you're correct [17:40] bcsaller_, yup: http://jujucharms.com/charms/precise/wordpress-10/json (look for store_revision and compare with url) [17:40] or store_url for that matter [17:41] the the imports are not going be the current version much of the time anyway [17:41] yeah [17:41] arguably would be more reliable if they were [17:41] but its not quite like pinning a package version [17:41] in terms of backwards compatibility [17:42] it kind of should be [17:42] within a series the assumption has been that current == best [17:42] no guarantee that config will be the same across revisions, or relations, or... [17:42] but that's not an option right now anyway [17:43] I think we ought to continue to ask for what the import specifies, but update the service to the charm we actually get and hope for the best [17:43] yeah, npm styled specs in the charm for revisions might be nice some day, an export format that could say charm: "cs:precise/wordpress >= 10" [17:43] yeah [17:44] I can do an inplace upgrade for now, yeah [17:44] cool [17:49] bcsaller_, the new promise code is not working in fakebackend. charms are being loaded because of the GUI side endpoints code [17:50] bcsaller_, to demonstrate put breakpoint in line 1253 (if (s.name && !s.id)) in fakebackend [17:50] bcsaller_, s.id is always set [17:50] so _promiseCharm never called [17:50] at least with sample-fakebackend.json [17:51] is this something I did? [17:51] hmm, sounds like I've got some digging to do [17:51] I saw promise and charm [17:51] hatch no, all's good [17:51] alright [17:51] hatch: no :) [17:51] * hatch goes back to his cave :) [17:51] heh [17:52] gary_poster: I've updated the tests to check that the charms are loading, and those are passing, not sure how much of that I changed since the last push, but I'll verify what you're seeing [17:52] ok cool [17:53] ha, well, the initial demo is cool anyway ;) [17:54] :-) only small bugs bcsaller_ , no biggie [18:00] gary_poster: (back from lunch) I can't say I specifically remember running the tests, but I would hope I did. [18:02] heh [18:04] benji, looks like it was bad and it may be worse: just got a report that the charm is now broken, possibly after teknico's commit. Could you join me on guichat and we can work together for a bit? This is an emergency (and our process surrounding the charm is a big lose, obviously :-( ) [18:05] gary_poster: sure, be right there [18:05] thx [18:23] gary_poster: whenever you have a moment if you could QA and review https://codereview.appspot.com/9132043/ that would be awesome :) [18:23] sorry it's a rather large diff [18:24] well....lots of files [18:24] oh poo [18:25] for some reason it didn't diff against the most recen't trunk [18:25] ill try again [18:25] hatch ok ping when ready [18:29] gary_poster: ok it's done [18:33] hatch: jcsackett or sinzui can I get some +1s on a 1 line change that took a day to figure out please? https://codereview.appspot.com/9101043 [18:33] oops [18:33] well I guess it still works [18:33] woah woah woah....false advertising [18:33] that's clearly a 6line change [18:34] comments don't count :P [18:34] haha [18:34] I should get bonus points for avoiding explitives in my comments :) [18:34] I don't think the description matches the fix though? [18:35] rick_h_, Thank you for the explanation for the zaniness [18:35] ? querysting listed before juju-gui in the use() block? [18:35] hatch: how so? [18:36] maybe I'm missunderstanding them "it looks like perhaps there is some extra render going on..." [18:36] should the description not reflect the fix? [18:37] hatch: ah, right forget that [18:37] that was the "oops' [18:37] ohhh [18:37] I had taken a first stab at the fix the other day [18:37] and used the same branch name on accident [18:37] ahhh [18:37] ok lgtm'd [18:38] thanks === matsubara-lunch is now known as matsubara [18:39] rick_h_, I added my LGTM. I think you are free to land [18:39] sinzui: thanks [18:48] gary_poster: I'm getting test failures, but I think they are a local problem: [18:48] WebDriverException: Message: 'Can\'t load the profile. Profile Dir: /tmp/tmpR9aoJc Firefox output: Xlib: extension "RANDR" missing on display ":1015".\n*** LOG addons.xpi: startup\n*** LOG addons.xpi: checkForChanges\n*** LOG addons.xpi: No changes found\n' [18:49] benji http://jujugui.wordpress.com/2013/04/27/rarings-selenium-doesnt-like-rarings-firefox-my-solution/ [18:49] bcsaller_: i've got to go figure out how i've broken CI. i'm not going to be able to review your branch very soon. you may want to scare up someone else. sorry. [18:50] bac: np, thank you [18:50] * benji looks. [18:51] hatch: can i get you to look at https://codereview.appspot.com/9131043/ [18:51] dammit. [18:52] buffer error, that's ricks. [18:52] or never mind, those are just *very* similar IDs. [18:52] jcsackett: yea, that's the one I reviewed so all good [18:53] rick_h_: yeah. hatch, can you give it the other look? [18:53] yu[ [18:53] on it now [18:54] man I <3 usb3 [18:54] "i'd like to backup ~ ... ok good" [18:57] gary_poster: for some reason it's picking up that test_model_controller.js is anew file when in fact it's in trunk but I merged it in from it's branch before it was landed...so you can disregard that one if you like [18:58] ok [19:05] benji: you're reviewing bcsaller_'s branch? [19:06] hatch: nope, but I can if need-be [19:06] oh no I ust saw you say 'looks' [19:06] I can do it if one is still needed [19:07] hatch: have at it [19:07] bcsaller_: what's the link? [19:07] https://codereview.appspot.com/9070043/ [19:07] and thanks [19:08] holy poo that's a large diff [19:08] :P [19:08] its not actually that big, mostly new charm data for the tests I think [19:08] and you'll get to see what all that charm/promise talk was about [19:08] hatch, your code is good but your diff is bad: A fix for /:gui:/ will come in a later branch? [19:09] gary_poster: I'm getting this error after doing the virtualenv thing, does it ring any bells? [19:09] oh wow it's a lot worse than I thought... [19:09] Traceback (most recent call last): [19:09] File "./deploy.test", line 9, in [19:09] from selenium.webdriver import Firefox [19:10] gary_poster: any thoughts on how to fix this diff? [19:10] it's like it's not diffing from trunk [19:11] info shows that it's parent is /trunk though [19:11] hatch, in your shoes I'd re branch master, merge your existing branch, and repropose from that. That's lazy but I don't have tim eto figure anything else out atm :-) [19:12] so branch trunk, merge my branch into that? [19:12] I can try that [19:12] hatch y [19:12] benji, no. [19:12] benji more info from reporter [19:12] hmm [19:12] [19:13] benji, you saw on #webops? [19:13] nope, looking now [19:13] gary_poster: I'm not in #webops [19:13] benji, oh because of eyebrows I thought maybe so [19:14] benji: [19:14] gary_poster: https://pastebin.canonical.com/90418/ to prepare the charm, then https://pastebin.canonical.com/90419/ as the config [19:14] my eyebrows are easily misunderstood [19:15] :-) [19:15] benji, he's doing something weird. I'll handle it. :-) you see if you can wrap up something on your other work [19:16] gary_poster: ok. do you want me to abandon trying to run the jitsu tests for the charm? [19:18] benji, um. up to you. We must be able to run tests. So that needs to be done. OTOH, if you might have something actionable from your memory work in the remaining time it would be great to do that too. [19:18] ok, I don't know what the odds of actionable results are, but keeping doing what I was doing seems like the best route [19:19] gary_poster: ok this diff is much better https://codereview.appspot.com/9119044/ I can apply your changes to this branch so you don't have to do another review/qa [19:19] cool hatch, apply the changes then ping me and I will look [19:19] benji ack, go for it [19:23] sounds good [19:42] bcsaller_: review done [19:46] hatch: thanks [19:46] hatch are changes applied or should I go to next call? [19:47] gary_poster: continue on - I just started after doing ben's review [19:47] cool hatch thx [20:01] gary_poster: changes are made and pushed to https://codereview.appspot.com/9119044/ I'm going to take lunch now [20:03] Got a confirmation that I'll be working from a local co-working place tomorrow in the AM. During the final few minutes of our meeting time , so I'll try to get there early. [20:04] At least one other Canonical-er there, figure it's worth a try. [20:04] Three, looks like. [20:13] Id have a 20minute drive to get to a co-working place here....not gona happen [20:13] :D [20:14] bac: did you see that your latest commit failed CI? Was that one from before the IE fixes? [20:15] hatch: there are no ie fixes yet [20:15] ahh ok cool [20:15] so it is expected [20:32] hatch looking now. what's the story for :gui:/ environment registration: follow-on branch? apologies if you already responded, but I didn't see it [20:35] nm hatch I see in code :-) [20:35] alright :) [20:41] rick_h_: you still around? [20:41] jcsackett: kinda, what's up? [20:42] i was an idiot and submitted that filter-string fix branch, which is blocked on aaron's code. i have a branch that reverts it, but my lxc won't load, which means i can't propose/submit. [20:43] was wondering if i could get you to help me get it through. [20:43] but if you're EoDing, perhaps hatch can help. [20:43] jcsackett: so, I'd ask if abentley's branch is going to land tomorrow. It landing isn't an issue atm since the browser is 'feature flag'd' behind the urls [20:43] rick_h_: ah, there is that. [20:43] jcsackett: the issue is only that searches will fail with categories due to upstream [20:43] nothing really 'breaks' [20:44] we just have to watch for the demo and if abentley will have a migration/final update to manage. tomorrow then all is good [20:44] jcsackett: but if you'd like to revert, shoot me the revert branch and I'll put it down and lbox it up [20:44] rick_h_: given what you've very sensibly pointed out, it's not a rush. [20:45] if aaron can't land his changes tomorrow, i'll land the revert then. [20:45] rick_h_, jcsackett: The charmworld change is nearly done. Then I have to do the charm change, which should be fast. [20:45] jcsackett: rgr [20:45] abentley: awesome, good to hear. [20:45] abentley: you're a hero. :-) [20:45] * jcsackett totally forgot abentley was in this channel. :-P [20:46] rick_h_: have a nice evening, and good luck with raring upgrade tomorrow. my LXC woes are part of my upgrade. :-P [20:46] jcsackett: was just about to reboot to my usb device when you ping'd. Why I said I was 'kinda' around :) [20:46] rick_h_: i will delay you no more. :-) [20:47] jcsackett: good news is I've not lxc'd on this to date so hopefully avoid some of that [20:47] but definitely hoping to lxc/local juju it up on the new desktop when I get back [20:47] so :/ [20:47] i think it's upgrade borked my setup. if you don't have a setup yet, maybe no problems. [20:48] jcsackett: yea, I'm a reinstall fan myself. backed up to NAS, external portable usb3, and boom goes the OS [20:48] rick_h_: yeah, i'm worried i'll need to reinstall now. but i'll spend some time seeing if i can figure out what's broken. [20:56] * Makyo -> dogwalk [21:02] hatch trying to qa. two conflicts with trunk; resolution is not entirely trivial. I'll share. [21:02] that's interesting - I merged it into trunk to get that diff and didn't get a conflict [21:05] hatch, new textarea integration code is conflict. help me resolve this quickly on guichat? [21:05] ok sure thing [21:20] gary_poster: CI "fix" is at https://codereview.appspot.com/9128044 [21:20] gary_poster: need any help with conflict? [21:20] bac, nah was pretty easy thank you [21:21] gary_poster: cool. ping me if you get to that review [21:21] bac review done [21:27] bac: lol "fix" [21:30] *sigh* back to the file watching errors [21:31] I thought those were behind me [21:31] :/ [21:31] * Makyo back. [21:32] gary_poster: I can't reproduce the same bug - but when I try I get console errors....so that's almost better :) [21:33] oh [21:33] lol [21:33] gary_poster: did you var attachPlugins = function(view) { <----- pass the view into this function? [21:34] hazmat, one more move of that blueprint fwiw, to match rules: now https://blueprints.launchpad.net/juju-core/+spec/s-cloud-juju-role-based-access-control [21:34] I think we both missed that ;) [21:34] gary_poster, thanks for the update [21:34] welcome [21:34] hatch, http://pastebin.ubuntu.com/5627317/ I think it is right [21:35] oh yeah - when I do that it works fine [21:35] heh [21:35] * hatch closes bug - unable to reproduce [21:35] ok [21:35] I'll try in chrome ubuntu [21:36] hmm [21:36] back later [21:36] gary_poster: yeah I can't reproduce...I am wondering if it's a race condition [22:00] wth same jenkins error? [22:02] investigating [22:06] fixed image id and set another build [22:08] we'll need to keep an eye on CI error messages - if we notice the image id error any more we might need to create our own image so that it's not changed. [22:08] bcsaller_: thanks for the review [22:08] np [22:11] bcsaller_: mind doing me a favour and building this branch and then visiting a url? https://code.launchpad.net/~hatch/juju-gui/promise-conflict [22:12] the url is /:gui:/unit/mysql-5/ and it should dump you to the service view with 3x notifications [22:13] gary gets a loading screen and it works fine for me on all my devices [22:14] so I'm wondering if it's a race condition that I'm not seeing [22:14] hatch: doing it now [22:14] thanks [22:17] yay CI passed IE tests again [22:19] hatch: I fired up improv while the server was running and it connected and then bounced to the service view. After that I re-entered the url, pressed enter, got the three notifications and sit on the loading screen, it might depend on if the 1st delta has happened or not at the time of the view resolution [22:19] hmm [22:19] well I definitely can't land it as it is [22:20] because the db will be empty initially [22:20] ahhh I think I know why [22:20] even though we have promises we are still relying on the db change event [22:20] to re-fire them [22:20] poop [22:22] async promise resolution + url management does sound error prone, unless the ui model is to block with a spinner waiting on the promises [22:22] are you able to reproduce it reliably? [22:24] I am wondering if removing the { update: true } from line 600 in app.js will be enough to fix it [22:25] I am hoping that that will cause a full re-render fixing the problem [22:26] this time it gave me three notifications and then the proper service view, so it is a racce [22:27] thoughts on what to do? [22:28] wait something is really wrong here [22:28] ohh [22:29] maybe adding options.model = db.services.getById(req.params.id) on line 590 before the showview will fix [22:29] either that or removing the { update: true } on 600 [22:31] ok I was finally able to reproduce the error [22:38] oh bac is gona be mad....the autosize widget tests fail in FF now [22:42] bcsaller_: whenever you get a moment if you could pull down the latest changes in the promise-conflict branch and see if you can get the error or if my hack has resolved it [22:42] hatch: I was still poking at it so I can do it now [22:42] oh ok great [22:44] hatch: I still get three error notifications, but it seems to redirect to the service page after 3 sucessful tries [22:44] yeah the error notifications will happen until we don't dispatch 3 times on load [22:45] so right now I'm hoping this fixes the race condition [22:46] I reloaded about 20x tmes and couldn't get the loading screen hang with this fix [22:47] yeah, seems better to me as well [22:48] excellent [22:48] that's a relief [22:48] the notifications might be excessive though :) [22:48] hatch: maybe another timeout to spawn that? [22:49] hey....they are the ones trying to access an invalid unit/service :P [22:49] but yeah I suppose that's a reasonable workaround :)