[00:35] rick_h_: So if we don't yet have the hardward info we should say something like "Hardware info unavailable"? [00:38] huwshimi: yes, that's a card I think [00:38] huwshimi: I think "Hardware details not available" if that'll fit [00:38] rick_h_: OK, I'll do that as part of the token styling branch. [00:39] huwshimi: thanks [01:55] kadams54: did you put up your branch? [02:38] ok, night all see you tomorrow [02:50] Night [05:01] huwshimi: 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] Er [05:01] It's not landed [05:01] Ready for QA :-) [05:02] kadams54: Ah, I'll take a look [05:04] Bah, stupid lint [05:05] :) [10:29] morning party people [10:32] rick_h_: Good morning :) [10:32] huwshimi: still around? morning man [10:32] rick_h_: Just been out and got home [10:32] huwshimi: very cool, thanks for the work last night. Will start going over the branches and qa'ing soon [10:32] after the coffee brews [10:33] :) [10:50] rick_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:51] 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 well [10:52] rick_h_: Yep, np [10:52] 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 flag [10:52] sure [10:55] rick_h_, huwshimi: morning, I need two reviews for https://github.com/juju/juju-gui/pull/309 [10:55] frankban: sure thing [10:55] rick_h_: thanks, this is a required change before placeUnit [10:55] I'll do a QA and then I need to sleep :) [10:56] huwshimi: heh, thanks [10:56] huwshimi: thanks and get some rest [10:56] It's not late, I'm just jet-lagged still :) [10:58] frankban: the hideChangeDescription is done in the bar itself next to the counter. Originally the branch worked: [10:58] "Drop a service, the bar would show "1 Added service XX Deploy" [10:58] and then after 2s it would hide the "Added service XX" part [11:02] rick_h_: uhm, it does not work in trunk [11:02] yea, something has been broken along the wya [11:03] the count isn't there [11:03] ant's branch added this work and I qa'd it originally [11:03] rick_h_: and the change description hides [11:03] I wonder if someone's rebase/merge conflict caused issues and it got lost [11:03] :-/ [11:04] rick_h_: I'm not sure if you saw my email about the summary "No uncommited changes" state being related to something there [11:04] https://github.com/juju/juju-gui/pull/288 [11:04] huwshimi: it is [11:04] huwshimi: well it's all related [11:04] rick_h_: I think the timeout is applying to the wrong element [11:05] huwshimi: right, and it looks like we're missing some code/elements [11:05] yeah [11:05] huwshimi: from that pull request ^ [11:05] so will have to diff and pull that back together [11:06] rick_h_: I saw it working at some stage though [11:07] huwshimi: yea, same here [11:07] frankban: :+1: on your branch [11:08] rick_h_, huwshimi: thank you! [11:10] rick_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:11] frankban: I thought add_unit had to add that unit so that we could search for unplaced units using the filterByMachine(null)? [11:11] frankban: I see though, you mean to not actually add it to the ecs at that point though [11:12] but it's in the db [11:13] 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] rick_h_: we can add the unit to the ECS and then placeUnit modifies the record [11:13] frankban: but your way sounds ok as well [11:18] rick_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 unpla [11:18] ced, 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] 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 time [11:19] frankban: luca has provided feedback that they want to 'try it out and see' in order to help define how that interaction works [11:19] frankban: it could just be ignored, as you suggest, or an error in the summary directing you to go back and place. [11:19] rick_h_: sounds good, new machines for unplaced units is a simpler story for us [11:19] frankban: in which case we'll also need some way to 'destroy' an unplaced unit [11:20] rick_h_: so yeah, place unit should just change the unit record in ECS [11:20] frankban: but I definitely understand your concerns. hatch and I have mentioned them to luca/design. [11:20] frankban: ok cool. Thanks [11:21] jcsackett: around this morning? [11:25] poor poor CI is getting a workout this week [11:26] ok, think I've reviewed and caught up with things atm. Going to go about that coffee and breakfast now [11:29] * frankban lunches [11:32] rick_h_: I figured out what was going on with the deployer bar, just pushing a branch [11:33] 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 well [11:34] rick_h_: Np, just running tests. [11:43] rick_h_: It's ready for review/qa. I'm heading to bed :) [11:46] Night all [11:53] huwshimi: night! [12:20] frankban: looks like conflicts hitting between you and huw there. Sorry about that. [12:21] bac: morning [12:21] hi rick_h_ [12:23] frankban: looks like a small one in the handlebars template [12:23] -

These changes will be deployed to: {{ machineName }}

[12:23] +

The following changes will be deployed

