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

rick_h_so in the sandbox with the simulator I've got two mysqls in one lxc container mysql/0 and mysql/5 00:00
rick_h_huwshimi: if you get a sec toss your card on the board please00:01
huwshimirick_h_: Oh yes, sure.00:02
rick_h_huwshimi: thanks, will try to look after we settle this fire00:02
huwshimirick_h_: It's all good. Let me know if I can help with anything.00:02
hatchrunning tests00:06
rick_h_hatch: rgr00:07
Makyohatch, rick_h_ just curious, what's stopping us from using LXCs?  I've deployed to them on EC2 before; is this an openstack thing?00:08
rick_h_Makyo: yes, the demo hardware is openstack running on openstack00:08
rick_h_Makyo: not openstack on bare metal via maas like we thought00:08
MakyoBoo, so no containers?00:08
MakyoAh, crap.00:08
rick_h_Makyo: yep, none at all, lxc or kvm00:08
MakyoThat's where I was confused00:08
rick_h_so worst worst case we swap the drop target to the create new machine and just deploy a new service on a new machine via machine view, but if we can colocate on bare metal we can at least demo that as closer to what we want to show00:09
hatchok rick_h_  it's up00:11
rick_h_hatch: rgr, updating my two envs00:11
rick_h_distfile building00:14
rick_h_dave in #juju think this won't work as --to is a hack and the api won't support it like we're trying to use it00:14
hatchlol 00:15
MakyoCan we just be pretty?00:15
rick_h_hatch: Makyo so probably be prepared to just try to create a new machine. I think we can move the drop target to the machine one, use the last commit, and just remove the machine parent? 00:15
rick_h_to deploy a new unit on a new machine (no parent machine id) and then after that machine bring up the unit00:16
* rick_h_ is still holding out hope as these damn distfiles build00:16
rick_h_or what do you guys think?00:16
hatchso drop on the new machine header?00:17
hatchI thought the colo was the big deal?00:17
Makyorick_h_, if that works, I'm all for it.  It sounds like a valid path, too.  "Let's deploy Nagios, just drag it onto a new machine..."00:17
rick_h_hatch: I did too until the last 30min00:17
rick_h_hatch: I'm cranky this isn't working out like we wanted, I'll be honest00:18
rick_h_Makyo: yea, that's my thought. It's a small step code-wise from where we were with lxc00:19
hatchgood thing I saved that code 00:19
hatchlol00:19
* hatch planned for this00:19
hatchhaha00:19
rick_h_hatch: yea, thank you git00:19
hatchok I'll make the machine header the droppable one00:19
rick_h_hatch: lol, plan for "the issue is going to be" 00:19
hatchhaha00:20
rick_h_hatch: thanks, I'll still work on this qa here just to be sure00:20
rick_h_damn this distfile stuff is slow when you're watching it00:20
rick_h_oh npm wheee00:21
rick_h_I'm going to nuke that damn site one of these days00:21
hatch'var container = db.machines.add({id: 'Hi Openstack!'});00:21
hatchkehehehe00:22
rick_h_lol00:22
rick_h_just don't makeit "Fuuuuuuuuuuuuuuuuuuuuuuuuuu"00:22
hatchdo you know what the container type for bare metal is?00:23
rick_h_null? Makyo any idea?00:23
hatchI'll try undefined and see if it breaks00:24
Makyono container type00:24
MakyoNo parentId, no containerType00:24
rick_h_hatch: rm the attr?00:24
hatchcoo00:24
hatchyeah00:24
rick_h_k00:24
hatchhehe apparenlty it doesn't like my machine name :D00:25
rick_h_lol00:25
MakyoProblem I'm getting now (probably fixed by having MS log in beforehand) is that on login, it displays a broken GUI rather than the login screen00:27
MakyoUntil you refresh00:27
MakyoThen it offers the login screen00:27
hatchok it's working but not showing the icon when it first creates the token00:27
MakyoOh, flags.00:27
MakyoI had flags in the URL before loading login00:28
MakyoSo, fwiw, everything works on EC2 if I just create a new machine with the unplaced unit00:31
rick_h_Makyo: ? 00:31
Makyorick_h_, if I drag the unplaced unit to a new machine (what I'd guessed was the path, correct me if I'm wrong)00:31
rick_h_Makyo: ok, this is with hatch's latest?00:31
Makyorick_h_, I think so, within the last 15 minutes.00:32
hatchthat shouldn't work heh, maybe you're on the version HEAD~2 ?00:32
rick_h_Makyo: yea, what's version.js say?00:32
rick_h_hatch: Makyo let's hop in a hangout?00:33
hatchfire me a link, will be in in a min00:33
hatchjust need to get the dogs in00:33
rick_h_k00:33
Makyoacb5d2a00:33
rick_h_https://plus.google.com/hangouts/_/g4qxjkx7wpe5uiwrl7eahe6fb4a?hl=en00:33
rick_h_Makyo: ok, so that's the latest "colocates on primary machine"00:34
huwshimijcsackett: Did you implement the units on machines/containers? It might be our simulator, but it never shows more than one unit on a container/bare metal, even if there are more units showing for the machine than there are containers: https://dl.dropboxusercontent.com/u/1826926/units.png00:35
huwshimiIf we're colocating, we might need to fix that if it's not a simulator issue00:36
huwshimiOh, maybe our unit mapping is wrong, the extra units have a different machine id00:40
rick_h_huwshimi: yea, we'll have to look into it. Something's not right. I noticed it when doing the mongodb bundle00:43
huwshimioh, it's matching the first part of the id, so a unit.machine = 12 will render on machine.id=1 and unit.machine = 25 will render to machine.id=200:54
rick_h_huwshimi: heh, that seems ungood :)00:55
huwshimiYeah... :)00:55
rick_h_good catch00:55
rick_h_ok, bootstrapped new lxc and ec2 envs on my desktop so I can throw moar power at the problem!00:56
hatchok the machine token is being created before the unit is assigned01:04
hatchthat's why it's not rendering properly01:04
rick_h_so when the machine is assigned we're unlazy-updating-relazying?01:05
rick_h_can the machine token watch the unit for changes?01:05
rick_h_and update accordingly?01:05
hatchthe unfortunately named '_smartUpdateList' isn't very smart01:05
rick_h_lol01:05
hatchand falls over when called manually01:05
hatchI'm not sure why it fails01:06
hatchmaybe I can manually clear it out01:06
rick_h_so updateMachines and smartUpdateList appear to only be for the unplaced unit list01:07
rick_h_oh never mind01:08
rick_h_misreading that01:08
rick_h_hatch: so if you call updateMachines it won't work?01:08
rick_h__updateMachines that is01:08
hatchnope, just trying to look into why01:08
rick_h_hatch: what's _updateMachineWithUnitData for?01:09
hatchthe unit doesn't yet know what machine it's being assigned to01:09
hatchso that doesn't help01:09
hatchso it's passed an empty list01:09
rick_h_hatch: when we place the unit we don't know the machine to updateMachineWithUnitData?01:10
rick_h_hatch: I'm getting at it's broken for a split second then updates01:11
rick_h_hatch: want to push up what you've got and I can pull down and help poke at it? 01:18
hatchyeah one sec01:20
rick_h_k thx01:20
hatchI'm pretty much back to https://github.com/hatched/juju-gui/commit/2f7a580bb5c0b81e154438422378b95d3adb2d7a01:23
hatchit's the closest I've gotten01:23
rick_h_hatch: cool, update the pr and I'll pull down and stab at it some01:24
hatchGOT IT01:25
hatchfffffuuuuuuuuuuuu01:26
hatchhah01:26
hatchrick_h_01:26
hatchI'll clean this mess up and push it up01:26
rick_h_huh?01:26
hatchI got it01:27
hatchit renders the icon01:27
rick_h_woot01:28
hatchit doesn't render the container though until after deploying01:28
rick_h_hatch: Makyo stand down, we've been bumped01:29
hatchBut....I.....Just.....01:29
hatchI even just got the container to render01:29
rick_h_hatch: https://plus.google.com/hangouts/_/canonical.com/daily-standup?authuser=101:29
hatchrick_h_ we r in01:30
rick_h_juju gui machine view demo killed, chat with me if you've got any questions. 01:35
huwshimirick_h_: :(01:36
rick_h_huwshimi: acutally jump in ^ for a minute please01:36
hatchrick_h_ https://github.com/hatched/juju-gui/tree/unit-drop-n-place-machine01:37
hatchthat one, when dropping the unplaced unit on the machine header creates a machine token and a container for the bare metal01:38
rick_h_hatch: thanks01:41
rick_h_hatch: make it a pr for me please01:41
rick_h_hatch: just mark it WIP so I can see the diff/qa-pr it easier01:41
rick_h_thanks man, see you all later in the week 01:42
huwshimirick_h_: Cheers man, have a good one.01:42
hatchrick_h_ https://github.com/juju/juju-gui/pull/31801:42
* huwshimi has lunch02:27
rick_h_morning11:55
lazyPowero/11:57
redirmorning12:15
* rick_h_ takes the boy off to day care, biab12:25
redirooo, google chat has circle icons now12:28
rick_h_ooh, fancy12:49
* rick_h_ is back12:49
jcsackettmorning all.12:53
rick_h_jcsackett: can you check out huw's branches this morning please?12:57
jcsackettrick_h_: already looking.12:57
rick_h_jcsackett: and take over if necessary, he's out this week I believe12:57
jcsackettrick_h_: got it.12:57
rick_h_jcsackett: ty much, I'll take a peek at yours here. Jeff's will hold for a bit12:57
jcsackettrick_h_: thanks.12:57
rick_h_redir: let's setup a chat later today to go through your doc comments. Are you still going through the doc or set now?12:58
redirrick_h_: i'll go back through it some more. and will draw some pictures from my notes.13:16
rick_h_redir: ok cool13:16
rick_h_redir: when you're set and ready then let's setup a call to walk through it 13:16
redirreading the store code and setting up bzr branches under go -- which is new to me13:16
redirrick_h_: cool will do13:16
rick_h_redir: heh, yea welcome to the dual dvcs life :)13:17
BradCrittendenjcsackett: i'd like to get your feedback on my local charm ingestion branch when you have some time.  lp:~bac/charmworld/ingest-local-charms13:21
=== BradCrittenden is now known as bac
jcsackettbac: sure.13:21
jcsackettjujugui: i've just discovered i'm not part of ~juju-gui-peeps on launchpad anymore. assuming that's still the group to be in, can someone add me?13:21
bacjcsackett: ping me when you are free.  call it a mid-flight, pre-impy thing13:21
jcsackettbac: i'll ping you when i finish looking over huw's branch.13:22
rick_h_jcsackett: will do13:22
rick_h_jcsackett: added13:23
jcsackettrick_h_: thanks.13:23
bacgo ~yellow13:23
rick_h_:)13:23
jcsackettbac: looking at a diff of yours now. you want to hangout when i've read it?13:43
bacyes, please13:44
jcsackettbac: this is incorporating the work you've been doing for the demo into the charmworld base, yeah?13:47
bacy13:47
jcsackettawesome.13:48
jcsackettone sec, lemme find a headset and i'll send you a hangout.13:48
jcsackettbac: https://plus.google.com/hangouts/_/gwcncgfm72mxid5ajoocxnc2cua?authuser=2&hl=en13:53
bacsorry jon, i'd gone to get a tea13:57
bacjoining13:57
bacjcsackett: ^^13:58
redirbac: can I bug you about locations.conf and setting up bzr later? after your call13:59
bacredir: sure14:00
bachi redir14:09
rediryo14:11
redirwanna hangout bac?14:12
bacredir: sure.  paste an url here14:13
bacredir: we have seven minutes before the keynote14:13
redirhttps://plus.google.com/hangouts/_/gshmjqp7flvrgad5bny2rybvwua?authuser=3&hl=en14:13
rick_h_reminder marks' keynote is coming up next14:20
rick_h_jujugui ^14:20
rick_h_jujugui no machine view, but should be cool14:21
redirwhere's the keynote?14:21
redirlink...14:21
rick_h_https://www.openstack.org/home/Video/14:22
redirjujugui^14:22
redirtx14:22
bacso we're running a little late...14:22
rick_h_yea14:22
bacgo solidfire!14:24
kadams54*fingers crossed*14:48
bacyay, the layout worked.14:49
hatch:-D14:50
hatchwow14:54
redirgreat work guys, you all rock14:56
kadams54Yeesh14:56
bacno spoilers.  i've got about a 20 second lag. :)14:56
rick_h_hah14:56
kadams54My "yeesh" was mostly the thought of using juju across centos, ubuntu, and windows. Craziness.14:57
hatchrofl14:57
rick_h_lol14:58
kadams54Anyone know if Mark's going to be demoing anything at the November 3rd summit in Paris?14:59
bacjujugui: standing up nowish?15:00
rick_h_bac: rgr, on my way15:01
redirwhat was that short lpad thing? lpad.in/something15:16
rick_h_hmm, not sure. 15:22
rick_h_I'd just stick the url in there, it's all good15:22
rediralready done15:22
bacredir: for the lightweight co set up, this is all i need in my locations.conf: http://paste.ubuntu.com/7458051/15:33
hatchjcastro when I click the up button on HN the button just goes away, does that mean i've voted?15:43
rick_h_hatch: yep15:43
rick_h_you're good15:43
jcastroyes15:43
hatch(shitty UX)15:43
hatch:)15:43
hatchthx15:43
jcastrowe were on the front page, now we're at the top of the 2nd page15:43
hatchmust have moar clicks!15:44
redirhatch: that is hacker new not ui designer news15:44
redirs/new/news15:44
jcastrohatch, if it makes you feel better their search also sucks!15:45
hatchlol15:45
redirrick_h_: let me know if there is enough context in the merge request attached to that card15:46
rick_h_redir: rgr will do15:46
rick_h_my new amt ready intel nucs arrived so now trying to swap hardware so I can send back the first set :)15:47
hatchmarcoceppi any progress on the GH to LP stuff for charms? I'd like to get the Ghost charm in the store17:03
kadams54jcsackett: Got some questions for you when have some time…17:19
marcoceppihatch: I should be getting a proof of concept for my sync stuff by end of week17:23
marcoceppigot derailed getting more charms in to trusty17:24
redirthansk for the pointers bac, I have a working lightweight checkout now...forgot I had installed cobzr some time ago and had to  remove i t...17:28
bacredir: great.  stab cobzr.17:33
kadams54hatch: I caught up on some of last night's backlog when I came in this morning but was wondering: what's the latest with https://github.com/juju/juju-gui/pull/316 ?17:36
kadams54Awesome. I can consistently crash juju-gui:develop in Canary to the point of needing a kill -9.17:39
kadams54Tab won't even close17:39
rick_h_kadams54: hatch is out today. I'm going to work on mering the two branches and see if we can get them landable. 17:49
rick_h_kadams54: what's up?17:49
kadams54That branch has a lot of overlap with my stuff so I just want to make sure I coordinate17:50
rick_h_kadams54: ok. I'll be a bit. So just take a peek and we'll try to get yours in and update to match.17:52
kadams54Yeah… I'm actually working in Jeff's branch right now, so if you setup your own branch let me know so I can track the changes there.17:53
rick_h_k17:53
rick_h_redir: is qa still bin/enque followed by ingest?17:56
redirrick_h_: make run and in a diff window17:57
redir./bin/es-ingest IIRC17:58
redirlet me double check17:58
rick_h_bac: is bin/enque used any more? Looks like --debug got removed but the code using it didn't catch up17:58
rick_h_redir: es-update?17:58
rick_h_well that's just the fulltect update17:58
redirrick_h_: http://pastebin.ubuntu.com/7458731/18:00
rick_h_gotcha, yea I think bin/enqueue is gone and just hadn't been removed18:01
bacrick_h_: it may be used by the charm.  ingest-queued now does the big enqueue does as stand-alone18:01
rick_h_I've got too much old knowledge of how it used to work in my head18:01
redirrick_h_: I've got too much ignorance. 18:01
rick_h_bac: well bin/enque just fails because there's a if args.debug18:01
rick_h_but no debug18:01
redirIt is bliss:)18:01
rick_h_arg is left18:01
rick_h_so guess the charm isn't using it either18:02
redirbig report:)18:02
redirs/big/bug18:02
rick_h_bug even 18:02
bacrick_h_: no, charm isn't using it18:03
rick_h_bac: rgr, thanks for peeking18:03
kadams54rick_h_: when you get the chance, we should talk more about Jeff's branch and my card. I *think* my card may be resolved within the branch, but I can't verify in the current state.18:07
rick_h_kadams54: ok18:07
rick_h_shoot me a link18:07
kadams54https://plus.google.com/hangouts/_/gw7gremxriufe4kurfpnffyo3ya18:08
redirrick_h_: when are your comp/swap days18:09
rick_h_redir: when are mine? someday18:09
rick_h_not sure atm18:09
redirk18:11
redirhow many charms are there?18:24
hatch~20018:24
rick_h_350 ish last I looked18:25
hatchbut that number is a little odd because there are charms for different series which are the same, and then a lot that aren't in the store18:25
hatchoh wow that many? it's grown fast18:25
redirk. importing them in core-store to try reproducing a bug and up to 378...18:25
redirjust wondering if it is near the end.18:26
rick_h_probably near it, but with trusty and such maybe not :)18:26
rick_h_redir bac: is there something to wipe the index? running es-update I get pyelasticsearch.exceptions.ElasticHttpError: (400, u'MapperParsingException[Analyzer [n3_20grams] not found for field [ngrams]]')18:43
BradCrittendenrick_h_: yes, let me look, though redir may have it handy18:44
=== BradCrittenden is now known as bac
bacrick_h: this should work: http DELETE 'http://localhost:9200/charms'18:45
rick_h_bac thx, retrying18:45
jcsackettbac: why do you keep becoming BradCrittenden?18:46
bacjcsackett: connection drops for a tiny bit, irc reconnects but sees 'bac' is already taken18:46
bacirc nick timeout is greater than my outage time18:47
jcsacketthuh; i don't actually see you disconnecting/reconnecting.18:47
rick_h_bac has quit from #juju-gui ; Ping timeout: 252 seconds18:48
bacjcsackett: i can get momentarily booted when a large, norovirus incubator goes by18:49
redir521 charms...18:50
rick_h_woot18:50
jcsackettbac: ... airplane?18:51
redircruiseship18:52
bacjcsackett: i wouldn't want to be on that airplane18:56
jcsackettah.18:56
jcsackettthat makes more sense18:56
rick_h_redir: bac man I'm having all kinds of issues trying to ingest and get stuff loaded. http://paste.ubuntu.com/7458986/18:57
rick_h_I'm going to EOD soon, but just fyi, I'm trynig to get things down to QA and having a series of elasticsearch issues. 18:59
rick_h_hmm, bet that's from the clearing of the db19:00
bacrick_h_: that exception you pasted is in the 'save' method in the error handling section.  so saving threw an error and the corrective action is to delete the charm, which then errored b/c it did not exist.  i've never seen that before.19:01
rick_h_another restart going without errors 19:01
rick_h_bac: yea, I got impatient and tried to kill stuff and do qa without letting ingest finish19:02
rick_h_probably left stuff in a bad place19:02
bacoh19:02
rick_h_starting over again19:02
bacthat error handling could be more robust19:02
rick_h_anyway, will let it run tonight while I'm out and hopefully be good tomorrow19:02
* rick_h_ runs away a little bit early today. have a good night all19:02
redirrick_h_: k19:03
redirhave a great eve19:03
redirwhat's a QA day?19:32
redirand what's an exploratory qa day19:33
redir?19:33
hatchredir a day where it's your job to find a bug in the GUI19:33
hatchfind & file 19:33
hatchwe used to adhere to it pretty strictly, but lately it's been too much of a cram :)19:33
jcsackettoh shit, i was supposed to do that today.19:33
redirhmmm19:33
* jcsackett makes note to find a bug tomorrow.19:33
redirlike just take a day and use the gui looking for bugs?19:34
redirwhat is the diff btwn qa and exploratory qa?19:34
hatchredir exploratory qa means you have to go and try and break the app19:38
hatchdo things in different ways, pretend you're a user who doesn't know what's going on etc19:39
hatchredir not really the day, just part of the day19:39
redirtx, hatch 19:39
hatchyou'll be surprised what you find when you try and use the app in unintended ways :)19:40
hatchand with all the work that's been landing lately we no doubt created some bugs :)19:40
rick_h_oops, I had that on my stand up list to talk to jcsackett about and he wasn't there so missed it21:05
BradCrittendenhatch: who were you schooling on red velvet?  http://www.nytimes.com/2014/05/14/dining/red-velvet-cake-from-gimmick-to-american-classic.html21:07
=== BradCrittenden is now known as bac
hatchhaha I don't remember21:07
hatchhuw I think21:07
hatchoh man it needs to rain here21:08
hatchso dusty21:08
bacbah, take ours21:08
hatchgladly take some :)21:08
bacit comes with car-alarm-setting-off thunder too21:09
hatchhah sounds like your shock sensor is a litttle too sensitive21:12
hatchthat landscape cloud builder thing is pretty darn cool21:13
hatchI'm re-watching the keynote heh21:13
bachatch: not my car.  all of the other cars on the street...21:21
* bac walkies21:21
hatchahhh - is car crime bad there?21:21
bacha, all crime is bad here21:22
bacnot my little enclave, though21:22
hatchhaha ok21:23
bacit also helps to not be a drug dealer or gang member.  for some reason they tend to be overrepresented in the statistics.21:23
kadams54guihelp https://github.com/juju/juju-gui/pull/320 is ready for a look-see. It's a WIP so not yet ready to land.21:27
hatchbac lol21:28
hatchkadams54 does it work?21:30
kadams54Yes21:30
hatchno units should fire a change event by default21:30
hatchbecause they are just objects21:30
hatchor did my wip branches land?21:30
kadams54No, your WIP branch did not land21:31
kadams54But I've seen it so I know placeUnit will revive the unit :-)21:31
kadams54env.placeUnit() that is21:31
hatchohh ok so the placeUnit has the changes in it to revive21:31
hatchcool21:32
hatch:)21:32
kadams54QA instructions include console commands to grab a unit, revive it, and then set the machine ID.21:32
hatchI'm not really set up atm to do any qa/reviews 21:32
hatchjust glanced through21:32
hatchwhat do you think of your smart updater stuff being able to diff the old list and new list and updating the tokens which need updating21:33
hatchthat would be my preference....of course that's going to be more work to implement 21:33
hatch:)21:33
kadams54I agree that function needs to handle changes and not just the current additions/deletions21:36
kadams54But I think there's still a need for a function that can just hit a single machine in the list21:36
hatchyou think so?21:37
kadams54Yeah, I was talking with rick_h_ earlier and there are going to be a lot of events that update/change a single machine21:37
hatchwhat I'm thinking is that at scale, we'll want to batch the changes in the UI21:37
kadams54Seems like, even if changes were batched, you'd still need a way to update a single token21:39
hatchI suppose this could actually be used by the smart renderer 21:39
hatchyeah21:39

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