/srv/irclogs.ubuntu.com/2013/10/01/#juju-gui.txt

bachatch: you still around?00:12
bacor bcsaller?00:12
bcsallerI am 00:13
bcsallerbac: whats up?00:13
bacbcsaller: hey i've got a problem where 'make check' when run by lbox fails 90% of the time.  makes it really hard to land branches00:13
bacbcsaller: that's the hell i'm stuck in now.  would you mind landing a branch for me?00:14
bacbcsaller: it is bzr+ssh://bazaar.launchpad.net/~bac/juju-gui/featured00:14
bcsalleryeah, you have the LGTM's and all?00:14
bacbcsaller: yep, it's ready to go00:14
bcsallerI'll give it a go00:14
bacbetween gjslint dumping core and this problem i've been poking at it for quite a while now00:15
bacbcsaller: thanks a bunch00:15
bcsallerThe 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 me00:16
bcsallertrying make check now00:16
bcsallerbac: landed it00:27
bacthanks ben00:28
bacwith that i'm outta here00:28
* bac -> ich bin ein berliner00:28
rick_h_hatch: I'm going to have to introduce you to bzr mv00:45
=== gary_poster is now known as gary_poster|away
rick_h_hatch: notes sent01:06
rick_h_hatch: looking good, lots of notpicking and a couple of bigger decisions to debate tomorrow01:07
davecheneyhello, can anyone help me debug a gui problem ?01:21
davecheneyhttp://paste.ubuntu.com/6177888/01:22
davecheneyrun this script to create an environment01:22
davecheneythen, using the gui, try to create a relation between p1 and w101:22
davecheneythen p1 and w201:22
rick_h_davecheney: will give it a shot here in a sec01:25
davecheneythanks01:25
davecheneyrick_h_: if you already have an enviroment running01:25
rick_h_davecheney: all good, will try with lxc 01:26
davecheneythe issue is you cannot create two relatoins from p1 to anything01:26
davecheneyafte the first one01:26
davecheneyall the remaining services are grey and will not accept a relation from p101: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
davecheneythat is just a label01:33
davecheneyif you do01:33
davecheneyadd-relation w1 p101:33
rick_h_well those are two different interfaces that haproxy supports01:33
davecheneyor p1 w101:33
davecheneyit's just a label01:33
davecheneydefined by the order of the relation01:33
davecheneythey are both the http interface01:33
rick_h_davecheney: ah, ok cool01:33
davecheneyso if you do p1 w101:34
davecheneyit's called reverse proxy01:34
davecheneyif you do w1 p1 it's called website01:34
davecheneyit would be good if the gui would say01:34
davecheneylabel:interface01:34
davecheneyrather than just label01:34
davecheneyfor example when relating mediawiki01:34
bcsallertrunk should do that actually01:34
davecheneyyou have two mysel interfaces01: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
davecheneydb:mysql01:34
davecheneydb_slave:mysql01:35
davecheneyrick_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 types01: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 relation01:37
rick_h_or does that not make sense to other heads?01:37
rick_h_maybe with/to01:37
davecheneyrick_h_: sounds like it01:39
davecheneyafaik there is no limit on the number of peers of you can relate a service too01:40
davecheneylemmie ask hazmat 01:40
davecheneyhazmat: 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 tonight01:40
hazmatdavecheney, no01:40
hazmatdavecheney, there is a notion of such in the charm metadata though01:41
hazmatits not acted upon01:41
hazmatalso the gui solves once for requires01:41
hazmateffectively from a semantic perspective only provides  are unlimited as a relation endpoint01:41
hazmatpeers are self established and effectively have a rel max count of 101:42
hazmats/self/auto01:42
hazmatthey shouldn't appear in the gui as a valid rel target, but some display nesc for peer rel errors01:43
davecheneyhazmat: i don't understand anything you just said01:43
davecheneycan haproxy have more than one service related to it ?01:43
hazmatsemantically no01:43
hazmatit requires http01:43
davecheneyhazmat: i can do it with the cli01:43
davecheneyand when I try the same, add-relation w2 p1 action in the gui01:44
davecheneyfrom eithre p1 to w201:44
davecheneyor w2 to p1, it does not work, all the other services are greyed out01:44
hazmathmm.. yeah.. it does look like it works for haproxy. for most services it doesn't01:44
davecheneyhazmat: where is the bug ?01:45
hazmatie. you can't relate wordpress to multiple mysql for examples logically01:45
davecheneythe gui01:45
davecheneyor the charm ?01:45
hazmatdavecheney, 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
hazmattheir's some assumptions made beyond the base model01:45
davecheneyhazmat: ok, rick_h_ , thanks will log a bug01:46
hazmathence the phrase semantically01:46
hazmatbecause otherwise you get errors for the vast majority of requires dependencies uses01:46
hazmatwhich don't support multiples here01:46
davecheneyhazmat: rick_h_ https://bugs.launchpad.net/juju-gui/+bug/123346201: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
davecheneyhazmat: but it works with mysql and wordpress01:47
hazmatdavecheney, its only supported by the charm with explicit service config01:47
davecheneywhat is the difference ?01:48
hazmatdavecheney, how01:48
hazmatdavecheney, wordpress can only use one mysql db01:48
hazmatnot multiples01:48
davecheneyhazmat: ok, so is this a charm bug or a gui bug ?01:48
hazmatit only works for haproxy charm, because its specifically implemented via charm config01:48
hazmatdavecheney, neither01:48
davecheneywhat is explicit service config ?01:48
hazmatcharm config01:48
hazmatyou have to configure the haproxy charm for this to work, relating to multiple upstream services01:49
hazmatotherwise its just broken01:49
davecheneyhazmat: lets not get bogged down with what haproxy does when it gets that second relation01:49
rick_h_you know what, now that you say that this has come up before01:49
davecheneymy issue is, i can do something on the cli that I can't do in the gui01:49
hazmatdavecheney, why not? its perfectly relevant to the gui behavior here01:49
hazmatwhich is don't let me casually get a bunch of broken services01:49
hazmatby accidental relation creation01:50
davecheneyhazmat: ok, please answer this01:50
davecheneyhow does the gui know ?01:50
davecheneywhere is the metadata that explains that ha proxy can only have one relation on the website:http relation ?01:50
hazmatdavecheney, fufilled requirements ('requires') are considered satisified if they have an established relation01:50
davecheneysorry, reverseproxy:http relation01:50
davecheneyhazmat: please don't talk charm speak to me01:51
davecheneyi don't understand it01:51
davecheneyspeak plainly and use the words I use01:51
davecheneywhich are add-relatoin, gui and cli01:51
hazmatrelation endpoints, are one of three types .. peer, client/require, server/provider01:51
hazmatpeers are auto established on deploy, no need for add-relation01:51
davecheneyok01:52
hazmatclient <-> server ... the gui will only do a client as a valid add-relation target, if doesn't have a another client-server relation01:52
hazmatservers can do unlimited clients01:52
davecheneywhat01:52
davecheneystop01:52
davecheney"he gui will only do a client as a valid add-relation target"01:52
davecheneyplease explains this bit01:52
davecheneyi don't understand01:52
* hazmat sighs01:52
hazmatg+?01:53
hazmatdavecheney, https://plus.google.com/hangouts/_/2e5dc0e9a9e103bfccc16a95c045b1a2ce449249?hl=en01:54
rick_h_hazmat: mind if I jump in to catch up?01:54
hazmatrick_h_, sure01:54
davecheneysorry, i don't ahve my teleconference kit with me01:54
davecheneyi'm at a coworking space01:54
davecheneywe can do this another time01:54
davecheneyall i'm looking for is the magic bit of configuation in the charm that says 'i can have multiple relations'01:54
davecheneywhich i'm guessing is provides an requires01:54
davecheneyrequires is at most one01:54
davecheneyprovies is many01:54
hazmatnutshell yes01:55
hazmatdavecheney, put another way the only charm that supports multiple requires relations that doesn't result in broken usage i  know of is haproxy01:56
davecheneyprovides:01:56
davecheney  website:01:56
davecheney    interface: http01:56
davecheney^ from ha proxy 01:56
davecheneyahh, but wordpress doens't have a requires01:56
hazmatyes.. both haproxy and wordpress provide http.. but haproxy has to require an upstream http.01:57
hazmatand even then haproxy requires explicit service configuration to be set for this usage to work01:57
davecheneyprovides: - 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
davecheneyrequires: - 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
davecheneyfrom our docs02:03
davecheneybrilliant ...02:03
davecheneyhazmat: looking at the mysql charm02:04
davecheneyit provides db:mysql to many clients02:04
davecheneyand requires salve:mysql-oneway-replicatoin to many clients02:05
davecheneythere is a limit: n field in the docs02:05
davecheneybut it is not implemented02:05
hazmatrequires: to one client02:05
hazmater.. requires: to one provider02:05
davecheneyhazmat: so you are saying i can only have one master and one slave ?02:06
hazmatno.. you can have several slaves02:06
hazmatyou said it requires: x... 02:06
davecheneyso i can do juju deploy -n2 mysql slave02:07
hazmatall requires: are in common usage to one relation (which is implemented and constrained as such by the gui) 02:07
davecheneythe juju add-relation m1:slave slave:master02:07
davecheneysorry, terrible names ?02:07
hazmatnumber of units has nothing to do with relations02:07
hazmatnumber of services does02:07
davecheneyaaaaaaahhhhhhhhhhhhhhhh02:07
davecheneynow I understand02:07
davecheneyso i cannot do02:08
davecheneyjuju deploy mysql s1 02:08
davecheneyjuju deploy mysql s202:08
davecheneyjuju add-relation m1:slave s102:08
davecheneyjuju add-relation m1:slave s202:08
davecheneybecause that is what I *think* is happening with the haproxy example02:08
hazmatnot quite02:09
hazmatjuju add-relation m1:master s1:slave02:09
hazmatjuju add-relation m1:master s2:slave02:09
hazmatthe haproxy to not result in a something broken does02:10
davecheneyrick_h_: that is the bug02:10
davecheneythe name of the relation shuld be reverseproxy02:10
davecheneynot website02:10
hazmatdavecheney, that's a judgement call02:11
hazmatdavecheney, we basically color / label the relations by the name of provider afaicr02:11
hazmatin the gui02:11
hazmator is it the other way around.. don't remember.. i tried both ways.. one worked better for the majority02:12
davecheneyright02:12
davecheneyso it's wordpress, website:http <> haproxy reverseproxy:http02:12
hatchoh good you guys are discussing that bug02:16
* hatch reads the backlog02:16
hatchI seem to remember this exact issue being brought up by someone else02:19
hatchI wonder if this can be better documented/illustrated somewhere02:19
davecheneyhazmat: as I read it, wordpress provides website:http02:20
davecheneywhich means many services may require it02:20
davecheneyis that correct ?02:20
davecheneyhazmat: the short version is02:22
davecheneyhaproxy can only proxy one service02:22
davecheneythe gui is doing the right thing02:22
davecheneythe client is doing the wrong thing02:22
hatchI hope that's right, I spent a long time on those darn endpoint calculations :D02:24
hatch(in the gui)02:24
hatchunless of course that's not the case, then it was someone else :P02:25
davecheneyLP123346202:25
davecheney#123346202: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
hatchdavecheney: not sure if you saw, but all of your previous bugs have been fixed and committed waiting for release02:25
davecheneyhatch: nice02:26
davecheneythanks02:26
davecheneyi look forward to consuming them02:27
hatchdavecheney: ok I'm not the utmost expert in this field but as per your bug I would bet that the GUI is acting correctly02:28
hatchunless you have done some magic in the hook for the requires02:28
hatchso maybe the CLI allows you to do it because you 'might' want to do it??02:28
davecheneyhatch: the gui only consumes metadata.yaml, right ?02:28
hatchthe GUI gets it's metadata from charmworld02:29
hatch'formatted' metadata02:29
davecheneyhatch: my point is, nobody reads the hooks02:29
davecheneythey are opaque02:29
hatchagreed02:30
hatchthenagain noone reads the source of any module they include into their system :D02:30
davecheneyhatch: when I say noone, i mean the gui, the cli, etc02:30
davecheneytheir contents do not influcnce the gui endpoint calculations02:30
hatchcorrect02:30
hatchthere would be no way they could02:31
davecheney12:28 < hatch> unless you have done some magic in the hook for the requires02:31
davecheney^ so this isn't possible02:31
hatchwell you can write whatever you want in your hooks - so that might be why the CLI allows it02:31
davecheneyhatch: in that case, the gui shuld allow this as well02:31
davecheneywhich sounds wrong02:31
hatchhmm02:32
hatchyeah I can't really disagree with that02:32
hatchguess that's not really up to me which one is doing it wrong :)02:34
hatchbut 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 endpoint02:37
=== gary_poster|away is now known as gary_poster
=== TheRealMue is now known as TheMue
gary_posterThe email! It doesn't stop! <whimpers>13:10
rick_h_gary_poster: we need an email protection program that mirrors the witness protection program13:14
gary_posterrick_h_, lol sounds good13:14
rick_h_you get sent away and you can't tell anyone where you went13:14
gary_posteras long as you don't have to deal with the subsequent fallout, +1 :-)13:14
TheMuegary_poster: i've commented in https://bugs.launchpad.net/juju-core/+bug/1224568 what's now reported in case of a hook error13:28
_mup_Bug #1224568: Improve hook error reporting <juju-core:In Progress by themue> <https://launchpad.net/bugs/1224568>13:28
TheMuegary_poster: could you check if this is ok for you?13:29
gary_posterTheMue, awesome, thanks, yes!  looking13:29
gary_posterTheMue, could you include a concrete example there or in a pastebin?13:30
gary_posterTheMue, fwiw, it sounds perfect so far. :-)13:31
TheMuegary_poster: ok, will add it13:32
gary_posterthank yoU13: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
TheMuegary_poster: done14:05
gary_posterTheMue, ack and thanks!  on call, will review after call14:05
hatch_the power went out here last night - I remember when everything wasn't battery powered and that mattered :D14:16
=== hatch_ is now known as hatch
rick_h_heh14: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 while14:18
hatchwe are very close to the local switch, so I'm goign to assume that if we get a 'real' outage we would also lose internet14:18
hatchbut I have no idea what's inside those big green boxes14:19
hatch:)14:19
hatchso...it's been a couple days since the finally of breaking bad...I hope people can stop talking about it now14:22
hatch:P14:22
rick_h_benji: got a sec to chat charm id in the bundle api response?14:27
benjirick_h_: sure14:28
hatchrick_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
hatchhaha ok cool, I'm trying to find out if there are icons for bundles14:29
hatchit doesn't look like it14:29
hatchthe docs mention a 'has_icon' property but that's not retured14:31
rick_h_hatch: yea, sec otp14:36
rick_h_hatch: ok, got a sec if you want to chat then?14:43
hatchcalling14: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 mysql15:04
rick_h_benji: the rest don't have a charm name, but the key looks like the name15:04
rick_h_benji: is there any rule of thumb on this atm?15:04
benjirick_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 call15:06
=== matsubara is now known as matsubara-lunch
benjirick_h_: +115:08
benjirick_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 layout15:09
benjithat way if an attribute is added to the deployer data we don't have to worry about key collisions15:09
hatch_so remember when I said a 'real' poweroutage15:10
hatch_lol15:10
hatch_ka-boooooom goes the transformer15: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 here15: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 verified15:15
benjirick_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
benjifor the search results use, its easy15:17
benjiright 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 calls15:19
rick_h_the name kind of sucks in this case, but I'd rather keep that key consistant with the rest of the api15:19
rick_h_http://staging.jujucharms.com/api/2/charm/precise/apache2-2 like here where the doctype was part of metadata15:20
* rick_h_ thought we used it elsewhere as well...15:20
benjirick_h_: yeah, I don't really like "metadata" in isolation there, but the consistency argument makes sense15:23
rick_h_benji: right15:23
rick_h_frankban: ping, got a sec?15:30
frankbanrick_h_: sure15: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 appears15:31
rick_h_frankban: so when I test trunk, I minimize, reopen, the details are there but then get blanked15:31
rick_h_frankban: as if something stepped in and deleted it. This is very visible in IE because of the sloweless of it15:31
frankbanrick_h_: yes, the sidebar.render() makes them disappear15: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 again15: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
frankbanrick_h_: it depends: I don't know why we are re-rendering the sidebar, and if the reason also applies to the details15:33
rick_h_frankban: k, looking through the code now. I know there was a bug around something there. Trying to recall. 15:33
frankbanrick_h_: thanks15: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 it15: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
frankbanrick_h_: sure15:39
rick_h_frankban: https://plus.google.com/hangouts/_/c28ca959a840aa4051c5bdcd11f691bfe11d92c7?hl=en 15:41
Makyojujugui call in 1015:50
luca__gary_poster: I'll get back to you tomorrow on the build relation thing, I want to think it over a bit15:55
hatchMakyo: the new Krewella cd 'Get Wet' is out, not sure if you're a fan? https://itunes.apple.com/ca/album/get-wet/id68947243015: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
Makyohatch, 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
hatchwill have to take a look after the call15:57
MakyoOfc15:58
Makyojujugui call in 2 :)15:58
=== matsubara-lunch is now known as matsubara
hatchMakyo: my dogs hate your music16:26
hatchlol16:26
MakyoHahahah16:26
frankbanrick_h_: it seems the sidebar shows up before routeDirectCharmId is called16:27
Makyohatch, currently stuck on http://www.youtube.com/watch?v=l2f6UbMnlq4 though16:28
rick_h_frankban: yes, I'm looking now. I think the bug is in the cleanOldViews and the viewmode state change16: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 it16:29
hatchMakyo: slightly different than this version of The Fox http://www.youtube.com/watch?v=jofNR_WkoCE16:29
MakyoDo I want to click this?  Will this make me want to strangle someone?16:29
MakyoYep.16:29
hatchlol!16:30
MakyoC'mere hatch.  Stranglin' time.16:30
hatchwhat does the fox say? ding ding ding ding ding ding lol16:30
MakyoJames got the woot shirt with that on it.  Sigh.16:31
hatchlol16:32
rick_h_frankban: so http://paste.mitechie.com/show/1026/ I think fixes it16: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 flicker16:34
hatchMakyo: http://www.youtube.com/watch?v=mbyzgeee2mg by the same guys16:35
MakyoThat video is so ridiculous :P16:35
hatchlol16:36
rick_h_frankban: so this gets to the point that originally we kept the html around so that minimize/unminimized where instant user experiences16:36
frankbanrick_h_: that's great! so we were seeing a ghost of the old sidebar16: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 up16:36
frankbanrick_h_: makes sense. and the updateVisible fix really shows its effects, right?16:37
frankbanrick_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 then16: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
frankbanrick_h_: makes sense, so in _shouldShowCharm, if we have a charmID but not a _details, we return true16: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 charm16: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 fine16:50
frankbanrick_h_: ok, I'll check it tomorrow, and repropose16:51
rick_h_frankban: ok, sounds good. Sorry to run you through it all. 16:51
rick_h_thanks for tracing it through16:51
frankbanrick_h_: no worries: your solution is simple and clean, thanks for helping me16:52
gary_posterhey 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
hatchlooking17:24
hatchgary_poster: odd that I have it 'affecting' me but I don't get the update emails17:25
hatchthanks for pointing it out17:25
gary_posterhatch, look for subscription information on right of bug17:26
gary_poster"You are not subscribed..."17:26
gary_posterclick on link to change17:26
hatchweird, so what's the point of 'affects' ? haha17:26
gary_posterhatch, I think it was introduced as a way to reduce people adding "+1" comments17:28
hatchohh17:28
hatchthis is looking great17:29
hatchdo that's going to be coming in 1.16?17:29
hatchso*17:29
gary_posterhatch yeah I think so17:31
gary_posterhatch, so he means all of those keys come in the unit state keys right?17:31
hatchjust reading the diffs17:32
hatchok yes so basically he added a new Data param which includes those keys17:33
hatchbasically exactly what we asked for17:33
gary_posterhatch, so those keys are nested in "Data"?17:33
hatchright17:34
gary_postercool.17:34
hatchyeah so we can modify the contents of Data all we want without stirring up a mess down the road17:34
gary_posteroic17:34
bcsallerwe don't set status, core does17:34
hatchwe have the keys to core's house17:35
hatch;)17:35
hatchI can't seem to link to a line in the diff, but there is now a StatusData key17:36
bcsallerI've read the diff17:36
hatchthe only question I have....is I see the data there for the errors17:38
hatchbut I don't see how we can tell if it's an error17:39
hatchsee comment #4 and #5 on the bug17:39
hatchoh nm17:39
gary_posterhatch, status, yeah?17:39
hatchyeah my brain has just been failing lately17:40
gary_poster:-)17:40
hatcherr = u.SetStatus(params.StatusError, "lol borken", nil)17:40
hatchwe should totally use those error messages17:40
hatchhaha17:40
gary_poster:-)17:40
benjioh, the test server port changed; is the new port number random or fixed?17:56
gary_posterbenji, random17:57
benjithat's irritating17:57
gary_posterbenji, 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_posterjujugui, charm review in https://codereview.appspot.com/14226043/17:59
benjiI use browser and command-line history to recall previous test runs (i.e., ones with a "grep=" bit)17:59
bcsallerbenji: it wouldn't be hard to optionally read the port from the shell env18:00
benjiit's probably not worth the additional complexity18:00
rick_h_bcsaller: yea, maybe limit it to just lboxing vs all test runs?18:00
bcsallerits very little complexity 18:01
bcsallerprocess.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 open18:03
hatchI ran into the issue described but just dealt with it :)18:03
benjiYeah, 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
benjiIf we are checking to see if the port is available, we could just default to the current (er, old) port number if it is available18:05
gary_posterMakyo, should I wait release on bug 121482118:05
_mup_Bug #1214821: new units added to the canvas overlap old ones <juju-gui:Triaged> <https://launchpad.net/bugs/1214821>18:05
gary_posterMakyo, IOW are you almost done?  Inclined to forge ahead18:05
Makyogary_poster, don't wait up.  It's relatively small, but will involve a lot of QA on my end.18:05
gary_postercool thanks Makyo 18:05
hatchhey only 26errors after the refactor, not bad :)18:29
rick_h_hatch: :)18:30
benjijujugui: review up: https://codereview.appspot.com/1421604418:41
hatchbenji: I'll take it18:42
hatchno qa notes?18:42
hatchor is this the 'unable to do' branch?18:42
benjihatch: well, you can do it, but it won't work :)18:43
benjiyou have to enable the charmworldv3 flag18:43
hatchbenji: lol, so if I use the v3 flag It'll work?18:47
benjihatch: 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 error18:48
hatchoh ok then18:48
gary_posterbenji, you have a sec to review my charm branch? https://codereview.appspot.com/14226043/18:48
benjigary_poster: sure18:49
gary_posterthanks benji18:49
hatchbenji: done18:50
rick_h_jujugui small review please https://codereview.appspot.com/1422204419:03
hatchis manage.jujucharms.com down?19:04
hatchit's giving me a 403 on my api requests19:05
hatchrick_h_: sure19:05
rick_h_hatch: nope, but the nav is messed up 19:05
hatchwho's responsible for manage?19:05
rick_h_hatch: us :)19:05
rick_h_hatch: what's the issue?19:05
hatchshit those guys are so unreliable!19:06
hatchOPTIONS https://manage.jujucharms.com/api/2/charm/precise/ceph-16 403 (Forbidden)19:06
gary_posterbenji ^^^ is this the rollout19:06
rick_h_hatch: oh, https is down, http is responding to calls oops19:07
* Makyo dogwalk, appt, etc. Back at normal EoD, will work some after.19:07
gary_posteroh19:07
rick_h_I would guess rollout issue with apache there. It should be redirecting http to https19:07
benjigary_poster: jjo is actively working on the rollout19:07
gary_posterbenji ack thanks19:07
rick_h_heh, well now it's down down19:07
hatchlol - ok well glad we are doing something on it19:08
hatchwould have been awesome if there were some warning ;)19:08
benjithat's what you get for complaining; the next time you get a time out19:08
hatchlol!19:08
benji:)19:08
gary_posterjujugui, I am doing release QA, so if you could hold off on landing that would be convenient.  :-)19:14
rick_h_gary_poster: rgr19:14
gary_posterthank you19:14
hatchrick_h_: done19:15
rick_h_hatch: thanks. 19:16
rick_h_time to go get the boy and do flu shot time. Running away. 19:16
hatchlataz19:16
* hatch thought flu shots were for old people and babys19:16
rick_h_hatch: and husbands of doctors...19:17
hatchlol yeah good point I guess19:17
hatchhaha19:17
rick_h_day care and doctors bring home lots of bugs for home-body people like me to fight off 19:17
hatchyeah - I think that every time I go shopping I get sick19:18
hatchlol19:18
benjigary_poster: your branch looks good19:21
gary_posterThanks benji19:21
hatchI'm going to grab some lunch while manage is spinning back up19:22
gary_posterjujugui, release notes.  comments corrections welcome.  http://pastebin.ubuntu.com/6180930/19:22
* hatch after he reads the release notes19:22
* hatch still can't believe people turn off cookies19:22
gary_posterlol19:23
hatchgary_poster: lgtm19:23
gary_posterthanks hatch19:23
benjithe most common lie in release notes: "soon"19:23
bcsallerlots of good fixes 19:24
hatchsoon is relative :)19:24
gary_poster:-)19:24
gary_posteryes, definitely agree bcsaller19:24
benjithe notes look good to me19:25
=== _mup__ is now known as _mup_
gary_posterthanks benji19:28
gary_posterqa looks good to me.  found an issue, reported it, but not a showstopper.  proceeding with release.19:28
benjiabentley 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
jcastrohttp://askubuntu.com/questions/352427/juju-gui-charm-api-did-not-respond20:09
jcastroanyone ever see this before?20:10
jcastroI've never even seen that error before this20: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
hatchjcastro: rick_h_ yes manage.jujucharms.com is down still20:25
hatchI'm not sure who's doing the work on it?20:25
hatchit's been down for quite a while now20:26
rick_h_hatch: oh, didn't notice it was still down :(20:26
hatchyeah 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 there20:26
hatchwill do20:27
hatchjcastro: I can reply to that askubuntu post20:29
hatchI should create an account anyways20:29
hatch:D20:29
hatchjcastro: done http://askubuntu.com/questions/352427/juju-gui-charm-api-did-not-respond/352444#35244420: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
hatchI also subscribed to juju and gui tags so hopefully as new ones come up I can help with them20:33
gary_posterjujugui, release was made, but holding off on announcement till charmwoprld is back20:42
gary_posterbenji, you landed in middle of release, but was ok :-P20:42
benjigary_poster: darn!  I was so focused on finishing before I had to go I messed up.20:48
gary_posterbenji, np :-)20:48
benjiI guess in an ideal world we would have a gate on that.20:48
hatchwe do don't we?20:48
hatchbecause you release from your own machine20:49
hatch:)20:49
gary_posterbenji, do I understand correctly that the deployment problem is that pyjuju/zookeeper fell over badly?20:49
benjigary_poster: that is at least part of it20:49
hatchit's times like this I'm glad I'm not in devops20:50
hatcher20:50
hatchsysops20:50
gary_posteroh, there's more benji?  I saw sinzui point out http://staging.jujucharms.com/heartbeat20:50
gary_posteris that an issue?20:50
benjigary_poster: that status is 25% better than it was when I left20:50
gary_posterbenji, that's staging20:50
benjioh, darn20:51
gary_posterhttp://manage.jujucharms.com/heartbeat20:51
* gary_poster needs to step away21:24
huwshimiMorning23:10
hatchahoy!23:10
hatchyou missed all the downtime this afternoon - came up just in time for you to be productive ;)23:11
hatchbut a GUI release went out23:13
hatchso that's cool23:13
huwshimi:)23:14
gary_posterhey huwshimi.  yeah, "exciting" afternoon. ;-) Have a good day.23:16
huwshimihehe23:17
hatchhaha - so when manage went down I kept working on my branch - and it all still works23:21
hatchlol, yussss23:21
hatchman sometimes i get some super odd content requests on my blog...23:25
hatchand not just once either23:25
hatchlike requests for php files, aspx files ?23:26

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