/srv/irclogs.ubuntu.com/2014/05/12/#juju-gui.txt

huwshimirick_h_: So if we don't yet have the hardward info we should say something like "Hardware info unavailable"?00:35
rick_h_huwshimi: yes, that's a card I think00:38
rick_h_huwshimi: I think "Hardware details not available" if that'll fit00:38
huwshimirick_h_: OK, I'll do that as part of the token styling branch.00:38
rick_h_huwshimi: thanks00:39
rick_h_kadams54: did you put up your branch?01:55
rick_h_ok, night all see you tomorrow02:38
huwshimiNight02:50
kadams54huwshimi: Just landed https://github.com/juju/juju-gui/pull/305 after working through some merge issues. Turns out we had quite a bit of overlap in the code we were working on.05:01
kadams54Er05:01
kadams54It's not landed05:01
kadams54Ready for QA :-)05:01
huwshimikadams54: Ah, I'll take a look05:02
kadams54Bah, stupid lint05:04
huwshimi:)05:05
rick_h_morning party people10:29
huwshimirick_h_: Good morning :)10:32
rick_h_huwshimi: still around? morning man10:32
huwshimirick_h_: Just been out and got home10:32
rick_h_huwshimi: very cool, thanks for the work last night. Will start going over the branches and qa'ing soon10:32
rick_h_after the coffee brews10:32
huwshimi:)10:33
huwshimirick_h_: I saw you closed that branch. My only concern is that we will be showing something that doesn't exist, and may not ever exist (the search for example looks to have moved in more recent wireframes). No harm in leaving it there I guess though.10:50
rick_h_huwshimi: right, it'll only be for Mark S's demo portion. We won't release it as is for now. It's behind the feature flags as well10:51
huwshimirick_h_: Yep, np10:52
rick_h_huwshimi: I think it's safe to leave for now and we'll work on that as we finish MV and release it from the feature flag10:52
huwshimisure10:52
frankbanrick_h_, huwshimi: morning, I need two reviews for https://github.com/juju/juju-gui/pull/30910:55
rick_h_frankban: sure thing10:55
frankbanrick_h_: thanks, this is a required change before placeUnit10:55
huwshimiI'll do a QA and then I need to sleep :)10:55
frankbanhuwshimi: heh, thanks10:56
rick_h_huwshimi: thanks and get some rest10:56
huwshimiIt's not late, I'm just jet-lagged still :)10:56
rick_h_frankban: the hideChangeDescription is done in the bar itself next to the counter. Originally the branch worked: 10:58
rick_h_"Drop a service, the bar would show "1    Added service XX      Deploy"10:58
rick_h_and then after 2s it would hide the "Added service XX" part10:58
frankbanrick_h_: uhm, it does not work in trunk11:02
rick_h_yea, something has been broken along the wya11:02
rick_h_the count isn't there11:03
rick_h_ant's branch added this work and I qa'd it originally11:03
frankbanrick_h_: and the change description hides11:03
rick_h_I wonder if someone's rebase/merge conflict caused issues and it got lost11:03
frankban:-/11:03
huwshimirick_h_: I'm not sure if you saw my email about the summary "No uncommited changes" state being related to something there11:04
rick_h_https://github.com/juju/juju-gui/pull/28811:04
rick_h_huwshimi: it is 11:04
rick_h_huwshimi: well it's all related11:04
huwshimirick_h_: I think the timeout is applying to the wrong element11:04
rick_h_huwshimi: right, and it looks like we're missing some code/elements11:05
huwshimiyeah11:05
rick_h_huwshimi: from that pull request ^11:05
rick_h_so will have to diff and pull that back together11:05
huwshimirick_h_: I saw it working at some stage though11:06
rick_h_huwshimi: yea, same here11:07
rick_h_frankban: :+1: on your branch11:07
frankbanrick_h_, huwshimi: thank you!11:08
frankbanrick_h_: so the current plan is: now we call add_unit when a service is deployed: we should prevent the ECS to really add that unit if it's not placed. When we drag the unit we call env.placeUnit(ghostUnit, toMachine), and at that point in some way the add_unit ECS call is activated, with the hooks to add the unit to the right machine. Correct?11:10
rick_h_frankban: I thought add_unit had to add that unit so that we could search for unplaced units using the filterByMachine(null)?11:11
rick_h_frankban: I see though, you mean to not actually add it to the ecs at that point though11:11
rick_h_but it's in the db11:12
rick_h_frankban: so in my head it was added to the ecs and db on add_unit, but with no machine assigned. When placed, it would update the model to have the right machine info and make sure the ecs for it was updated. 11:13
frankbanrick_h_: we can add the unit to the ECS and then placeUnit modifies the record11:13
rick_h_frankban: but your way sounds ok as well11:13
frankbanrick_h_: both work well for the demo, the issue is the following: with my branch, we call add_unit after deploy, and that reflects our intent. Then we have an unplaced unit. The user switches to machine view, and she can 1) place that unit or 2) leave that unit in the unplaced column. Then she hits deploy. If she placed the unit, the intention is clear: she wants the unit on that machine. If the unit is still unpla11:18
frankbanced, then I guess the intention is to avoid adding the unit i.e. "I want to just keep this unit, commit my current changes, and then I will place this unit later". The current behavior is instead: this unit is unplaced, but is registered to be deployed, I'll create a new machine to host the unplaced unit.11:18
rick_h_frankban: yes, that's why I'm ok with that. It's a running question we need to go through with design on how to handle unplaced information at deploy time11:18
rick_h_frankban: luca has provided feedback that they want to 'try it out and see' in order to help define how that interaction works11:19
rick_h_frankban: it could just be ignored, as you suggest, or an error in the summary directing you to go back and place. 11:19
frankbanrick_h_: sounds good, new machines for unplaced units is a simpler story for us11:19
rick_h_frankban: in which case we'll also need some way to 'destroy' an unplaced unit11:19
frankbanrick_h_: so yeah, place unit should just change the unit record in ECS11:20
rick_h_frankban: but I definitely understand your concerns. hatch and I have mentioned them to luca/design. 11:20
rick_h_frankban: ok cool. Thanks11:20
rick_h_jcsackett: around this morning? 11:21
rick_h_poor poor CI is getting a workout this week11:25
rick_h_ok, think I've reviewed and caught up with things atm. Going to go about that coffee and breakfast now11:26
* frankban lunches11:29
huwshimirick_h_: I figured out what was going on with the deployer bar, just pushing a branch11:32
rick_h_huwshimi: ok cool, if you've got it working then put your head on the card I assigned JC please and I'll take a look in a few and work to get that landed as well11:33
huwshimirick_h_: Np, just running tests.11:34
huwshimirick_h_: It's ready for review/qa. I'm heading to bed :)11:43
huwshimiNight all11:46
rick_h_huwshimi: night!11:53
rick_h_frankban: looks like conflicts hitting between you and huw there. Sorry about that. 12:20
rick_h_bac: morning12:21
bachi rick_h_12:21
rick_h_frankban: looks like a small one in the handlebars template 12:23
rick_h_-         <h2 class="title">These changes will be deployed to: {{ machineName }}</h2>12:23
rick_h_+         <h2 class="title">The following changes will be deployed</h2>12:23
frankbanrick_h_: looking12:38
frankbanrick_h_: shipit again?12:42
rick_h_frankban: just delete the comment "merge request accepted" and it'll repick it up12:43
frankbanrick_h_: ok thanks, maybe we should add instructions to the Build failed message12:44
frankbanrick_h_: landing again12:45
rick_h_frankban: definitely. I honestly thought we did have some notes in there. 12:46
rick_h_frankban: heh yep missing that step around everything else in https://github.com/juju/juju-gui/blob/develop/docs/continuous-integration.rst will add it12:47
jcsackettmorning all.13:10
rick_h_morning13:10
bachi jcastro13:11
bachi jcsackett13:11
jcsacketti'm used to getting pinged when people wanted castro; haven't seen him get pinged when people meant to ping me that often. :p13:11
bacall nicks in a channel should be unique to the first two characters13:11
kadams54Morning all.13:12
jcsackettmorning, kadams54.13:12
kadams54I've got a YUI question. I see Y.Event.EventTracker being used all over in our code, but I can't find docs for it. I don't even find it in the yui3 codebase.13:13
jcsackettkadams54: one sec.13:13
jcsackettkadams54: app/assets/javascripts/event-tracker.js13:14
bacrick_h_: i've tested local charm ingestion with the git ghost charm.  it works as expected.  i'm going to write a doc to go along with it for the handoff.13:15
hazmat`rick_h_, local charms in bundles with drag and drop onto the gui.. workable?13:21
hazmat`rick_h_, basically going to pre-load the local charms into the environment.. that should work?13:21
rick_h_hazmat`: I thought that didn't work because of the revision stuff13:21
hazmat`rick_h_,  tbd.. its deterministic if you have an env reset.. its always revision file in the charm +1.. i was hoping to get away with no revision.. but that's probabably hosed.. i had a branch for p8 demo where i had deployer probe for the high rev on the local charm known to th eenv13:23
jcastrohazmat`, if there's a livestream from the demo can you ask someone onsite to send the link to us so we can watch it?13:24
hazmat`jcastro, i'm busy in the demo room, missing keynotes.. should be linked from main ostack site13:26
hazmat`jcastro, http://www.openstack.org/home/Video/13:26
rick_h_hazmat`: sorry, phone call13:28
hazmat`rick_h_, no worries13:28
rick_h_hazmat`: honest answer is I'm not sure off the top of my head. 13:29
rick_h_hazmat`: it's something we thought would work but ran into issues due to revisions. I don't recall if juju-core would/wouldn't deploy a local charm without a rev 13:29
rick_h_hazmat`: there's something there. we tried it and ended up failing due to an assumption somewhere in the pipeline13:29
rick_h_bac: can you make sure to send that doc/notes to hazmat` and james page please? They can make sure everyone is aware/has access to it if needed for demos13:30
bacrick_h_: ack13:30
rick_h_kadams54: morning, I think huw and frankban have found the deployer bar issues you were looking into on your card?13:32
jcsacketty'all did a ton of work over the weekend.13:34
rick_h_yes, almost there13:34
kadams54rick_h_: interesting. Did they commit a fix or just find where the bug was at?13:37
jcsackettrick_h_: that unit deploy error without MV flag seems approachable this morning. shall i grab it or is there something else i should go after?13:37
rick_h_kadams54: I think the fix is in, swimming atm with working on huw's update to fix the deployer bar notifications13:38
rick_h_jcsackett: I think that's fine now13:38
rick_h_jcsackett: frankban's branch that just landed I think fixes that13:38
jcsackettrick_h_: dig.13:38
rick_h_jcsackett: a verify/qa would be cool13:38
jcsackettrick_h_: verifying now.13:38
kadams54rick_h_: OK, cool. I like cards that get fixed in other people's branches while I sleep.13:39
rick_h_kadams54: yea, give it a go and see if you can break it again13:39
rick_h_kadams54: I know huw sent an email out on it and I think one of these had a fix in it, been 4 or 5 branches since I got up so getting a bit lost13:39
jcsackettrick_h_: it appears to work on sandbox--was this observable there, or does it need a real env?13:40
rick_h_jcsackett: yea, it was there13:40
jcsackettrick_h_: also, how was camping?13:40
jcsackettcool, i'm marking it with frank and throwing it into daily call.13:40
rick_h_the campground was awful, the boy had fun, the wife and my verizaon bill didn't appreciate all the branches :)13:40
* jcsackett laughs13:41
rick_h_but it was nice to get out of the house and sleep under the sky a bit13:41
jcsackettwell, at least your son enjoyed it.13:41
jcsackett:)13:41
rick_h_he loves camping, and they had lots of stuff for kids13:41
jcsackettthat's cool.13:41
rick_h_morning hatch 13:50
hatchmorning13:51
hatchhow goes it?13:51
rick_h_hatch: crazy wheeeee13:51
redirwhat time is the demo:13:54
redir?13:54
rick_h_redir: tues AM13:54
frankbanMakyo: ping13:54
Makyofrankban, hi13:54
redirahh so one more day to polish it13:55
rick_h_redir: yea, well make it work today13:55
rick_h_and collapse :)13:55
bacrick_h_: time for a quick chat?13:55
rick_h_bac: definitely13:55
rick_h_kadams54: looking at qa'ing your branch. It's all up to date per huw's feedback?13:55
bacrick_h_: in standup13:55
kadams54rick_h_: Yes, should be. Event bindings are now destroyed properly.13:56
rick_h_kadams54: coolio will look after this call thanks13:56
frankbanMakyo: I noticed that the parentId when creating machines in ECS refers to the change key. for placeUnit, the caller must be able to retrieve the machine id. Also, AFAIK the same machine id should be used when creating the ghost machine in the db13:56
hatchwell this is interesting, I had almost exactly what frankban had in his place-unit branch, I just had one property switched around....lol damn13:58
Makyofrankban, yes, I believe so.  ecs._translateKeysToIds will do that for any ECS record that has a keyToId method.  It's my understanding that the ID will have to be the key for the ghost machine, so long as validation allows that.  We do have other examples  of changing that such as https://github.com/juju/juju-gui/blob/develop/app/views/ghost-deployer-extension.js#L16413:59
frankbanMakyo: so IIUC we do something like machineId = env.addMachine(..) and then app.db.machines.add({id: machineId}) but at that point the machine token should end up with a very ugly name14:00
Makyofrankban, hmm, correct... Unless we just use something like '(pending machine)' if the machine hasn't yet been created.14:01
frankbanMakyo: the alternative is to use a modelId in the options, so we create a new machine in the db with a customized name (e.g. new1), then call addMachines passing that id to the options14:01
frankbanMakyo: and then making the parent check using options.modelId14:01
Makyofrankban, That makes sense, yeah14:01
frankbanMakyo: cool, I'll take a look14:02
frankbanhatch: what code are you referring to?14:02
hatchthe env.add_unit call and callback stuff in ghost deployer extension.js  I was using the service name not the ghost service id so I couldn't get it to work properly14:03
hatchin hindsight ghostserviceid makes sense :)14:03
frankbanhatch: IC :-) unfortunate overlapping (but I guess it's unsurprising given the demo panic)14:09
rick_h_hatch: are you in a good place to rebase and be able to look at the drag/drop? Or still need the placeUnit first?14:24
hatchrick_h_ I think now with frankban's latest branch it should be good to go, I'm just running through kadams54 PR 14:25
hatchthen I can get on it14:25
rick_h_hatch: rgr14:25
hatchohh you already shipped it14:30
hatchlol14:30
rick_h_hatch: heh, I added a card in the backlog to follow up on your comments14:31
rick_h_I went with huw's review and qa plus I did a qa to make sure it merged cleanly still and did shipit, but your feedback is valid and will be followed up on14:32
hatchcomingsoon is broken14:34
hatchhttp://comingsoon.jujucharms.com/:flags:/il/mv/14:35
hatchchangeset count is in the header14:35
rick_h_bah14:35
rick_h_lol14:35
bacfrankban: the demo needs to use quickstart.  where is the best place to get it? trusty repo or some PPA?14:35
rick_h_bac: the ppa, I don't know that trusty has been updated for the bug fixes yet14:36
frankbanbac: juju/stable ppa14:36
bacty14:36
frankbanbac: what do they use quickstart for?14:37
bacfrankban: deploy charmworld14:37
rick_h_hatch: can you try a local copy? I wonder if this is coming soon css issues14:37
hatchno it's in develop14:37
Makyorick_h_, it's in trunk.14:37
rick_h_hatch: I don't see what in the CSS is making that happen14:37
rick_h_ok thanks :)14:38
hatchit's not css, it's markup14:38
hatchthe changes button needs preventDefault on it as well14:38
hatchbecause it's an A it breaks the url14:38
rick_h_gotcha14:38
hatchI'm just going to sit back and pretend I've never said anything about using anchors14:38
hatch...14:38
hatchlol!14:38
rick_h_well it's incomplete features anyway. So not fair 14:39
hatchthere is actually a full deployer bar up there14:39
hatchit's really broken now14:39
hatcha bisect is probably necessary here14:39
rick_h_yea, looking. It's been a mess. It worked, then got broken, then huw fixed it, and I in qa tweaked it, and not it's very broken14:39
rick_h_so bisect won't help a ton as you'll find it's been broken for a while in a bunch of branches.14:40
hatchoh darn!14:40
rick_h_https://github.com/juju/juju-gui/pull/288 is the original working branch14:40
hatchohh that's a lot of changed files heh14:41
rick_h_icons mostly14:41
hatchok I'm going to get my branch landed first14:41
hatchoh yay my keyboard backlight just stopped working14:42
hatchF^&*^&* Apple14:42
jcsackettrick_h_: can you chat for a moment?14:43
rick_h_jcsackett: sure thing14:43
jcsackettrick_h_: https://plus.google.com/hangouts/_/g3hgvsy4smtzi2x6dptuesyplya?authuser=2&hl=en14:43
rick_h_jcsackett: https://github.com/juju/juju-gui/pull/30714:45
rick_h_hatch: jcsackett is going to look at that14:47
jcsackett...the horror, the horror. :p14:48
rick_h_hatch: some cross between ant/huw/me made something wonky14:48
Makyojujugui I'm on the deployer bar thing.14:48
jcsackettrick_h_: ^14:48
rick_h_Makyo: ok cool then14:48
jcsackettright, back to figuring out what to look at. :p14:48
rick_h_Makyo: so you're two birds one-stone there Makyo ?14:48
Makyorick_h_, Looking at the card, I'm not sure how much still applies.  I can't find that text in my QA so far, but a lot has changed.14:49
rick_h_Makyo: yea, that text was replaced in a drive by14:49
rick_h_Makyo: there's the current issue of two bars (top/bottom) and there's no support for add machines to the list of messages/summary14:50
Makyorick_h_, okay.  I'll add that to this card and go through the rest of the list.14:50
rick_h_Makyo: the icons show now, that was hatch's attempt to avoid collisions14:50
rick_h_Makyo: so updating the card for the two items remaining14:50
hatchyeah I borked that14:51
hatchbut I think that's all fixed now14:51
rick_h_yea, all good14:51
rick_h_as long as we all ack you can only have one unit of any service in ghost lol14:51
hatchMakyo when following your QAsteps.js are we supposed to get ghost machines?14:51
hatchrick_h_ haha, this demo better be very scripted :)14:51
rick_h_hatch: trying to work on that for sure14:52
Makyohatch, all my branch did was ensure ECS called addMachines properly; no UI14:52
jcsackettMakyo: so to be clear, you're handling the deployer bar rendering goofily up top?14:52
hatchMakyo ahh ok cool, I've just been using those steps to qa other stuff and was curious14:52
Makyojcsackett, Yes, if that's alright.14:53
rick_h_jcsackett: so there's some qa work or looking at the polish cards, or helping pair with anyone and helping to do reviews/landings as they come up14:53
jcsackettrick_h_: dig.14:53
jcsackettjujugui: who needs PR/QA? i appear to be super free.14:53
rick_h_I've got to start work on the demo script and notes. 14:53
rick_h_jcsackett: so I think we're all set atm, but hopefullyu will have some coming down the pipe 14:54
rick_h_kadams54: did you dupe the issue in your card?14:54
rick_h_kadams54: or is that all set?14:54
hatchjcsackett you can go through the codebase with rubber gloves and some solvent to clean up all the new tech debt14:54
hatchhaha jk it's actually not that bad14:54
rick_h_hatch: heh, save that for tomorrow14:54
rick_h_there will be a "great post-demo audit!"14:54
rick_h_but not today14:55
rick_h_enough moving parts atm14:55
jcsacketti'm looking at the two polish cards, and will be on interrupt for PRs and QA.14:55
kadams54rick_h_: well, yes, it seems to be fixed. However I'm seeing some other odd behavior.14:55
rick_h_kadams54: ok14:55
rick_h_jujugui call in 514:55
kadams54Hmm, strike that… I'm seeing "no uncommitted changes" again. Different route to reproduce it though.14:56
bacrick_h_: you know, it is a little redonkulous that we don't deploy charmworld with a bundle in real life.14:56
rick_h_bac: +114:56
rick_h_bac: I've wanted to bring up with IS about managing a bundle file except they do the custom local charm stuff which bundles don't support14:57
rick_h_bac: but for our QA env we want to setup I was looking at trying to create/use a bundle for that14:57
hatchrick_h_ https://github.com/juju/juju-gui/pull/303#discussion_r12510773 are we not dropping on a readily created container for the demo? Can I instead just console.log the information - I'm scared to introduce a bug pre-demo by adding addMachine here14:57
rick_h_hatch: we are dropping on a pre-existing machine to create a new container14:58
hatchcrap that is not what my code does14:58
rick_h_so we have to addMachine with a real parent and make a new lxc container14:58
bacrick_h_: the qa env is live.  i launched it.  next time i'll use a bundle rather than the deploy script orange wrote14:58
MakyoGot the deployer bar thing; copy-paste problem.14:58
rick_h_doh14:58
rick_h_thanks Makyo 14:59
rick_h_hatch: ok, well that's the demo. Existing openstack bundle, deploy nagios and co-locate it on an existing openstack service machine in a new lxc container14:59
hatchyeah I must have misunderstood - I thought that it was being dragged to an existing container14:59
hatchit's ok I just need to add drop support to the machine tokens15:00
rick_h_hatch: it's the header that you drop on15:00
rick_h_https://www.dropbox.com/sh/lvdydgiu7jeuuso/7MlRX5-IPu#lh:null-06-machine.png15:00
hatchno that creates a new machine/container, we need to create a new container in a machine15:00
hatchso you drop on the machine15:00
rick_h_you've selected the first machine, and drop on the header "Create new container" which we can hardcode to a new lxc 15:00
rick_h_right, the grey means that the machine is selected15:01
hatchoh boy15:01
rick_h_and a big "Create new container" drop target15:01
rick_h_jujugui hangout15:01
hatchman where did I get the idea to drop on a container15:01
bacjujugui: is this fatal state from 'juju status'?  agent-state-info: '(error: no instance types in us-west-2 matching constrain15:04
bacts15:04
bac      "cpu-cores=1 cpu-power=100 mem=2048M root-disk=20480M")'15:04
bacor will it continue with best attemp?15:05
bacs/attemp/attempt/15:05
hatchrick_h_ can you hop back in?15:12
hatchjust want to confirm the interaction for the drag and drop15:13
bacfrankban: do you know the answer to my question ^^^?15:13
rick_h_hatch: joining15:13
jcsackettjujugui: quick note, i have a doctor's appt in 2 hours--historically the appt is short, the time in the waiting room is long. i'll have wifi so still ping me and i can do PRs QA, but i'll be unable to do to hangouts for a bit then.15:13
frankbanbac: what machine is returning that error?15:14
bacfrankban: the one for elasticsearch and mongo.  is that your question?15:15
frankbanbac: yes, I am not sure you can recover that. IIRC resolved only works with units. So maybe destroy-machine and add another one?15:16
rick_h_jcsackett: rgr 15:17
bacfrankban: ok.  i wonder which of those constraints is causing the problem...15:17
rick_h_bac: I think the cpu-power or the root-disk15:18
rick_h_bac: I'd drop those two and see what happens15:18
rick_h_having both core and power I don't know makes sense, I think it's either/or but not 100% sure15:18
bachuh, i didn't specify the cpu-power one.  juju must've helpfully added it for me.15:19
rick_h_heh, you co cool juju15:19
bacthat helps me narrow it down, though15:21
kadams54During standup today I realized that I may just be slow on the uptake… is the "no inspector" thing the reason why the inspector no longer shows up when you deploy a charm?15:28
hatchheh yes15:30
rick_h_kadams54: yep15:30
rick_h_last minute mandate that's falling apart in real life15:30
kadams54Now things make sense.15:30
kadams54Well, more than 30 minutes ago.15:31
hatch:D15:31
kadams54OK, so on my card… should I update it to be specific to when undeployed (ghost) stuff is deleted?15:32
rick_h_kadams54: definitely15:32
kadams54Hmm, found another variation that may be more problematic for the demo.15:38
rick_h_kadams54: k, good to know15:38
kadams54If you drop a second charm, it triggers the message again15:38
rick_h_'triggers the message'?15:39
kadams54Yeah, "no uncommitted changes".15:39
rick_h_kadams54: call?15:39
kadams54Sure15:39
rick_h_kadams54: let's just hit the standup hangout15:40
kadams54k15:40
rick_h_wahoo! we have replication15:47
kadams54rick_h_: Nice to know I'm less crazy-ish.15:47
rick_h_yea, know that feeling15:48
* rick_h_ goes to take a lunch break15:57
hatchhmm this interaction feels very clunky16:02
hatchdefinitely need to get it infront of luca16:02
rick_h_hatch: + 1, I think the manual clicky method will be the better placement story to be honest16:03
rick_h_hatch: but Mark S wants the drag/drop GUI experience so we're doing that first16:03
hatchyeah I just find I'm switching back and forth a lot, just doesn't quite feel right16:03
rick_h_ok, now really to lunch16:03
hatchlol16:03
Makyojujugui https://github.com/juju/juju-gui/pull/312 for some intermediary work on the UI polish16:04
jcsackettMakyo: looking now.16:04
MakyoMan, what happened to my pre-push hook? :(16:07
jcsackettMakyo: i have had lots of trouble with pre-push hooks, of late.16:18
jcsackettMakyo: thanks for updates, QAing now.16:31
Makyojcsackett, thanks!  We're in a hurry, but you're right about the test, I'm getting one in real quick.16:33
jcsackettMakyo: thanks!16:34
frankbanit works! it fracking works!16:37
jcsackettMakyo: you said note the machine key in your QA instructions...do you mean the "addMachines-$number", or what?16:37
jcsackettfrankban: \o/16:37
kadams54rick_h_: I fixed the issue, but I also found this: http://pastie.org/private/hayd1bhhcmy81k4ycabfg16:37
hatchugh so many conflicts16:37
kadams54rick_h_: With which I agree. Why are notifications hidden after 2 sec? Can we remove that?16:38
Makyojcsackett, yes16:38
rick_h_kadams54: there's two moving parts here16:38
jcsackettMakyo: ok, thanks.16:38
rick_h_the notification is in the bar while it's closed state and disappears after 2s16:38
rick_h_kadams54: that we want16:38
rick_h_kadams54: it's got a side effect of doing something that clears the data in the summary16:39
Makyojcsackett, the parentId, until frankban's changes land, is 'addMachines-123' or whatever.16:39
rick_h_kadams54: that's the bug 16:39
kadams54Yeah, I fixed the side effect16:39
kadams54But why do we clear after 2 sec?16:39
jcsackettMakyo: oh, the whole string? not just the number?16:39
kadams54Why not just leave the notify there until something else comes along?16:39
rick_h_kadams54: ok, then yea. We do want that notification to fade away. It's a notification, it's temporal by design?16:39
Makyojcsackett, yeah, sorry16:39
frankbanjujugui: please take a look at http://pastebin.ubuntu.com/7453150/16:39
kadams54It's too quick16:39
jcsackettMakyo: no worries.16:40
frankbanjujugui: that shows the steps I am following with my current branch, and the API to use to place units and add ghost machines/containers16:40
frankbanjujugui: note that new1 is arbitrary16:40
kadams54frankban: just discussing your comment here: http://pastie.org/private/hayd1bhhcmy81k4ycabfg :-)16:40
kadams54rick_h_: The notification is often gone before I get a chance to read it16:41
rick_h_kadams54: right, but it's ack'ing that you did something. I don't know that hanging around until you do something else is attractive either16:41
jcsackettMakyo: to view change summary i click the "changes" thing in the left of the deployer bar, right?16:41
rick_h_it's the old 'highlight in yellow the new item' trick16:41
rick_h_jcsackett: no, click deploy16:42
rick_h_jcsackett: that changes doesn't work yet16:42
Makyojcsackett, click deploy, it'll ask for a confi--yeah16:42
kadams54Yeah, highlighting is fine if it's the same area on the screen that you're currently focused. The notifications are not. I'm OK with clearing them, but after 10 or 15 seconds at least.16:42
rick_h_kadams54: we can add that as a discussion for follow up but with luca out and ant at a sprint I don't know we can get good UX feedback on the issue16:43
kadams54Yup16:43
rick_h_kadams54: cool, not sure on 10, but double it maybe? 16:43
kadams54I'll leave frankban's comment in there for the moment16:43
rick_h_k16:43
frankbanMakyo: time for a hand off call?16:44
Makyofrankban, sure16:44
rick_h_frankban: Makyo can I get a listening invite please? 16:44
frankbanrick_h_: sure16:44
rick_h_kadams54: ok, so how about we double it and mark it as a UX item to chat bout16:44
rick_h_lots of interactions we're not really thrilled about in this16:45
frankbanMakyo, rick_h_: see http://pastebin.ubuntu.com/7453193/16:45
kadams54kk16:45
hatchugh merge conflicts are gona kill me16:45
jcsackettMakyo: qa ok, thanks for the test, though i note we're skipping it?16:46
frankbanrick_h_, Makyo https://plus.google.com/hangouts/_/canonical.com/daily-standup16:46
rick_h_hatch: :( was worried about that with the long running branch there this weekend16:46
kadams54rick_h_: how do you want me to mark it as a UX item? Card? Just a grep-able comment?16:46
hatchit's so bad....I've had to rebase it 4 times to develop already16:46
rick_h_kadams54: make a card for now, put it in the needs specification section on the board16:46
hatch5 failing tests so I hope those aren't bad16:46
jcsacketthatch: ugh, dude that sucks. i have felt your pain (and recently. :p)16:46
Makyojcsackett, there's a note hidden by the diff; the test passes in isolation, but the suite is poorly isolated; there's a card.16:46
jcsackettMakyo: awesome. LGTM and all that jazz.16:46
jcsackettyou can :shipit: when you like.16:47
Makyojcsackett, thanks!16:47
jcsackett...i like that *as i typed that* i saw the shipit command come over the PR. :P16:47
kadams54guihelp: https://github.com/juju/juju-gui/pull/313 ready for review and QA16:54
rick_h_kadams54: looking17:02
rick_h_redir: let me know when you're free17:02
frankbanMakyo: https://github.com/frankban/juju-gui/tree/unit-placement17:03
Makyofrankban, thanks17:03
redirrick_h_: at your leisure17:03
rick_h_redir: https://plus.google.com/hangouts/_/canonical.com/daily-standup?authuser=117:04
frankbanjujugui see you next Monday, have a great week!17:07
hatchjujugui lf a review/qa on https://github.com/juju/juju-gui/pull/303 hurry before I have to rebase again! :P17:08
hatchfrankban cya! enjoy your holidays17:08
kadams54frankban: have a good time!17:08
kadams54hatch: looking17:08
MakyoRestart for updates before I get rolling.17:16
kadams54hatch: QA looks good to me17:17
hatchnice17:20
hatchthx17:20
kadams54Review also looks good17:21
bachazmat`: ping17:22
bacrick_h_: i've produced the doc and walked through it.17:23
rick_h_bac: awesome! Can you email to hazmat`, james page, and copy myself on it please?17:23
bacrick_h_: i want to do another run through to make sure it is clean.  there are some broken bits that have to be worked around.  will email this version out now.17:25
rick_h_bac: thanks17:25
hatchrick_h_ who's taking over frankbans branch?17:25
hatchis that not something we need for the demo?17:25
rick_h_hatch: Makyo has it now17:26
hatchok cool17:26
rick_h_hatch: yes, it is. It's the last part after yours, to integrate them together17:26
rick_h_hatch: so you and Makyo should sync up and help him find the points of connection once your branch hits17:26
hatchwill do17:27
hatchit's being shipped now17:27
rick_h_hatch: ty much sir17:27
bacrick_h_: one oddity: setting the source for the charmworld branch in the bundle was not honored.  it deployed with trunk at lp:charmworld.  that complicates things17:29
rick_h_bac: crap17:29
rick_h_bac: odd, it looks like it should work http://bazaar.launchpad.net/~abentley/charms/precise/charmworld/trunk/view/head:/hooks/config-changed17:30
rick_h_bac: can you check what juju get gives you?17:30
rick_h_and see if the config change made it to juju-land?17:30
bacrick_h_: it did not17:31
rick_h_bac: if so, maybe try setting it to lp:charmworld and back. Perhaps it doesn't like the different source during install, but expects it to be a follow p change17:31
baci'll have to destroy the env and start over, which i will after lunch17:31
rick_h_bac: well from the current env, can you change the source and see if it does it now?17:31
rick_h_bac: or is it torn down already?17:31
bacah, i bet i need to include the revno in the bundle17:32
marcoceppirick_h_: why can't you remove a subordinate relation?17:33
rick_h_marcoceppi: no idea. 17:33
marcoceppirick_h_: I'll file a bug!17:33
rick_h_marcoceppi: juju says you can't or the gui says you can't?17:33
marcoceppigui, but we did it from cli and it worked17:33
rick_h_marcoceppi: yea, file a bug please17:33
Makyohatch, running out to grab some food; don't have anything in the house.  Will be just a sec.17:34
Makyorick_h_, marcoceppi pyjuju wouldn't allow that because it meant modifying another service's unit.17:35
hatchMakyo ok np, I'm judt going through code now17:35
rick_h_Makyo: ah, good to konw17:35
marcoceppiMakyo: figured it was something the the days of old17:35
rick_h_bac: sorry, linked to an old version of the charm. http://bazaar.launchpad.net/~juju-jitsu/charms/precise/charmworld/trunk/view/head:/hooks/config-changed looks like it might even support a tarball source if the branch one fails17:36
kadams54I think Jenkins needs some swap days…17:39
rick_h_hah17:39
rick_h_Makyo: ignore that landing failed email from ci. Looks like we raced to get it to rerun and it ran it twice17:52
kadams54rick_h_: Looking for more work here… maybe the card about adding icons to the container's parent?18:10
rick_h_kadams54: sure thing18:10
rick_h_kadams54: take a look and let me know if you've got any questions or need a pre-imp18:10
kadams54rick_h_: Will do. I suspect I'll need a pre-imp. IIRC, the container's supposed to have a list of icons for all the services deployed on it. This card about updating that list when a new unit is added?18:12
rick_h_kadams54: right, so when the db is updated, the machine token needs updating18:12
rick_h_and it needs an uncommitted flag18:12
kadams54k18:12
rick_h_kind of like https://www.dropbox.com/sh/lvdydgiu7jeuuso/7MlRX5-IPu#lh:null-22-new-container-unit.png but with the blue circle from https://www.dropbox.com/sh/lvdydgiu7jeuuso/7MlRX5-IPu#lh:null-08-machine.png I think18:13
rick_h_though that's not the important part for now18:13
hatchyay branch landed18:16
hatchno more rebasing18:16
* hatch jumps for joy18:16
rick_h_lol18:16
kadams54rick_h_: so this is for both the machine token and the container token?18:16
kadams54\o/18:16
rick_h_kadams54: so the container token should be updated as part of the interaction, but the machine token needs to be async updated18:16
kadams54Ah18:16
kadams54So add the unit to the container and then add the icon to both the container and the machine18:17
rick_h_kadams54: well what'll happen in the future is that you drop on the new container, and you get a container token expanded asking you for a type and details18:18
rick_h_kadams54: and then, after you click some confirm, the container, and unit get updated in the db.18:18
kadams54And the machine needs to update as well18:18
rick_h_kadams54: and the machine token that container is in, needs to be updated to show the new service it holds18:18
rick_h_or will hold technically18:18
kadams54k18:18
hatchwow there have been a lot of chances to the ecs stuff18:27
rick_h_hatch: yes, it's needed some extra support for the whole unit thing. It's really not written to be ghost-able nicely lol18:28
hatchwell the original plan had it use a persistent data store 18:29
hatchbut that was a lot of front loaded work18:29
hatchso now we are paying for it18:29
hatchshould have just done the front loaded work18:30
hatchI blame the demo18:30
hatch:P18:30
rick_h_which persistant data store?18:30
hatchthe one I was working on18:31
rick_h_I mean just having persistent data doesn't get around needing to be able to tie units to services/machines and update them post-deploy in order?18:31
hatchno but it would make going back and updating fields easier18:31
hatchthe execution stuff would still be complicated no matter what18:32
rick_h_I don't know that it's 'hard'. We need some helpers to smooth it out, but the work that's there I think needed to be there. 18:32
rick_h_things like placeUnit and addUnits and such help things stay up to date18:32
hatchit's a pretty complicated problem18:33
rick_h_definitely18:34
hatchwe are dealing with it on a case/case basisc18:34
hatchwhich is fine18:34
rick_h_I'll admit I was tricked by the fact that service/relation was simple and moved quickly18:34
rick_h_and when we got to machine/unit things got a level more complicated18:34
rick_h_but it was going to happen regardless. In fact, it's working around the data store (app.db) that's making this fun. 18:34
hatchand it'll all be thrown out when core gets this....18:34
hatchlol18:34
rick_h_I don't know, we'll have to go back and add some stuff on creating names for multiple services, units, machines18:35
rick_h_and keeping all that from conflicting, updating from deltas, etc18:35
rick_h_all that work will remain regardless of if core does some of this or not18:35
hatchwe'll have to handle seamless interactions between deltas and env calls 18:37
rick_h_yes18:37
hatchfor things like placing units on machines via the cli and gui18:37
rick_h_but it's starting to get cool. 18:37
rick_h_I so badly want my new container when I drop. :) this is going to be slick when it's released18:38
hatchit'll probably be simpler to just drop all the functionality from the GUI and rely on core at that point.....but then we don't get it in the sandbox18:38
rick_h_right, and we've got 4s lag 18:38
rick_h_or sorry, deltas is a 10s thing18:38
rick_h_the main watcher they use is a 10s cycle watcher18:38
hatchyeah18:38
rick_h_so I'm not sure how much we'll ditch. That's an awfully poor UX to have multi second lags18:39
hatchyeah the ecs might have to move into the fakebackend18:40
rick_h_we'll see. one step at a time18:40
rick_h_we know they're not adding any of this in the current cycle18:40
rick_h_and who knows next cycle18:40
hatchhah probably not then either18:40
rick_h_and we've still got bundle supports/etc we'll beat on this code a bit over the rest of the year18:41
hatchyeah that one will be fun18:42
hatchMakyo did you have a pre-imp with frankban about his prototype?18:42
Makyohatch, yeah18:42
hatchit looks pretty good to me 18:42
Makyohatch, yep, going to get it cleaned up and such18:42
MakyoWorking on tests now18:42
rick_h_Makyo: hatch jump on a hangout and pair up on the tests if it might help. It'd be good to have more eyes on it and such. 18:43
hatchyeah I've been going through the code, I think after it's done Makyo  can give me a tour of how it operates18:45
hatchit looks like it's pretty close to the original 18:45
hatchwith lots of forks coming out of it18:45
baccompiz is eating my vm.  boo.18:46
hatchrick_h_ so what else would you like me on for now?18:46
bacrick_h_: thanks for the additional explanation to my email.  i assumed kapil and james knew what was going on demo-wise18:47
rick_h_bac: yea, there's several forces going on there and not sure who knows what to be honest18:48
bacwell i hope they will hop right on it else we might have a stressful tomorrow18:48
rick_h_hatch: it's all about this drop/deploy working. I'm not sure how far Makyo's branch goes18:48
hatchok - it should be adding the placeUnit functionality18:49
hatchwhich needs to be added to the drop function once landed18:49
rick_h_hatch: right, so there's probably some UI wiring to get the container token that needs to be in there18:49
hatchone line change as I understand it18:49
rick_h_hatch: and the clean up on deploy maybe?18:49
rick_h_hatch: the uncommited css notifications perhaps?18:50
rick_h_hatch: huw added methods for that, then those would need to be cleared on deploy18:50
hatchthese are the ones that show up in the deployer bar?18:51
rick_h_hatch: no, the blue background on the container token18:51
rick_h_and the new machine token, which we're not using atm for the demo18:51
hatchoh ok, I was pretty sure the ghost machines/containers didn't show if they were ghosted18:53
hatchconfirmed18:53
hatchso we should be showing those first18:53
rick_h_sorry, you skipped a step on me, what now?18:54
hatchif you go into the console and type 18:55
hatchecs = app.env.get('ecs');18:55
hatchcb = function() { console.log(arguments); };18:55
hatchapp.env.addMachines([{}], cb);18:55
hatchyou don't get a machine listed in the machine column18:55
hatchuntil you commit()18:55
hatchuncommitted machines don't show up in the list18:55
rick_h_hatch: ah, yea you should get a machine token that's in uncommitted state18:55
rick_h_hatch: right, and they should18:55
rick_h_hatch: because you might manually create a machine, make it a large one with 16gb of ram, and then place units on it18:56
hatchdid that ever work? Should I be looking for a bug or implementing new18:56
MakyoMan, Francesco's smart.  I feel like I do something clever, then he just wafts through and clever turns into right.18:56
rick_h_hatch: honestly, not sure. it's partially related to kadam's work of showing uncommitted units on a machine18:56
rick_h_all that update the UI to match the db stuff18:57
rick_h_Makyo: :)18:57
hatchrick_h_ ok looking at the ecs stuff it looks like it's never worked18:58
MakyoTests pass, working on lint.18:58
hatchit needs to do something similar to units being assigned18:58
rick_h_hatch: ok cool18:58
rick_h_Makyo: woot18:58
hatchwe need to create a machine in the db then delete it  when it becomes a real boy18:58
rick_h_hatch: lol, pretty much. Or at least update the token with new data that will update the id and clear the uncomitted info18:58
hatchI need to wait for  Makyo's branch to land because it touches the same code haha18:59
hatchMakyo we can pair on this ^18:59
rick_h_hatch: heh yea, well if he's at lint you're on deck for review and helping to complete the demo 18:59
rick_h_:)18:59
MakyoYeah, 2 minutes or so19:01
MakyoThen you can help me QA/.19:02
hatchsounds good19:02
hatchthis machine view stuff is coming together really well19:04
hatchit would be done if it wasn't for the ecs lol19:05
rick_h_it's almost like we had a plan :P19:05
MakyoHaha19:05
rick_h_lol, changed my watch from C to F so it changed it from 24C to 24F19:07
rick_h_so helpful watch face19:07
hatchhahaha19:08
hatchyou should just live with C19:09
hatchthen you'll start using a base 10 measurement system19:09
hatchyou'll then wonder what have you been doing your whole life!19:09
hatchand move to Canada 19:09
hatchCelsius is a Canadian gateway drug 19:10
hatch:P19:10
Makyohatch, https://github.com/juju/juju-gui/pull/31419:14
hatchon it19:14
hatchMakyo I feel like there were a lot of things added to the code and not a lot of tests19:18
hatchthese changes to the tests end up testing all the changes that were made?19:19
Makyohatch, a lot changed, vs. added.  That's fair, though, first pass was to get tests working.19:19
Makyohatch, PR was the best way for me to get it to you for QA, though.19:19
Makyo(well, easiest, and I'm lazy)19:19
hatchyeah ok that's fine - I just wanted to see if additional tests were still required19:20
MakyoI'll see what I can do.19:20
hatchcode looks good, qa'ing19:20
hatchMakyo I think your qa step docs are borked on line 719:26
hatchfunction() .... ?19:26
Makyohatch, those were copied from francesco, give me a sec.19:28
hatchohh ok I think it might be a bad line break then19:28
hatchthat should have said19:28
hatch"ohh, I think it is a bad line break"19:28
MakyoYeah, copied plain text from a pastebin, sorry19:29
hatchno problem, it worked but generated an error, trying again19:30
hatchMakyo I get Error: attempted to place a unit which has not been added: mysql/019:33
hatchwhen running the placeUnit call19:33
hatchunless the first step where it says 'deploy' doesn't mean 'commit' ?19:34
hatchno it probably wouldn't19:34
MakyoI'll take a look, see if you can do additional QA19:34
rick_h_worked hedre19:35
rick_h_here19:35
rick_h_got the new unit in the changelog with machine and container19:35
hatchthere we go got it19:36
hatchI was interpreting 'deploy' as 'commit'19:36
rick_h_ah, yea no deploy is the service call that the ecs captures19:36
hatchMakyo so are you adding the extra tests now or doing to do so in a follow-up?19:37
rick_h_hatch: Makyo let's do follow up. We need to get this wired up and it needs to go through ci and land19:38
hatchsounds good19:38
hatchshipping19:38
rick_h_added a note to add a card for updating with moar tests!19:38
hatchmoar tests!19:38
rick_h_hatch: so are you going to look at then wiring this into your drop and removing the original unit token?19:38
MakyoI was sitting down because I haven't yet today :P  I'll do further QA on real env.19:39
hatchI would really love it if we had tests along side each file in the folder oh man that would be nice19:39
MakyoBut yeah, QA works for me in sandbox.19:39
rick_h_Makyo: cool, definitely qa live env please. hatch can run with it for now to start the last card. I'm working on the docs and can help live qa19:39
hatchrick_h_ first ghost machines need to show up in the UI19:40
rick_h_hatch: they show up, just not as ghost19:40
rick_h_hatch: and for the demo they'll exist19:40
rick_h_make it deploy a bundle first, then drop on a container on a machine in the bundle19:41
hatchoh ok then yes I'll hook up the drag and drop to deploy the unit to the newly created container19:41
rick_h_hatch: thanks19:41
hatchrick_h_ is someone doing a few dry runs on this first? :)19:41
rick_h_hatch: that's why I want to get this working asap so we can start to19:42
rick_h_hatch: yes, we'll be working on dry runs as soon as the drop of the unit works19:42
rick_h_on lxc and ec2 and they'll have access to the hardware19:42
hatchcool, ok I'll get on the drag and drop19:43
hatchI've clicked that damn magnifying glass 100x today19:58
rick_h_hatch: lol19:58
hatchlol19:58
rick_h_so I just downloaded the pdf19:58
rick_h_and have it open in a pdf reader zoomed 19:58
rick_h_much nicer19:58
rick_h_hatch: or you mean the search button in the header?19:58
hatchyeah in the header.....it reloads the page19:59
hatchno prevent on it19:59
rick_h_heh yea. land mines wheeee19:59
hatchMakyo got a few for a hangout?20:02
MakyoSure20:02
hatchok sec creating20:02
hatchhttps://plus.google.com/hangouts/_/7ecpj6sl0bvcknh7up5ivfta7s?hl=en20:03
hatchMakyo thanks that was the trick, it appears to be working as expected now20:30
rick_h_woot!20:30
hatch^ rick_h_  just need to remove the unplaced unit now20:30
rick_h_yay, my tablet has shipped from delta. I'm very curious if it's the right thing I get back20:30
hatchlol!!!20:30
hatchit might be someone elses haha20:30
rick_h_hah, I was getting worried that vegas was turning into a very expensive trip20:31
hatchlol20:31
hatchand you didn't even gamble!20:31
hatchok so we need a card to have containers auto-update20:31
rick_h_hatch: rgr20:32
rick_h_hatch: in the demo notes I have him go to service view to see the health bar and service and then click back20:32
rick_h_hatch: to force a redraw of all the things and tie the stuff going on to what people are used to20:32
hatchgood call -  makes it look like it's not broken20:33
hatchkehehehe20:33
rick_h_:)20:33
hatchok unplaced units is not databound 20:34
rick_h_hmm, should be. I thought it was added today20:35
rick_h_kadams ^ bah how dare he not be here20:35
hatchlol I just tried tab complete and was like NOOOOOO20:35
hatchhaha20:35
hatchlooking into it20:35
rick_h_https://github.com/juju/juju-gui/pull/30520:35
rick_h_heh, you reviewed it20:35
hatchhaha yeah - odd, if I deploy bundle, deploy postgres, place unit, view canvas, click back, unit is gone, but it's not gone after I place20:36
hatchwill investigate20:36
rick_h_hatch: I think that unit you're placing isn't in the db, it's a copy?20:37
rick_h_hatch: or does setting an attr not trigger the change event watched for?20:37
hatchnope it's in there....working as it should20:37
hatchthat's my guess20:37
rick_h_this.get('db').units.after(['add', 'remove', '*:change'],20:37
rick_h_add works, maybe change isn't right20:38
hatchahh that's it20:41
hatchchange won't fire because they aren't models20:41
rick_h_right20:42
hatchthey need to be revived, changed, then torn down20:42
hatchON IT!20:42
hatchyeah fixed it20:47
MakyoJust wanted to let you know, we're all counting on you.20:47
hatch*that20:47
hatchlike a boss20:47
hatchlol20:47
hatchnow to figure out why I don't have any icons20:47
rick_h_lol20:48
rick_h_jujugui I've got to go get my son from day care. I'll be back. I emailed the start of the walk through with notes. Let me know if anything doens't match up20:48
* rick_h_ is biab20:48
hatchcya20:48
hatchMakyo so the reason the icon doesn't show up is because the machine id on the unit doesn't get updated on commit20:55
hatchand the filterByMachine doesn't match the machine ids 20:55
Makyohatch, that's when the callback is called; can the callback share part of the burden there?20:55
hatchI think so, trying20:57
* bac walks the jojo21:09
MakyoI need to go get the dogs as muddy as possi-er, walk the dogs, back in a bit.21:09
hatchawesome - it now refreshes the container column when you drop the unit21:24
hatchthis is READY TO GO21:24
hatchand full of ugly hacks21:24
rick_h_hatch: lol21:25
rick_h_hatch: documented hacks?21:26
rick_h_and I'm back in case anyone needs anything21:26
hatchthat method is one big porn block21:26
hatch(XXX's)21:26
rick_h_lol21:26
hatch:D21:26
lazyPower\o/21:31
jcsackettrick_h_: are the next cards still prioritized? deployer test isolation higher priority than containers updating?21:40
rick_h_jcsackett: no, I've got to go through them tomorrow. 21:42
rick_h_jcsackett: the tech debt will be priority missing tests, etc.21:42
rick_h_jcsackett: and finishing the inspector left, which means finishing up my branch I put aside for now21:42
MakyoBack, +mud21:42
rick_h_jcsackett: I can toss a couple your way if you're looking21:43
MakyoAnd bills.  Why I ever pick up the mail is beyond me21:43
rick_h_Makyo: heh, yea. It's either spam or bills21:43
rick_h_jcsackett: have an interesting one for you21:44
jcsackettrick_h_: ok.21:44
rick_h_if I can find the UX wireframes21:44
rick_h_jcsackett: https://drive.google.com/a/canonical.com/#folders/0B7XG_QBXNwY1aHFtUE8zZTMzM0k21:49
rick_h_jcsackett: card is assigned, listing out the changes when clicking on the number in the deployer bar corner21:49
rick_h_jcsackett: let me know if you have any questions or want to pre-imp21:49
jcsackettrick_h_: it's almost EoD. i'll explore the relevant code today and ping you first thing tomorrow?21:50
jcsackettrick_h_: we've got everything that's needed for demo, yeah? or is this a demo thing?21:50
rick_h_jcsackett: this is not a demo thing. hatch I think is finishing up demo and then we'll be qa'ing and I'll be updating the docs21:51
rick_h_jcsackett: and I'll try to take time tomorrow to make heads/tails of the backlog of cards to make it through the week and we'll start our next 2 week iteration friday with planning poker21:51
jcsackettrick_h_: ok. do you need any other eyeballs for that? 21:51
rick_h_jcsackett: if you've got time/eyeballs happy to have them. Especially if you've got a working ec2 or other cloud environment to try it for real21:52
hatchjujugui https://github.com/juju/juju-gui/pull/316 BOOM21:52
rick_h_hatch: looking21:52
hatchdon't judge me21:52
hatch:P21:52
rick_h_hatch: Makyo I'll do LXC QA 21:52
MakyoI'll QA in a real env21:52
MakyoOh, hah21:52
MakyoSure!21:52
rick_h_oh...I'll judge...really judge21:52
hatchaha21:52
kadams54Too late - you're a Canadian.21:52
MakyoI'll review etc.21:52
kadams54That makes you polite21:52
Makyokadams54++21:52
rick_h_Makyo: jcsackett it'd be cool if someone tested out ec2 or HP or something21:52
kadams54A beer-drinking hockey fan21:52
kadams54With a closet full of flannel21:53
Makyorick_h_, I have ec221:53
* hatch doesn't like hockey21:53
rick_h_Makyo: cool thanks21:53
hatchat least not watching it21:53
jcsackettforgot to ping earlier, jujugui: tiny PR https://github.com/juju/juju-gui/pull/31521:53
rick_h_kadams54: got time to review ^ ?21:54
kadams54yeah21:54
rick_h_thanks21:54
rick_h_oh the judging! :P21:54
rick_h_hatch: it's not that bad, at least the parts 'fit' together and make sense I think21:55
rick_h_but maybe I've been looking at too many branches of this stuff lately :P21:55
hatchhaha - yeah it works and all that - there is just so many better ways to do this :)21:55
rick_h_hatch: well, but iteractions on the current idea I think. 21:55
rick_h_more automation/etc21:56
hatchyeah true true21:56
rick_h_unless you have a plan that's a completely different path?21:56
hatchno, originally I had a different plan but this path works just fine21:56
rick_h_lol, we'll get your plan next time21:57
hatchhaha no biggy21:57
* hatch is being punished for the inspector debacle 21:58
rick_h_lmao21:58
rick_h_hey, I've worked hard to not have anything come across as punishment :P21:58
rick_h_after all, still fighting state myself :/21:58
hatchhaha21:58
jcsackett...if you had to work hard to have nothing come across as punishment, that implies something *could* be thought of as punishment. :p21:59
hatchhaha21:59
kadams54hatch: did you test this in Vagrant?22:01
hatchI work in vagrant, so yes?22:01
kadams54OK… seeing some funkiness and trying to rule out potential causes.22:02
hatchI have to run test-server though22:02
hatchit won't run through on debug in vagrant22:02
kadams54Funkiness was resolved with make clean22:03
kadams54You're off the hook ;-)22:03
jcsackett`make clean` is magic.22:03
rick_h_it's showing, you have to take a shower once in a while :P22:04
rick_h_even spartans 22:04
hatchhaha22:04
kadams54:-b22:04
bacrick_h_: hey have you heard anything from our intrepid friends in ATL?22:04
rick_h_bac: not a peep22:05
rick_h_bac: not seem them active on irc22:05
bacrick_h_: well, i've done about all i can without any participation/feedback22:05
rick_h_bac: agreed22:05
rick_h_bac: I think we call this mission accomplished, work on getting it in trunk from here. We've done what we can do to help them out22:05
bacrick_h_: rt.  the process is a little clunkier than i'd like due to juju / quickstart / charmworld charm issues22:06
rick_h_bac: true, but it's also a demo/technical thing. So not truly user facing/etc. I think we can afford a few rough edges. 22:07
rick_h_bac: thanks a ton for getting that working. I think it'll be cool even beyond this demo to have that handy22:07
bacrick_h_: sure, but the things i encountered are usability for the tool chain22:08
bacrick_h_: what time is the demo?22:08
rick_h_bac: which parts? I thought it was just the charm and the branch suport?22:08
rick_h_bac: so the big one for Mark is 10:20 central I think22:08
bac'juju scp -r' doesn't work22:08
rick_h_oh, yea I saw that conversation go by. 22:09
bacconfig settings in a bundle are not being set by the charm when deployed with quickstart22:09
rick_h_bac: right, we've got a bug to add that22:09
bacthat may be the charm's fault22:09
rick_h_I think it's inthe maint. backlog22:09
bacwhich? the config setting?22:09
rick_h_well to provide a config.yaml override22:09
rick_h_it should "just work" if it's in the bundle.yaml22:10
bacoh, am i just stupid?  can the bundle only contain juju-level settings?22:10
bacnum_units, etc?22:10
rick_h_bac: yep22:10
rick_h_oh no, it can contain config22:10
bacgah.  my bad.22:10
rick_h_sorry, multi tasking, the bundle can contain config overrides I think22:10
bacrick_h_: ok, well those aren't being respected, at least by this charm22:11
rick_h_http://comingsoon.jujucharms.com/bundle/~charmers/mediawiki/6/single/#code22:11
baci'll sort it out tomorrow when i can talk to frankban22:11
rick_h_bac: right, that might be a charm bug that it's not accepting the config change on install22:11
rick_h_bac: well I think he's afk for the rest of the week. 22:11
rick_h_bac: ^ shows the options: xxxx block passed from the bundle22:12
bacah, i didn't use the 'options' heading!22:12
hatchrick_h_ how goes the lxc qa?22:12
rick_h_hatch: working on it22:13
rick_h_sorry, talking to others :)22:13
hatchhah no problem22:13
hatchjcsackett reviewed your branch22:16
rick_h_hatch: the container didn't update for me on drop?22:21
hatchit didn't render a new one?22:22
rick_h_hatch: no22:22
hatch^ kadams54  did you have the same issue in qa?22:22
rick_h_sec, will try another service22:22
kadams54rick_h_ hatch I did have that issue, but that's what the clean fixed22:23
kadams54http://cl.ly/image/0n1W1Z443K2c22:23
rick_h_kadams54: well this is on a deployed service22:23
hatchohh - rick_h_  maybe make clean will work for you?22:23
kadams54The container didn't update on drop and the list of unplaced units didn't update either22:23
hatchohh22:23
kadams54Ah yeah22:23
kadams54I was vagrant22:23
rick_h_swapping to service and back worked22:24
rick_h_and I didn't get a nagios unit. 22:24
hatchso it doesn't actually work then?22:25
rick_h_hatch: no, I hit deploy and it showed me the right stuff, but didn't create the unit. I do get the esrvice and the lxc container22:26
rick_h_just unit-less in a real env22:26
hatch:/22:26
hatchcan you put a debugger in go.js add_unit()22:26
hatchsee if it gets called?22:26
hatchdebugger/breakpoint22:26
rick_h_Uncaught Error: attempted to place a unit which has not been added: 61439359$/0 22:27
hatchwhat the....22:27
hatchso there is clearly some difference on a real environment22:27
rick_h_ok, so reload the browser window, nagios is there without any units. 22:27
rick_h_trying to deploy wordpress22:28
rick_h_oh, that worked now22:28
rick_h_well the container updated22:28
hatchlol22:28
hatchthe attempted to place error is from the placeUnit() call22:28
rick_h_no errors this time22:28
hatchohh 22:28
hatchnagios is a subordinate22:29
rick_h_ran it with the debug toolbar open? 22:29
rick_h_hatch: no, nrpe is, nagios is a server22:29
rick_h_we picked nagios just because of that, it's a server with a web interface22:29
hatchohh ok22:29
hatchhmm22:29
rick_h_when I click on the wordpress in service view the inspector shows me "one undefined unit: 31706881$/0"22:29
rick_h_and again, no units.22:30
rick_h_ok, will try to debugger in placeUnit()22:30
hatchthe env needs to make the add_unit call for it to actually create the unit22:31
hatchI'm wondering if any of this stuff was tested on a real env22:31
rick_h_bah, compressed JS files fail22:31
hatchit might just simply not work22:31
rick_h_wheeee22:31
hatchheh, switch the gui to debugger mode :)22:31
rick_h_ok, will reload and watch the wss traffic22:31
hatchI'm just updating/setting up my testing machine and then I'll be able to test it as well (assuming it all goes ok)22:33
rick_h_hatch: yea, not seeing a unit call in wss22:34
rick_h_{"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"mysql","Config":{},"Constraints":{},"CharmUrl":"cs:precise/mysql-44","NumUnits":0},"RequestId":19}22:35
rick_h_{"Type":"Client","Request":"AddMachines","Params":{"MachineParams":[{"Jobs":["JobHostUnits"],"ParentId":"6","ContainerType":"lxc"}]},"RequestId":20}22:35
hatchok so basically that means that the lazyaddunit doesn't work22:35
rick_h_yea22:35
rick_h_something isn't right there22:35
hatchwhile my machine updates....you can switch the GUI into debug mode in the charm and then put a debugger in _add_unit in go.js22:36
hatchbreakpoint*22:37
rick_h_sec, just resetting env, have to get the boy some sort of food for dinner and brb. 22:37
hatchyeah np22:38
hatchrick_h_ in sandbox I put a breakpoint in _add_unit() in go.js and it was never hit22:47
rick_h_hatch: k, makes sense then22:47
hatch^ Makyo  any idea what's broken here?22:47
hatchI can step through the changeset execution22:48
Makyo1sec.22:48
hatchjust wondering if you might have any other insight :)22:48
rick_h_hatch: I wonder if changing the model to assign the unit to a machine did something to get it not to be added?22:48
hatchthe command looks good22:49
rick_h_hatch: does the lxc parent complete/hit the callback?22:49
hatchjust going to step through the commits22:50
hatchwatch the flow of it22:50
hatchok the addUnit call is never executed by the ecs22:52
rick_h_the ghost deployer extension is supposed to addUnit when you drop the service22:52
rick_h_?22:52
rick_h_so you have the call in the changeset, but it's not executed?22:53
hatchcorrect22:53
rick_h_ok, so that means something in the parent/etc setup is failing to hit the child22:53
hatchservice deploy and add machine commands are executed22:53
rick_h_they're not parent/child22:53
hatch_commitNext() is never called with the unit command22:53
hatchthe heirachy is properly built22:54
rick_h_yea, something in the callbacks22:54
hatchhierarchy 22:54
rick_h_so this might be due to frankban changing the id from being the changeset id to the actual model id22:55
hatchit's waiting for the level to be completed22:56
hatchbut it never is22:56
hatchthe addMachine callback is not returning22:57
hatchso it's not triggering the level complete22:57
hatchnow....how to fix that22:57
hatchheh22:57
MakyoGUI can't load any charmworld assets: net::ERR_BLOCKED_BY_CLIENT - did something change on charmworld's side?22:58
Makyoditto assets.ubuntu.com22:58
rick_h_Makyo: not that I'm aware of, was just doing it22:59
hatchhmm it's working in the GUI for me22:59
rick_h_Makyo: maybe you're falling into some ip addr black hole?22:59
MakyoThis is ec222:59
hatchdid you open the ports?22:59
hatch:)22:59
hatchoh wait nm juju does that22:59
hatchheh22:59
rick_h_well it should be able to go out 22:59
rick_h_and the client is doing it not the ec2 stuff23:00
MakyoWellp.23:00
rick_h_http://stackoverflow.com/questions/22318119/i-am-getting-failed-to-load-resource-neterr-blocked-by-client-with-google-chr ?23:00
rick_h_ad blockers enabled?23:00
MakyoDamnit.23:01
MakyoEFF's Privacy Badger was running./23:01
hatchlol23:02
hatchoh I think I found the bug23:02
rick_h_good because my brain isn't up to following the callback levels atm :P23:03
redirlove it:) I have had to debug ghostery for the same reasons before Makyo 23:03
hatchyep fixed it23:04
hatchcleaning up then pushing23:04
rick_h_woot23:05
hatchrick_h_ Makyo  fix pushed plz try qa on a real env again https://github.com/juju/juju-gui/pull/31623:06
MakyoAlright, on it.23:07
hatch*phew* was REALLY worried there was an architectural bug introduced by something frankban did lol 23:07
hatchI did not want to have to fix that tonight haha23:07
hatchinstead it was a bug I introduced....which is much more acceptable lol23:07
hatchintroduced? should have been protected against?....yeah the latter23:08
hatch;)23:08
hatchdoh, lint23:10
hatchfixing...23:10
huwshimiMorning23:10
rick_h_just got a phone call from ramm23:11
rick_h_promising a dist tarball in an hour :) 23:12
rick_h_hopefully :/23:12
huwshimirick_h_: Did you just see that email from James>23:12
huwshimi*?23:12
redircoop shift, later23:12
rick_h_huwshimi: not yet23:12
huwshimirick_h_: He needs help23:12
rick_h_huwshimi: got a phone call from ramm23:13
rick_h_promised them a tarball in an hour or less23:13
huwshimiah ok23:13
rick_h_hatch: reloading here23:13
hatchok, new linted and test passing version has been pushed up23:16
hatchheh23:17
hatchI just read the email, was going to say we needed to get them a tarbal23:17
hatch:D23:17
rick_h_:)23:17
rick_h_ok, so the unplaced unit token stuck around 23:18
rick_h_until I swapped back/forth but not the worst that can happen23:18
hatchok that's not horrible......but did we get a unit in the env....23:18
rick_h_woot! "1 pending units nagios/0"23:18
hatchYES!!!!!23:18
rick_h_lol, but in lxc it creates a new machine anyway 23:19
rick_h_Makyo: here's hoping you've got better luck?23:19
* rick_h_ remembers this is why quickstart puts the gui on a new machine on local23:19
hatchrick_h_ haha, well you can't create an lxc in an lxc :)23:19
Makyorick_h_, let me tell you about stupid hooks.23:20
hatchyou need to do lxc > kvm > lxc or something23:20
rick_h_bah, and an empty machine hanging there, but probably due to this mess23:20
* rick_h_ destroys local and goes to ec223:20
Makyorick_h_, I'm on it, though.  Turns out, if you fuck up a hook, resolve --retry doesn't do quite what it's supposed to if it's the Install hook that failed.23:20
rick_h_Makyo: :(23:21
Makyorick_h_, also, if you set a config value to the same thing, config-changed doesn't appear to fire.23:21
Makyoso I've destroyed and re-deployed this thing four times.23:21
rick_h_Makyo: yea, you have to set it to develop and then back again23:21
rick_h_heh23:21
MakyoAnyway, I'm almost there promise23:21
rick_h_well, running quickstart on ec2 right no23:21
rick_h_now23:21
hatchbrb letting dogs out23:21
MakyoMore tests, the betteer23:21
rick_h_grrr no love on ec2 stupid thing23:25
rick_h_ERROR state/api: websocket.Dial wss://ec2-54-227-207-97.compute-1.amazonaws.com:17070/: dial tcp 54.227.207.97:17070: connection refused23:25
rick_h_hmm, seems to be doing better this time...maybe23:28
rick_h_yay bootstrapped23:30
rick_h_juju deploy juju-gui --to=0 23:30
rick_h_go go go23:30
rick_h_ok, running on ec223:33
rick_h_updating branch23:33
rick_h_hatch: Makyo we might need to prepare to not use lxc sub container but just colocate two on bare metal. 23:38
rick_h_hatch: Makyo what's the different in our api calls? Just deploy the unit with the machine id and skip the addMachine bits?23:39
jcsackettrick_h_ did you see James pages comment on the Ods doc?23:40
rick_h_jcsackett: yes23:40
jcsackettGood stuff. 23:40
hatchrick_h_ so it still doesn't create a unit/ 23:41
hatch?23:41
rick_h_hatch: no, james page is saying that lxcs won't work well in an open stack deployment which this is going to be running on23:41
rick_h_hatch: I'm trying to figure out if kvm is allowed23:41
rick_h_or if we just need to colocate on bare metal23:41
rick_h_hatch: while I wait to hear something (by irc, phone or email I've tried all three) 23:42
rick_h_I'm still trying to QA on ec223:42
hatchoh boy lol23:42
rick_h_and damn these ec2 machines are so slow for building hte distfile23:42
MakyoDo the series have to match?23:42
jcsackettrick_h_ The comment in referring to is he can't do npm stuff, so setting up develop is failing. 23:44
jcsacketts/in/I'm/23:44
rick_h_hatch: ok, colocated bare metal23:44
rick_h_hatch: we need to rip out the lxc bits23:44
rick_h_jcsackett: looking23:44
rick_h_jcsackett: he'll not be using devleop23:45
rick_h_jcsackett: we'll get him a tarball23:45
hatchcolo bare metal? I thought that wasn't recommended lol23:45
rick_h_hatch: oh well!23:45
rick_h_hatch: it's openstack on openstack so no kvm and no lxc23:45
hatchso.....anyone know the id syntax for creating a colo on bare metal? :)23:45
* hatch goes digging23:45
Makyohatch, just don't specify the destination as a container.23:45
hatchit's based on the path23:46
rick_h_hatch: right, I think we can just addUnit with the existing machine id23:46
hatchoh....so no machine?23:46
rick_h_jcsackett: I don't see these comments where is this?23:46
hatchhmm23:46
hatchcan you verify this on your ec2 env?23:47
rick_h_hatch: right, the machine will already exist, we'll drop onto the header, and just deploy on it23:47
rick_h_hatch: how can I test it? 23:47
hatchwell I mean via the command line23:47
hatchadd unit to the machine23:47
rick_h_hatch: help me with instructions and I'll try it out23:47
hatchok one sec23:47
hatchwell you'd need to deploy a service with 0 units23:48
hatchthen `juju add-unit <that service> --to <machine num>`23:48
rick_h_from the cli? 23:49
hatchyeah23:49
hatchI just want to make sure that those sequence of events actually work23:49
rick_h_looking23:49
rick_h_cli won't let me error: --num-units must be a positive integer23:50
jcsackettrick_h_ want me to reply that there's a tarball coming with the dependencies?23:50
rick_h_but we know you can via the api23:50
rick_h_jcsackett: where is this?23:50
jcsackettEmail reply to the sharing of the ODS doc. 23:50
jcsackettTo you, cc'ed to the rest of us. 23:51
rick_h_I've emailed him, commented in the doc, and said so to mark ramm. So if there's still a question I'd like to know where the conversation is happening. 23:51
rick_h_jcsackett: ok, I think that's old info. I've already handled that one23:51
rick_h_we're onto the next issues of lxc containers on the demo hardware won't work23:51
hatchrick_h_ ok I'm writing the handler to deploy to bare metal23:52
jcsackettrick_h_ ah, ok. Saw the question w/ no reply. Hadn't realized lxc was the next issue. 23:52
rick_h_hatch: rgr, thanks23:52
hatchwill post back when it's tested23:52
rick_h_jcsackett: my bad, didn't notice I needed to reply to all23:52
rick_h_hatch: rgr, will leave up my ec2 to test it on23:52
rick_h_and will bring up an lxc to test it on as well23:52
rick_h_hatch: one drive by please, rename the drop target heading "Colocate on this machine"23:54
rick_h_ /Create new container/Colocate to machine23:56
hatchthe UI is rendering it in the bare metal container when you drop, but after switching away and back again it's rendering as a new machine23:58
hatchplacing a unit on a bare metal creates a new machine....23:58
rick_h_hatch: that's in sandbox?23:59
hatchyeah....23:59
rick_h_hatch: I'm not sure the sandbox supports colocated services like that. I bet it adds a new machine23:59
hatchok, checking the commands it executes23:59
hatchthen will push it up23:59
* rick_h_ is thinking. 23:59

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