bac | hatch: you still around? | 00:12 |
---|---|---|
bac | or bcsaller? | 00:12 |
bcsaller | I am | 00:13 |
bcsaller | bac: whats up? | 00:13 |
bac | bcsaller: hey i've got a problem where 'make check' when run by lbox fails 90% of the time. makes it really hard to land branches | 00:13 |
bac | bcsaller: that's the hell i'm stuck in now. would you mind landing a branch for me? | 00:14 |
bac | bcsaller: it is bzr+ssh://bazaar.launchpad.net/~bac/juju-gui/featured | 00:14 |
bcsaller | yeah, you have the LGTM's and all? | 00:14 |
bac | bcsaller: yep, it's ready to go | 00:14 |
bcsaller | I'll give it a go | 00:14 |
bac | between gjslint dumping core and this problem i've been poking at it for quite a while now | 00:15 |
bac | bcsaller: thanks a bunch | 00:15 |
bcsaller | The random port for make test-server sometimes means that it can timeout while loading the YUI code in debug mode, I've seen that once or twice, but mostly it works from the CLI which didn't interfere with lbox for me | 00:16 |
bcsaller | trying make check now | 00:16 |
bcsaller | bac: landed it | 00:27 |
bac | thanks ben | 00:28 |
bac | with that i'm outta here | 00:28 |
* bac -> ich bin ein berliner | 00:28 | |
rick_h_ | hatch: I'm going to have to introduce you to bzr mv | 00:45 |
=== gary_poster is now known as gary_poster|away | ||
rick_h_ | hatch: notes sent | 01:06 |
rick_h_ | hatch: looking good, lots of notpicking and a couple of bigger decisions to debate tomorrow | 01:07 |
davecheney | hello, can anyone help me debug a gui problem ? | 01:21 |
davecheney | http://paste.ubuntu.com/6177888/ | 01:22 |
davecheney | run this script to create an environment | 01:22 |
davecheney | then, using the gui, try to create a relation between p1 and w1 | 01:22 |
davecheney | then p1 and w2 | 01:22 |
rick_h_ | davecheney: will give it a shot here in a sec | 01:25 |
davecheney | thanks | 01:25 |
davecheney | rick_h_: if you already have an enviroment running | 01:25 |
rick_h_ | davecheney: all good, will try with lxc | 01:26 |
davecheney | the issue is you cannot create two relatoins from p1 to anything | 01:26 |
davecheney | afte the first one | 01:26 |
davecheney | all the remaining services are grey and will not accept a relation from p1 | 01:26 |
rick_h_ | davecheney: so yea, I can confirm it but when I force the second relation via the cli it's a different type, website vs reverserproxy? | 01:32 |
davecheney | that is just a label | 01:33 |
davecheney | if you do | 01:33 |
davecheney | add-relation w1 p1 | 01:33 |
rick_h_ | well those are two different interfaces that haproxy supports | 01:33 |
davecheney | or p1 w1 | 01:33 |
davecheney | it's just a label | 01:33 |
davecheney | defined by the order of the relation | 01:33 |
davecheney | they are both the http interface | 01:33 |
rick_h_ | davecheney: ah, ok cool | 01:33 |
davecheney | so if you do p1 w1 | 01:34 |
davecheney | it's called reverse proxy | 01:34 |
davecheney | if you do w1 p1 it's called website | 01:34 |
davecheney | it would be good if the gui would say | 01:34 |
davecheney | label:interface | 01:34 |
davecheney | rather than just label | 01:34 |
davecheney | for example when relating mediawiki | 01:34 |
bcsaller | trunk should do that actually | 01:34 |
davecheney | you have two mysel interfaces | 01:34 |
rick_h_ | davecheney: ok, do you mind filing a bug on it then? I'm guessing we don't have good logic for multiple targets for an interfaces, but then again mysql works fine with two services on one interface. | 01:34 |
davecheney | db:mysql | 01:34 |
davecheney | db_slave:mysql | 01:35 |
davecheney | rick_h_: what title should I use for the bug ? | 01:35 |
rick_h_ | davecheney: so I'm testing the apache2 charm and the wordpress instances and apache2 provides three relation types | 01:36 |
rick_h_ | once i use one, the next time I try to relate, only two optinos are available. | 01:36 |
rick_h_ | I'm not an expert on juju relations, should it be completely possible to reuse the same relation type against many services? | 01:37 |
rick_h_ | davecheney: so the bug I'd go with "unable to relate multiple services with a single service on the same relation | 01:37 |
rick_h_ | or does that not make sense to other heads? | 01:37 |
rick_h_ | maybe with/to | 01:37 |
davecheney | rick_h_: sounds like it | 01:39 |
davecheney | afaik there is no limit on the number of peers of you can relate a service too | 01:40 |
davecheney | lemmie ask hazmat | 01:40 |
davecheney | hazmat: is there a limit to the number of relations to a service ? | 01:40 |
rick_h_ | thanks davecheney, let me know the bug # and I'll add it to the kanban under bugs to peek before I head to bed tonight | 01:40 |
hazmat | davecheney, no | 01:40 |
hazmat | davecheney, there is a notion of such in the charm metadata though | 01:41 |
hazmat | its not acted upon | 01:41 |
hazmat | also the gui solves once for requires | 01:41 |
hazmat | effectively from a semantic perspective only provides are unlimited as a relation endpoint | 01:41 |
hazmat | peers are self established and effectively have a rel max count of 1 | 01:42 |
hazmat | s/self/auto | 01:42 |
hazmat | they shouldn't appear in the gui as a valid rel target, but some display nesc for peer rel errors | 01:43 |
davecheney | hazmat: i don't understand anything you just said | 01:43 |
davecheney | can haproxy have more than one service related to it ? | 01:43 |
hazmat | semantically no | 01:43 |
hazmat | it requires http | 01:43 |
davecheney | hazmat: i can do it with the cli | 01:43 |
davecheney | and when I try the same, add-relation w2 p1 action in the gui | 01:44 |
davecheney | from eithre p1 to w2 | 01:44 |
davecheney | or w2 to p1, it does not work, all the other services are greyed out | 01:44 |
hazmat | hmm.. yeah.. it does look like it works for haproxy. for most services it doesn't | 01:44 |
davecheney | hazmat: where is the bug ? | 01:45 |
hazmat | ie. you can't relate wordpress to multiple mysql for examples logically | 01:45 |
davecheney | the gui | 01:45 |
davecheney | or the charm ? | 01:45 |
hazmat | davecheney, the charm actually supports this, i'm talking about the way the gui auto solves the valid relation endpoints for drag targets (by ghosting non valid targets) | 01:45 |
hazmat | their's some assumptions made beyond the base model | 01:45 |
davecheney | hazmat: ok, rick_h_ , thanks will log a bug | 01:46 |
hazmat | hence the phrase semantically | 01:46 |
hazmat | because otherwise you get errors for the vast majority of requires dependencies uses | 01:46 |
hazmat | which don't support multiples here | 01:46 |
davecheney | hazmat: rick_h_ https://bugs.launchpad.net/juju-gui/+bug/1233462 | 01:47 |
_mup_ | Bug #1233462: gui does not allow multiple relations between wordpress and ha proxy <juju-gui:New> <https://launchpad.net/bugs/1233462> | 01:47 |
davecheney | hazmat: but it works with mysql and wordpress | 01:47 |
hazmat | davecheney, its only supported by the charm with explicit service config | 01:47 |
davecheney | what is the difference ? | 01:48 |
hazmat | davecheney, how | 01:48 |
hazmat | davecheney, wordpress can only use one mysql db | 01:48 |
hazmat | not multiples | 01:48 |
davecheney | hazmat: ok, so is this a charm bug or a gui bug ? | 01:48 |
hazmat | it only works for haproxy charm, because its specifically implemented via charm config | 01:48 |
hazmat | davecheney, neither | 01:48 |
davecheney | what is explicit service config ? | 01:48 |
hazmat | charm config | 01:48 |
hazmat | you have to configure the haproxy charm for this to work, relating to multiple upstream services | 01:49 |
hazmat | otherwise its just broken | 01:49 |
davecheney | hazmat: lets not get bogged down with what haproxy does when it gets that second relation | 01:49 |
rick_h_ | you know what, now that you say that this has come up before | 01:49 |
davecheney | my issue is, i can do something on the cli that I can't do in the gui | 01:49 |
hazmat | davecheney, why not? its perfectly relevant to the gui behavior here | 01:49 |
hazmat | which is don't let me casually get a bunch of broken services | 01:49 |
hazmat | by accidental relation creation | 01:50 |
davecheney | hazmat: ok, please answer this | 01:50 |
davecheney | how does the gui know ? | 01:50 |
davecheney | where is the metadata that explains that ha proxy can only have one relation on the website:http relation ? | 01:50 |
hazmat | davecheney, fufilled requirements ('requires') are considered satisified if they have an established relation | 01:50 |
davecheney | sorry, reverseproxy:http relation | 01:50 |
davecheney | hazmat: please don't talk charm speak to me | 01:51 |
davecheney | i don't understand it | 01:51 |
davecheney | speak plainly and use the words I use | 01:51 |
davecheney | which are add-relatoin, gui and cli | 01:51 |
hazmat | relation endpoints, are one of three types .. peer, client/require, server/provider | 01:51 |
hazmat | peers are auto established on deploy, no need for add-relation | 01:51 |
davecheney | ok | 01:52 |
hazmat | client <-> server ... the gui will only do a client as a valid add-relation target, if doesn't have a another client-server relation | 01:52 |
hazmat | servers can do unlimited clients | 01:52 |
davecheney | what | 01:52 |
davecheney | stop | 01:52 |
davecheney | "he gui will only do a client as a valid add-relation target" | 01:52 |
davecheney | please explains this bit | 01:52 |
davecheney | i don't understand | 01:52 |
* hazmat sighs | 01:52 | |
hazmat | g+? | 01:53 |
hazmat | davecheney, https://plus.google.com/hangouts/_/2e5dc0e9a9e103bfccc16a95c045b1a2ce449249?hl=en | 01:54 |
rick_h_ | hazmat: mind if I jump in to catch up? | 01:54 |
hazmat | rick_h_, sure | 01:54 |
davecheney | sorry, i don't ahve my teleconference kit with me | 01:54 |
davecheney | i'm at a coworking space | 01:54 |
davecheney | we can do this another time | 01:54 |
davecheney | all i'm looking for is the magic bit of configuation in the charm that says 'i can have multiple relations' | 01:54 |
davecheney | which i'm guessing is provides an requires | 01:54 |
davecheney | requires is at most one | 01:54 |
davecheney | provies is many | 01:54 |
hazmat | nutshell yes | 01:55 |
hazmat | davecheney, put another way the only charm that supports multiple requires relations that doesn't result in broken usage i know of is haproxy | 01:56 |
davecheney | provides: | 01:56 |
davecheney | website: | 01:56 |
davecheney | interface: http | 01:56 |
davecheney | ^ from ha proxy | 01:56 |
davecheney | ahh, but wordpress doens't have a requires | 01:56 |
hazmat | yes.. both haproxy and wordpress provide http.. but haproxy has to require an upstream http. | 01:57 |
hazmat | and even then haproxy requires explicit service configuration to be set for this usage to work | 01:57 |
davecheney | provides: - The deployed service unit must have the given relations established with another service unit whose charm requires them for the service to work properly. See below for how to define a relation. | 02:02 |
davecheney | requires: - The deployed service unit must have the given relations established with another service unit whose charm provides them for the service to work properly. See below for how to define a relation. | 02:02 |
davecheney | from our docs | 02:03 |
davecheney | brilliant ... | 02:03 |
davecheney | hazmat: looking at the mysql charm | 02:04 |
davecheney | it provides db:mysql to many clients | 02:04 |
davecheney | and requires salve:mysql-oneway-replicatoin to many clients | 02:05 |
davecheney | there is a limit: n field in the docs | 02:05 |
davecheney | but it is not implemented | 02:05 |
hazmat | requires: to one client | 02:05 |
hazmat | er.. requires: to one provider | 02:05 |
davecheney | hazmat: so you are saying i can only have one master and one slave ? | 02:06 |
hazmat | no.. you can have several slaves | 02:06 |
hazmat | you said it requires: x... | 02:06 |
davecheney | so i can do juju deploy -n2 mysql slave | 02:07 |
hazmat | all requires: are in common usage to one relation (which is implemented and constrained as such by the gui) | 02:07 |
davecheney | the juju add-relation m1:slave slave:master | 02:07 |
davecheney | sorry, terrible names ? | 02:07 |
hazmat | number of units has nothing to do with relations | 02:07 |
hazmat | number of services does | 02:07 |
davecheney | aaaaaaahhhhhhhhhhhhhhhh | 02:07 |
davecheney | now I understand | 02:07 |
davecheney | so i cannot do | 02:08 |
davecheney | juju deploy mysql s1 | 02:08 |
davecheney | juju deploy mysql s2 | 02:08 |
davecheney | juju add-relation m1:slave s1 | 02:08 |
davecheney | juju add-relation m1:slave s2 | 02:08 |
davecheney | because that is what I *think* is happening with the haproxy example | 02:08 |
hazmat | not quite | 02:09 |
hazmat | juju add-relation m1:master s1:slave | 02:09 |
hazmat | juju add-relation m1:master s2:slave | 02:09 |
hazmat | the haproxy to not result in a something broken does | 02:10 |
davecheney | rick_h_: that is the bug | 02:10 |
davecheney | the name of the relation shuld be reverseproxy | 02:10 |
davecheney | not website | 02:10 |
hazmat | davecheney, that's a judgement call | 02:11 |
hazmat | davecheney, we basically color / label the relations by the name of provider afaicr | 02:11 |
hazmat | in the gui | 02:11 |
hazmat | or is it the other way around.. don't remember.. i tried both ways.. one worked better for the majority | 02:12 |
davecheney | right | 02:12 |
davecheney | so it's wordpress, website:http <> haproxy reverseproxy:http | 02:12 |
hatch | oh good you guys are discussing that bug | 02:16 |
* hatch reads the backlog | 02:16 | |
hatch | I seem to remember this exact issue being brought up by someone else | 02:19 |
hatch | I wonder if this can be better documented/illustrated somewhere | 02:19 |
davecheney | hazmat: as I read it, wordpress provides website:http | 02:20 |
davecheney | which means many services may require it | 02:20 |
davecheney | is that correct ? | 02:20 |
davecheney | hazmat: the short version is | 02:22 |
davecheney | haproxy can only proxy one service | 02:22 |
davecheney | the gui is doing the right thing | 02:22 |
davecheney | the client is doing the wrong thing | 02:22 |
hatch | I hope that's right, I spent a long time on those darn endpoint calculations :D | 02:24 |
hatch | (in the gui) | 02:24 |
hatch | unless of course that's not the case, then it was someone else :P | 02:25 |
davecheney | LP1233462 | 02:25 |
davecheney | #1233462 | 02:25 |
_mup_ | Bug #1233462: gui does not allow multiple relations between wordpress and ha proxy <juju-gui:New> <https://launchpad.net/bugs/1233462> | 02:25 |
hatch | davecheney: not sure if you saw, but all of your previous bugs have been fixed and committed waiting for release | 02:25 |
davecheney | hatch: nice | 02:26 |
davecheney | thanks | 02:26 |
davecheney | i look forward to consuming them | 02:27 |
hatch | davecheney: ok I'm not the utmost expert in this field but as per your bug I would bet that the GUI is acting correctly | 02:28 |
hatch | unless you have done some magic in the hook for the requires | 02:28 |
hatch | so maybe the CLI allows you to do it because you 'might' want to do it?? | 02:28 |
davecheney | hatch: the gui only consumes metadata.yaml, right ? | 02:28 |
hatch | the GUI gets it's metadata from charmworld | 02:29 |
hatch | 'formatted' metadata | 02:29 |
davecheney | hatch: my point is, nobody reads the hooks | 02:29 |
davecheney | they are opaque | 02:29 |
hatch | agreed | 02:30 |
hatch | thenagain noone reads the source of any module they include into their system :D | 02:30 |
davecheney | hatch: when I say noone, i mean the gui, the cli, etc | 02:30 |
davecheney | their contents do not influcnce the gui endpoint calculations | 02:30 |
hatch | correct | 02:30 |
hatch | there would be no way they could | 02:31 |
davecheney | 12:28 < hatch> unless you have done some magic in the hook for the requires | 02:31 |
davecheney | ^ so this isn't possible | 02:31 |
hatch | well you can write whatever you want in your hooks - so that might be why the CLI allows it | 02:31 |
davecheney | hatch: in that case, the gui shuld allow this as well | 02:31 |
davecheney | which sounds wrong | 02:31 |
hatch | hmm | 02:32 |
hatch | yeah I can't really disagree with that | 02:32 |
hatch | guess that's not really up to me which one is doing it wrong :) | 02:34 |
hatch | but looking at how, for example mysql has it's relations set up, I would hazard a guess that you are only ever supposed to have a single require per endpoint | 02:37 |
=== gary_poster|away is now known as gary_poster | ||
=== TheRealMue is now known as TheMue | ||
gary_poster | The email! It doesn't stop! <whimpers> | 13:10 |
rick_h_ | gary_poster: we need an email protection program that mirrors the witness protection program | 13:14 |
gary_poster | rick_h_, lol sounds good | 13:14 |
rick_h_ | you get sent away and you can't tell anyone where you went | 13:14 |
gary_poster | as long as you don't have to deal with the subsequent fallout, +1 :-) | 13:14 |
TheMue | gary_poster: i've commented in https://bugs.launchpad.net/juju-core/+bug/1224568 what's now reported in case of a hook error | 13:28 |
_mup_ | Bug #1224568: Improve hook error reporting <juju-core:In Progress by themue> <https://launchpad.net/bugs/1224568> | 13:28 |
TheMue | gary_poster: could you check if this is ok for you? | 13:29 |
gary_poster | TheMue, awesome, thanks, yes! looking | 13:29 |
gary_poster | TheMue, could you include a concrete example there or in a pastebin? | 13:30 |
gary_poster | TheMue, fwiw, it sounds perfect so far. :-) | 13:31 |
TheMue | gary_poster: ok, will add it | 13:32 |
gary_poster | thank yoU | 13:32 |
rick_h_ | luca__: for these images in the bundle token, are they centered, left align, right align? Say a bundle has 3 tokens, where do we want them? | 13:49 |
hatch_ | all-over-the-place! | 13:57 |
TheMue | gary_poster: done | 14:05 |
gary_poster | TheMue, ack and thanks! on call, will review after call | 14:05 |
hatch_ | the power went out here last night - I remember when everything wasn't battery powered and that mattered :D | 14:16 |
=== hatch_ is now known as hatch | ||
rick_h_ | heh | 14:17 |
rick_h_ | yea, it's kind of cool how if you UPS up the internet gear you can keep going without power for a while | 14:18 |
hatch | we are very close to the local switch, so I'm goign to assume that if we get a 'real' outage we would also lose internet | 14:18 |
hatch | but I have no idea what's inside those big green boxes | 14:19 |
hatch | :) | 14:19 |
hatch | so...it's been a couple days since the finally of breaking bad...I hope people can stop talking about it now | 14:22 |
hatch | :P | 14:22 |
rick_h_ | benji: got a sec to chat charm id in the bundle api response? | 14:27 |
benji | rick_h_: sure | 14:28 |
hatch | rick_h_: did you get a chance to read my responses to your comments? | 14:28 |
rick_h_ | hatch: little bit. I basically read "we'll talk tomorrow" and left it at that :) | 14:28 |
hatch | haha ok cool, I'm trying to find out if there are icons for bundles | 14:29 |
hatch | it doesn't look like it | 14:29 |
hatch | the docs mention a 'has_icon' property but that's not retured | 14:31 |
rick_h_ | hatch: yea, sec otp | 14:36 |
rick_h_ | hatch: ok, got a sec if you want to chat then? | 14:43 |
hatch | calling | 14:44 |
rick_h_ | benji: so I'm looking at that deployer file and I see that in the services list the key is db, and there's a 'charm' attribute in there that says mysql | 15:04 |
rick_h_ | benji: the rest don't have a charm name, but the key looks like the name | 15:04 |
rick_h_ | benji: is there any rule of thumb on this atm? | 15:04 |
benji | rick_h_: I'm 80% sure that the key is the service name, not the charm name (e.g., "intranet" not "apache2") | 15:05 |
rick_h_ | benji: ok, so I should look to be adding a firm name attribute for our use then as it's a bit inconsistent in the deployer format of the api call | 15:06 |
=== matsubara is now known as matsubara-lunch | ||
benji | rick_h_: +1 | 15:08 |
benji | rick_h_: I'm begining to think that the GUI-needed details should not be superimposed on the deployer data, but "beside" or "above" it in the data layout | 15:09 |
benji | that way if an attribute is added to the deployer data we don't have to worry about key collisions | 15:09 |
hatch_ | so remember when I said a 'real' poweroutage | 15:10 |
hatch_ | lol | 15:10 |
hatch_ | ka-boooooom goes the transformer | 15:10 |
=== hatch_ is now known as hatch | ||
rick_h_ | benji: true, we used the idea of 'metadata' in the other api calls for things that might need to expand/be additional info. Maybe that idea makes sense here | 15:14 |
rick_h_ | benji: though that won't work with the current deployer stuff since it would nest the deployer info one level down into the object. Maybe a reserved 'metadata' keyword the deployer can promise to not use? Single key safety? | 15:15 |
rick_h_ | this of course assumes that the deployer ignores things it doesn't care about which I've not verified | 15:15 |
benji | rick_h_: I think I'm -0 on a reserved keyword (for two main reasons: 1) from an information architecture view point it doesn't sit right, and 2) coordinating with other people is hard/irritating ;) | 15:16 |
rick_h_ | benji: yea, but then how were you thinking of making it 'above/below'? | 15:17 |
rick_h_ | benji: do you mean on the api call itself? I think we were in agreement for a api/3/bundle/~bac/wiki/3/wiki/details new call? | 15:17 |
benji | for the search results use, its easy | 15:17 |
benji | right for /detais we just either make a top-level object with two keys ("bundle" and "charm_details" perhaps) | 15:18 |
rick_h_ | gotcha, yea. So in that new call I'd probably do keys like 'deployer' 'metadata' | 15:18 |
rick_h_ | and anything in deployer is the same format you'd expect, and the metadata is the consistant "extra" we've had in other calls | 15:19 |
rick_h_ | the name kind of sucks in this case, but I'd rather keep that key consistant with the rest of the api | 15:19 |
rick_h_ | http://staging.jujucharms.com/api/2/charm/precise/apache2-2 like here where the doctype was part of metadata | 15:20 |
* rick_h_ thought we used it elsewhere as well... | 15:20 | |
benji | rick_h_: yeah, I don't really like "metadata" in isolation there, but the consistency argument makes sense | 15:23 |
rick_h_ | benji: right | 15:23 |
rick_h_ | frankban: ping, got a sec? | 15:30 |
frankban | rick_h_: sure | 15:30 |
rick_h_ | frankban: so, I think your fix is ok. It does the job, but it gets around the issue vs fixing the issue it appears | 15:31 |
rick_h_ | frankban: so when I test trunk, I minimize, reopen, the details are there but then get blanked | 15:31 |
rick_h_ | frankban: as if something stepped in and deleted it. This is very visible in IE because of the sloweless of it | 15:31 |
frankban | rick_h_: yes, the sidebar.render() makes them disappear | 15:32 |
rick_h_ | frankban: your fix re-renders it, which seems pretty smooth in chrome (it deletes and rerenders quickly) but then in IE it's really noticable that it was there and then gone and then back again | 15:32 |
rick_h_ | frankban: so I'm wondering if the "best" fix isn't to try to get at the deletion vs rerendering? | 15:32 |
frankban | rick_h_: it depends: I don't know why we are re-rendering the sidebar, and if the reason also applies to the details | 15:33 |
rick_h_ | frankban: k, looking through the code now. I know there was a bug around something there. Trying to recall. | 15:33 |
frankban | rick_h_: thanks | 15:34 |
rick_h_ | frankban: https://code.launchpad.net/~rharding/juju-gui/more-state-issues/+merge/182459 is the branch that did it. It was cleanup related. A couple of bugs are tied to it | 15:37 |
* gary_poster goes for a quick walk. back in time for call. | 15:38 | |
rick_h_ | frankban: the second to last item in the MP description fit in there. We forced re-render because of an odd chain of paths where there's no ._sidebar instance but the viewmode didn't change. I'm trying to recall the path that hit that. | 15:38 |
rick_h_ | frankban: hangout? | 15:39 |
frankban | rick_h_: sure | 15:39 |
rick_h_ | frankban: https://plus.google.com/hangouts/_/c28ca959a840aa4051c5bdcd11f691bfe11d92c7?hl=en | 15:41 |
Makyo | jujugui call in 10 | 15:50 |
luca__ | gary_poster: I'll get back to you tomorrow on the build relation thing, I want to think it over a bit | 15:55 |
hatch | Makyo: the new Krewella cd 'Get Wet' is out, not sure if you're a fan? https://itunes.apple.com/ca/album/get-wet/id689472430 | 15:55 |
luca__ | gary_poster: the solution we have in the pipe line is a button that appears on hover over the top of the service block, but the service block design has not be solved. | 15:55 |
Makyo | hatch, not heard of them, but will take a look :) While we're at it. Chibitech finally released an album instead of singles, if you're into chip stuff: http://chibitech.bandcamp.com/album/moenes-vol-1-the-idol-composers-groove /cc jcsackett | 15:57 |
hatch | will have to take a look after the call | 15:57 |
Makyo | Ofc | 15:58 |
Makyo | jujugui call in 2 :) | 15:58 |
=== matsubara-lunch is now known as matsubara | ||
hatch | Makyo: my dogs hate your music | 16:26 |
hatch | lol | 16:26 |
Makyo | Hahahah | 16:26 |
frankban | rick_h_: it seems the sidebar shows up before routeDirectCharmId is called | 16:27 |
Makyo | hatch, currently stuck on http://www.youtube.com/watch?v=l2f6UbMnlq4 though | 16:28 |
rick_h_ | frankban: yes, I'm looking now. I think the bug is in the cleanOldViews and the viewmode state change | 16:28 |
rick_h_ | frankban: when you go from minimized to sidebar the old sidebar is still there, even though _cleanOldViews should have run .destroy() on it | 16:29 |
hatch | Makyo: slightly different than this version of The Fox http://www.youtube.com/watch?v=jofNR_WkoCE | 16:29 |
Makyo | Do I want to click this? Will this make me want to strangle someone? | 16:29 |
Makyo | Yep. | 16:29 |
hatch | lol! | 16:30 |
Makyo | C'mere hatch. Stranglin' time. | 16:30 |
hatch | what does the fox say? ding ding ding ding ding ding lol | 16:30 |
Makyo | James got the woot shirt with that on it. Sigh. | 16:31 |
hatch | lol | 16:32 |
rick_h_ | frankban: so http://paste.mitechie.com/show/1026/ I think fixes it | 16:34 |
rick_h_ | frankban: the destroy is called in _cleanOldViews but it never removed the html. This causes the flicker effect when it's made visible again. Fixing the destroy fixes the flicker | 16:34 |
hatch | Makyo: http://www.youtube.com/watch?v=mbyzgeee2mg by the same guys | 16:35 |
Makyo | That video is so ridiculous :P | 16:35 |
hatch | lol | 16:36 |
rick_h_ | frankban: so this gets to the point that originally we kept the html around so that minimize/unminimized where instant user experiences | 16:36 |
frankban | rick_h_: that's great! so we were seeing a ghost of the old sidebar | 16:36 |
rick_h_ | frankban: but then we ended up with invisible html holding events on the DOM that it should not have and started to clean it up | 16:36 |
frankban | rick_h_: makes sense. and the updateVisible fix really shows its effects, right? | 16:37 |
frankban | rick_h_: ok, bzr pushed the changes, if you want to do a quick final QA. I'll change the test as you suggested and then land the branch, ok? | 16:39 |
rick_h_ | frankban: rgr, looking now. Sorry for the delay, had someone at the door. | 16:45 |
rick_h_ | frankban: so one more thing then | 16:46 |
rick_h_ | frankban: rather than add the force flag, I think it would make sense for the _cleanOldViews to also remove this._details if it exists and the old viewmode we're removing is sidebar. | 16:47 |
rick_h_ | frankban: then we don't need the force bits at all? | 16:47 |
frankban | rick_h_: makes sense, so in _shouldShowCharm, if we have a charmID but not a _details, we return true | 16:49 |
frankban | (and we don't need force) | 16:49 |
rick_h_ | frankban: well the viewmode should have been changed though...I'm looking. It seems shouldShowCharm might be off? | 16:49 |
rick_h_ | frankban: so it should work the way it is right? If we have a charm id, and the viewmode changed (minimized to sidebar) then we should show the charm | 16:50 |
rick_h_ | we then call renderCharmDetails which checks "is there already a details rendered under this._details" | 16:50 |
rick_h_ | frankban: so if we clean up this._details in the _cleanOldViews then that check will work correctly and we'll be fine | 16:50 |
frankban | rick_h_: ok, I'll check it tomorrow, and repropose | 16:51 |
rick_h_ | frankban: ok, sounds good. Sorry to run you through it all. | 16:51 |
rick_h_ | thanks for tracing it through | 16:51 |
frankban | rick_h_: no worries: your solution is simple and clean, thanks for helping me | 16:52 |
gary_poster | hey hatch, did you see https://bugs.launchpad.net/juju-core/+bug/1224568? | 17:24 |
_mup_ | Bug #1224568: Improve hook error reporting <juju-core:In Progress by themue> <https://launchpad.net/bugs/1224568> | 17:24 |
hatch | looking | 17:24 |
hatch | gary_poster: odd that I have it 'affecting' me but I don't get the update emails | 17:25 |
hatch | thanks for pointing it out | 17:25 |
gary_poster | hatch, look for subscription information on right of bug | 17:26 |
gary_poster | "You are not subscribed..." | 17:26 |
gary_poster | click on link to change | 17:26 |
hatch | weird, so what's the point of 'affects' ? haha | 17:26 |
gary_poster | hatch, I think it was introduced as a way to reduce people adding "+1" comments | 17:28 |
hatch | ohh | 17:28 |
hatch | this is looking great | 17:29 |
hatch | do that's going to be coming in 1.16? | 17:29 |
hatch | so* | 17:29 |
gary_poster | hatch yeah I think so | 17:31 |
gary_poster | hatch, so he means all of those keys come in the unit state keys right? | 17:31 |
hatch | just reading the diffs | 17:32 |
hatch | ok yes so basically he added a new Data param which includes those keys | 17:33 |
hatch | basically exactly what we asked for | 17:33 |
gary_poster | hatch, so those keys are nested in "Data"? | 17:33 |
hatch | right | 17:34 |
gary_poster | cool. | 17:34 |
hatch | yeah so we can modify the contents of Data all we want without stirring up a mess down the road | 17:34 |
gary_poster | oic | 17:34 |
bcsaller | we don't set status, core does | 17:34 |
hatch | we have the keys to core's house | 17:35 |
hatch | ;) | 17:35 |
hatch | I can't seem to link to a line in the diff, but there is now a StatusData key | 17:36 |
bcsaller | I've read the diff | 17:36 |
hatch | the only question I have....is I see the data there for the errors | 17:38 |
hatch | but I don't see how we can tell if it's an error | 17:39 |
hatch | see comment #4 and #5 on the bug | 17:39 |
hatch | oh nm | 17:39 |
gary_poster | hatch, status, yeah? | 17:39 |
hatch | yeah my brain has just been failing lately | 17:40 |
gary_poster | :-) | 17:40 |
hatch | err = u.SetStatus(params.StatusError, "lol borken", nil) | 17:40 |
hatch | we should totally use those error messages | 17:40 |
hatch | haha | 17:40 |
gary_poster | :-) | 17:40 |
benji | oh, the test server port changed; is the new port number random or fixed? | 17:56 |
gary_poster | benji, random | 17:57 |
benji | that's irritating | 17:57 |
gary_poster | benji, I didn't love it but could work around it. Ben introduced it to reduce people running tests of one branch when they are actually testing another/ what's your issue with it? | 17:58 |
gary_poster | jujugui, charm review in https://codereview.appspot.com/14226043/ | 17:59 |
benji | I use browser and command-line history to recall previous test runs (i.e., ones with a "grep=" bit) | 17:59 |
bcsaller | benji: it wouldn't be hard to optionally read the port from the shell env | 18:00 |
benji | it's probably not worth the additional complexity | 18:00 |
rick_h_ | bcsaller: yea, maybe limit it to just lboxing vs all test runs? | 18:00 |
bcsaller | its very little complexity | 18:01 |
bcsaller | process.environ.JUJU_TEST_SERVER_PORT || 0 (not sure I have the spelling right on nodejs env access, just guessing) | 18:01 |
hatch | +1 on checking if open | 18:03 |
hatch | I ran into the issue described but just dealt with it :) | 18:03 |
benji | Yeah, if we're not checking to see if the port is already in use, choosing a random one is worse than using a static one. | 18:05 |
benji | If we are checking to see if the port is available, we could just default to the current (er, old) port number if it is available | 18:05 |
gary_poster | Makyo, should I wait release on bug 1214821 | 18:05 |
_mup_ | Bug #1214821: new units added to the canvas overlap old ones <juju-gui:Triaged> <https://launchpad.net/bugs/1214821> | 18:05 |
gary_poster | Makyo, IOW are you almost done? Inclined to forge ahead | 18:05 |
Makyo | gary_poster, don't wait up. It's relatively small, but will involve a lot of QA on my end. | 18:05 |
gary_poster | cool thanks Makyo | 18:05 |
hatch | hey only 26errors after the refactor, not bad :) | 18:29 |
rick_h_ | hatch: :) | 18:30 |
benji | jujugui: review up: https://codereview.appspot.com/14216044 | 18:41 |
hatch | benji: I'll take it | 18:42 |
hatch | no qa notes? | 18:42 |
hatch | or is this the 'unable to do' branch? | 18:42 |
benji | hatch: well, you can do it, but it won't work :) | 18:43 |
benji | you have to enable the charmworldv3 flag | 18:43 |
hatch | benji: lol, so if I use the v3 flag It'll work? | 18:47 |
benji | hatch: no: if you use the v3 flag (and search for "wiki") you will see some bundle tokens that if dragged to the canvas will generate an error | 18:48 |
hatch | oh ok then | 18:48 |
gary_poster | benji, you have a sec to review my charm branch? https://codereview.appspot.com/14226043/ | 18:48 |
benji | gary_poster: sure | 18:49 |
gary_poster | thanks benji | 18:49 |
hatch | benji: done | 18:50 |
rick_h_ | jujugui small review please https://codereview.appspot.com/14222044 | 19:03 |
hatch | is manage.jujucharms.com down? | 19:04 |
hatch | it's giving me a 403 on my api requests | 19:05 |
hatch | rick_h_: sure | 19:05 |
rick_h_ | hatch: nope, but the nav is messed up | 19:05 |
hatch | who's responsible for manage? | 19:05 |
rick_h_ | hatch: us :) | 19:05 |
rick_h_ | hatch: what's the issue? | 19:05 |
hatch | shit those guys are so unreliable! | 19:06 |
hatch | OPTIONS https://manage.jujucharms.com/api/2/charm/precise/ceph-16 403 (Forbidden) | 19:06 |
gary_poster | benji ^^^ is this the rollout | 19:06 |
rick_h_ | hatch: oh, https is down, http is responding to calls oops | 19:07 |
* Makyo dogwalk, appt, etc. Back at normal EoD, will work some after. | 19:07 | |
gary_poster | oh | 19:07 |
rick_h_ | I would guess rollout issue with apache there. It should be redirecting http to https | 19:07 |
benji | gary_poster: jjo is actively working on the rollout | 19:07 |
gary_poster | benji ack thanks | 19:07 |
rick_h_ | heh, well now it's down down | 19:07 |
hatch | lol - ok well glad we are doing something on it | 19:08 |
hatch | would have been awesome if there were some warning ;) | 19:08 |
benji | that's what you get for complaining; the next time you get a time out | 19:08 |
hatch | lol! | 19:08 |
benji | :) | 19:08 |
gary_poster | jujugui, I am doing release QA, so if you could hold off on landing that would be convenient. :-) | 19:14 |
rick_h_ | gary_poster: rgr | 19:14 |
gary_poster | thank you | 19:14 |
hatch | rick_h_: done | 19:15 |
rick_h_ | hatch: thanks. | 19:16 |
rick_h_ | time to go get the boy and do flu shot time. Running away. | 19:16 |
hatch | lataz | 19:16 |
* hatch thought flu shots were for old people and babys | 19:16 | |
rick_h_ | hatch: and husbands of doctors... | 19:17 |
hatch | lol yeah good point I guess | 19:17 |
hatch | haha | 19:17 |
rick_h_ | day care and doctors bring home lots of bugs for home-body people like me to fight off | 19:17 |
hatch | yeah - I think that every time I go shopping I get sick | 19:18 |
hatch | lol | 19:18 |
benji | gary_poster: your branch looks good | 19:21 |
gary_poster | Thanks benji | 19:21 |
hatch | I'm going to grab some lunch while manage is spinning back up | 19:22 |
gary_poster | jujugui, release notes. comments corrections welcome. http://pastebin.ubuntu.com/6180930/ | 19:22 |
* hatch after he reads the release notes | 19:22 | |
* hatch still can't believe people turn off cookies | 19:22 | |
gary_poster | lol | 19:23 |
hatch | gary_poster: lgtm | 19:23 |
gary_poster | thanks hatch | 19:23 |
benji | the most common lie in release notes: "soon" | 19:23 |
bcsaller | lots of good fixes | 19:24 |
hatch | soon is relative :) | 19:24 |
gary_poster | :-) | 19:24 |
gary_poster | yes, definitely agree bcsaller | 19:24 |
benji | the notes look good to me | 19:25 |
=== _mup__ is now known as _mup_ | ||
gary_poster | thanks benji | 19:28 |
gary_poster | qa looks good to me. found an issue, reported it, but not a showstopper. proceeding with release. | 19:28 |
benji | abentley and/or sinzui: can you join be and jjo in #webops? The charmworld upgrade is going poorly and I have to leave for a doctors appointment in 20 minutes. | 19:42 |
jcastro | http://askubuntu.com/questions/352427/juju-gui-charm-api-did-not-respond | 20:09 |
jcastro | anyone ever see this before? | 20:10 |
jcastro | I've never even seen that error before this | 20:10 |
rick_h_ | jcastro: there was a deploy back at 19:07ish that had things down for a minute? | 20:23 |
rick_h_ | that's a hair under an hour ago and this post is showing about 31min ago? | 20:23 |
rick_h_ | jcastro: just a guess, but I'll bet it hit that as apache restarted and hatch hit the same thing in doing some testing. I'd just follow up if it's still an issue and if not then carry on. | 20:24 |
hatch | jcastro: rick_h_ yes manage.jujucharms.com is down still | 20:25 |
hatch | I'm not sure who's doing the work on it? | 20:25 |
hatch | it's been down for quite a while now | 20:26 |
rick_h_ | hatch: oh, didn't notice it was still down :( | 20:26 |
hatch | yeah now it's holding me up....who do I need to lend a hand to to get it back up? | 20:26 |
rick_h_ | benji: news from jjo? hatch maybe join #webops and see if there's news to follow up there | 20:26 |
hatch | will do | 20:27 |
hatch | jcastro: I can reply to that askubuntu post | 20:29 |
hatch | I should create an account anyways | 20:29 |
hatch | :D | 20:29 |
hatch | jcastro: done http://askubuntu.com/questions/352427/juju-gui-charm-api-did-not-respond/352444#352444 | 20:32 |
_mup_ | Bug #352444: Banshee.exe crashed with SIGSEGV <amd64> <apport-crash> <apport-failed-retrace> <banshee (Ubuntu):Invalid> <https://launchpad.net/bugs/352444> | 20:32 |
hatch | I also subscribed to juju and gui tags so hopefully as new ones come up I can help with them | 20:33 |
gary_poster | jujugui, release was made, but holding off on announcement till charmwoprld is back | 20:42 |
gary_poster | benji, you landed in middle of release, but was ok :-P | 20:42 |
benji | gary_poster: darn! I was so focused on finishing before I had to go I messed up. | 20:48 |
gary_poster | benji, np :-) | 20:48 |
benji | I guess in an ideal world we would have a gate on that. | 20:48 |
hatch | we do don't we? | 20:48 |
hatch | because you release from your own machine | 20:49 |
hatch | :) | 20:49 |
gary_poster | benji, do I understand correctly that the deployment problem is that pyjuju/zookeeper fell over badly? | 20:49 |
benji | gary_poster: that is at least part of it | 20:49 |
hatch | it's times like this I'm glad I'm not in devops | 20:50 |
hatch | er | 20:50 |
hatch | sysops | 20:50 |
gary_poster | oh, there's more benji? I saw sinzui point out http://staging.jujucharms.com/heartbeat | 20:50 |
gary_poster | is that an issue? | 20:50 |
benji | gary_poster: that status is 25% better than it was when I left | 20:50 |
gary_poster | benji, that's staging | 20:50 |
benji | oh, darn | 20:51 |
gary_poster | http://manage.jujucharms.com/heartbeat | 20:51 |
* gary_poster needs to step away | 21:24 | |
huwshimi | Morning | 23:10 |
hatch | ahoy! | 23:10 |
hatch | you missed all the downtime this afternoon - came up just in time for you to be productive ;) | 23:11 |
hatch | but a GUI release went out | 23:13 |
hatch | so that's cool | 23:13 |
huwshimi | :) | 23:14 |
gary_poster | hey huwshimi. yeah, "exciting" afternoon. ;-) Have a good day. | 23:16 |
huwshimi | hehe | 23:17 |
hatch | haha - so when manage went down I kept working on my branch - and it all still works | 23:21 |
hatch | lol, yussss | 23:21 |
hatch | man sometimes i get some super odd content requests on my blog... | 23:25 |
hatch | and not just once either | 23:25 |
hatch | like requests for php files, aspx files ? | 23:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!