/srv/irclogs.ubuntu.com/2013/11/21/#juju-gui.txt

bacjujugui: just noticed staging.jujucharms.com is down.  looking into it.12:42
gary_posterthanks bac12:42
gary_posterfrankban, may be a hair late for call, but will try not to be.12:42
frankbangary_poster: ack no problem12:43
gary_posterthx12:43
bacjujugui: staging was in a hook config-changed error.  re-running the hook cleared it up.  can't explain.12:54
benjiodd12:54
frankbanbac: do we have hook logs?12:59
bacfrankban: i'll look12:59
frankbanbac: thanks13:00
gary_posterhttp://paste.ubuntu.com/6453180/13:08
benjimarcoceppi: I'm sure you're busy with UDS again, but if you get a few minutes I'd like to have that chat13:37
marcoceppibenji: we can do it during lunchtime at UDS13:56
benjimarcoceppi: cool, ping me when you're ready13:57
benjijcsackett: did your charmworld deployment happen yesterday?14:01
rick_h_benji: I'll have to try to get out out today to get the download counts into the api for the gui branch I've got. 14:02
rick_h_luca__: ping around? or antdillon 14:12
antdillonrick_h_, Hey, hows things?14:12
rick_h_antdillon: party party. I'm adding the download counts to the bundle token/details and wanted to make sure I'm just adding a 3rd row of metadata and copying the wording from charms "Deployed X times"14:13
antdillonrick_h_, I'd love to say yes but havnt seen the design for a while. I chase down Luca and get back to ya14:14
rick_h_antdillon: thanks, appreciate it.14:14
antdillonrick_h_, Are charm names always all lowercase?14:15
rick_h_antdillon: hmm, no, nothing enforcing it I can think of14:16
hatchwe should14:19
hatch:)14:19
luca__rick_h_: bundle token is is meant to show "X services | X units"14:20
luca__rick_h_: as seen here: https://docs.google.com/a/canonical.com/file/d/0B7XG_QBXNwY1NFRjWW1MQkNkVWs/edit14:20
luca__rick_h_: and so are bundle details14:20
luca__rick_h_: as seen here: https://docs.google.com/a/canonical.com/file/d/0B7XG_QBXNwY1R0Z4YzVXYVlORVU/edit14:20
rick_h_luca__: right, but we've added the new ability to track downloads of bundles, which we could not do before14:21
rick_h_luca__: so I'm wondering where to stick it14:21
luca__rick_h_: interesting14:21
rick_h_bac: ping, I'm also having issues getting the counts to work in search. I get 0's even though when I hit the bundle directly I get a download count. 14:22
luca__rick_h_: so for now put "X services | X units | Deployed X times on the details only14:22
rick_h_bac: nvm, looking a tthe wrong numbers14:22
luca__rick_h_: argh, I'm not sure where to put it14:22
rick_h_luca__: see, why ping you guys :)14:23
bacrick_h_: ok14:23
luca__rick_h_: I might get Spencer to mock it up quickly14:23
luca__rick_h_: is that ok?14:23
rick_h_luca__: yep, not a problem. Thanks14:23
jcsackettbenji: yeah, we deployed through r464.14:30
benjicool, thanks14:30
hatch-19C feels like -28C14:35
hatchit's days like this that I'm glad I don't have to drive to work14:36
benjirick_h_: have you worked on the charm store any?14:37
rick_h_benji: no, I found the code once when I was trying to figure out where it went but never messed with it. 14:38
rick_h_benji: my understanding is that it's hazmat's baby and he talked about doing a bunch with it at last sprint14:38
benjiyeah14:38
hatchgary_poster: when you have a moment I think I have finally found a promise lib that checks all of the boxes https://github.com/petkaantonov/bluebird14:42
frankbanhatch: http://imgur.com/HpgCyIQ14:42
hatchlol wow that would suck - the worst I've ever had is up to the windows14:42
rick_h_benji: looks nice14:45
benjirick_h_: I know I do... wait, what?14:46
rick_h_benji: :) your link14:46
benjirick_h_: which link is that?14:47
rick_h_oh sorry, that was hatch that linked it14:47
rick_h_doh14:47
rick_h_reading irc fail today14:47
hatchlol14:47
hatchrick_h_: you read the promise stuff?14:47
rick_h_well I'm not going to give hatch credit14:47
hatchhaha14:47
rick_h_hatch: went through the readme14:47
hatchI didnt' expect much beyond "it's a promise, it sucks" from you :P14:48
rick_h_hatch: I've been burned by fire too many times, but it says it won't hurt me14:48
rick_h_just don't trust it :P14:48
hatchdon't worry, it has candy14:48
hatchit won't hurt you14:48
rick_h_I don't believe14:48
hatchthe cake is a lie14:49
gary_posterhatch, cool, will look soon14:50
gary_posterhey luca__ you want me in the meeting, or just watching & on irc?15:00
luca__gary_poster: come on the meeting15:01
luca__gary_poster: https://docs.google.com/a/canonical.com/presentation/d/1TDkZ5Sm76QEbpNKR5wPOcqyY-D6xu6wqfM-6qwdzULc/edit#slide=id.g7adc252f_0_3315:01
gary_postergreat luca__ will do15:01
luca__gary_poster: what do you think15:02
luca__gary_poster: ?15:02
gary_posterluca__, amazing!  a lot of effort and looks great15:03
luca__gary_poster: join us in the hangout and speak out the dev effort15:03
luca__about^15:03
luca__gary_poster: https://plus.google.com/hangouts/_/7ecpjj966m9ee4cgq98undnp0c?authuser=0&hl=en-GB15:04
hatchrick_h_: do you need a review?15:11
rick_h_hatch: not yet thanks though15:12
hatchOH KAY!15:12
hatchrick_h_: that's one heck of a diff lol15:17
hatch~2400 haah15:17
rick_h_hatch: it's all one test/data/json file15:17
rick_h_:P15:17
rick_h_it's a tiny branch15:17
hatchoh lol I didn't open it15:17
hatchare we going to be pushing the standup because of vuds ?15:19
rick_h_yesterday he didn't say so, but might be a strange/light standup 15:19
hatchyeah I'd be ok with pushing it an hour15:22
gary_posterbrb15:29
hatchI gota step out and help boost a neighbours car, will be back in 1015:29
bacjujugui: review please https://codereview.appspot.com/2996004515:29
benjibac: I'll take a look.15:29
hatchbac: I can when I get back15:29
hatchok cool15:29
hatch:)15:29
benjiheh15:29
bachow does one boost a car?15:29
rick_h_bac: jumper cables?15:30
bacno, those are for jumping a car.  does he have booster cables15:30
* benji was thinking "boost" as in "steal"15:30
rick_h_"can you give me a boost" 15:30
bachell, he could be using a jack for all i know15:30
rick_h_I guess I've heard it said that way15:31
bacboost it up so i can get the tyre off15:31
rick_h_hah15:31
rick_h_yea, I mean we've all seen gone in 60 seconds and boost if the #1 word from the movie I think15:31
rick_h_but guess I've heard it both ways15:31
bacwell, i haven't quite seen that yet.  perhaps after my smokey and the bandit marathon.15:32
rick_h_what?! well now you've got a task this weekend. 15:32
benjihttp://www.cnn.com/2013/10/31/us/new-york-los-angeles-cannonball-speed-record/15:32
rick_h_the remake isn't bad, little cheesy in places but the car scenes and mic'd well 15:32
antdillonrick_h_, Hey got a sec?15:35
rick_h_antdillon: sure thing15:35
antdillonrick_h_, Is https://manage.jujucharms.com/api/3/search/interesting down? How long for?15:35
antdillonJust started using it for testing lol15:36
rick_h_antdillon: oh hmm, interesting15:36
rick_h_antdillon: I did request a upgrade but it hasn't happened yet that I know. Looking into it15:37
antdillonrick_h_, Awesome thanks15:37
rick_h_antdillon: looks like the upgrade is in progress and things are going boom atm. Will update you when I know more15:38
antdillonrick_h_, Awesome thanks15:38
jcastrogary_poster, bundle workflows in ~2015:41
gary_posterjcastro, ack thx.15:42
hatchback15:42
bacgary_poster: are we moving our standup for the uds session?15:43
hatchbac: rick_h_ benji to 'boost' is to 'jump start' a car :)15:43
rick_h_jujugui heads up the mjc deploy went boom and so the api and such are not returning atm. Working with webops15:43
bacuh oh.  let me know if i can help rick_h_15:44
gary_posterrick_h_, urg and thank you15:44
gary_posterbac, I was going to suggest that we have standup without me15:44
hatchI'd like to watch the vuds15:44
gary_posterok15:44
gary_posterthen15:44
hatchstandup as soon as it's done?15:45
gary_posterjujugui want to move standup to one hour later?15:45
rick_h_bac: did you have a migration or anything that hit ES in your branch?15:45
gary_posterany objections?15:45
bacrick_h_: no siree15:45
hatchsure - the chrome dev summit also starts in 1:4515:45
rick_h_bac: k, didn't think so but ES seems up and dead and can't figure out why. The deploy shouldn't have touched it that I can tell15:46
gary_posterhopefully our standup won't take more than 30 min ;-)15:46
hatchhaha i'd hope :)15:46
bacgary_poster: let's just go around here.  nothing from me.  :)15:46
hatchlearnt some interesting stuff with it in the background yesterday15:46
gary_posterheh15:46
gary_posterwould like to have call actually15:47
bacok, i'll send my people out for chicken15:47
gary_posterbac, I owe you one for yesterday.  If you want to bow out for today's call np.15:51
hatchthe link in the calendar wasn't working for me15:53
hatchhttp://summit.ubuntu.com/uds-1311/meeting/22004/t-cloud-juju-bundle-workflows/ this one works15:53
bacgary_poster: thanks, but i'm eating now.  not a problem.  i didn't need a big plate of fried chicken and plantains after all.15:56
gary_posterok, still owe you then ;-)15:56
rick_h_adeuring: can you join #webops please. ES on mjc went boom and I think it's a matter of marking an unassinged shard back to assignment. I'm looking for people that have messed with ES to help get it back up please?15:57
adeuringrick_h_: ack15:58
Makyojujugui snow is throwing a wrench in plans, can someone adopt lp:~makyo/juju-quickstart/ensure-juju-lxc to address frankban's concerns?16:35
bacrick_h_: who requested the mjc deploy?16:35
hatchMakyo: just submit it with adopt?16:36
Makyohatch, with concerns addressed - that's the part I won't have time for.16:36
bacMakyo: if there are changes to be made i can handle it this afternoon16:36
Makyobac, thank you16:36
bacMakyo: this is for the card "Install repo and juju" ?16:37
Makyobac, yes16:37
baccool.16:37
jcastrogary_poster, for the summary for UDS, what do you consider the top 3 things your team is working on for this cycle? 16:38
bacbenji: are you looking at my review?16:39
benjibac: I'm trying to QA and having issues (with Juju itself I think)16:39
bacoh, ok.16:39
bacthat QA is tiresome16:39
gary_posterjcastro, (1) not clear yet, unfortunately; and (2) it may not be public once it is.16:39
benjibac: how long does the gui take to come up after the juju set juju-gui "juju-gui-source=lp:~bac/juju-gui/fix-dnd-bundles-wrt-id" command?16:39
bacoh, a bit16:40
baca few minutes.  not crazy slow16:40
jcastrogary_poster, ok, so I can just say "continuing Juju GUI improvements"16:40
gary_posterjcastro, +116:40
rick_h_antdillon: it's up, don't know for how long and don't know why, but it's working atm16:42
rick_h_jujugui mjc is up and running, it's a confusing mess, but it's alive 16:42
bacthanks rick_h_16:42
hatchrick_h_: anything we can do to fix this? It seems to happen more often than we'd like :)16:42
gary_posterrick_h_, good news at least.  thank you.16:42
rick_h_will bring up on standup16:43
hatchfor the record I know absolutely nothing about how it's setup :D16:43
gary_posterPretty sure it is hatch's fault :-P16:43
bachatch: the best approach is to have a pre-deploy environment similar to production in prodstack16:43
hatchgary_poster: probably! They should have written it in javascript16:44
gary_poster:-)16:44
hatchfor some reason it keeps complaining about the {} I put in there16:44
hatch:P16:44
gary_poster:-)16:44
hatchignoring the content of the article.....this plane is bonkers huge http://www.wired.com/autopia/2013/11/dreamlifter-wrong-airport/?cid=co1476607416:46
bacNPR claims they are going to try to take off at 13:00 ET16:48
hatchI love that 'try' I am going to guess they only get a single chance at this16:48
hatchit's not like they can abort 3/4 of the way down16:48
hatchhopefully they can find a nice headwind16:49
hatchto help lift that thing16:49
bachatch: i saw the antonov a few years ago: http://www.flickr.com/search/?w=77711790@N00&q=antonov  it is a bigger plane but the dreamlifter has large cargo volume16:49
bacs/large/larger/16:49
hatchjeesh16:50
hatchI saw one of those double decker planes nosed in at the airport once....standing at the window in the terminal and we still didn't even come up to the middle of the nose16:51
hatchI can't even imagine the amount of power those engines need to generate to move that thing16:51
hatchthis one http://upload.wikimedia.org/wikipedia/commons/d/d4/Airbus_A380_Paris_Air_Show.jpg16:52
hatchjujugui call in 316:57
gary_posterah, thank you16:57
hatchhah I forgot too16:57
benjibac: QA didn't go well (the count didn't increment)16:57
bacbenji: did you give it some delay?16:58
benjibac: (as in between the deploy and the 'juju set juju-gui "charmworld-url=http://staging.jujucharms.com"') yep16:59
bacbenji: no, as it, check the counts again now17:00
bacs/it/in/17:00
benjibac: it incremented!17:01
benjiyay17:01
bacbenji: i really don't understand the lag17:01
benjiis there a cache in front of the app?17:01
benjithat is odd17:01
bacprobs17:01
rick_h_yea, there's apache and squid in front17:03
hatchwhen is your turkey day?17:15
rick_h_thurs17:15
rick_h_of next week17:15
hatchahh ok17:15
bachey frankban one of our italian friends gave us one of these (early) for christmas.  do you eat them?  any good?  http://en.wikipedia.org/wiki/Panettone17:16
hatchlooks like a Babka bread17:17
hatch(Ukranian)17:17
frankbanbac: it depends, some of those are very good, others are just like eating paper... yeah it's a very typical christmas sweet in italy17:18
hatchprobably the same :) if so, then it should be sort of a sweet bread17:18
gary_posteroh frankban you want to talk?  sorry17:19
gary_posterI was about to head out17:19
frankbanhatch: yes, usually with raisin and candy17:19
frankbangary_poster: reading the diff, quick call in 5 minutes?17:19
gary_posterfrankban, going to lunch w/ wife.  will see if you are back when I return17:20
bacjujugui: the branch i'm landing now for juju-gui has some retry logic to handle the lbox-404 problem.  let me know if you see it again.17:20
gary_posterif not email?17:20
frankbangary_poster: sounds good17:20
gary_posterok ty17:20
bacbtw, lbox-404 has a new album coming out soon17:20
hatchhaha17:20
rick_h_jujugui can I get a review please? https://codereview.appspot.com/30210044/18:14
hatchsure18:14
rick_h_claiming small review since 99% of the changes are the test data18:14
* hatch waits for the 3 or so more patch sets rick_h_ will commit before he is done his review :P18:18
rick_h_hatch: :P18:18
hatchhaha18:18
rick_h_it's why you don't review until i ask. I like to push up and self-review and usually find something to fix18:19
hatchahh18:19
hatchI usually try to `bzr diff --old ../../trunk | vim -` before I propose18:19
hatchsaves me from doing the huge lbox delay multiple times18:19
rick_h_I like the context change and verification that lbox is happy 18:20
bacfrankban: did you QA matthew's branch?18:20
rick_h_well, lbox is slow, but 2:32 for the last run18:20
frankbanbac: no, I was waiting for the fixes18:20
rick_h_so not enough to put off getting the nice diff/review space18:20
rick_h_hatch: http://nuclearsquid.com/writings/reporttime-in-zsh/ :)18:22
hatchoh boy I wish18:22
hatchI'm probably closer to 4m18:22
hatchon 4m <---- this side of the 4m :D18:23
hatchrick_h_: have you ever used ZNC for irc?18:31
rick_h_hatch: no18:31
hatchalright - last night I was looking at various irc bouncers18:31
rick_h_hatch: no, I just keep my irc window open on a side monitor. I don't get ping's or anything18:32
hatchahh - yeah I was hoping to get something that keeps me always logged in so I can move from computer to computer and keep the history18:32
rick_h_yea, I get that by running irssi on my ec2 server, but it's disconnected18:33
bacfrankban: i've made the changes to matt's branch if you have time to QA.  lp:~bac/juju-quickstart/makyo-ensure-juju-lxc18:41
gary_posterfrankban, I'm back but you should be gone. :-)18:42
frankbangary_poster: heh :-) 18:43
gary_posterfrankban, do you want to talk, or call it a night?18:44
hatchrick_h_: so this 'downloads_in_past_30_days' when is that passed in?18:48
hatchI dont' see it in the current diff18:48
rick_h_hatch: from the api, it's dumped into the model as the whole object18:49
rick_h_hatch: that was updated in the back end, so cfg just *has* it18:49
hatchoh ok18:50
hatchso the issue there is that if there are any updates to that attribute from the api, cfg won't be updated18:50
hatchis that not a concern?18:50
rick_h_huh? I don't see the concern18:51
hatchsay the model is created18:51
hatchthen we update the model18:51
hatchdownloads_in_past_30_days will be the new value, but recent_download_count will be the old one18:51
rick_h_it's read only, not sure how that would be updated18:51
rick_h_so no, not an issue since it's based off of 15min ingest data and isn't written18:52
hatchok so we will never update the model once it's been loaded once18:52
rick_h_if we start writing bundle/charm models then we've got a LOT more work to figure out 18:52
rick_h_hatch: right18:52
hatchahh ok - so this will eventually be a problem when we implement a proper client side database18:52
rick_h_the absolute worst case, is that we cached the model and ingest happened in the last 10min and you don't see the updated count atm because we hit our cache18:52
hatchbut until then I suppose it's ok18:52
rick_h_but welcome to caching18:52
frankbanbac: well over my EOD, can do it tomorrow, or please feel free to do the QA and merge if you want.18:53
bacfrankban: ok.  if it isn't merged please take a look tomorrow.18:53
rick_h_hatch: yea, this is the same way the current charm model works. I'd like to keep it in sync and how to deal with a client-side-db is interesting, but yagni18:53
frankbanbac: sure! thanks18:53
hatchdone18:55
rick_h_gary_poster: so should I be working on my ci chops or my 'how does elasticsearch' work chops?18:56
gary_posterrick_h_, ...ci.18:56
rick_h_gary_poster: k18:56
gary_posterthank you18:56
rick_h_hatch: thanks for the review. No good reason to not use value vs valueFn. Updating now.19:02
hatchcool19:03
rick_h_just skipped the brain19:03
hatch:) sok19:03
=== gary_poster is now known as gary_poster|away
hatchusing juju lxc if the install script modifies /etc stuff will that be restricted to the lxc container and not spill over to the host?19:04
rick_h_hatch: rgr19:05
rick_h_hatch: it has it's own /etc dir in the lxc container19:05
hatchsame goes for /var and /tmp etc?19:05
rick_h_hatch: yep19:05
hatchcool - I am jut going to test a guys charm while I'm working and didn't want to run the risk of mucking up my host machine19:05
rick_h_yea, lxc ftw19:05
rick_h_just watch out for your home dir if you bind that to your lxc containers19:05
hatchnot unless juju does that19:06
rick_h_no19:06
hatchkewl19:07
hatchhmm debug-log is broken19:11
hatchthat's awesome19:11
rick_h_debug-log doesn't work in lxc19:12
hatchohh19:13
hatchwell then!19:13
bacwheels up19:16
hatchyeah?19:30
hatchI missed it I guess heh19:30
bacboring.  yay.19:32
hatchthat's the best kind of flight :)20:07
=== gary_poster|away is now known as gary_poster
=== gary_poster is now known as gary_poster|away
hatchsometimes the right way....was the first way20:35
hatchjujugui when debugging model data use `console.table(data)` it works.....awwwweeeesuuummmmm20:36
benjicool20:36
bachey blog that or something20:36
hatchI can do that20:37
hatchhttps://www.evernote.com/shard/s219/sh/5629e020-c68a-4d60-a839-72de7228b0d3/61cacd5857605826f28179505d7811d320:37
hatchis what it gives you20:37
hatchso it's not 'perfect' but very helpful20:37
baclooks good20:37
hatchhey gary_poster|away back yet?21:15
=== BradCrittenden is now known as bac
hatchjujugui does anyone remember why we hide the unit action buttons when the unit is pending?21:21
hatchDon't we want people to be able to retry/remove them?21:21
rick_h_hatch: yea, I was playing with the chrome dev snippets and a lot of them use the console.table and very cool for thigns like header dumping and such21:32
hatchyeah really a fan now21:32
hatch:)21:32
rick_h_hatch: if it's pending can you retry/remove? Don't you have to wait for it to be done and in error before you can retry/resolve?21:33
rick_h_ooh, kitkat for my n10 just arrived, be back after install/reboot21:33
hatchrick_h_: well sometimes it can get stuck in pending21:34
hatchso that's why I'm curious21:34
rick_h_hatch: hmm, yea if it's stuck in pending then I'd think there's a bug there. Curious what the log is for that then. 21:39
hatchwell it's not really a bug21:39
hatchif I have an infinite loop in my install hook21:40
hatchit'll pend forever21:40
rick_h_right, that's a charm bug21:40
hatchyeah21:40
hatchbut maybe not21:40
hatchit could be an issue with anything really21:40
hatchlooped internets or something21:40
hatchI'm just saying we should probably give the user the ability to something about it21:41
rick_h_hatch: yea, but let's make it something useful21:41
hatchI don't know how we can tell if it's useful or not21:41
rick_h_if there's something retry can offer, then I'm all for it, but I'm not convinced it's just giving users false hope21:41
hatchoh....right, but there is no way we can tell that21:42
rick_h_hatch: find me a use case where retry would have been useful and maybe showing it can be done :)21:42
rick_h_anyway, I'm not sure on why it's not visible. It might just be a juju limitation21:42
rick_h_I'm just talking through why it might be one way or another21:42
hatchright - I can't think of one21:43
hatchhah21:43
hatchI've just seen charms stuck in pending before21:43
rick_h_then let it be I say. If it turns out to be something useful it can probably change. 21:43
rick_h_hatch: right, I've seem people say in #juju about charms pending. I just can't say that retry/resolve helped them at all21:43
rick_h_so I'd want to verify the right way to fix a 'stuck' charm is exposed to the user vs just "here's some more buttons"21:43
rick_h_imo21:44
hatchright but there is no way we can offer that to the user21:46
hatchbecause pending CAN take hours21:46
hatchor days really hah21:46
rick_h_heh, yea. 21:46
hatchonce we get logging then that will be awesome21:46
hatchbut for now I think I'll show the buttons21:47
hatchit's trivial to remove them21:47
hatchunless of course juju doesn't support retry/remove on pending units21:47
hatchhmm who would know21:47
hatchI asked in #juju-dev21:49
hatchwe'll see21:49
hatchugh I hate implementing sorting22:10
rick_h_hatch: :P22:17
hatchwell the damn things never work as they are supposed to22:17
hatchI need to go and just write sorting algorithms for a month or so to get better at it22:18
hatchhaha22:18
hatchannnd of course I missed an = sign22:19
* hatch shakes fist at javascript22:19
hatchI had it right all along22:19
hatchlol22:19

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