/srv/irclogs.ubuntu.com/2013/11/20/#juju-gui.txt

hatchjujugui looking for a review and qa on https://codereview.appspot.com/29400043/01:28
MakyoWill review.01:29
hatchthanks01:29
MakyoMay not get to QA01:29
MakyoWill try, though01:29
hatchI just did a very deep qa so it's probably ok.....but ya know should probably have one anyways :)01:29
hatchstepping away for supper now01:29
MakyoCool, yeah, same reason.  Code LGTM, will see about Qa after dinner01:31
hazmatgary_poster, re unit errors, that's a previous behavior, ie errors at any point are considered fatal, part of it goes back to the original dev of deployer around stack testing/dev. noted that its not good behavior for this use case02:30
gary_posterack hazmat thanks.  if we provide branch that changes, should we make it optional and non-default, or something else, or you're not sure yet?02:34
hazmatgary_poster, so there's quite a few cleanups in that same vein.. deployer has poor error handling for a library02:38
gary_posteragreed, not designed for that02:38
gary_posterbut now that's what we want02:38
hazmatgary_poster, ack, so a flag usage for it is fine.02:39
gary_posterhazmat, cool, thanks.  default to erroring, to keep current behavior?02:40
hazmatyup02:40
gary_posterk02:40
gary_posterthanks02:40
hazmatgary_poster, incidentally commited that 0 int fix that frankban was looking for.02:42
gary_posterawesome, thanks, will pass that on :-)02:43
hazmatgary_poster, fwiw just put in a deployer merge proposal to update error/warning feedback handling, frankban as reviewer.05:09
gary_posterjujugui hi.  I have to be daddy at home this morning for a bit.  Today and tomorrow are vUDS.  I have added five sessions today and tomorrow to the UI team Google calendar that I think are interesting for us (and some we are essential)13:11
gary_posterPlease take a look and see what you can attend13:11
bacack13:11
benjik13:11
frankbangary_poster: ack, available for the pre-imp when you want. guihelp: I need one review+qa for https://codereview.appspot.com/29540044 (quickstart). Anyone available? thanks13:22
frankbanMakyo: ^^^ includes bootstrapping with sudo, so you might be interested13:23
gary_posterthank you13:25
gary_posterrick_h_, you back to the land of the living today? feeling better?13:26
* gary_poster off on morer daddy duty13:27
bacbenji, rick_h_: i think i've figured out my mongo problem.  if you bootstrap a local env in juju it creates /etc/init/juju-db-<user> files to start mongo on port 37017 for its use.  destroy-environment should remove those files.  if, however, they are not removed, when you reboot that mongo instance will spin up and then the upstart for your real mongodb will see a mongo instance running and start-stop-daemon will refuse to launch another.13:33
benjithis seems like a bug in juju; running a local env shouldn't disable an already-running mongo13:34
rick_h_bac: yea13:41
rick_h_gary_poster: definitely13:41
rick_h_bac: I wonder if this will be fixed by the new mongodb package they're looking to use 13:41
rick_h_frankban: I can peek at it since I've been wanting local quickstart13:42
frankbanrick_h_: thanks13:42
bacrick_h_: i don't know.  i filed bug 1253084 and have stirred the pot in #juju-dev13:47
_mup_Bug #1253084: local use of mongo prevents default mongodb from starting <juju-core:New> <https://launchpad.net/bugs/1253084>13:48
rick_h_if I ever have a mock question I'll be banging on frankban's door13:54
gary_posterrick_h_, great.  You happen to be attending the charm quality vUDS right now?  Was hoping you could be our representative14:14
gary_posterrick_h_, http://summit.ubuntu.com/uds-1311/meeting/22007/t-cloud-juju-charm-quality-points/14:14
rick_h_gary_poster: I'm listening in, I didn't want to jump in the middle14:14
rick_h_gary_poster: I missed getting in on time as I was reviewing and didn't look at the calendar until a little bit ago14:14
rick_h_I can jump in14:15
gary_posterrick_h_, ack.  could you please ping arosales and let him know that you are the GUI representative, if he'd like one participating?14:15
gary_posterthank you14:15
bacyay, wasted afternoon trying to figure out juju/mongo fighting only to have bug acknowledged and marked 'low'.  go team.14:15
gary_poster:-(14:15
rick_h_gary_poster: do you know how to join the hangout?14:16
gary_posterrick_h_, you ask arosales or other participants on channel for the link, I think.  Are you on the irc channel?14:18
rick_h_gary_poster: got a link14:18
rick_h_gary_poster: yep, all good14:18
gary_posterawesome14:18
hatchMakyo: hey are you in yet?14:23
hatchjujugui anyone available for a qa? Review is already done https://codereview.appspot.com/29400043/14:24
gary_posterfrankban, ready for call any time soon?  My two year old may distract us, but I need to try and move forward.14:24
gary_posterhatch I know you qa'd this a lot.  if you get a sandbox qa I think that's probably fine, if that helps14:26
gary_posterI'll see if I can do it quickly14:26
frankbangary_poster: I am using the phone connection now  :-/ but we can try14:28
gary_posterfrankban, can do the qa first.  would it help to wait a bit?14:28
rick_h_frankban: woot, boostrap to gui: .venv/bin/python juju-quickstart  7.14s user 0.48s system 6% cpu 2:01.61 total14:29
frankbangary_poster: yes it could, could you ping me later?14:30
gary_posterfrankban, sure, or you ping me when you are ready14:30
frankbanrick_h_: cool14:30
frankbangary_poster: ok14:30
arosalesgood to see rick_h_ got a link14:36
rick_h_arosales: all good, thanks14:36
gary_posterhatch, silly, but in sandbox, difference: Status Info: hook failed: db-relation-changed vs Status Info: hook failed: "config-changed" (notice quotes)14:48
gary_posterhatch, also Status Data does not seem to update properly14:48
gary_posterin sandbox14:48
hatchhmm14:48
gary_postershould disappear when no longer in error14:48
gary_posteryeah?14:48
hatchit should....14:48
hatchchecking on that14:48
hatchahh right, I never clear the agent state data on non errors in sandbox14:49
hatchgood catch :)14:49
hatchthe quotes are in the response from core so I'll add them to the relation-changed text14:50
gary_postercool.  also, hatch, more concerning for larger system (not your branch, probably), but I can pretty easily (1 in 12 attempts, say) click on a unit in error and get no information14:50
gary_posterthen if I click again it will show error info14:50
hatchyeah I noticed that too14:51
hatchjust going to make sure it happens on comingsoon14:51
gary_postergood idea14:52
hatchyeah it's there14:52
hatchI'll file a bug14:52
gary_posterthanks.  odd14:52
hatchyeah that doesn't make any sense - probably some type of race condition with the databinding14:54
gary_postertried the "break on any error" setting and triggered the problem: nothing.  so that won't help.14:54
frankbangary_poster: the network seems to work better now14:56
gary_postercool frankban.  hatch, sandbox QA OK with given notes.  14:57
gary_posterbrb14:57
hatchgreat thanks gary_poster they are fixed, just testing locally now14:57
gary_postergreat14:58
hatchwatching, waiting, of course I picked the only unit that the simulator loves to keep in error hah14:58
gary_poster:-)14:59
gary_posterfrankban, https://plus.google.com/hangouts/_/76cpjkfegd2n1821q2jb6snlo4?hl=en no rush 15:01
benjibac: do you have any getting-started hints on charmtools dev?  I'm library-ifying proof and both the readme and makefiles are crap15:04
bacbenji: don't forget the test runner!15:12
baci mean in your list15:12
benjibac: definiately; maybe that should be the first thing I do (along with making the README and Makefile better)15:12
bacbut, no, i have no tips15:12
benjik15:13
bacbenji: getting a sane test suite would be the first task i would think.15:13
benjiyep15:13
bacbenji: note there are lots of python tests that exist, and may even be good, but are not run.15:13
benjiI guess I'll use nose, since it seems to be the popular choice of the times.15:14
benjiI'll lay odds that tests that are not run will not be very good.15:14
frankbangary_poster: I don't hear you15:22
hatch-19C today....oooo winter hath arrived15:32
rick_h_hatch: beat me, 1.6C here 15:33
hatchand you have winter tires....pssshht15:33
rick_h_heh, it's more for Jan 15:33
rick_h_and the utter crap stock tires15:33
jcsacketthey jujugui dudes, is there anything y'all have done for charmworld that's not yet safe to release to production?15:34
bacnot me15:34
benjijcsackett: not that I am aware of, let me skim the recent changes real quick15:34
bacjcsackett: when you releasing?15:35
jcsackettbac: if you guys don't have anything dangerous, i'll put in the RT today.15:35
bacjcsackett: ok, we may follow up with another shortly15:36
benjijcsackett: it looks safe to me15:37
jcsackettbenji: thanks.15:38
benjinp15:39
gary_posterjcsackett, btw re comments in bug 1253123, please make sure that orange squad is coordinating with UX and UI team on any big charmworld changes: there are some gigantic plans up in the air there and we should make sure that we don't work to cross purposes15:40
_mup_Bug #1253123: No javascript test infrastructure <tech-debt> <charmworld:Triaged> <https://launchpad.net/bugs/1253123>15:40
* gary_poster returns to call15:40
jcsackettgary_poster: when we get to it, you got it.15:40
gary_postercool15:40
hatchjcsackett: kernel panic != crash?15:42
hatch:)15:42
jcsacketthatch: kernel panic is more descriptive, and i was punting it over to the ubuntu folks so i thought i would spare them interpreting the bug. :-)15:43
hatchoh haha15:43
jcsackett*really* not sure how that got filed against charmworld.15:43
jcsackettit makes sense when someone accidentally files against, say, launchpad, since that's the site you're on. can't fathom the pattern that led to that filing.15:44
hatchit was probably the first in the dropdown and they didn't change it15:44
hatchhaha15:44
hatchman it feels so weird not having Twitter installed on my phone15:46
hatchI never realized how often I checked it haha15:46
Makyojujugui call in 1015:50
gary_posterjujugui call in 215:58
rick_h_bac: http://www.voidspace.org.uk/python/mock/patch.html#where-to-patch16:00
rick_h_bac: the big thing is to patch the module using vs the original source16:00
gary_posterbenji, starting16:00
* benji takes an early lunch.16:36
gary_posterhey bac, could you give me the link to the bundle docs, so I can refer to them on the vUDS call?16:38
gary_posterbenji, frankban is the juju core call over already?16:38
frankbangary_poster: yes16:38
gary_posteranything interesting?16:39
frankbangary_poster: for us, ha the most interesting. unit leader election could be something we'll had to represent too16:40
benjigary_poster: yep16:40
gary_posterfrankban, we don't need to represent ha though, right?  except maybe as a switch?  IIUC, their HA approach leaves us out in the cold for being able to transparently switch16:41
benjiyeah, it was things we already knew were coming16:41
gary_posterfrankban, "unit leader"?16:41
gary_posternew idea, for master slave?16:41
frankbangary_poster: ha, isn't it something we need to support in the guiserver?16:42
gary_posterfrankban, the way that mramm described it to me lately is that they plan to only deliver db level HA16:42
frankbangary_poster: oic16:42
gary_posteryou have to do something manual to switch state servers IIRC16:42
gary_postermaybe that has changed yet again, dunno16:43
frankbanyeah, forgot about that distinction16:43
frankbanMakyo: ping16:57
Makyofrankban, Hey17:01
frankbanMakyo: I landed a branch which makes use of sudo in quickstart. I just tested it by ensuring (with mock) that utils.call is called with the expected args. Is it any different from what you are doing re sudo stuff?17:02
Makyofrankban, I'm mocking subprocess.Popen: http://bazaar.launchpad.net/~makyo/juju-quickstart/ensure-juju-lxc/view/head:/quickstart/tests/test_utils.py17:04
bacgary_poster: is the session going?  i see nothing.17:04
gary_posterbac, trying to figure out where to go :-/17:04
bacgary_poster: you wanted this: https://docs.google.com/a/canonical.com/document/d/1paE70HEVgKA6LIjngzMa83OYr5jkZrOJ0hVNrYUuva0/edit17:06
gary_posterthank you bac17:06
gary_posterjujugui, jcastro points out I got the time wrong.  sorry.  starts in 1 hr17:06
bacgah!17:07
rick_h_bac: gets extra lunch time!17:07
hatchgary_poster: where is the vuds links and whatnot? I can't seem to find them anywhere on the ubuntu website17:07
bacrick_h_: i raced through my leftover steak and beans17:07
frankbanMakyo: ack, quick hangout?17:07
rick_h_bac: desert time!17:08
Makyofrankban, sure17:08
hatchthe Chrome Dev Summit starts today as well :)17:09
bacrick_h_: hmm, i could walk up to ben & jerry's17:09
bacrick_h_: here is what i have, test-wise http://pastebin.ubuntu.com/6448832/17:09
rick_h_doh! jealous17:09
gary_posterbac, sorry, I suck17:09
frankbanMakyo: https://plus.google.com/hangouts/_/7ecpjmcijt0iomhsrqqr05lf00?hl=en17:09
bacrick_h_: utils is where it is defined.  views.bundles imports and uses it.  i tried mocking both.17:09
bacbut, like i asked, can you be too far up the call chain for the mock to work?17:10
rick_h_bac: right, but how does views.bundles import it? I think you want from charmworld.views import bundles; patch(bundles.utils.get_bundle_downloads)17:10
rick_h_bac: assuming that in bundles it's from charmworld import utils17:11
rick_h_otherwise shrink it down until it directly matches17:11
rick_h_that might be patch(bundles.get_bundle_downloads)17:11
bacrick_h_: OH.  i don't think i imported it in the test b/c the test doesn't use it.17:11
hatch`juju run` sounds sweet! ME WANT!!!!17:11
hatchsorry, just listening to this http://www.youtube.com/watch?v=ZjzImjEinB8&feature=share&t=2m :)17:11
rick_h_hatch: so what's juju run17:12
hatchrick_h_: allows you to run any script as if it's a hook17:12
rick_h_bac: right, but you want to patch it in the view namespace so you'll want to import it and patch it there17:12
hatchso it has the hook api/env17:13
rick_h_hatch: ah, cool17:13
bacrick_h_: something like http://pastebin.ubuntu.com/6449182/17:15
rick_h_bac: yea, I think so17:15
bacrick_h_: yeah, that doesn't work either17:15
rick_h_bac: push a branch up?17:16
bacrick_h_: lp:~bac/charmworld/add-stats-to-api --  it is test_api.py that is failing17:17
rick_h_bac: k, second17:17
benjiI've always wanted one to call my own: http://www.hatchpet.com/17:18
hatchlike tamagochi17:20
hatchbut not nearly as cool17:20
hatchoh THESE are the people who have @hatch17:20
rick_h_bac: you're patching the views/bundles but you're calling the api/__init__.py 17:25
rick_h_bac: change that from views/bundles to views.api and it works17:25
bacrick_h_: doh17:27
bacrick_h_: thanks for the eyeballs17:27
rick_h_bac: np, been there done that17:27
hatchgary_poster: so the error titles are too long at 'hook error: db-relation-changed' so to allow longer hook names I tried 'error: webiste-relation-changed' which is also too long. so....I was thinking using ellipsis and then show the full title on hover?17:47
benjihatch: I feel your pain, there's a guy who has @benjiyork who has tweeted about 5 times, over 3 years ago17:48
hatchso it would be 'hook error: db-relation-cha...'17:48
hatchbenji: ugh - I wish Twitter allowed people to trade/give away names17:48
hatchbut I just deleted the Twitter app from my phone because of their new permissions so my twitter use will likely drop dramatically17:49
benjithey have been hinting at a policy change for a couple of years now regarding "unused" handles, but nothing has come of it yet17:49
hatchyeah they seem very slow to move on things17:52
gary_posterhatch sorry was lunching.  what about allowing the line to break?17:52
hatchgary_poster: it looks really bad17:53
gary_postereven with reverse indent?17:53
hatchthe first thing it does is push the ^ arrow to the next line17:53
hatchgary_poster: https://www.evernote.com/shard/s219/sh/78b56078-9a9e-48ed-b935-734c3f78620b/93c2d0e6586dbf5a390a4669a481d93a17:54
hatchsee the landscape line17:54
benjidarn, jcsackett; I was just about to start on bug 1252782 when you un-assigned it from charmworld17:54
_mup_Bug #1252782: Ejecting external USB hard drive causes kernel panic <Ubuntu:New> <https://launchpad.net/bugs/1252782>17:54
gary_posterhatch, oh! I see.  How about ellipsis, which simply line breaks when it is open?17:55
gary_posterlol benji17:55
benji:)17:55
hatchgary_poster: hmm....17:55
hatchgary_poster: https://www.evernote.com/shard/s219/sh/436d81d0-dfbd-44ad-af4d-1a51040e76ea/02aed2d352ef1bbed2132197a792cc6217:56
hatchstill looks kind of bad...no?17:56
gary_posterhatch, yes. ideally arrow would be on far right, and word woruld line break17:57
gary_posterso17:57
gary_poster12 machines need to be      ^17:57
gary_posterrestarted17:57
gary_poster?17:57
hatch12 machines need to be      ^17:57
hatch                   restarted17:57
hatch?17:58
gary_posterheh17:58
hatchyeah that might work17:58
hatchso..17:58
hatchhook failed: website-relation-.... ^17:58
hatchthen17:58
hatchhook failed: website-relation-    ^17:58
hatch                              changed17:58
arosalesrick_h_, gary_poster were you guys going to join the Juju GUI Roadmap and Update session?17:59
gary_posterhatch yeah17:59
hatchthat sounds good I'll do that17:59
* hatch wishes there were an evernote and skitch Ubuntu app18:00
* benji wonders why the "Starting Soon" screen on the hangouts looks so funny with the offset text and all.18:00
bacthat icon looks more like sliced bread.  should18:06
hatchthey say for gaming? I say for development! http://www.anandtech.com/show/7529/gaming-immersion-overclockersuk-launch-infinity-emperor-chair-and-workstation18:13
bacbenji &/| rick_h_: charmworld review at your leisure.   https://codereview.appspot.com/2985004318:19
gary_posterhatch, "powder coated Canadian steel."  Y'all do something funny to your steel up there? :-)18:21
gary_poster(from your link)18:21
benjibac: I'll take a look18:21
hatchgary_poster: lol maybe it's from the 'olden days' when people were using Chinese steel that would rust really fast18:23
gary_posterheh18:23
hatch"our steel may be from the 1970's but it was made in Canada!"18:24
hatchI can envision that in the FAQ18:25
gary_posterlol18:25
gary_posterbac, benji, pretty fascinating GUI update? :-)18:25
gary_posterand rick_h_ :-)18:26
* benji just stopped applauding and sat back down.18:26
gary_posterlol18:26
rick_h_gary_poster: :) 18:26
rick_h_"Is still not determined..."18:26
rick_h_Should have gone all secret agent "I could tell you, but then I'd have to kill you"18:26
arosalesgary_poster, did you have some thoughts on how we should field bundle bugs?18:40
arosalesgary_poster, right off hand I am thinking juju-core and we can triage from there, but wanted to get your thoughts18:41
gary_posterarosales, probably file against gui and/or gui + deployer.  The interrelationship between GUI and deployer is somewhat subtle.18:42
arosalesya, and perhaps we triage the bug to that project18:43
gary_posterright18:43
arosalesbut for users may hit juju-core since it is all juju to them.18:43
gary_posterarosales, ack.  then triage it again, I'd say.18:43
arosalesI think nick was seeing some deploy errors around the wiki bundle. Still needs some further investigation. But if we can reproduce we will file against GUI for now.18:44
gary_postercool thanks arosales 18:44
rick_h_bac: got a sec to chat?19:06
bacrick_h_: sure19:13
rick_h_bac: card added and assigned over to 19:21
rick_h_bac: added in the notes what I found on the call/token issue19:22
bacthanks rick_h_.  i'll get right on it.19:22
rick_h_jujugui review please of my hacky addition of no op'ing all the things! https://codereview.appspot.com/29860044 please 19:22
bacrick_h_: ok19:22
rick_h_benji: did you grab bac's review then? If not I can look now19:23
benjirick_h_: yeah, I just finished19:23
rick_h_benji: cool I've got perfect timing then19:23
benji:)19:23
rick_h_gary_poster: can I get a couple of min when you get a sec please? I know you're backed up with some calls19:24
bacrick_h_: "- Drive by fix for deploying a bundle via drag-n-drop." this is no longer true, right?  if so,be sure to edit it out when you 'lbox submit'19:29
rick_h_bac: ah right sorry19:29
gary_posterrick_h_, sure.  you need me now, or is in 30 min ok?19:30
rick_h_gary_poster: whenever is good19:30
rick_h_gary_poster: so 30min is cool19:31
gary_posterrick_h_, ack, thanks will ping19:31
bacrick_h_: did19:33
rick_h_bac: ?19:33
bacbenji: the four character code review is the best.19:33
bacrick_h_: i did your review.  your review has been did.19:34
rick_h_I did something?19:34
rick_h_oh! lol19:34
rick_h_bac: commit message "fix all the engrish"19:37
rick_h_thanks for the review!19:38
gary_posterrick_h_, the hangouts, they are a-callin' : https://plus.google.com/hangouts/_/7ecpjmspmqkgcq1hpt7fl71lso?hl=en19:43
Makyojujugui two quickstart reviews + QA https://codereview.appspot.com/29980043 (down from +300 lines, thanks to frankban's branch this morning!)20:43
gary_posterI will take one in a few if there are still any spots20:44
gary_postergoing to get boys from school; back soon20:45
bachey rick_h_, token.js shows a Token has a type (charm or bundle).  but i don't see it getting set or used.  am i missing something?  (otherwise in that _addDragability i don't know how to tell them apart)20:48
bacrick_h_: nm20:59
* bac -> wtd21:02
rick_h_bac: cool, yea there's another method that uses it I was going to copy it from21:10
gary_posterMakyo, LGTM (but no QA) with extremely trivial21:41
Makyogary_poster, thanks!21:41
gary_posterwelcome, thank you21:41
gary_posterrick_h_, if you are around, more than a little curious to see if you think I caught the gist of our CI conversation.  Please correct/elaborate as necessary21:45
rick_h_ gary_poster in the hangout notes? I can look at the coffee shop tonight. 21:48
rick_h_gary_poster: oh, just noticed the email, all good. Will review21:49
gary_posterrick_h_, no emailed to peeps21:49
gary_postercool thank you :-)21:49

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