[12:38] rick_h_: looking [12:42] rick_h_: shipit again? [12:43] frankban: just delete the comment "merge request accepted" and it'll repick it up [12:44] rick_h_: ok thanks, maybe we should add instructions to the Build failed message [12:45] rick_h_: landing again [12:46] frankban: definitely. I honestly thought we did have some notes in there. [12:47] frankban: heh yep missing that step around everything else in https://github.com/juju/juju-gui/blob/develop/docs/continuous-integration.rst will add it [13:10] morning all. [13:10] morning [13:11] hi jcastro [13:11] hi jcsackett [13:11] i'm used to getting pinged when people wanted castro; haven't seen him get pinged when people meant to ping me that often. :p [13:11] all nicks in a channel should be unique to the first two characters [13:12] Morning all. [13:12] morning, kadams54. [13:13] I'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] kadams54: one sec. [13:14] kadams54: app/assets/javascripts/event-tracker.js [13:15] rick_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:21] rick_h_, local charms in bundles with drag and drop onto the gui.. workable? [13:21] rick_h_, basically going to pre-load the local charms into the environment.. that should work? [13:21] hazmat`: I thought that didn't work because of the revision stuff [13:23] 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 eenv [13:24] hazmat`, 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:26] jcastro, i'm busy in the demo room, missing keynotes.. should be linked from main ostack site [13:26] jcastro, http://www.openstack.org/home/Video/ [13:28] hazmat`: sorry, phone call [13:28] rick_h_, no worries [13:29] hazmat`: honest answer is I'm not sure off the top of my head. [13:29] 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] hazmat`: there's something there. we tried it and ended up failing due to an assumption somewhere in the pipeline [13:30] 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 demos [13:30] rick_h_: ack [13:32] kadams54: morning, I think huw and frankban have found the deployer bar issues you were looking into on your card? [13:34] y'all did a ton of work over the weekend. [13:34] yes, almost there [13:37] rick_h_: interesting. Did they commit a fix or just find where the bug was at? [13:37] rick_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:38] kadams54: I think the fix is in, swimming atm with working on huw's update to fix the deployer bar notifications [13:38] jcsackett: I think that's fine now [13:38] jcsackett: frankban's branch that just landed I think fixes that [13:38] rick_h_: dig. [13:38] jcsackett: a verify/qa would be cool [13:38] rick_h_: verifying now. [13:39] rick_h_: OK, cool. I like cards that get fixed in other people's branches while I sleep. [13:39] kadams54: yea, give it a go and see if you can break it again [13:39] 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 lost [13:40] rick_h_: it appears to work on sandbox--was this observable there, or does it need a real env? [13:40] jcsackett: yea, it was there [13:40] rick_h_: also, how was camping? [13:40] cool, i'm marking it with frank and throwing it into daily call. [13:40] the campground was awful, the boy had fun, the wife and my verizaon bill didn't appreciate all the branches :) [13:41] * jcsackett laughs [13:41] but it was nice to get out of the house and sleep under the sky a bit [13:41] well, at least your son enjoyed it. [13:41] :) [13:41] he loves camping, and they had lots of stuff for kids [13:41] that's cool. [13:50] morning hatch [13:51] morning [13:51] how goes it? [13:51] hatch: crazy wheeeee [13:54] what time is the demo: [13:54] ? [13:54] redir: tues AM [13:54] Makyo: ping [13:54] frankban, hi [13:55] ahh so one more day to polish it [13:55] redir: yea, well make it work today [13:55] and collapse :) [13:55] rick_h_: time for a quick chat? [13:55] bac: definitely [13:55] kadams54: looking at qa'ing your branch. It's all up to date per huw's feedback? [13:55] rick_h_: in standup [13:56] rick_h_: Yes, should be. Event bindings are now destroyed properly. [13:56] kadams54: coolio will look after this call thanks [13:56] Makyo: 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 db [13:58] well this is interesting, I had almost exactly what frankban had in his place-unit branch, I just had one property switched around....lol damn [13:59] frankban, 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#L164 [14:00] Makyo: 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 name [14:01] frankban, hmm, correct... Unless we just use something like '(pending machine)' if the machine hasn't yet been created. [14:01] Makyo: 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 options [14:01] Makyo: and then making the parent check using options.modelId [14:01] frankban, That makes sense, yeah [14:02] Makyo: cool, I'll take a look [14:02] hatch: what code are you referring to? [14:03] the 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 properly [14:03] in hindsight ghostserviceid makes sense :) [14:09] hatch: IC :-) unfortunate overlapping (but I guess it's unsurprising given the demo panic) [14:24] 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:25] rick_h_ I think now with frankban's latest branch it should be good to go, I'm just running through kadams54 PR [14:25] then I can get on it [14:25] hatch: rgr [14:30] ohh you already shipped it [14:30] lol [14:31] hatch: heh, I added a card in the backlog to follow up on your comments [14:32] 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 on [14:34] comingsoon is broken [14:35] http://comingsoon.jujucharms.com/:flags:/il/mv/ [14:35] changeset count is in the header [14:35] bah [14:35] lol [14:35] frankban: the demo needs to use quickstart. where is the best place to get it? trusty repo or some PPA? [14:36] bac: the ppa, I don't know that trusty has been updated for the bug fixes yet [14:36] bac: juju/stable ppa [14:36] ty [14:37] bac: what do they use quickstart for? [14:37] frankban: deploy charmworld [14:37] hatch: can you try a local copy? I wonder if this is coming soon css issues [14:37] no it's in develop [14:37] rick_h_, it's in trunk. [14:37] hatch: I don't see what in the CSS is making that happen [14:38] ok thanks :) [14:38] it's not css, it's markup [14:38] the changes button needs preventDefault on it as well [14:38] because it's an A it breaks the url [14:38] gotcha [14:38] I'm just going to sit back and pretend I've never said anything about using anchors [14:38] ... [14:38] lol! [14:39] well it's incomplete features anyway. So not fair [14:39] there is actually a full deployer bar up there [14:39] it's really broken now [14:39] a bisect is probably necessary here [14:39] 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 broken [14:40] 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] oh darn! [14:40] https://github.com/juju/juju-gui/pull/288 is the original working branch [14:41] ohh that's a lot of changed files heh [14:41] icons mostly [14:41] ok I'm going to get my branch landed first [14:42] oh yay my keyboard backlight just stopped working [14:42] F^&*^&* Apple [14:43] rick_h_: can you chat for a moment? [14:43] jcsackett: sure thing [14:43] rick_h_: https://plus.google.com/hangouts/_/g3hgvsy4smtzi2x6dptuesyplya?authuser=2&hl=en [14:45] jcsackett: https://github.com/juju/juju-gui/pull/307 [14:47] hatch: jcsackett is going to look at that [14:48] ...the horror, the horror. :p [14:48] hatch: some cross between ant/huw/me made something wonky [14:48] jujugui I'm on the deployer bar thing. [14:48] rick_h_: ^ [14:48] Makyo: ok cool then [14:48] right, back to figuring out what to look at. :p [14:48] Makyo: so you're two birds one-stone there Makyo ? [14:49] rick_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] Makyo: yea, that text was replaced in a drive by [14:50] Makyo: there's the current issue of two bars (top/bottom) and there's no support for add machines to the list of messages/summary [14:50] rick_h_, okay. I'll add that to this card and go through the rest of the list. [14:50] Makyo: the icons show now, that was hatch's attempt to avoid collisions [14:50] Makyo: so updating the card for the two items remaining [14:51] yeah I borked that [14:51] but I think that's all fixed now [14:51] yea, all good [14:51] as long as we all ack you can only have one unit of any service in ghost lol [14:51] Makyo when following your QAsteps.js are we supposed to get ghost machines? [14:51] rick_h_ haha, this demo better be very scripted :) [14:52] hatch: trying to work on that for sure [14:52] hatch, all my branch did was ensure ECS called addMachines properly; no UI [14:52] Makyo: so to be clear, you're handling the deployer bar rendering goofily up top? [14:52] Makyo ahh ok cool, I've just been using those steps to qa other stuff and was curious [14:53] jcsackett, Yes, if that's alright. [14:53] 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 up [14:53] rick_h_: dig. [14:53] jujugui: who needs PR/QA? i appear to be super free. [14:53] I've got to start work on the demo script and notes. [14:54] jcsackett: so I think we're all set atm, but hopefullyu will have some coming down the pipe [14:54] kadams54: did you dupe the issue in your card? [14:54] kadams54: or is that all set? [14:54] jcsackett you can go through the codebase with rubber gloves and some solvent to clean up all the new tech debt [14:54] haha jk it's actually not that bad [14:54] hatch: heh, save that for tomorrow [14:54] there will be a "great post-demo audit!" [14:55] but not today [14:55] enough moving parts atm [14:55] i'm looking at the two polish cards, and will be on interrupt for PRs and QA. [14:55] rick_h_: well, yes, it seems to be fixed. However I'm seeing some other odd behavior. [14:55] kadams54: ok [14:55] jujugui call in 5 [14:56] Hmm, strike that… I'm seeing "no uncommitted changes" again. Different route to reproduce it though. [14:56] rick_h_: you know, it is a little redonkulous that we don't deploy charmworld with a bundle in real life. [14:56] bac: +1 [14:57] 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 support [14:57] bac: but for our QA env we want to setup I was looking at trying to create/use a bundle for that [14:57] rick_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 here [14:58] hatch: we are dropping on a pre-existing machine to create a new container [14:58] crap that is not what my code does [14:58] so we have to addMachine with a real parent and make a new lxc container [14:58] rick_h_: the qa env is live. i launched it. next time i'll use a bundle rather than the deploy script orange wrote [14:58] Got the deployer bar thing; copy-paste problem. [14:58] doh [14:59] thanks Makyo [14:59] 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 container [14:59] yeah I must have misunderstood - I thought that it was being dragged to an existing container [15:00] it's ok I just need to add drop support to the machine tokens [15:00] hatch: it's the header that you drop on [15:00] https://www.dropbox.com/sh/lvdydgiu7jeuuso/7MlRX5-IPu#lh:null-06-machine.png [15:00] no that creates a new machine/container, we need to create a new container in a machine [15:00] so you drop on the machine [15:00] you've selected the first machine, and drop on the header "Create new container" which we can hardcode to a new lxc [15:01] right, the grey means that the machine is selected [15:01] oh boy [15:01] and a big "Create new container" drop target [15:01] jujugui hangout [15:01] man where did I get the idea to drop on a container [15:04] jujugui: is this fatal state from 'juju status'? agent-state-info: '(error: no instance types in us-west-2 matching constrain [15:04] ts [15:04] "cpu-cores=1 cpu-power=100 mem=2048M root-disk=20480M")' [15:05] or will it continue with best attemp? [15:05] s/attemp/attempt/ [15:12] rick_h_ can you hop back in? [15:13] just want to confirm the interaction for the drag and drop [15:13] frankban: do you know the answer to my question ^^^? [15:13] hatch: joining [15:13] jujugui: 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:14] bac: what machine is returning that error? [15:15] frankban: the one for elasticsearch and mongo. is that your question? [15:16] bac: yes, I am not sure you can recover that. IIRC resolved only works with units. So maybe destroy-machine and add another one? [15:17] jcsackett: rgr [15:17] frankban: ok. i wonder which of those constraints is causing the problem... [15:18] bac: I think the cpu-power or the root-disk [15:18] bac: I'd drop those two and see what happens [15:18] having both core and power I don't know makes sense, I think it's either/or but not 100% sure [15:19] huh, i didn't specify the cpu-power one. juju must've helpfully added it for me. [15:19] heh, you co cool juju [15:21] that helps me narrow it down, though [15:28] During 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:30] heh yes [15:30] kadams54: yep [15:30] last minute mandate that's falling apart in real life [15:30] Now things make sense. [15:31] Well, more than 30 minutes ago. [15:31] :D [15:32] OK, so on my card… should I update it to be specific to when undeployed (ghost) stuff is deleted? [15:32] kadams54: definitely [15:38] Hmm, found another variation that may be more problematic for the demo. [15:38] kadams54: k, good to know [15:38] If you drop a second charm, it triggers the message again [15:39] 'triggers the message'? [15:39] Yeah, "no uncommitted changes". [15:39] kadams54: call? [15:39] Sure [15:40] kadams54: let's just hit the standup hangout [15:40] k [15:47] wahoo! we have replication [15:47] rick_h_: Nice to know I'm less crazy-ish. [15:48] yea, know that feeling [15:57] * rick_h_ goes to take a lunch break [16:02] hmm this interaction feels very clunky [16:02] definitely need to get it infront of luca [16:03] hatch: + 1, I think the manual clicky method will be the better placement story to be honest [16:03] hatch: but Mark S wants the drag/drop GUI experience so we're doing that first [16:03] yeah I just find I'm switching back and forth a lot, just doesn't quite feel right [16:03] ok, now really to lunch [16:03] lol [16:04] jujugui https://github.com/juju/juju-gui/pull/312 for some intermediary work on the UI polish [16:04] Makyo: looking now. [16:07] Man, what happened to my pre-push hook? :( [16:18] Makyo: i have had lots of trouble with pre-push hooks, of late. [16:31] Makyo: thanks for updates, QAing now. [16:33] jcsackett, thanks! We're in a hurry, but you're right about the test, I'm getting one in real quick. [16:34] Makyo: thanks! [16:37] it works! it fracking works! [16:37] Makyo: you said note the machine key in your QA instructions...do you mean the "addMachines-$number", or what? [16:37] frankban: \o/ [16:37] rick_h_: I fixed the issue, but I also found this: http://pastie.org/private/hayd1bhhcmy81k4ycabfg [16:37] ugh so many conflicts [16:38] rick_h_: With which I agree. Why are notifications hidden after 2 sec? Can we remove that? [16:38] jcsackett, yes [16:38] kadams54: there's two moving parts here [16:38] Makyo: ok, thanks. [16:38] the notification is in the bar while it's closed state and disappears after 2s [16:38] kadams54: that we want [16:39] kadams54: it's got a side effect of doing something that clears the data in the summary [16:39] jcsackett, the parentId, until frankban's changes land, is 'addMachines-123' or whatever. [16:39] kadams54: that's the bug [16:39] Yeah, I fixed the side effect [16:39] But why do we clear after 2 sec? [16:39] Makyo: oh, the whole string? not just the number? [16:39] Why not just leave the notify there until something else comes along? [16:39] kadams54: ok, then yea. We do want that notification to fade away. It's a notification, it's temporal by design? [16:39] jcsackett, yeah, sorry [16:39] jujugui: please take a look at http://pastebin.ubuntu.com/7453150/ [16:39] It's too quick [16:40] Makyo: no worries. [16:40] jujugui: that shows the steps I am following with my current branch, and the API to use to place units and add ghost machines/containers [16:40] jujugui: note that new1 is arbitrary [16:40] frankban: just discussing your comment here: http://pastie.org/private/hayd1bhhcmy81k4ycabfg :-) [16:41] rick_h_: The notification is often gone before I get a chance to read it [16:41] 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 either [16:41] Makyo: to view change summary i click the "changes" thing in the left of the deployer bar, right? [16:41] it's the old 'highlight in yellow the new item' trick [16:42] jcsackett: no, click deploy [16:42] jcsackett: that changes doesn't work yet [16:42] jcsackett, click deploy, it'll ask for a confi--yeah [16:42] Yeah, 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:43] 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 issue [16:43] Yup [16:43] kadams54: cool, not sure on 10, but double it maybe? [16:43] I'll leave frankban's comment in there for the moment [16:43] k [16:44] Makyo: time for a hand off call? [16:44] frankban, sure [16:44] frankban: Makyo can I get a listening invite please? [16:44] rick_h_: sure [16:44] kadams54: ok, so how about we double it and mark it as a UX item to chat bout [16:45] lots of interactions we're not really thrilled about in this [16:45] Makyo, rick_h_: see http://pastebin.ubuntu.com/7453193/ [16:45] kk [16:45] ugh merge conflicts are gona kill me [16:46] Makyo: qa ok, thanks for the test, though i note we're skipping it? [16:46] rick_h_, Makyo https://plus.google.com/hangouts/_/canonical.com/daily-standup [16:46] hatch: :( was worried about that with the long running branch there this weekend [16:46] rick_h_: how do you want me to mark it as a UX item? Card? Just a grep-able comment? [16:46] it's so bad....I've had to rebase it 4 times to develop already [16:46] kadams54: make a card for now, put it in the needs specification section on the board [16:46] 5 failing tests so I hope those aren't bad [16:46] hatch: ugh, dude that sucks. i have felt your pain (and recently. :p) [16:46] jcsackett, 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] Makyo: awesome. LGTM and all that jazz. [16:47] you can :shipit: when you like. [16:47] jcsackett, thanks! [16:47] ...i like that *as i typed that* i saw the shipit command come over the PR. :P [16:54] guihelp: https://github.com/juju/juju-gui/pull/313 ready for review and QA [17:02] kadams54: looking [17:02] redir: let me know when you're free [17:03] Makyo: https://github.com/frankban/juju-gui/tree/unit-placement [17:03] frankban, thanks [17:03] rick_h_: at your leisure [17:04] redir: https://plus.google.com/hangouts/_/canonical.com/daily-standup?authuser=1 [17:07] jujugui see you next Monday, have a great week! [17:08] jujugui lf a review/qa on https://github.com/juju/juju-gui/pull/303 hurry before I have to rebase again! :P [17:08] frankban cya! enjoy your holidays [17:08] frankban: have a good time! [17:08] hatch: looking [17:16] Restart for updates before I get rolling. [17:17] hatch: QA looks good to me [17:20] nice [17:20] thx [17:21] Review also looks good [17:22] hazmat`: ping [17:23] rick_h_: i've produced the doc and walked through it. [17:23] bac: awesome! Can you email to hazmat`, james page, and copy myself on it please? [17:25] rick_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] bac: thanks [17:25] rick_h_ who's taking over frankbans branch? [17:25] is that not something we need for the demo? [17:26] hatch: Makyo has it now [17:26] ok cool [17:26] hatch: yes, it is. It's the last part after yours, to integrate them together [17:26] hatch: so you and Makyo should sync up and help him find the points of connection once your branch hits [17:27] will do [17:27] it's being shipped now [17:27] hatch: ty much sir [17:29] rick_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 things [17:29] bac: crap [17:30] bac: odd, it looks like it should work http://bazaar.launchpad.net/~abentley/charms/precise/charmworld/trunk/view/head:/hooks/config-changed [17:30] bac: can you check what juju get gives you? [17:30] and see if the config change made it to juju-land? [17:31] rick_h_: it did not [17:31] 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 change [17:31] i'll have to destroy the env and start over, which i will after lunch [17:31] bac: well from the current env, can you change the source and see if it does it now? [17:31] bac: or is it torn down already? [17:32] ah, i bet i need to include the revno in the bundle [17:33] rick_h_: why can't you remove a subordinate relation? [17:33] marcoceppi: no idea. [17:33] rick_h_: I'll file a bug! [17:33] marcoceppi: juju says you can't or the gui says you can't? [17:33] gui, but we did it from cli and it worked [17:33] marcoceppi: yea, file a bug please [17:34] hatch, running out to grab some food; don't have anything in the house. Will be just a sec. [17:35] rick_h_, marcoceppi pyjuju wouldn't allow that because it meant modifying another service's unit. [17:35] Makyo ok np, I'm judt going through code now [17:35] Makyo: ah, good to konw [17:35] Makyo: figured it was something the the days of old [17:36] 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 fails [17:39] I think Jenkins needs some swap days… [17:39] hah [17:52] Makyo: ignore that landing failed email from ci. Looks like we raced to get it to rerun and it ran it twice [18:10] rick_h_: Looking for more work here… maybe the card about adding icons to the container's parent? [18:10] kadams54: sure thing [18:10] kadams54: take a look and let me know if you've got any questions or need a pre-imp [18:12] rick_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] kadams54: right, so when the db is updated, the machine token needs updating [18:12] and it needs an uncommitted flag [18:12] k [18:13] 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 think [18:13] though that's not the important part for now [18:16] yay branch landed [18:16] no more rebasing [18:16] * hatch jumps for joy [18:16] lol [18:16] rick_h_: so this is for both the machine token and the container token? [18:16] \o/ [18:16] kadams54: so the container token should be updated as part of the interaction, but the machine token needs to be async updated [18:16] Ah [18:17] So add the unit to the container and then add the icon to both the container and the machine [18:18] 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 details [18:18] kadams54: and then, after you click some confirm, the container, and unit get updated in the db. [18:18] And the machine needs to update as well [18:18] kadams54: and the machine token that container is in, needs to be updated to show the new service it holds [18:18] or will hold technically [18:18] k [18:27] wow there have been a lot of chances to the ecs stuff [18:28] hatch: yes, it's needed some extra support for the whole unit thing. It's really not written to be ghost-able nicely lol [18:29] well the original plan had it use a persistent data store [18:29] but that was a lot of front loaded work [18:29] so now we are paying for it [18:30] should have just done the front loaded work [18:30] I blame the demo [18:30] :P [18:30] which persistant data store? [18:31] the one I was working on [18:31] 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] no but it would make going back and updating fields easier [18:32] the execution stuff would still be complicated no matter what [18:32] 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] things like placeUnit and addUnits and such help things stay up to date [18:33] it's a pretty complicated problem [18:34] definitely [18:34] we are dealing with it on a case/case basisc [18:34] which is fine [18:34] I'll admit I was tricked by the fact that service/relation was simple and moved quickly [18:34] and when we got to machine/unit things got a level more complicated [18:34] 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] and it'll all be thrown out when core gets this.... [18:34] lol [18:35] I don't know, we'll have to go back and add some stuff on creating names for multiple services, units, machines [18:35] and keeping all that from conflicting, updating from deltas, etc [18:35] all that work will remain regardless of if core does some of this or not [18:37] we'll have to handle seamless interactions between deltas and env calls [18:37] yes [18:37] for things like placing units on machines via the cli and gui [18:37] but it's starting to get cool. [18:38] I so badly want my new container when I drop. :) this is going to be slick when it's released [18:38] it'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 sandbox [18:38] right, and we've got 4s lag [18:38] or sorry, deltas is a 10s thing [18:38] the main watcher they use is a 10s cycle watcher [18:38] yeah [18:39] so I'm not sure how much we'll ditch. That's an awfully poor UX to have multi second lags [18:40] yeah the ecs might have to move into the fakebackend [18:40] we'll see. one step at a time [18:40] we know they're not adding any of this in the current cycle [18:40] and who knows next cycle [18:40] hah probably not then either [18:41] and we've still got bundle supports/etc we'll beat on this code a bit over the rest of the year [18:42] yeah that one will be fun [18:42] Makyo did you have a pre-imp with frankban about his prototype? [18:42] hatch, yeah [18:42] it looks pretty good to me [18:42] hatch, yep, going to get it cleaned up and such [18:42] Working on tests now [18:43] 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:45] yeah I've been going through the code, I think after it's done Makyo can give me a tour of how it operates [18:45] it looks like it's pretty close to the original [18:45] with lots of forks coming out of it [18:46] compiz is eating my vm. boo. [18:46] rick_h_ so what else would you like me on for now? [18:47] rick_h_: thanks for the additional explanation to my email. i assumed kapil and james knew what was going on demo-wise [18:48] bac: yea, there's several forces going on there and not sure who knows what to be honest [18:48] well i hope they will hop right on it else we might have a stressful tomorrow [18:48] hatch: it's all about this drop/deploy working. I'm not sure how far Makyo's branch goes [18:49] ok - it should be adding the placeUnit functionality [18:49] which needs to be added to the drop function once landed [18:49] hatch: right, so there's probably some UI wiring to get the container token that needs to be in there [18:49] one line change as I understand it [18:49] hatch: and the clean up on deploy maybe? [18:50] hatch: the uncommited css notifications perhaps? [18:50] hatch: huw added methods for that, then those would need to be cleared on deploy [18:51] these are the ones that show up in the deployer bar? [18:51] hatch: no, the blue background on the container token [18:51] and the new machine token, which we're not using atm for the demo [18:53] oh ok, I was pretty sure the ghost machines/containers didn't show if they were ghosted [18:53] confirmed [18:53] so we should be showing those first [18:54] sorry, you skipped a step on me, what now? [18:55] if you go into the console and type [18:55] ecs = app.env.get('ecs'); [18:55] cb = function() { console.log(arguments); }; [18:55] app.env.addMachines([{}], cb); [18:55] you don't get a machine listed in the machine column [18:55] until you commit() [18:55] uncommitted machines don't show up in the list [18:55] hatch: ah, yea you should get a machine token that's in uncommitted state [18:55] hatch: right, and they should [18:56] hatch: because you might manually create a machine, make it a large one with 16gb of ram, and then place units on it [18:56] did that ever work? Should I be looking for a bug or implementing new [18:56] Man, Francesco's smart. I feel like I do something clever, then he just wafts through and clever turns into right. [18:56] hatch: honestly, not sure. it's partially related to kadam's work of showing uncommitted units on a machine [18:57] all that update the UI to match the db stuff [18:57] Makyo: :) [18:58] rick_h_ ok looking at the ecs stuff it looks like it's never worked [18:58] Tests pass, working on lint. [18:58] it needs to do something similar to units being assigned [18:58] hatch: ok cool [18:58] Makyo: woot [18:58] we need to create a machine in the db then delete it when it becomes a real boy [18:58] hatch: lol, pretty much. Or at least update the token with new data that will update the id and clear the uncomitted info [18:59] I need to wait for Makyo's branch to land because it touches the same code haha [18:59] Makyo we can pair on this ^ [18:59] hatch: heh yea, well if he's at lint you're on deck for review and helping to complete the demo [18:59] :) [19:01] Yeah, 2 minutes or so [19:02] Then you can help me QA/. [19:02] sounds good [19:04] this machine view stuff is coming together really well [19:05] it would be done if it wasn't for the ecs lol [19:05] it's almost like we had a plan :P [19:05] Haha [19:07] lol, changed my watch from C to F so it changed it from 24C to 24F [19:07] so helpful watch face [19:08] hahaha [19:09] you should just live with C [19:09] then you'll start using a base 10 measurement system [19:09] you'll then wonder what have you been doing your whole life! [19:09] and move to Canada [19:10] Celsius is a Canadian gateway drug [19:10] :P [19:14] hatch, https://github.com/juju/juju-gui/pull/314 [19:14] on it [19:18] Makyo I feel like there were a lot of things added to the code and not a lot of tests [19:19] these changes to the tests end up testing all the changes that were made? [19:19] hatch, a lot changed, vs. added. That's fair, though, first pass was to get tests working. [19:19] hatch, PR was the best way for me to get it to you for QA, though. [19:19] (well, easiest, and I'm lazy) [19:20] yeah ok that's fine - I just wanted to see if additional tests were still required [19:20] I'll see what I can do. [19:20] code looks good, qa'ing [19:26] Makyo I think your qa step docs are borked on line 7 [19:26] function() .... ? [19:28] hatch, those were copied from francesco, give me a sec. [19:28] ohh ok I think it might be a bad line break then [19:28] that should have said [19:28] "ohh, I think it is a bad line break" [19:29] Yeah, copied plain text from a pastebin, sorry [19:30] no problem, it worked but generated an error, trying again [19:33] Makyo I get Error: attempted to place a unit which has not been added: mysql/0 [19:33] when running the placeUnit call [19:34] unless the first step where it says 'deploy' doesn't mean 'commit' ? [19:34] no it probably wouldn't [19:34] I'll take a look, see if you can do additional QA [19:35] worked hedre [19:35] here [19:35] got the new unit in the changelog with machine and container [19:36] there we go got it [19:36] I was interpreting 'deploy' as 'commit' [19:36] ah, yea no deploy is the service call that the ecs captures [19:37] Makyo so are you adding the extra tests now or doing to do so in a follow-up? [19:38] hatch: Makyo let's do follow up. We need to get this wired up and it needs to go through ci and land [19:38] sounds good [19:38] shipping [19:38] added a note to add a card for updating with moar tests! [19:38] moar tests! [19:38] hatch: so are you going to look at then wiring this into your drop and removing the original unit token? [19:39] I was sitting down because I haven't yet today :P I'll do further QA on real env. [19:39] I would really love it if we had tests along side each file in the folder oh man that would be nice [19:39] But yeah, QA works for me in sandbox. [19:39] 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 qa [19:40] rick_h_ first ghost machines need to show up in the UI [19:40] hatch: they show up, just not as ghost [19:40] hatch: and for the demo they'll exist [19:41] make it deploy a bundle first, then drop on a container on a machine in the bundle [19:41] oh ok then yes I'll hook up the drag and drop to deploy the unit to the newly created container [19:41] hatch: thanks [19:41] rick_h_ is someone doing a few dry runs on this first? :) [19:42] hatch: that's why I want to get this working asap so we can start to [19:42] hatch: yes, we'll be working on dry runs as soon as the drop of the unit works [19:42] on lxc and ec2 and they'll have access to the hardware [19:43] cool, ok I'll get on the drag and drop [19:58] I've clicked that damn magnifying glass 100x today [19:58] hatch: lol [19:58] lol [19:58] so I just downloaded the pdf [19:58] and have it open in a pdf reader zoomed [19:58] much nicer [19:58] hatch: or you mean the search button in the header? [19:59] yeah in the header.....it reloads the page [19:59] no prevent on it [19:59] heh yea. land mines wheeee [20:02] Makyo got a few for a hangout? [20:02] Sure [20:02] ok sec creating [20:03] https://plus.google.com/hangouts/_/7ecpj6sl0bvcknh7up5ivfta7s?hl=en [20:30] Makyo thanks that was the trick, it appears to be working as expected now [20:30] woot! [20:30] ^ rick_h_ just need to remove the unplaced unit now [20:30] yay, my tablet has shipped from delta. I'm very curious if it's the right thing I get back [20:30] lol!!! [20:30] it might be someone elses haha [20:31] hah, I was getting worried that vegas was turning into a very expensive trip [20:31] lol [20:31] and you didn't even gamble! [20:31] ok so we need a card to have containers auto-update [20:32] hatch: rgr [20:32] hatch: in the demo notes I have him go to service view to see the health bar and service and then click back [20:32] hatch: to force a redraw of all the things and tie the stuff going on to what people are used to [20:33] good call - makes it look like it's not broken [20:33] kehehehe [20:33] :) [20:34] ok unplaced units is not databound [20:35] hmm, should be. I thought it was added today [20:35] kadams ^ bah how dare he not be here [20:35] lol I just tried tab complete and was like NOOOOOO [20:35] haha [20:35] looking into it [20:35] https://github.com/juju/juju-gui/pull/305 [20:35] heh, you reviewed it [20:36] haha yeah - odd, if I deploy bundle, deploy postgres, place unit, view canvas, click back, unit is gone, but it's not gone after I place [20:36] will investigate [20:37] hatch: I think that unit you're placing isn't in the db, it's a copy? [20:37] hatch: or does setting an attr not trigger the change event watched for? [20:37] nope it's in there....working as it should [20:37] that's my guess [20:37] this.get('db').units.after(['add', 'remove', '*:change'], [20:38] add works, maybe change isn't right [20:41] ahh that's it [20:41] change won't fire because they aren't models [20:42] right [20:42] they need to be revived, changed, then torn down [20:42] ON IT! [20:47] yeah fixed it [20:47] Just wanted to let you know, we're all counting on you. [20:47] *that [20:47] like a boss [20:47] lol [20:47] now to figure out why I don't have any icons [20:48] lol [20:48] 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 up [20:48] * rick_h_ is biab [20:48] cya [20:55] Makyo so the reason the icon doesn't show up is because the machine id on the unit doesn't get updated on commit [20:55] and the filterByMachine doesn't match the machine ids [20:55] hatch, that's when the callback is called; can the callback share part of the burden there? [20:57] I think so, trying [21:09] * bac walks the jojo [21:09] I need to go get the dogs as muddy as possi-er, walk the dogs, back in a bit. [21:24] awesome - it now refreshes the container column when you drop the unit [21:24] this is READY TO GO [21:24] and full of ugly hacks [21:25] hatch: lol [21:26] hatch: documented hacks? [21:26] and I'm back in case anyone needs anything [21:26] that method is one big porn block [21:26] (XXX's) [21:26] lol [21:26] :D [21:31] \o/ [21:40] rick_h_: are the next cards still prioritized? deployer test isolation higher priority than containers updating? [21:42] jcsackett: no, I've got to go through them tomorrow. [21:42] jcsackett: the tech debt will be priority missing tests, etc. [21:42] jcsackett: and finishing the inspector left, which means finishing up my branch I put aside for now [21:42] Back, +mud [21:43] jcsackett: I can toss a couple your way if you're looking [21:43] And bills. Why I ever pick up the mail is beyond me [21:43] Makyo: heh, yea. It's either spam or bills [21:44] jcsackett: have an interesting one for you [21:44] rick_h_: ok. [21:44] if I can find the UX wireframes [21:49] jcsackett: https://drive.google.com/a/canonical.com/#folders/0B7XG_QBXNwY1aHFtUE8zZTMzM0k [21:49] jcsackett: card is assigned, listing out the changes when clicking on the number in the deployer bar corner [21:49] jcsackett: let me know if you have any questions or want to pre-imp [21:50] rick_h_: it's almost EoD. i'll explore the relevant code today and ping you first thing tomorrow? [21:50] rick_h_: we've got everything that's needed for demo, yeah? or is this a demo thing? [21:51] 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 docs [21:51] 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 poker [21:51] rick_h_: ok. do you need any other eyeballs for that? [21:52] 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 real [21:52] jujugui https://github.com/juju/juju-gui/pull/316 BOOM [21:52] hatch: looking [21:52] don't judge me [21:52] :P [21:52] hatch: Makyo I'll do LXC QA [21:52] I'll QA in a real env [21:52] Oh, hah [21:52] Sure! [21:52] oh...I'll judge...really judge [21:52] aha [21:52] Too late - you're a Canadian. [21:52] I'll review etc. [21:52] That makes you polite [21:52] kadams54++ [21:52] Makyo: jcsackett it'd be cool if someone tested out ec2 or HP or something [21:52] A beer-drinking hockey fan [21:53] With a closet full of flannel [21:53] rick_h_, I have ec2 [21:53] * hatch doesn't like hockey [21:53] Makyo: cool thanks [21:53] at least not watching it [21:53] forgot to ping earlier, jujugui: tiny PR https://github.com/juju/juju-gui/pull/315 [21:54] kadams54: got time to review ^ ? [21:54] yeah [21:54] thanks [21:54] oh the judging! :P [21:55] hatch: it's not that bad, at least the parts 'fit' together and make sense I think [21:55] but maybe I've been looking at too many branches of this stuff lately :P [21:55] haha - yeah it works and all that - there is just so many better ways to do this :) [21:55] hatch: well, but iteractions on the current idea I think. [21:56] more automation/etc [21:56] yeah true true [21:56] unless you have a plan that's a completely different path? [21:56] no, originally I had a different plan but this path works just fine [21:57] lol, we'll get your plan next time [21:57] haha no biggy [21:58] * hatch is being punished for the inspector debacle [21:58] lmao [21:58] hey, I've worked hard to not have anything come across as punishment :P [21:58] after all, still fighting state myself :/ [21:58] haha [21:59] ...if you had to work hard to have nothing come across as punishment, that implies something *could* be thought of as punishment. :p [21:59] haha [22:01] hatch: did you test this in Vagrant? [22:01] I work in vagrant, so yes? [22:02] OK… seeing some funkiness and trying to rule out potential causes. [22:02] I have to run test-server though [22:02] it won't run through on debug in vagrant [22:03] Funkiness was resolved with make clean [22:03] You're off the hook ;-) [22:03] `make clean` is magic. [22:04] it's showing, you have to take a shower once in a while :P [22:04] even spartans [22:04] haha [22:04] :-b [22:04] rick_h_: hey have you heard anything from our intrepid friends in ATL? [22:05] bac: not a peep [22:05] bac: not seem them active on irc [22:05] rick_h_: well, i've done about all i can without any participation/feedback [22:05] bac: agreed [22:05] 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 out [22:06] rick_h_: rt. the process is a little clunkier than i'd like due to juju / quickstart / charmworld charm issues [22:07] 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] bac: thanks a ton for getting that working. I think it'll be cool even beyond this demo to have that handy [22:08] rick_h_: sure, but the things i encountered are usability for the tool chain [22:08] rick_h_: what time is the demo? [22:08] bac: which parts? I thought it was just the charm and the branch suport? [22:08] bac: so the big one for Mark is 10:20 central I think [22:08] 'juju scp -r' doesn't work [22:09] oh, yea I saw that conversation go by. [22:09] config settings in a bundle are not being set by the charm when deployed with quickstart [22:09] bac: right, we've got a bug to add that [22:09] that may be the charm's fault [22:09] I think it's inthe maint. backlog [22:09] which? the config setting? [22:09] well to provide a config.yaml override [22:10] it should "just work" if it's in the bundle.yaml [22:10] oh, am i just stupid? can the bundle only contain juju-level settings? [22:10] num_units, etc? [22:10] bac: yep [22:10] oh no, it can contain config [22:10] gah. my bad. [22:10] sorry, multi tasking, the bundle can contain config overrides I think [22:11] rick_h_: ok, well those aren't being respected, at least by this charm [22:11] http://comingsoon.jujucharms.com/bundle/~charmers/mediawiki/6/single/#code [22:11] i'll sort it out tomorrow when i can talk to frankban [22:11] bac: right, that might be a charm bug that it's not accepting the config change on install [22:11] bac: well I think he's afk for the rest of the week. [22:12] bac: ^ shows the options: xxxx block passed from the bundle [22:12] ah, i didn't use the 'options' heading! [22:12] rick_h_ how goes the lxc qa? [22:13] hatch: working on it [22:13] sorry, talking to others :) [22:13] hah no problem [22:16] jcsackett reviewed your branch [22:21] hatch: the container didn't update for me on drop? [22:22] it didn't render a new one? [22:22] hatch: no [22:22] ^ kadams54 did you have the same issue in qa? [22:22] sec, will try another service [22:23] rick_h_ hatch I did have that issue, but that's what the clean fixed [22:23] http://cl.ly/image/0n1W1Z443K2c [22:23] kadams54: well this is on a deployed service [22:23] ohh - rick_h_ maybe make clean will work for you? [22:23] The container didn't update on drop and the list of unplaced units didn't update either [22:23] ohh [22:23] Ah yeah [22:23] I was vagrant [22:24] swapping to service and back worked [22:24] and I didn't get a nagios unit. [22:25] so it doesn't actually work then? [22:26] 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 container [22:26] just unit-less in a real env [22:26] :/ [22:26] can you put a debugger in go.js add_unit() [22:26] see if it gets called? [22:26] debugger/breakpoint [22:27] Uncaught Error: attempted to place a unit which has not been added: 61439359$/0 [22:27] what the.... [22:27] so there is clearly some difference on a real environment [22:27] ok, so reload the browser window, nagios is there without any units. [22:28] trying to deploy wordpress [22:28] oh, that worked now [22:28] well the container updated [22:28] lol [22:28] the attempted to place error is from the placeUnit() call [22:28] no errors this time [22:28] ohh [22:29] nagios is a subordinate [22:29] ran it with the debug toolbar open? [22:29] hatch: no, nrpe is, nagios is a server [22:29] we picked nagios just because of that, it's a server with a web interface [22:29] ohh ok [22:29] hmm [22:29] when I click on the wordpress in service view the inspector shows me "one undefined unit: 31706881$/0" [22:30] and again, no units. [22:30] ok, will try to debugger in placeUnit() [22:31] the env needs to make the add_unit call for it to actually create the unit [22:31] I'm wondering if any of this stuff was tested on a real env [22:31] bah, compressed JS files fail [22:31] it might just simply not work [22:31] wheeee [22:31] heh, switch the gui to debugger mode :) [22:31] ok, will reload and watch the wss traffic [22:33] I'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:34] hatch: yea, not seeing a unit call in wss [22:35] {"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"mysql","Config":{},"Constraints":{},"CharmUrl":"cs:precise/mysql-44","NumUnits":0},"RequestId":19} [22:35] {"Type":"Client","Request":"AddMachines","Params":{"MachineParams":[{"Jobs":["JobHostUnits"],"ParentId":"6","ContainerType":"lxc"}]},"RequestId":20} [22:35] ok so basically that means that the lazyaddunit doesn't work [22:35] yea [22:35] something isn't right there [22:36] while my machine updates....you can switch the GUI into debug mode in the charm and then put a debugger in _add_unit in go.js [22:37] breakpoint* [22:37] sec, just resetting env, have to get the boy some sort of food for dinner and brb. [22:38] yeah np [22:47] rick_h_ in sandbox I put a breakpoint in _add_unit() in go.js and it was never hit [22:47] hatch: k, makes sense then [22:47] ^ Makyo any idea what's broken here? [22:48] I can step through the changeset execution [22:48] 1sec. [22:48] just wondering if you might have any other insight :) [22:48] hatch: I wonder if changing the model to assign the unit to a machine did something to get it not to be added? [22:49] the command looks good [22:49] hatch: does the lxc parent complete/hit the callback? [22:50] just going to step through the commits [22:50] watch the flow of it [22:52] ok the addUnit call is never executed by the ecs [22:52] the ghost deployer extension is supposed to addUnit when you drop the service [22:52] ? [22:53] so you have the call in the changeset, but it's not executed? [22:53] correct [22:53] ok, so that means something in the parent/etc setup is failing to hit the child [22:53] service deploy and add machine commands are executed [22:53] they're not parent/child [22:53] _commitNext() is never called with the unit command [22:54] the heirachy is properly built [22:54] yea, something in the callbacks [22:54] hierarchy [22:55] so this might be due to frankban changing the id from being the changeset id to the actual model id [22:56] it's waiting for the level to be completed [22:56] but it never is [22:57] the addMachine callback is not returning [22:57] so it's not triggering the level complete [22:57] now....how to fix that [22:57] heh [22:58] GUI can't load any charmworld assets: net::ERR_BLOCKED_BY_CLIENT - did something change on charmworld's side? [22:58] ditto assets.ubuntu.com [22:59] Makyo: not that I'm aware of, was just doing it [22:59] hmm it's working in the GUI for me [22:59] Makyo: maybe you're falling into some ip addr black hole? [22:59] This is ec2 [22:59] did you open the ports? [22:59] :) [22:59] oh wait nm juju does that [22:59] heh [22:59] well it should be able to go out [23:00] and the client is doing it not the ec2 stuff [23:00] Wellp. [23:00] http://stackoverflow.com/questions/22318119/i-am-getting-failed-to-load-resource-neterr-blocked-by-client-with-google-chr ? [23:00] ad blockers enabled? [23:01] Damnit. [23:01] EFF's Privacy Badger was running./ [23:02] lol [23:02] oh I think I found the bug [23:03] good because my brain isn't up to following the callback levels atm :P [23:03] love it:) I have had to debug ghostery for the same reasons before Makyo [23:04] yep fixed it [23:04] cleaning up then pushing [23:05] woot [23:06] rick_h_ Makyo fix pushed plz try qa on a real env again https://github.com/juju/juju-gui/pull/316 [23:07] Alright, on it. [23:07] *phew* was REALLY worried there was an architectural bug introduced by something frankban did lol [23:07] I did not want to have to fix that tonight haha [23:07] instead it was a bug I introduced....which is much more acceptable lol [23:08] introduced? should have been protected against?....yeah the latter [23:08] ;) [23:10] doh, lint [23:10] fixing... [23:10] Morning [23:11] just got a phone call from ramm [23:12] promising a dist tarball in an hour :) [23:12] hopefully :/ [23:12] rick_h_: Did you just see that email from James> [23:12] *? [23:12] coop shift, later [23:12] huwshimi: not yet [23:12] rick_h_: He needs help [23:13] huwshimi: got a phone call from ramm [23:13] promised them a tarball in an hour or less [23:13] ah ok [23:13] hatch: reloading here [23:16] ok, new linted and test passing version has been pushed up [23:17] heh [23:17] I just read the email, was going to say we needed to get them a tarbal [23:17] :D [23:17] :) [23:18] ok, so the unplaced unit token stuck around [23:18] until I swapped back/forth but not the worst that can happen [23:18] ok that's not horrible......but did we get a unit in the env.... [23:18] woot! "1 pending units nagios/0" [23:18] YES!!!!! [23:19] lol, but in lxc it creates a new machine anyway [23:19] 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 local [23:19] rick_h_ haha, well you can't create an lxc in an lxc :) [23:20] rick_h_, let me tell you about stupid hooks. [23:20] you need to do lxc > kvm > lxc or something [23:20] bah, and an empty machine hanging there, but probably due to this mess [23:20] * rick_h_ destroys local and goes to ec2 [23:20] rick_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:21] Makyo: :( [23:21] rick_h_, also, if you set a config value to the same thing, config-changed doesn't appear to fire. [23:21] so I've destroyed and re-deployed this thing four times. [23:21] Makyo: yea, you have to set it to develop and then back again [23:21] heh [23:21] Anyway, I'm almost there promise [23:21] well, running quickstart on ec2 right no [23:21] now [23:21] brb letting dogs out [23:21] More tests, the betteer [23:25] grrr no love on ec2 stupid thing [23:25] ERROR state/api: websocket.Dial wss://ec2-54-227-207-97.compute-1.amazonaws.com:17070/: dial tcp 54.227.207.97:17070: connection refused [23:28] hmm, seems to be doing better this time...maybe [23:30] yay bootstrapped [23:30] juju deploy juju-gui --to=0 [23:30] go go go [23:33] ok, running on ec2 [23:33] updating branch [23:38] hatch: Makyo we might need to prepare to not use lxc sub container but just colocate two on bare metal. [23:39] hatch: Makyo what's the different in our api calls? Just deploy the unit with the machine id and skip the addMachine bits? [23:40] rick_h_ did you see James pages comment on the Ods doc? [23:40] jcsackett: yes [23:40] Good stuff. [23:41] rick_h_ so it still doesn't create a unit/ [23:41] ? [23:41] hatch: no, james page is saying that lxcs won't work well in an open stack deployment which this is going to be running on [23:41] hatch: I'm trying to figure out if kvm is allowed [23:41] or if we just need to colocate on bare metal [23:42] hatch: while I wait to hear something (by irc, phone or email I've tried all three) [23:42] I'm still trying to QA on ec2 [23:42] oh boy lol [23:42] and damn these ec2 machines are so slow for building hte distfile [23:42] Do the series have to match? [23:44] rick_h_ The comment in referring to is he can't do npm stuff, so setting up develop is failing. [23:44] s/in/I'm/ [23:44] hatch: ok, colocated bare metal [23:44] hatch: we need to rip out the lxc bits [23:44] jcsackett: looking [23:45] jcsackett: he'll not be using devleop [23:45] jcsackett: we'll get him a tarball [23:45] colo bare metal? I thought that wasn't recommended lol [23:45] hatch: oh well! [23:45] hatch: it's openstack on openstack so no kvm and no lxc [23:45] so.....anyone know the id syntax for creating a colo on bare metal? :) [23:45] * hatch goes digging [23:45] hatch, just don't specify the destination as a container. [23:46] it's based on the path [23:46] hatch: right, I think we can just addUnit with the existing machine id [23:46] oh....so no machine? [23:46] jcsackett: I don't see these comments where is this? [23:46] hmm [23:47] can you verify this on your ec2 env? [23:47] hatch: right, the machine will already exist, we'll drop onto the header, and just deploy on it [23:47] hatch: how can I test it? [23:47] well I mean via the command line [23:47] add unit to the machine [23:47] hatch: help me with instructions and I'll try it out [23:47] ok one sec [23:48] well you'd need to deploy a service with 0 units [23:48] then `juju add-unit --to ` [23:49] from the cli? [23:49] yeah [23:49] I just want to make sure that those sequence of events actually work [23:49] looking [23:50] cli won't let me error: --num-units must be a positive integer [23:50] rick_h_ want me to reply that there's a tarball coming with the dependencies? [23:50] but we know you can via the api [23:50] jcsackett: where is this? [23:50] Email reply to the sharing of the ODS doc. [23:51] To you, cc'ed to the rest of us. [23:51] 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] jcsackett: ok, I think that's old info. I've already handled that one [23:51] we're onto the next issues of lxc containers on the demo hardware won't work [23:52] rick_h_ ok I'm writing the handler to deploy to bare metal [23:52] rick_h_ ah, ok. Saw the question w/ no reply. Hadn't realized lxc was the next issue. [23:52] hatch: rgr, thanks [23:52] will post back when it's tested [23:52] jcsackett: my bad, didn't notice I needed to reply to all [23:52] hatch: rgr, will leave up my ec2 to test it on [23:52] and will bring up an lxc to test it on as well [23:54] hatch: one drive by please, rename the drop target heading "Colocate on this machine" [23:56] /Create new container/Colocate to machine [23:58] the 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 machine [23:58] placing a unit on a bare metal creates a new machine.... [23:59] hatch: that's in sandbox? [23:59] yeah.... [23:59] hatch: I'm not sure the sandbox supports colocated services like that. I bet it adds a new machine [23:59] ok, checking the commands it executes [23:59] then will push it up [23:59] * rick_h_ is thinking.