/srv/irclogs.ubuntu.com/2014/09/10/#juju-gui.txt

hatchlater though00:01
huwshiminp00:01
hatchhuwshimi: you have been doing a lot js lately :P02:08
hatchhuwshimi: code looks good and it tests good on sandbox - i am just going to do the qa in a real env now02:16
huwshimiThanks!02:17
hatchhuwshimi: shipppit02:55
huwshimihatch: Thanks!02:56
hatchMakyo: you in?03:01
hatchhuwshimi: so my blog post seems to have taken off....almost at 2000 views today03:21
huwshimihatch: Woah, nice!03:22
hatchlol yup, because of that I should hit 50,000 pageviews for the year tonight03:23
hatchI kind of wish I had something worth while to say haha03:23
hatchI just started downloading Divinity Original Sin...at the current rate it'll be morning before it's done :(03:24
huwshimihatch: I was thinking you could do another post about what things you can actually do with juju, e.g. deploy any service, with no install/config knowledge, scale, redeploy, redeploy on another cloud, swap out a service etc.03:27
huwshimiWould be a pretty good way of explaining juju03:28
hatchyeah that would make a good follow-up wouldn't it03:28
=== uru_ is now known as urulama
=== urulama-afk is now known as urulama
rogpeppemornin' all07:40
* frankban lunches11:16
bachi jcastro12:19
rick_h_bac: heh ruh roh12:23
bachi rick_h_.  what you talking 'bout?12:23
rick_h_bac: your email on the config proof stuff12:24
rick_h_I'm tring to recall a config issue with those a while ago12:24
rick_h_but ignore me for now, it looks like I'm recalling a diff config issue/debate12:24
bacrick_h_: yeah, i'm not sure if the default being required is new but it isn't working as is.12:25
baclike i said, even if you explicitly say "default: null" the tool issues a warning12:26
rick_h_right12:26
jcsackettMorning jujugui. 13:04
bachey jcsackett13:04
urulamahey there jcsackett13:04
jcsackettAnyone have info about the "clear config-changed entries" card? Is that part of the clear all changes interaction?13:04
jcsackettrick_h_ ^13:07
rick_h_jcsackett: yes, conbined with config changed on a service that's not yet committed13:11
rick_h_jcsackett: it needs the work hatch was working on13:11
rick_h_jcsackett: I think the two cards to look at from here for you might be the remove relation UX (kind of done but little more I think) or the bundle export work13:12
rick_h_jcsackett: let me know if you want to chat on either of those13:13
rick_h_the others I'd like to sync with Makyo and hatch and make sure we have those stacked in the right order 13:13
rick_h_frankban: do you have time to chat?13:13
frankbanrick_h_: I do13:14
rick_h_frankban: standup hangout?13:14
jcsackettrick_h_ bundle stuff is just about updating bundles to handle n+ services on one machine? Or capturing the whole machine setup as part of the bundle?13:29
jcsackettI can talk on IRC, but my connection in phone is too crap for hangout. (1 bar)13:30
rick_h_jcsackett: the idea is to look at the bundle syntax, it allows for specifying colocated services and machines (only new ones) 13:33
jcsackettBundle syntax == deployer syntax, right?13:34
rick_h_jcsackett: so in theory, we can express a custom machine view layout in a bundle syntax. So the first card is to investigate the deployer/bundle syntax and to make a plan to update our bundle export to match13:34
jcsackettrick_h_ ok, I can start running with that. 13:34
rick_h_jcsackett: yes, make sure to match up with the bundle ideas in the updated charmstore as well. I'll make sure to share out the bundle doc your way13:34
jcsackettrick_h_ ok. 13:35
rick_h_jcsackett: sent13:35
jcsackettrick_h_ And received. 13:35
kadams54Changing locations, will back back shortly13:37
rick_h_jujugui looks like 4 cards in review atm. Please check if you can help with any of those.13:58
rick_h_luca__: I'm confooosed pls help14:04
luca__rick_h_: ok, whats up?14:05
rick_h_luca__: the onboarding, we don't have a commit button. I understand the onboarding the first time you do something that 'enables the button' 14:05
luca__rick_h_:  we do have a commit button14:06
rick_h_luca__: but the second one I just don't get. If you click on the 'deploy' button you get a giant screen14:06
rick_h_and that's 'confirm'14:06
rick_h_luca__: so maybe we're missing some updates then to match design?14:06
luca__rick_h_: want to have a call to clear this up?14:06
rick_h_luca__: or have I not had enough coffee today?14:06
rick_h_luca__: sure thing14:06
luca__ping me a link :)14:07
rick_h_cheater14:07
rick_h_https://plus.google.com/hangouts/_/canonical.com/daily-standup?authuser=114:07
aisraelI'm getting an error while bootstrapping the juju-gui. https://pastebin.canonical.com/116651/14:07
rick_h_aisrael: looking14:07
aisraelLooks like a missing dependency. It's looking for 'concurrent', but the closest package I can find is concurrency14:07
rick_h_aisrael: hmm, background info? It should be going out to pypi unless you mess with dev mode/etc14:08
aisraelrick_h_: upping a vagrant image and running the provisioner14:10
kadams54rick_h_: just noticed that you were talking about luca with the onboarding for the commit button…14:11
frankbanaisrael: do you have the whole debug-log output?14:11
aisraelfrankban: I can get you the juju-setup.log once it's finished. Is there another log that'd be useful?14:13
frankbanaisrael: the unit log, it should be placed in /var/log/juju/14:15
aisraeljuju-setup.log: https://pastebin.canonical.com/116656/14:17
aisraelunit-juju-gui-0.log: https://pastebin.canonical.com/116657/14:17
rick_h_kadams54: yes, we've got some UX updates and onboarding to create cards for and we had to hash it out14:21
frankbanaisrael: from the logs it seems to me the juju-gui charm is being deployed correctly14:21
rick_h_frankban: aisrael that package is long gone https://pypi.python.org/pypi?%3Aaction=search&term=concurrent&submit=search it appears14:21
kadams54rick_h_: I'm getting ready to start work on one of those cards I think… the onboarding for the commit button…14:21
rick_h_kadams54: do we have a card yet? 14:21
kadams54rick_h_: Yeah14:22
* rick_h_ is blind, where is the card for it?14:22
kadams54Look in the in progress column14:22
kadams54Project 114:22
kadams54Er, the Code column14:22
kadams54Deployment bar onboarding (see desc)14:22
rick_h_oh, deployment bar onboarding gotcha14:22
kadams54http://goo.gl/kwnJhD14:22
rick_h_yes, ok let's chat14:22
rick_h_kadams54: standup hangout pleaase?14:22
kadams54OK14:23
rick_h_sorry, was looking for the wrong words I am blind today14:23
rick_h_frankban: aisrael doh, that's the futures package, not concurrent oh wtf 14:24
frankbanrick_h_: yes the package is called futures. 14:24
frankbanaisrael: I am not sure about what script generates the juju-setup.log log file14:25
kadams54rick_h_: Hangouts seems to hate me right now? Just sitting with a "Please wait" message.14:25
rick_h_kadams54: k14:25
frankbanrick_h_: do you know where is the source of this vagrant+gui setup?14:26
rick_h_frankban: sec, I got some links in that bug about deploying gui the other day14:26
rick_h_frankban: otp atm will look14:26
aisraelfrankban: https://launchpad.net/jujuredirector/quickstart14:27
frankbanrick_h_, aisrael: http://bazaar.launchpad.net/~utlemming/jujuredirector/trunk/view/head:/setup-juju.sh#L42 seems wrong, it should be pip install futures14:29
rick_h_frankban: aisrael +114:30
rick_h_as noted there's no concurrent14:30
rick_h_frankban: aisrael looks like that was in rev #1 of that so it's been that way for a long time14:30
rick_h_frankban: aisrael so I'd also assume that if it 'appears' broken now there might be something else where14:31
aisraelrick_h_: ok, I'll continue to triage.14:32
rick_h_aisrael: I think that's worth a bug/fix though in the director stuff 14:32
rick_h_aisrael: let us know if we can help14:32
frankbanaisrael: rick_h_: since we don't maintain the vragrant redirector, maybe it's better to chat with utlemming in #juju14:32
rick_h_frankban: yea, I know he's been handing it off and such. I just mean if aisrael needs help reading any of our logs/etc. 14:33
aisraelrick_h_: ack, I'll do a MP against the redirector14:33
rick_h_ty14:33
frankbanaisrael: thanks!14:33
kadams54rick_h_: I also took a look at https://bugs.launchpad.net/juju-gui/+bug/1364956 and the associated card14:36
mupBug #1364956: Removing a unit via the inspector creates a sticky remove unit command in the deployer bar <juju-gui:Triaged> <https://launchpad.net/bugs/1364956>14:36
kadams54Per hatch's comments, the bug seems to be fixed.14:37
bachi rick_h_, when you have a chance would you approve my request for friday afternoon?14:37
rick_h_bac: sure thing14:37
* rick_h_ opens pagfe14:37
rick_h_bac done14:38
bacthanks14:38
bacdumb system put it in duplicate to start...14:38
hazmatrick_h_, i hear containers won't work in machine view?14:38
rick_h_hazmat: only in MAASA14:39
rick_h_MAAS14:39
rick_h_hazmat: and will be enabled (works in the code) for ec2 once juju releases network addressibility for containers on ec214:39
hazmatrick_h_, i'm not sure we should enforce that limitation in the gui14:39
hazmatrick_h_, ie. i've got charms that address this by just deploying a container overlay network with out support for core14:40
rick_h_hazmat: I'm very hesitent of the bug reports due to networking issues to those container14:40
rick_h_hazmat: I saw that and it's interesting, but I'm thinking of the ootb GUI user use case14:40
hazmatrick_h_, log warning to the user14:40
rick_h_hazmat: since advances users can do this via the cli14:40
hazmatrick_h_, or at the very least have a flag that enables it14:40
rick_h_hazmat: right, but then we have to warn based on what the charm does, how many of them there are, which things are exposed/not/etc14:40
hazmatrick_h_, demo for advanced cases is the gui.. let's not cripple it14:40
rick_h_hazmat: we can look into a flag for it14:40
hazmatrick_h_, ie. let advanced users use the gui as well via flag14:41
hazmatcool14:41
rick_h_hazmat: +1 will look at a flag14:41
hatchhazmat: the real fix is to quickly do a juju release which adds support :)14:42
hazmathatch some of us like to live in the real world and have perfectly good workarounds for storage, networking, provisioning to deliver value today.. iotw we can't hold our breath.14:43
hatchhaha...the real world sucks....I don't care what that Paramore song says14:44
frankbanrick_h_: a config flag to enable all known containers everywhere seems reasonable, defaulting to false in the config and the gui charm14:46
hatchThis is the song I was talking about https://play.google.com/music/m/Tzf7d2wsb3eqgosyy34ob2nhzha14:53
rick_h_frankban: +1 14:53
rick_h_jujugui call in 614:54
hatchwoah already14:54
rick_h_time flies when you're...14:54
hatchliving in the real world?14:55
hatch:P 14:55
rick_h_jujugui call in 1 go go go14:59
rick_h_ant__: ^ ?14:59
=== hatch__ is now known as hatch
rick_h_luca__: ! I needs you again :) We need visuals on the 'a commit is in progress' stuff that you showed up in london15:22
rick_h_can our dear old pal spencer help us out with that? 15:23
* rick_h_ checks the folder of visuals to see if it might already be there.15:23
rick_h_grrr kadams come back!15:24
hatchlol he has the worst internet15:24
hatchor he frequenly 15:25
hatchjust closes his computer haha15:25
rick_h_well he was out of the house today at a co-working space or something15:25
rick_h_and seems like they've got crappy internet for a co-working space15:25
hatchoh.....best place to have crappy internet haha15:25
frankbanjcsackett: reviewed15:35
jcsackettfrankban: thanks.15:36
frankbanrick_h_: it seems that andreas completed his packaging work, which patching the relevant parts of websocket-client and publishing to his own PPAs. Do you want me to try to reuse those packages for quickstart and eventually move them to the juju stable PPA? precise would be also supported in that case15:51
frankbans/which patching/which includes patching15:51
=== tvansteenburgh1 is now known as tvansteenburgh
rick_h_frankban: what did he do with the six package though?15:53
rick_h_frankban: I'm nervous about those packages if the six ones are involved with precise15:53
frankbanrick_h_: it's in his last email, it seems it patched websocket-client to not require the newer six version (or at least it seems like one of the patch has that goal)15:54
rick_h_frankban: oh ok. /me has been on calls and not seen email15:54
rick_h_frankban: I'm on calls for the next bit. Can you sanity check the diff?15:56
rick_h_if it seems ok I guess I'd rather we work together so we can reuse his work15:56
rick_h_just want to make sure we do it safely as a lot of people run that juju stable ppa15:56
frankbanrick_h_: sure15:57
luca__rick_h_: hey, was afk16:01
hatchjcsackett: think you have a moment to qa my branch?16:23
jcsacketthatch: i had to fix my lxc stuff so i can qa against a real env, but yes, i'm starting now.16:24
hatchcool thanks16:24
hatchugh reddit people.....seriously16:29
hatchI think people just type to look stupid, like it's some kind of game16:29
jcsacketthas anyone noticed a slow down in lxc deployments? i've been sitting at pending for half an hour or so for deploying the GUI. that doesn't seem right.16:50
hatchjcsackett: definitely not heh16:51
hatchmaybe 15mins16:51
hatchbut my lxc has always been slow for some reason16:51
hatchhaven't looked into it16:51
jcsackettok, but your "slow" lxc is 15 min, and i'm *way* past that.16:53
jcsackettdammit.16:53
hatchyeah....is the machine provisioned?16:53
hatchif so you can probably check the logs to see if its hung on npm or something16:53
rick_h_jcsackett: there's some known lxc bugs around these days16:54
rick_h_jcsackett: watch out what version of juju you're on and such16:54
jcsackettrick_h_: oh goodie.16:54
jcsackettthanks. :p16:54
rick_h_jcsackett: ec2 or azure or something are good options as well16:54
rick_h_jcsackett: especially with quickstart to get it on one machine16:55
jcsackettrick_h_: yeah, i was avoiding ec2 b/c it's slower and i wanted to get hatch's QA done...but since lxc is being peculiar, i think ec2 is probably the best bet.16:55
jcsacketthatch, sorry this is taking so long.16:55
hatchnp16:56
hatchIm just sitting here rocking out16:56
hatchif I had some glowsticks and e it might turn into a rave16:56
* rick_h_ steps away for lunchables16:56
* jcsackett laughs16:57
hatchhaha16:57
jcsackettwhat the hell, my ec2 stuff no longer works.17:01
jcsacketthrm; amazon is telling me about some IAM user thing i'm supposed to use now, and that we can't retrieve secret-keys anymore...has anyone else hit oddities around that?17:03
hatchoh that's odd17:04
hatchnope never17:04
jcsacketthuh; looks like my old key was revoked by amazon as "insecure". generating new ones worked.17:06
jcsackettthat's...weird.17:06
jcsacketti wonder what criteria they use to determine that.17:06
jcsackettb/c if someone else used them...i would really like to know that. :p17:06
hatchohh right I've seen that - i had some which weren't used in a while so they revokedc them17:06
rick_h_jcsackett: yea, they changed how they work a while ago (year?) and you have to migrate to the new system17:15
jcsackettrick_h_: so why did ec2 work for me last month w/o changes? :p17:15
rick_h_jcsackett: because they've been providing a warning for months you've ignored? 17:15
jcsackettand juju still works off the secretkey/accesskey thing, doesn't it?17:15
jcsackettrick_h_: that's probably true. :p17:16
rick_h_helpful I know :)17:16
jcsackettrick_h_: anyway, making a new key worked. let's hope they don't randomly delete it on me again. :p17:16
hatchupdated 17:20
hatchthe attribut name17:20
hatchbleh I still aren't that good with this keyboard haha17:20
hatchjcsackett: got everything spinning up now?17:31
jcsacketthatch: coming up on ec2 yes, though gui just threw an install hook error.17:31
hatchmake sure you're on trusty17:31
hatch:)17:31
hatchhttps://github.com/hatched/juju-gui.git remote-config17:32
hatchtha;ts the source string that you should use17:32
jcsacketthatch: yeah, it's not crapping out on that.17:34
jcsacketthatch: incidentally, you can get custom gui-source to work on precise if you use the @sha syntax rather then the branchname syntax.17:36
jcsackettlike source="https://github.com/someuser/somerepo.git @12345..."17:36
hatchoh hinteresting i never did that before17:38
rick_h_jujugui added 3 new cards around the multiple changeset idea. It might need to break down farther, but can start here. Let me know if you have any questions or such.17:57
rick_h_I've emailed for visuals, but we can get started on the back end without17:57
Makyorick_h_, cool, thanks17:57
jcsacketthatch: so, i resolved the install hook issue by way of just redoing deployment, and it's sitting at pending forever. again.18:26
jcsacketthatch: i can keep waiting, but i'm not entirely sure what's up.18:26
rick_h_jcsackett: check the log on the unit18:27
rick_h_juju ssh juju-gui/018:27
hatchjcsackett:  ok I think I'll just shippit then so I can continue on this string of cards18:27
rick_h_tail /var/log/juju/unit-<tab>18:27
jcsacketthuh. looks like it's progressing, just *really* slowly.18:27
rick_h_it might take some 15min to change sources18:28
hatchoh ok well I'll go get lunch now then18:28
jcsackettrick_h_: huh. feel like we're past 15min, but ok.18:28
jcsacketthatch: good plan.18:28
Makyojujugui going to duck out over lunch and see about a haircut18:45
rick_h_jujugui /me is going afk until the meetings tonight. If you need anything email or hit me up on hangouts18:51
jcsacketthatch: qa notes up on your PR, *finally*; all looked good, though i encountered oddities i think later work aims to resolve.19:09
hatchyeah thanks yes there is a bug already for that19:09
hatchi believe it has madisons head on it19:09
jcsacketthatch: not sure of that, but we'll hold off on analysis until Makyo's work is WIP at least--i may not really understand the bug.19:11
jcsackettseems to just be about asterisk vs circle, whereas this also had oddities about commit being available when it shouldn't and commiting changes that were discarded.19:11
jcsacketthappens in develop too, though, so not your branch.19:11
hatchjcsackett: tbh the conflict resolution is a pretty complex bag the changes that I've made don't actually touch any of that code19:12
hatchright19:12
=== tvansteenburgh1 is now known as tvansteenburgh
jcsackettrick_h_: how did you mean "match up with bundle ideas in new charmstore" for this bundle export thing? something that matches up with the new charmstore spec won't work with the current deployer.19:26
rick_h_jcsackett: well the deployer allows for specifying services to be colocated 20:33
rick_h_jcsackett: and I'm trying to recall if the machine stuff works atm or not20:34
rick_h_jcsackett: I guess let's run through them when you have a sec20:34
jcsackettrick_h_: give me just a moment and i can chat, if you like.20:43
hatchjujugui is there a util method somewhere for getting the ghost id from a display name?20:46
Makyohatch, don't think so20:47
hatchMakyo: 20:50
hatchok thanks20:50
hatchhttps://bugs.launchpad.net/juju-gui/+bug/136792120:50
mupBug #1367921: Setting the config of a ghost service causes the deployer bar to throw an error. <juju-gui:New> <https://launchpad.net/bugs/1367921>20:50
hatch^ rick_h_20:50
jcsackettrick_h_: free when you are.20:50
rick_h_jcsackett: ok standup20:56
rick_h_hatch: how dare you file bugs!20:56
hatchwell if we would just stop writing them into the code I wouldn';t have to!!!!!20:56
rick_h_hey, don't look at me :P20:56
hatchlol20:56
hatchhey I think fabrice is doing a js talk tomorrow at a conf21:31
rick_h_hatch: cool!21:32
hatchhttps://twitter.com/briancavalier/status/50981548555556454421:32
hatchthat's his twitter right?21:32
rick_h_fabricematrat yep21:33
hatchman this world is too small lol21:34
hatchsome random i follow from yui world just happens to be going to a talk with a new guy on the team haha21:35
hatchears must have been burning21:54
hatchjujugui I need some quick reviews and sandbox qa's https://github.com/juju/juju-gui/pull/54222:41
Makyohatch, on it22:42
hatchthanks22:43
hatchrick_h_: it seems like the core guys are liking reviewboard....any idea what feature rb has that isn't as good on github? 22:50
hatchjujugui any others for a review? it's just a quicky :)22:51
huwshimiMorning23:01
hatchhey huwshimi23:07
hatchhuwshimi:  wana do a review? https://github.com/juju/juju-gui/pull/54223:14
huwshimihatch: So "case '_set_config':" get's called for each service?23:21
huwshimi(somewhere else)23:21
hatchhuwshimi:  basically this is 'unwinding' the ecs working backwards to clear it out23:22
hatchso it only gets called if there is an ecs record for set config23:22
rick_h_hatch: the thing with reviewboard is the process23:23
rick_h_it's another tool, it doesn't integrate well, the history is harder to work with, etc23:23
rick_h_hatch: we've got a card to look at it on friday23:23
rick_h_hatch: well talk about it23:23
hatchyeah when I was playing wth it I didn't really see why one would switch to it over GH besides maybe getting less email :)23:24
hatchI thought maybe I was missing something23:24
rick_h_hatch: well it lets you do things like reviews dependant on another23:24
rick_h_they do a lot of chain branches23:24
rick_h_they can't land but every few days it seems23:24
rick_h_so they stack up 4 or 5 branches that chain together23:24
rick_h_and get reviews started/etc23:24
rick_h_and reviewboard does a lot better with the review history23:25
rick_h_makes it easier to see what changed from update to update and the like23:25
hatchohh....that sounds like a dangerous process lol23:25
rick_h_and GH JUST got side by side diffs23:25
rick_h_so this started a bit ago23:25
hatchyeah...I'm over side by side diffs now, I actually prefer inline haha23:25
hatchjust as they got it I no longer want it lol23:26
rick_h_but yes, I setup a test reviewboard instance, I tried to work it into our flow, and had a chat with the reviewboard folks over holes in their workflows vs ours23:26
rick_h_heh, yea same here. After years of inline diffs on launchpad the side by side was nice but not killer23:26
huwshimihatch: all good +123:27
hatchthanks done23:27
huwshimihatch: Did you have any ideas about how to know when things are in a pending state?23:29
huwshimi(for commit in progress)23:30
rick_h_yes as he worked on it :P23:30
hatchhuwshimi: do you mean uncommitted?23:33
hatchor between uncommitted and committed?23:34
hatchor pending pending23:34
hatch:) 23:34
rick_h_hatch: he means the card about chaning the icon to yellow while it's in progress23:34
hatchohh23:34
huwshimihatch: I mean, between when you click commit and the change taking affect.23:34
hatchlemme open some code....sec23:35
hatchhuwshimi: https://github.com/juju/juju-gui/blob/develop/app/utils/environment-change-set.js#L18823:36
hatchthis fn gets called just before the callback for each env call23:36
huwshimihatch: Once the commit is complete?23:37
hatchthis is called for every call23:37
hatchit wraps the callback you sent in during your env call23:37
hatchso the question is...do we want to do somethin gjust for machines, or for everything23:37
hatchso what I mean is that there is nothing that says 'I have sent this to juju, but juju hasn't ack'd yet"23:39
hatchso you need to signify the start of the commit execution to trigger the ui change23:39
hatchthen use this callback to turn it off23:39
hatchwe are essentially adding another state to the models23:40
huwshimiyeah23:40
huwshimia "pending commit" state23:40
huwshimihatch: I think that card is probably beyond me then...23:42
hatchhuwshimi: well it definitely should be a couple branches23:45
hatchif you wanted to learn about how the ecs stuff works you could tackle it :)23:47
hatchthe ecs stuff is easy to step through, just lots of steps heh23:47
hatchbuuut none the less I think there are quite a few other cards 23:48
=== cory_fu2 is now known as cory_fu

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