/srv/irclogs.ubuntu.com/2014/01/17/#juju-gui.txt

=== rogpeppe2 is now known as rogpeppe
gary_posterhi all!13:23
gary_posterMy desktop doesn't appear to be booting13:24
gary_posterSo I'm trying to figure that out before facing the email wall13:24
rick_h_gary_poster: it's mad you left it alone. Good luck13:31
gary_poster:-) thx13:33
hatchmorning13:36
gary_postermorning!13:38
gary_posterok, it seems that the desktop just wanted a good hug13:38
gary_posterI picked it up, looked around, out it back down, connected a few wires back, and started it up:13:39
gary_posterhello boot screen!13:39
gary_posterI'll try hooking it up more fully now...13:39
rick_h_hah13:39
rick_h_hatch: when you get a sec I wanted to see what originally broke things you branch is fixing?13:42
frankbanmorning all, welcome back gary_poster 13:42
gary_posterthanks frankban :-)13:48
hatchrick_h_ https://github.com/hatched/juju-gui/commit/0b5917d9acaaab5f389cd9804423d1caefffdd5e13:52
gary_posterok logging out here to switch to bip on the desktop...13:58
=== gary_poster|away is now known as gary_poster
rick_h_hatch: so is this just that the isLoggedin skipped the old path that would allow it to route?14:00
gary_posterso did anyone else get attacked by a killer William Grant Spam monster?14:00
rick_h_gary_poster: I don't think so here14:01
gary_posterjujugui who has read dimiter's rewrite proposal and has opinions?  there's a meeting going on right now that I'd like you to attend14:01
hatchrick_h_ line 903 and 904 is the problem, it's basically formalizing the 'hey you're not logged in' branch14:01
rick_h_hatch: ok, that's what I figured14:02
gary_posterhazmat, computer issues, will join mtg asap, and trying to find delegate14:02
gary_posterfrankban or benji or rick_h_: you willing to be delegate to dimiter rewrite proposal mtg? ^^^14:03
hatchgary_poster I have, as far as opinions....14:03
hatchI have some, but also questions14:03
gary_posterhatch, ok, https://plus.google.com/hangouts/_/canonical.com/juju-api pls?14:04
gary_posterand thank you.14:04
rick_h_gary_poster: benji is out, I can, but honestly didn't look closely at it as I'm not much of an expert on the old api. 14:04
rick_h_and go hatch go14:04
gary_posterwill be there as soon as chrome is not hanging :-(14:04
hatchi'm there14:05
gary_posterty14:06
frankbanguihelp: I need two reviews + QA for https://codereview.appspot.com/51350044 (quickstart 1.0 rc2 ;-) Anyone available?14:09
bacfrankban: yes, yes i am.  on it.14:09
frankbanbac: thank you14:09
gary_posterhatch, been fascinating so far? :-)14:11
hatchhah, nothing new, just chatting about how to deprecate the old one14:11
gary_poster:-) k14:12
bacfrankban: i finished the code review and it looks good.  i'm not sure what steps to do for QA.  how do i provoke the errors from which you wish to recover?15:20
bacgary_poster: sorry for the late notice but i need to be away during our meeting time today.15:21
gary_posterok bac. everything ok?15:21
bacgary_poster: yes.15:21
gary_postercool15:22
frankbanbac: never seen that error myself, rick_h_ already tested it and quickstart no longer hangs. I'd suggest the usual QA just to check everything works (interactive session, bootstrapping an environment, re-opening a bootstrapped environment)15:22
bacgary_poster: yeah, i just want to attend a lecture on a 40's era Farm Security Administration photographer.  you know, important stuff.  :)15:23
gary_posterlol15:23
gary_postercool15:23
bacfrankban: okey doke15:24
* rick_h_ has super natural breaking powers!15:25
frankban:-)15:27
bacfrankban: given this bundle on launchpad, what is the correct spelling of the "bundle:" url?  https://code.launchpad.net/~bac/charms/bundles/minimal/bundle15:30
frankbanbac: you can use a "bundle:..." URL or the http(s) location to the YAML file, if your bundle is in jc.com, the bundle page should include the command to deploy it with quickstart15:31
rick_h_frankban: can it load the https of any bundle file?15:32
hatchrick_h_ what stupid thing? I don't know how to respond to your last comment lol15:33
frankbanbac: https://jujucharms.com/fullscreen/search/bundle/~bac/minimal/1/openstack-services/?text=minimal#bws-deploy15:33
rick_h_hatch: chai or whatever is being stupid15:34
hatchoh...yeah15:34
rick_h_hatch: it's generaly test tool agner15:34
rick_h_anger 15:34
rick_h_ignore me15:34
frankbanrick_h_: the URL location con point to an arbitrary bundle file if that's the question15:34
bacthanks frankban.  i forgot about the juju charms deploy instructions.  they are great15:34
rick_h_frankban: right, jcastro ^^ should get you close to you git bundle file wishlist15:35
rick_h_jcastro: just have to be the url to the file out of github vs the repo itself15:35
frankbanrick_h_: the bundle itself for now can only point to charms in the store IIRC15:35
rick_h_frankban: right, but jcastro wants to have bundles themselves in github. To fork/etc I guess15:35
rick_h_and wants to quickstart ...github...15:36
frankbanrick_h_: that just works I suppose15:36
rick_h_I assume the dream is github:bunlename or something, but just fyi'ing him15:36
rick_h_for some of the stuff that's come up github gists would be cool forkable points for doing a bundle15:37
rick_h_is another 'feature' of that way15:37
frankbanrick_h_, jcastro: from the quickstart help -> http://pastebin.ubuntu.com/6768505/15:37
hatchhey rick_h_  speed up the CI :P mmmmmmkay15:44
rick_h_hatch: shush, your tests passed yesterday. What do you need now?15:44
hatchhttp://karenjlloyd.com/blog/wp-content/uploads/2008/11/mkay-song-300x174.jpg15:44
hatchit to turn green before I shipit15:45
rick_h_it is green15:45
rick_h_ All is well — Merged build finished. (Details)15:45
rick_h_"16 hours ago"15:45
hatchyeah but maybe it changed!15:45
rick_h_oh, you added comments15:45
rick_h_well in that case wait your 23min15:46
rick_h_20min15:46
gary_posterjujugui, stepping away for a few, so 14 minites till weekly call15:47
gary_posterminutes even15:47
hatchjujugui call in 415:56
jcastrofrankban, that is quite excellent16:03
jcastroI promise I won't tell anyone we can deploy a bundle directly from github16:03
jcastrohah just kidding I will tell the world.16:03
=== rogpeppe1 is now known as rogpeppe
frankban:-)16:34
bachey frankban, i've done 'sudo juju destroy-environment -e local'.  but when i then try to spin up a local env with quickstart i get17:11
bacjuju-quickstart: error: machine 1 is in an error state: error: container "bac-local-machine-1" is already created17:11
baceither a) i don't care or b) use it.  right?17:11
frankbanbac: are you in trusty?17:11
baci am saucy.17:12
bacas is my VM17:12
gary_posterheh17:12
frankbanbac: this seems a juju error in handling lxc containers17:13
frankbanbac: on the other hand it's cool that you actually QAed the problem this branch tries to fix. a machine error does not hangs the application17:15
frankbanbac: you can try re-destroying the environment, deleting the jenv file in ~/.juju/environments/ and manually killing containers if they are still alive17:15
bacfrankban: sure17:15
bacfrankban: yeah, i thought that was funny since i'd asked how to do it.  :)17:16
frankbanheh17:16
bacfrankban:  i have no jenv file17:17
baci tried using lxc-destroy and it said the container was not confined17:18
frankban:-/17:20
hatch*sigh* finish expenses....and the site crashes17:27
bacfrankban: i know you're at EOD/EOW but one quick question.  quickstart pretends to have worked, printing17:28
bacdeploying the bundle openstack-services with the following services: ntp, mysql17:28
bacdone!17:28
bacbut those services were not deployed.17:28
bacjuju status doesn't list them.17:28
gary_poster"deploying..."/"Requesting a deployment of..." ?17:29
bacgary_poster: good change.  but it doesn't look like anything happened17:29
frankbangary_poster: yeah that's a good idea, bac: how much time passed?17:29
bacfrankban: minutes.  so it may still be processing them?17:30
baci figured they would show up in 'status'17:30
frankbanbac: what do you see in https://[GUI URL]/gui-server-info ?17:31
baccool17:32
bac{"uptime": 449, "deployer": [{"Status": "completed", "DeploymentId": 0, "Error": "invalid literal for int() with base 10: '1G'", "Time": 1389979445}], "apiversion": "go", "sandbox": false, "version": "0.2.2", "debug": false, "apiurl": "wss://10.0.3.1:17070"}17:32
frankbanbac: so your deployment completed with an error, you should see an error notification in the GUI17:32
frankbanbac: a very human friendly error indeed ;-)17:33
bacfrankban: i'd checked that earlier.  no errors17:33
bacmem=1G is not ok?17:33
frankbanbac: right, the deployment was started from quickstart, not from the GUI17:33
frankbanbac: it seems the deployer requires an int17:34
bacthat is a bug with the deployer then.17:34
bacok, frankban, so neither the gui nor quickstart noted the error.17:35
bacthat seems like an issue17:35
* gary_poster has emails down to < 500. Time for lunch.17:36
frankbanbac: is it is, but it's not a quickstart issue. we should improve bundle validation in the guiserver, or in the deployer validation step17:37
bacfrankban: ok.  qa-ok then17:38
bacsorry it took so long17:39
frankbanbac: thank you. did the bundle work without 1G?17:39
bacfrankban: i haven't tried it yet.17:44
hatchlunching17:47
rick_h_gary_poster: so sorry...will take my time on those better in the future18:30
gary_posterrick_h_: np!18:30
gary_posterrick_h_: thanks for the research!18:31
* rick_h_ shoe horned what he was reading into past issues and made it all fit. doh18:31
rick_h_np, happy to add to any confusion wheee18:31
bachi gary_poster, so you'll know i intend to work monday and swap the holiday, maybe for next friday.18:32
gary_posterbac, ok cool, thanks for heads up18:33
bacyou working?18:33
gary_posterbac, no, taking Monday off.  Kids are off, so it will be better for all concerned (including me) for me to do so also. :-)18:33
bacyep18:33
gary_posterOK, down to 17 emails, but I actually have to do something about them :-)18:43
hatchjujugui the latest chrome devtools reset my config values so if you're having issues with caching, it's possible that it's back on again :/19:32
gary_poster:-/ ack19:33
hatchooo boy this bug is a complicated one19:54
hatchaww why are all these things written in Python :P19:59
hazmathatch, :-) http://blog.koehntopp.de/uploads/mapreduce.png20:00
hatchhazmat HAHAHA20:00
rick_h_hatch: which things are we referring to?20:01
hatchsee emails20:01
rick_h_hatch: oh all the charm tools stuff?20:02
hatchyeah20:02
hatchmaybe it's a good way to make me learn more20:02
rick_h_hatch: because it's on the system by default and doesn't need a ppa and most people would rather write python than JS and pypi stays up while npm is going comercial and ...20:02
rick_h_:)20:02
hatchoh shit, now you're on the npm going commercial bandwagon too? lol20:02
hatchoops I swore20:02
hatchhaha20:03
rick_h_well, I'm on the wait and see on that. I'm curious how that works out20:03
bacwait, we're not supposed to swear?20:03
rick_h_I know the python software foundation has some some of the backing of pypi and such20:03
hatchrick_h_ yeah tbh I would have much preferred a foundation to own npm as well20:04
* gary_poster watches curse police head towards Saskatoon20:04
hatchhaha20:04
hatchI just wish I could force the node_app charm to go through jshint20:05
rick_h_patch it20:05
rick_h_why not?20:05
* rick_h_ has done a couple of "pep8 M*@#$#F#@$A#@" pull requests20:05
hatchthe latest pull request is a 1200 line diff20:06
hatchand there are if() statements written using 3 different syntax's 20:06
hatchmaybe more20:06
hatchand one MASSSSSSIVE pyramid of doom20:06
rick_h_lol20:07
rick_h_take it one file at a time?20:07
rick_h_jshint hooks/* and submit that20:07
rick_h_then move on to another folder20:07
hatchI'd rather the author fix it before it lands :)20:08
hatchmarcoceppi am I allowed to add some input on that latest node_app PR? 20:11
rick_h_if you've already got 1200 line diff then submit it! :)20:11
marcoceppihatch: yes of course20:11
hatchrick_h_ lol I don't have a diff, that's what the current one is20:12
hatchmarcoceppi ok cool, is the guy who's submitting that PR within the company? or an external contributor? 20:12
marcoceppihatch: he works for joyent20:13
hatchhmm, he should know about jshint then :P20:13
rick_h_teach don't b#$##@20:13
rick_h_:)20:13
marcoceppihatch: it is an initial submission still a WIP20:14
hatchrick_h_ teach don't beach? 20:14
hatch:P20:14
rick_h_yea, get off that beach and stop lallygagging around20:14
hatchI lost my mouse, kinda irritated about that20:14
* rick_h_ has never thought about spelling that before20:14
rick_h_hatch: what kind of mouse?20:14
hatchrick_h_ logitech something or other....Iunno the battery lasts for a year and it's sorta ergo 20:15
rick_h_lamo20:16
rick_h_lmao that is20:16
rick_h_so it's one of 100 diff mice20:16
hatchhaha truth!20:16
rick_h_AMZ says "logitech wireless mouse" Showing 1 - 16 of 5,910 Results20:16
hatchM51020:17
hatchI think20:17
hatchit's still lost somewhere20:17
hatchmy dog was playing with it, maybe he took it20:17
rick_h_hah20:23
rick_h_thinks he's a cat?20:23
hatchhaha, well he was pushing it around the couch and now it's gone...suspicious, I think not!20:23
gary_posterrick_h_: I don't get any cred for the MI theme? awww.... :-) thanks for voluntering20:23
gary_posterwill send to Antonio as well20:23
rick_h_gary_poster: I can't keep up. It's friday :)20:23
gary_poster:-)20:24
rick_h_and I found my bug...with a one line fix20:24
gary_posterheh cool20:24
rick_h_and MORE to test20:24
rick_h_so meh, I give up20:24
hatchgary_poster any possibility we can move the 'destroy-service' and 'expose' buttons into the inspector footer so that it's visible on every tab?20:24
gary_posterhatch, <shrug> talk to the luca-man.  I think it will be a bit awkward myself.  for instance, change a value on the config tab, look at the appearing buttons, and then imagine that along with the destroy/expose combo20:26
hatchahh yeah....hmm20:26
gary_posterdoesn't look to good in my eye, but maybe there's a nice way around it20:26
gary_postertoo20:26
hatchfixed20:38
hatchjujugui looking for a review/qa on a trivial fix https://github.com/juju/juju-gui/pull/7620:43
* bac heads out to be festive again.20:47
rick_h_hatch: trade you? https://github.com/juju/juju-gui/pull/7720:47
hatchrick_h_ you left a .only in your tests20:48
rick_h_bah20:48
hatchand ok20:48
hatch:)20:48
* rick_h_ runs make lint20:48
hatchrick_h_ now that we don't have lbox I run make lint && make test-debug && make test-prod before PR :)20:48
rick_h_hatch: yea, I was trying to rush to get it up for you to look at so I could do yours and EOD on a nice clean slate20:49
hatchheh EOD on time? since when20:51
hatchlol20:51
rick_h_been a rough week for that20:51
rick_h_friday!20:51
rick_h_whoa, that's a tall inspector at 2160px browser height20:53
hatchlol20:54
hatchit will be 100% height in the next design20:54
hatch:)20:54
rick_h_hatch: qa fail20:54
hatch:(20:54
hatchwhat happened20:54
rick_h_the expose it part of the scroll, but not destroy20:55
rick_h_it hard stops at the end of expose, can't see destory at all until I make the window large enough to not need to scroll20:55
hatchhmm20:55
hatchcan you make sure you're running the new code and not a cache?20:56
rick_h_yea, just clearing now20:56
hatchAND if you are - try removing the TB_SPACING that was added and see if you now cannot see the expose button either20:56
rick_h_oh hmm, old code. wtf. Did my qa-pr fail me?20:57
hatch*phew*20:59
rick_h_k, qa ok, just no test sad face21:00
hatchI was out of ideas beyond a huge refactor branch so I'm glad it was a cache issue  haha21:00
hatchcan you think of a way to test this?21:01
hatchI'm open to ideas but anything I can come up with is so dependant on the browser/resolution it's being viewed in21:01
rick_h_can you just setup a div and check the calculated height. Fill it with known content. a 1x1 gif you set a size to 21:02
hatchhmm21:02
rick_h_well that container doesn't have to be full browser height right? It's not getting window sizes21:02
rick_h_you control container which all the heights are set from21:02
rick_h_not a 5 liner, but seems like it's testable 21:02
hatchthe height calculation is based on the height of the window so that it's full height minus the padding21:02
rick_h_off the cuff21:02
hatchcould maybe have a container to render it into and calculate off that21:03
rick_h_I don't see window.* in that function21:03
rick_h_right21:03
rick_h_that's what I'm saying21:03
hatchvar winHeight = container.get('winHeight'),21:03
rick_h_the function is good in that you pass in the known entity21:03
rick_h_right, but container is what you send in21:03
rick_h_you can determine/set that21:03
hatchyeah21:03
hatchhmm ok21:04
rick_h_sorry, I know it'll be a little pita21:04
rick_h_and maybe not worth it I guess, but seems a chunk of code w/o any tests then if we don't test that at all21:04
hatchaybe I can treat it as a functional test and just mock out the stuff and test that the setstyle sends the proper value21:04
rick_h_right, I mean you just made a change where you forced a known 20 * 3 px change21:04
hatchok update the PR that the qa passed and I'll stew on a test for a bit21:04
rick_h_some test should be failing with off by 60 right now21:05
rick_h_PR updated21:05
hatchcool thanks, yeah I'll add a test here21:09
rick_h_hatch: going to get the boy from day care. I've got about 8min left on my test run. 21:12
rick_h_hatch: if your review is cool and the tests pass can you :shipit: for me please?21:12
hatchyup can do21:12
rick_h_ty kind sir21:13
jcastroanyone still working?22:19
jcastromhall has some charm deployment questions to for deploying the Ubuntu API website and he needs someone who can walk him through some steps22:20
=== gary_poster is now known as gary_poster|away
hatchjcastro I am here22:55
hatchjcastro I pinged him22:56

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