/srv/irclogs.ubuntu.com/2013/10/03/#juju-gui.txt

hatchany bash experts in?00:44
bcsallerhatch: not an expert but I might be able to help01:03
hatchbcsaller: oh np I figured it out already01:03
hatchthanks though01:03
bcsallerheh, ok01:03
hatchin fact I think I found a bug in the Hadoop bash script01:03
hatchcopied it wholesale into a script to test and it failed...so I was like wtf hah01:04
hatchbut since you're here mind taking a look at a diff?01:04
hatchhttps://gist.github.com/hatched/fc70d29198df22cf32ad01:08
hatchI'm assuming that the size of the diff is because there were trailing whitespaces?01:08
bcsallerhatch: I'm guessing line 174 was where your question was :)01:20
hatchnope, see 126 vs 13201:21
hatchthat being on the next line caused it to not work in my test script01:21
hatchso I wasn't sure how to debug it01:21
hatchbash -x filename01:21
hatchthe -x was what I needed01:21
hatchnow I have to figure out how the heck to deploy a charm from my launchpad account01:21
hatch:/01:22
bcsallerahh, that I could have told you, you put set -xe at the top of scripts to get the echo/exit on error behavior01:22
hatchoh cool01:22
hatchwhat does the -e do?01:22
bcsallerexit on error01:22
hatchahh cool01:22
bcsallerx is the echo01:22
hatchlearn something new every day01:22
hatch:)01:22
bcsallerlooks like it should work, you verified that was all the usage of config-get/set? its not in the relation hooks or anything?01:23
bcsalleror are they all symlinks?01:23
hatchall symlinks01:23
hatchinteresting approach but smart01:23
hatchnow I'm trying to test it but I can't figure out how to deploy it lol01:24
hatchlooks like it's gota be local01:25
hatchhmm I want to deploy a local charm via the GUI01:32
hatchI wonder if this is a rare occurance01:32
bcsalleryeah, it doesn't work by default01:33
hatchI'm not actually sure how you would do it withou a local charmstore01:34
hatchbut it would be cool if we could select a dir to deploy01:34
bcsallerhatch: we've talked about a number of longer term plans for how to do this, but currently I think your instinct was correct a local charm store and maybe changing the config settings to point the API endpoint there01:45
hatchyeah I'm definitely not going to attempt setting up a local charmstore01:49
hatch:D01:49
hatchI gota go cook supper soon haha01:49
bcsallerme too02:13
rick_h_hatch: it's a charm, you can push your branch up and get it in the official store03:06
rick_h_hatch: just 'juju publish' it. It'll be under your username, etc.03:06
rick_h_https://jujucharms.com/fullscreen/search/?text=apache look at the 'more charms' section :)03:07
hatchrick_h_: oh cool thanks good to know04:14
hazmathatch, thanks06:38
hazmatanyone know how to get personal charms to show up in the gui search?06:39
hazmathmm.. looks like its a manage.jujucharms.com issue.. 06:42
rick_h_benji: is charmworld still sans lbox?12:10
benjirick_h_: some people have claimed that it works for them, but I haven't been able to get it to work.  The problem may be the way I have lbox installed on my LXC container.  12:11
rick_h_benji: hmm, that's what I'd be doing so if you're willing to do LP review I'll skip it then. 12:12
rick_h_benji: writing things up and will ping once done if you've got time to peek at it. 12:12
benjirick_h_: sure12:13
rick_h_benji: https://code.launchpad.net/~rharding/charmworld/bundle-metadata/+merge/188905 (one line lint fix just pushed and will sync in a min)12:18
rick_h_thanks!12:18
rick_h_benji: and so the idea is that with this we get support for the trailing bits of a url after the id, so going to add a bundle/some/id/charmdetails to provide the different payload format withthe charm details per our previous discussion?12:20
rick_h_does that jive with what you recollection of our talk on Tues?12:20
benjirick_h_: makes sense12:22
benjirick_h_ (and gary_poster): I need to run an unscheduled child to daycare, I'll be back in about 15 minutes12:23
gary_posterok benji 12:23
rick_h_thanks benji 12:23
frankbanluca__: hi, could you point me to any css/html resources for building a webpage similar to juju.ubuntu.com?12:53
rick_h_benji: when you get back want to see if you've got a sec for a chat. A question came up from my call with gary12:54
rick_h_frankban: there's the base resources. /me goes to look where they shared that. 12:54
frankbanrick_h_: thanks12:55
benjirick_h_: I'm available now.12:55
rick_h_benji: want to use your chat thing? 12:55
benjirick_h_: sure: benjiyork.com/chat12:56
rick_h_frankban: so there's a lp project of shared base css/etc resources and I'll have to dig for it. If luca__ comes by he might remember the link. The web team in HQ runs it12:56
rick_h_it's like ubuntu bootstrap12:56
luca__frankban: rick_h_ heya12:57
luca__frankban: rick_h_ this is the link: https://dl.dropboxusercontent.com/u/46840621/Web%20style%20guide/v3/get-started.html12:58
luca__frankban: rick_h_ it's work in progress but should be what your looking for12:58
rick_h_benji: http://bazaar.launchpad.net/~bac/charms/bundles/wiki/bundle/view/head:/bundles.yaml12:58
frankbanhi luca__, thanks!12:58
luca__frankban: rick_h_ if you need any help or information, ping Anthony Dillon (ant on IRC) and he should be able to fix anything12:59
rick_h_http://charmworld:2464/~bac/bundle/wiki/wiki13:02
rick_h_https://manage.jujucharms.com/~bac/bundle/wiki/wiki13:03
rick_h_frankban: luca__ http://bazaar.launchpad.net/~ya-bo-ng/ubuntu-brand-guidelines/trunk/files is what I was thinking of I think13:32
gary_posterhey jujugui, I feel not good.  Going to go lie down for a few. back when I can; will periodically check email13:33
rick_h_gary_poster: good luck13:34
gary_posterty13:34
jcastrowhen we remove stuff in the GUI13:44
jcastrodoes that destroy-service or destroy-unit?13:44
rick_h_jcastro: there's the option for each, not following you. 13:46
jcastrohttp://askubuntu.com/questions/353114/how-can-i-know-which-machine-juju-is-actually-using13:47
jcastroI am wondering if people think they're removing units13:47
jcastrobut are not13:47
rick_h_I know lxc has a thing where destroy service doesn't remove the machine, maybe azure has an issue there? 13:49
* rick_h_ checks some code quick13:49
jcastroyeah, since this is an azure one I was wondering that too13:50
jcastronice to know people are trying it on azure!13:50
rick_h_well, so destroy service calls destroy service. I'd be curious to know if the gui instance was recent enough to have the inspector. In the older UI I could see where destroy unit might be what he clicked vs service destroy. 13:52
rick_h_when you destroy a unit does the underlying machine get removed?13:52
rick_h_guess, the only real way to chase it would be to try it out and see if we could dupe it. 13:53
jcastroI'm going to ask him to mail me, I have a bunch of other questions to ask him14:01
jcastromore about "hey so did our docs suck?" and so on14:01
rick_h_jcastro: ok cool. Let us know if you can help when you get more details. Knowing more of what version of the Gui he was using, what he actually did, etc14:03
rick_h_I don't know if any of us have tried things on azure yet so cool to know it at least got going and working :)14:04
frankbanjcastro, rick_h_ : from the GUI we send a DestroyService API call. ServiceDestroy does not destroy the machine (and I believe this behavior is shared by all providers). AFAICT there is no API for destroying a machine. DestroyServiceUnits also seems to leave the machine up.14:09
jcastroyeah the thing is this guy thought he was running X VMs, but was really running X+whatever.14:13
jcastrothat's going to cost people money14:14
jcastrothen they're going to say "wait, but I told the GUI I didn't want those services anymore, why are there blank machines running up my bill?"14:14
frankbanjcastro, rick_h_: That's right. I believe we will handle that as part of our machine/containerization story. Right now the GUI does not manage/expose machines at all, and as I mentioned my understanding is that there is no API to do that (we will need an API for all the provisioning CLI commands).14:17
* jcastro nods14:19
frankbanjcastro: you might want to ping gary_poster when he's back, he surely have a better knowledge of the problem14:20
jcastroI think in the meantime ... would it be a bad thing to note this in the docs or the charm readme? Like in huge letters?14:20
jcastroI am just envisioning some guy trying out juju at work and running up this huge bill14:20
jcastroand his boss getting stuck with the check with a mental image of juju... that thing that cost me money.14:20
frankbanjcastro: yes, that's a good idea, I'll make a card14:22
rick_h_frankban: oh, I thought it was just an lxc thing which is how I end up doing things. Knowing is half the battle I guess14:22
frankbanrick_h_: yeah, that's the same on ec2. It's the way juju-core works when you just destroy a service14:23
frankbanrick_h_: pyJuju did that differently: destroy-service == bye bye machine14:25
jcastroyeah, I think we should bring in design at the sprint too. We need to ensure that the GUI always is upfront on how many instances are running for real14:25
jcastrowe can't let that be hidden or put behind somewhere where it won't be discoverable14:25
rick_h_frankban: ahhhh, maybe that's where I'm confused then. I only moved to juju-core once lxc came out14:25
rick_h_jcastro: yea, there was work on ideas for a 'machine view' during the last sprint, but that's work that's a little bit out atm14:26
benjiabentley: I have a demo bundle I want to get into charmworld, will it be picked up automatically, or is there something I have to do?14:28
frankbanrick_h_: created a card in maintenance high: GUI Charm: document that machines are not removed when you destroy services from the GUI14:31
jcastrorick_h_: yeah I get that, but maybe there's some low hanging fruit somewhere14:32
jcastrorick_h_: if you don't know how juju works it looks like the gui is lying to you14:32
rick_h_jcastro: yea, just meant the idea is on the radar. 14:32
abentleybenji: It will be picked up automatically, as long as the naming conventions are right.14:32
benjiabentley: great, thanks14:33
abentleybenji: file must be named "bundles.yaml", series must be "bundles", branch must be named "bundle"14:33
abentleybenji: This just got picked up automatically yesterday: http://manage.jujucharms.com/~abentley/bundle/charmworld/staging14:33
benjiabentley: I think I have it right.  I branched from bac's bundle, which appears to work14:33
Makyo40 minutes -> 10 minutes.  I kind of hate this battery.14:45
rick_h_Makyo: replacement battery?14:45
Makyorick_h_, I guess so.  It's been less than a year, though, so I'm mostly just disappointed.14:45
rick_h_Makyo: gotcha, yea mine is just over a year and getting to that time so battery on the brain14:46
rick_h_Makyo: http://paste.mitechie.com/show/1027/ ?14:57
Makyo.18222215:02
rick_h_wow!15:02
rick_h_so when you charge it up now, it's only going to 18% of the original capacity15:02
rick_h_and it's less than a year old?!15:02
MakyoYeah, I got it just before Copenhagen.15:03
rick_h_mine's at 75% and on the replacement block. 15:03
rick_h_hit 1yr around july I think15:03
rick_h_crazy15:03
MakyoOh well.  Sent in a support ticket.  If the solution is to buy a new battery, that's fine, will just have to wait.15:09
rick_h_yea, if less than a year that seems a warranty issue for sure15:10
MakyoI checked, it's just about a year, got it about this time last year, from the looks of it.  I didn't do the "periodically drain the battery" thing, though I'm not sure if you need to do that anymore.15:11
rick_h_yea, it should destroy it that bad :/15:11
MakyoDamn.15:12
rick_h_heh, warranty die yesterday?15:12
MakyoLast week.15:12
MakyoOh well.15:12
hatchMakyo: well time to get the Air setup for dev :)15:13
MakyoHaha, I guess!15:14
MakyoI'll have it set up by Oakland, for sure.15:14
MakyoIt kinda works now, just not ideal.15:14
hatchit has 8GB or 4GB?15:14
Makyo415:14
MakyoSo lboxing will take a while.15:15
hatchahh - well you might want to run Ubuntu on metal then if you want some better perf outa it :)15:15
MakyoIt works fine for actual dev work, tbh.15:15
hatchoh that's cool - I was a little worried the vm would use too much ram15:16
MakyoI have it somewhat constrained, but it's also a very light-weight installation of ubuntu server, rather than desktop.15:17
benjiabentley: how long should I wait for my bundle to be picked up before becoming concerned?  It has been well past the 15 minute enqueue/ingest cycle.15:20
abentleybenji: It should only take 15 minutes, so I'd be concerned now.15:21
benjidarn15:21
abentleybenji: What's the branch?15:21
benjiabentley: https://code.launchpad.net/~benji/charms/bundles/wiki/bundle15:22
abentleybenji: Nothing obviously wrong to me.15:24
benjiabentley: thanks for looking15:24
hatchwell I have now spilt two cups of coffee on my desk today....w t h15:26
abentleybenji: So, it's up on staging, kinda.  http://staging.jujucharms.com/~benji/bundle/wiki/wiki15:27
benjiabentley: the kinda part being the "Internal Server Error"? :)15:28
abentleybenji: Yes.  I think it's because your bundle doesn't have a series.15:28
benjiah15:29
benjiI added a series, we'll see how that works.15:30
benjiI'm confused though because it worked on my local charmworld15:30
abentleybenji: /home/webops_deploy/charmworld/charmworld/templates/bundle.pt refers to ${bundle.data.series}.  I don't know how it worked on yours.15:31
benjiabentley: well, I didn't view the page, I was hitting the API with the GUI, but that isn't working on production either so I'm still confused15:32
abentleybenji: Your bundle isn't showing on production, so that's a separate issue.15:32
benjimmm, good point15:33
benjiI'll try pointing my GUI at staging.15:33
sinzuibac: benji, jcsackett : I jot hate mail from charmworld staging: https://bugs.launchpad.net/charmworld/+bug/123478015:34
abentleysinzui: Yes, I triggered it by visiting benji's bundle: http://staging.jujucharms.com/~benji/bundle/wiki/wiki15:34
benjiyep, we'll have to fix... something so bad bundles won't go down in flames like that15:35
abentleysinzui: But there's a separate issue: that bundle isn't appearing on production, even though it's had plenty of time to ingest.15:35
sinzuiabentley, from when?15:35
abentleybenji: ^^15:36
sinzuibenji, abentley we killed a stale proc from before the bad release to get charms ingesting again.15:37
benjisinzui: 09:11:01-050015:37
sinzuiokay, that is just minutes after we completed. I think the cron or run-forever queuing is broken in production15:38
sinzuiabentley, I think we just need supervisord running to queue. and cron will ingest about every 2 to 4 times per hour15:39
abentleyI'm pretty sure cron does the queueing and supervisord manages the ingest.15:40
abentleysinzui: ^^15:40
sinzuiabentley, yep. This is what webops created to make cron happy (i think) https://pastebin.canonical.com/98319/15:42
abentleysinzui: Looks sane to me.15:43
sinzuiI will enquirer about it15:44
hatchjujugui call in 1015:50
* hatch is pretty pumped that he beat Makyo to it today15:51
MakyoWhoa whoa whoa.15:52
MakyoCoffee is WAY more important than this.15:52
hatchrick_h_: so I've noticed that `bzr grep` doesn't give line numbers or syntax highlighting - am I missing a flag or something?15:57
sinzuiabentley, benji looks like mthaddon found the issue, crontab was manually put in the wrong place in production. He is fixing it15:57
rick_h_hatch: no, that's ack stuff. I just open the file and use vim /xxx15:58
hatchoh ok, then back to ack it is :)15:58
Makyojujugui call in 215:59
hatchdamnnn15:59
MakyoHahaha15:59
rick_h_benji: my new desktop env pulled your charm in16:01
benjirick_h_: good; I think production is on its way to being fixed16:02
rick_h_cool16:02
Makyoluca__, ping16:02
sinzuiabentley, benji : I misspoke. I still have no idea what is not always running to ensure we ingest16:03
benjimmm16:03
luca__Makyo: heya16:03
luca__Makyo: I need to check the upgrade stuff16:03
abentleysinzui: You can try running bin/ingest-queued manually to see if the queue's getting stuff.  Remember to set INI and run as ~charmworld.16:04
Makyoluca__, yeah, have a sec after daily meeting?16:06
luca__Makyo: sure, just ping when your free16:06
sinzuiabentley, I don't want to manually run. that is what got the last ingest sorted. I want to know what is not runnung16:13
abentleysinzui: I was suggesting manually running as a way to determine what's not running.  If the queue is full, then you know that cron is happy.  If it's empty, then you know that it's not happy.16:14
sinzuiokay, I will ask again if the queue is full16:15
Makyoluca__, https://plus.google.com/hangouts/_/9ad52af076c648af1c3c61fcda614bb034cfc336?hl=en16:19
luca__Makyo: give me 2 mins :)16:19
Makyoluca__, okay16:19
luca__Makyo: coming now16:22
hatchwell I finally had to turn the heat on... 16C is too cold :)16:24
gary_posterhey rick_h_ & benji, am I right that this is something we need to address asap? https://bugs.launchpad.net/bugs/123478016:34
_mup_Bug #1234780: Dict has no attribute series <bundles> <charmworld:Triaged> <https://launchpad.net/bugs/1234780>16:34
sinzuiabentley, I think we will ingest https://pastebin.canonical.com/98468/16:41
sinzuiabentley, I think queuing via cron is bad16:41
sinzuiI could ask for a manual queue, wait 15 minutes and verify all it good. then return to the question of why cron is not16:42
abentleysinzui: I'm pretty sure I changed the default delay to 1 minute, not 15.16:42
sinzuiabentley, not on staging and that is where we stole the crontab from16:43
abentleysinzui: I meant the default delay for ingest-queued.16:43
sinzuioh16:44
rick_h_ gary_poster I'm not sure. Do we have the idea of a proof for bundles? this seems like if it's a required attribute then proof/ingest would catch/ignore it16:44
rick_h_gary_poster: so I guess yes we should adress but unsure how atm16:45
gary_posterrick_h_, doesn't that look like a problem in the charmworld code, not the bundle?16:48
gary_posterAFAICT the traceback is saying that the template is trying to look at the data as an object, not a dict16:49
rick_h_gary_poster: well, series is expected to exist. The question is, can a bundle not provide it? (reasonable to expect it to always be there) or is it ok to not have and thus the template/charmworld needs to update to deal with the lack of it16:49
gary_posterrick_h_, the bundle has a series: http://bazaar.launchpad.net/~benji/charms/bundles/wiki/bundle/view/head:/bundles.yaml16:50
rick_h_gary_poster: ah ok then. Yea. 16:50
gary_posterrick_h_, but data is a dict, so the code would have to say /series16:50
rick_h_strange if it's an issue there it dodn't show befoer16:50
gary_posteror ['series']16:50
gary_postercool rick_h_ , thanks.I'll make a card for bug16:51
rick_h_gary_poster: cool, will coodinate with benji when he's back around then and peek at the code after I fix up these review changes16:51
gary_postercool16:52
gary_posterthank you16:52
abentleygary_poster: benji just added the series.17:09
gary_posterabentley, oh! so it was what rick_h_ said: bundle had the problem, not code?17:10
gary_posterother than proof equivalent needed in charmworld17:11
abentleygary_poster: I think series is supposed to be mandatory.   But the error handling could stand improvement.17:11
rick_h_gary_poster: yea, I think we had a chat with marcoceppi once about the idea of updating the proof tools to be able to detect or be told to proof using rules for charm or bundle in one command17:11
rick_h_and then run proof against both types on ingest 17:11
gary_postergot it, thanks abentley and rick_h_ 17:11
abentleygary_poster: (Now that it has a series, it's not broken: http://staging.jujucharms.com/~benji/bundle/wiki/wiki)17:12
gary_postergotcha17:12
abentleysinzui: successful test run, from creating the container, through running the test suite, to destroying the container.17:13
sinzuiabentley, there is a fix for that in 1.15.117:13
abentleysinzui: A fix for succcessful test runs?17:14
sinzuiabentley, sorry. I am in too many places17:14
sinzuiany I just put my mouth the the production firehose. prod will email me17:15
rick_h_abentley: benji is charmworld landing still just mark approved and tarmac comes along and grabs it? I've not been following it lately.17:17
abentleyrick_h_: It's still just mark approved, but it's all-Jenkins, no Tarmac.17:18
rick_h_abentley: ah, very cool. Thanks.17:18
rick_h_abentley: hmm, I can't see the "approved" in the drop down for status here? https://code.launchpad.net/~rharding/charmworld/bundle-metadata/+merge/18890517:19
rick_h_ah, pending approval to the charmworl developers team. 17:20
rick_h_can anyone approve me in please or add the Juju Gui Hackers team? sinzui abentley ^17:21
abentleyrick_h_: You should see it if you're a member of the branch owner team, Juju-Jitsu Hackers.17:21
rick_h_abentley: looking17:21
rick_h_abentley: ah, I am not. Asking back in now. 17:21
rick_h_will need an ok on that one as well. 17:22
* rick_h_ is feeling the repercussions of losing super orange powers17:22
* rick_h_ wonders how benji got to submit 17:22
benjirick_h_: that (just mark it approved) is my understanding17:24
rick_h_benji: right, but I'm not member enough to have permission to makr it approved17:24
rick_h_benji: I only see the options to mark it as WIP, needs review, merged17:24
benjirick_h_: hmm, want me to do it?17:25
abentleyrick_h_: He's a member of yellow squad.17:25
rick_h_benji: I'm not seeing you in the group abentley mentioned either though. Chasing the permission chain17:25
rick_h_benji: if you don't mind until I get admins to approve my requests to join their teams17:25
sinzuirick_h_, I have approved you17:25
rick_h_sinzui: thanks17:26
rick_h_I'll ask gary_poster to update yellow squad when he's got time. 17:26
rick_h_thanks sinzui got it marked approved now. 17:26
gary_posterrick_h_, everybody is in yellow.  probably should retire yellow instead but enh17:30
rick_h_gary_poster: thanks for the update17:30
gary_posterrick_h_, I mean, I added you and everyone else in gui17:30
gary_posterwelcome17:30
hatchrick_h_: is 'editorial' the token list?17:32
hatchit feels like it should be the details view?17:33
rick_h_hatch: editorial is the default content in the side panel which is the three containers (featured, popular, new)17:33
rick_h_they're 'editorial' selected charms to show on page load by default17:33
hatchuhh wut?17:34
rick_h_hatch: so in the sidebar View you can load two bits of content: editorial content or search results content17:34
hatchlol17:34
rick_h_which are each a View17:34
hatchso editorial is not editorial17:34
rick_h_hatch: call?17:34
hatchit's the token list17:34
hatchsure17:34
rick_h_hatch: sure it is, it's three containers (and used to have the listed categories) and such17:34
=== matsubara is now known as matsubara-lunch
gary_posterhey bcsaller I'm playing around with the visualization via tests and would like to make faster progress.  you have a sec for a hangout?17:55
marcoceppirick_h_: how close are bundles to being ready?18:01
marcoceppiI'm planning on pressing a release before cloud sprint, if you'd like that in there I need to know sooner than later18:01
marcoceppialso, can someone fill in this guy with a roadmap to being able to use "--to" in the gui? http://askubuntu.com/q/353262/4118:02
rick_h_marcoceppi: so we can ingest/show them in manage.jujucharms.com now. hatch will have a details view in the gui next week, and so parts of it will be giong on next week18:02
rick_h_marcoceppi: so yea, bundles will be pre-sprint and so bundle support in proof would be greatly appreciated :)18:03
rick_h_marcoceppi: for the ask ubuntu gary_poster would have to provide the best answer, but I think it's part of a big chunk of work for 14.04?18:05
marcoceppirick_h_: if you haven't already, I need deets! https://bugs.launchpad.net/charm-tools/+bug/122283318:07
_mup_Bug #1222833: charm tools should proof bundles as well <Juju Charm Tools:New> <https://launchpad.net/bugs/1222833>18:07
marcoceppisample no longer works18:07
rick_h_bcsaller: are you a deployer expert to know which all fields are required/optional in a file format? Can you comment in ^^ bug?18:09
rick_h_or maybe frankban since I know he did a lot of that in the server bits. 18:09
gary_postermarcoceppi, rick_h_ I answered the askubuntu thing.18:10
rick_h_gary_poster: thank you. 18:10
gary_posterrick_h_, benji is your best bet.  frankban has EoD'd18:10
rick_h_gary_poster: right, no hurry. I figured I'd shoot for someone that's used the deployer/messed with that code itself wouldhave the best knowledge 18:11
gary_postercool rick_h_.  thx18:11
benjirick_h_: I would have to read the code to see what is required, but I would assume "services" is the only required key ("services" should be made optional by charmworld)18:14
benjioops, that second "services" should be "series"18:14
=== matsubara-lunch is now known as matsubara
gary_posterbenji, I'd guess proof could go farther if desired--validating the deployer format generally, yeah?18:22
rick_h_gary_poster: yea, one items was to check it's valid yaml/json18:22
gary_posteryeah, reasonable18:22
benjigary_poster: yep; for one thing, it could check for a bug I have seen, which is relation names not being correct in the bundle (it will obviously need net access to load charm details to do that, though)18:23
rick_h_stuff like that I think charmworld can do easier. I'm not sure proof should be online?18:24
rick_h_proof doesn't check everything ingest does, but it's a basic linter18:24
rick_h_curious what marcoceppi thinks on that part though. 18:25
gary_postermarcoceppi, I am making a card for us to give you some details.  how soon do you need them?  and thank you, btw. :-)18:26
rick_h_benji: isn't there an issue with setting kwarg defaults to mutable types? Is dict() considered immutable?18:31
benjirick_h_: dict() just returns an empty dict, so it is the same (mostly) as using {}, so yeah, you wouldn't want to use that as a default (unless you really do, but still you probably shouldn't because it will confuse people)18:33
rick_h_benji: ok, just noticed it in get_bundle_data and hasn't seen dict() used and wondered if it somehow got around the badness of using {}/[] for kwarg defaults18:34
benjirick_h_: the "issue" isn't so much a bug or anything like that, it's that people often don't understand default keyword arguments are evaluated when the function is read, not every time it is called, so a mutable default could be changed by the function from one call to another18:35
rick_h_benji: rgr, which from a factory method creating different versions seems like a particularly troubled spot to reply on those defaults18:35
rick_h_benji: but yea, all good. Thanks for the sanity check. I'll tweak in a drive by in this branch18:36
benjirick_h_: yeah, for the code in question it will technically work, but it is an attractive nuisance; I agree that it should be tweaked18:37
bcsallerrick_h_: looks like you have that resolved?18:41
rick_h_bcsaller: rgr, thanks18:41
bcsallergary_poster: did you still want to chat about the vis stuff?18:42
gary_posterbcsaller, yeah, thanks.  1 sec...18:42
gary_posterbcsaller, calling on https://plus.google.com/hangouts/_/58de968d2a9ae12f362336b9c9a13fb586d4c581?hl=en18:42
bcsallervery odd18:44
marcoceppigary_poster: sooner the better. By Wednesday if you want me to have time to get it in the release18:50
gary_posterok thanks marcoceppi 18:50
marcoceppirick_h_: proof probably shouuld, orange has opened a bunch of bugs about this IIRC18:50
gary_posterhey hatch, is your branch working enough for me to use as a basis for playing around with integrating Ben's visualization?  If so, could you push it somewhere and let me know the address?19:08
hatchgary_poster: I have 12 failing tests I'm just finishing up now, then it'll be ready to propose19:08
hatchso can you give me a few minutes to eval these failures then I'll get back to you19:08
gary_posterhatch, cool.  if it is working in qa then I can use it, test failures or no.  so, please push it soon-ish however that turns out19:09
hatchoh ok, yeah as long as you aren't going to base any real code off of it, just incase the tests expose changes that need to be done19:09
hatchgary_poster: lp:~hatch/juju-gui/bundle-view-url  http://localhost:8888/bundle/~benji/wiki/wiki/:flags:/charmworldv3/ to view19:11
gary_posterok thanks hatch!19:11
hatchno problemo19:13
hatchI -really- wish I knew why phantom crashes when being run in the foreground19:14
hatchit's gota be these 'get' logs19:14
benjiabentley: please let me know when you have time for a short call about the ingest process and backfilling19:33
abentleybenji: Okay.  Probably in 30.19:33
benjiabentley: thanks19:34
hatchjujugui could I get a quick review and qa on https://codereview.appspot.com/14355043 thanks19:45
bcsallerhatch: pulling it down now19:46
hatchthanks19:46
abentleybenji: I'm free now.19:58
benjiabentley: ok, one second; I left my camera outside19:58
hatchbcsaller: thanks for the review - I'm not really clear on the direction you want me to go with your comments19:59
benjiabentley: try benjiyork.com/chat20:00
bcsallerhatch: sounds like you want to make changes in later branches then and go as is?20:00
hatchbcsaller: yeah I want to try and do atomic changes and work towards the final goal - I think the reviews/qa's will be easier this way20:01
bcsallerthen I'll +1 it20:01
abentleybenji: I get a black screen that says "Initializing..." with Firefox20:01
benjiabentley: ok; I'll create a hangout then20:01
abentleybenji: Chrome works.20:02
abentleybenji: Or at least it says Connecting... and shows my face.20:02
hatchbcsaller: cool thanks20:03
hatchgary_poster: I'm going to be submitting that branch now just FYI20:03
gary_postercool hatch thanks!20:03
gary_posterI'm playing with integrating.  I'll put my face on the card.20:03
hatchMakyo: Loving OneTab :) thanks for the tip20:04
MakyoYeah!20:05
MakyoIt's not perfect, but it's a pretty good grouping solution to cut down on memory footprint from multiple windows.20:05
hatchyeah I have 54 windows in it right now haha20:05
hatchtabs*20:05
MakyoYeah.  It's also kind of neat that you can restore one, or a whole group, or publish the list.20:07
MakyoOh, so these aren't battery crashes.  23 LXCs crashing the machine.20:19
MakyoBEcause I'm not destroying machines.20:20
bcsallerouch20:20
MakyoI have everything tuned way down to try and increase battery, though, so I guess it's both.20:20
hatchlol20:21
abentleysinzui: Complete test run in lxc: http://162.213.35.27:8080/job/charmworld-autoland-lxc/lastBuild/20:25
gary_posterbcsaller, good news is that I have it working.  (we do need fakebackend, it turns out, to load bundle into db).  Not as good news is that the one good bundle we have doesn't render very well.  I suspect that the root cause is that the bundle does not have x-y annotations.  The symptoms are that I see a lot of errors trying to draw relation lines ('Invalid value for <line> attribute y2="NaN"') and I only see a single20:25
gary_poster charm (because they are all on top of one another. So...20:25
bcsallergary_poster: wp-deployer? I thought that did have annotations, we even test the positions20:26
bcsalleroh... from the store20:26
bcsalleryeah...20:26
bcsallerthere isn't really any auto layout20:26
bcsallerthe assumption being these things will be placed, but thats an area to work on for sure20:27
gary_posterso a few options/things to consider...20:27
gary_poster(1) we can ask marco to enforce that bundles have x-y coords20:27
abentleybenji, rick_h_, sinzui, jcsackett: I'm switching over to doing the landings with testing "make sysdeps".  (by using an lxc).  Sorry in advance for any bumpiness.20:27
gary_posterthat will probably be the cheapest option and a reasonable short term solution20:28
gary_poster(2) auto layout20:28
benjiabentley: so it will be a "fresh" system each time the tests are run?20:28
gary_postermaybe there are only two ;-)20:28
abentleybenji: Right.20:28
benjivery cool20:28
bcsallergary_poster: well... auto layout is a spectrum 20:28
gary_posterfair enough20:28
bcsallerwe could pack them like we do now but the layouts are un-attractive 20:29
gary_posterbcsaller, if we can do a "it doesn't fall over" story for this case it would be a win20:29
gary_posterbut bcsaller I think we ought to say that #1 is required.  WDYT?20:29
gary_posterthat way all bundles from store at least will be ok20:30
bcsaller#1 +120:30
gary_posteralthough20:30
gary_posterwe should have a nice story for loading20:30
gary_posterbcsaller, does the "drag file on GUI" import story work for deployer files again?20:30
hatchrick_h_: any chance you are about to land the token bundle click branch?20:30
bcsallerthey are supposed to capture additional human thinking about a deployment and position conveys some information 20:30
bcsallergary_poster: it works with things like test/data/wp-deployer.yaml that have a single import target20:31
bcsallergary_poster: otherwise you need the bundle target name and a UI to select it20:31
bcsallerbut if you provide that it works that way too20:31
gary_posterbcsaller, 'cause if so, then we could enforce #1, and say "to add position information, go to jujucharms.com, import, and the export".  But yeah, that's not good enough for the multiple bundle story :-/20:32
gary_posterthat is...20:32
bcsallergary_poster: but that isn't really how the store will expose them anyway, right?20:32
gary_postereven if we build the UI to choose which bundle you want...20:32
bcsallerthey index and return as singles?20:32
gary_posterbcsaller, yes, but the point of aggregation was to make it easier to develop deployer files with multiple bundles--that is, to support the inheritance story in order to encourage better maintainability of similar bundles20:33
gary_posterif you inherit20:34
gary_posterthen the import/export story is broken20:34
gary_posterunless we allow you to import, choose bundles one at a time and position, and then export together20:34
bcsallerour fake importer should support it, but yeah, still no ux20:34
gary_posterwell, no20:35
bcsallerand for export, it only does a single 20:35
gary_posterbcsaller, I'm not expressing myself well.  I blame my sleep condition. :-) Can we try a hangout very quickly?20:35
bcsallersure20:35
hatch:/ I would really like to figure out what's up with the CI20:40
=== _mup__ is now known as _mup_
gary_posterhey benji you around?21:02
gary_posterbcsaller, Makyo, hatch I am not going to make it to tonight's Australian call.  I will update calendar.  Sorry about that.21:03
MakyoAlright.21:03
MakyoFeel better!21:03
gary_posterThank you Makyo 21:03
benjigary_poster: yep21:04
gary_posterbenji, yay.  Could you do the following quickly?  (1) go to jujucharms.com (or comingsoon) (2) drag the file of your official bundle into comingsoon21:05
gary_poster(3) position the services21:05
gary_poster(4) export it again21:05
gary_poster(5) push to your branch21:05
gary_posterthe idea is that then you will have position information for your services21:06
gary_posterwhich will make rendering the bundle much better21:06
gary_poster*and...*21:06
gary_posterjujugui, esp people working on bundle bits, you might be interested in my comment #3 of https://bugs.launchpad.net/charm-tools/+bug/122283321:06
_mup_Bug #1222833: charm tools should proof bundles as well <Juju Charm Tools:New> <https://launchpad.net/bugs/1222833>21:06
benjigary_poster: well, the flag doesn't seem to "take" on jujucharms.com, but I can do it locally (I wonder if that is a bug, maybe something to do with the rewrites)21:07
gary_posterbenji, you mean annotations don't carry over21:07
gary_posterif so, another thing we have to fix21:08
benjigary_poster: nope, I mean that my bundle doesn't show up in the search, presumably because the flag is being ignored21:09
benjigary_poster: but, indeed, the annotations are not included in the export I just did21:09
gary_posterbenji, pastebin it for me pls?21:09
benjigary_poster: http://paste.ubuntu.com/6189871/21:09
gary_posterbcsaller, ^^^21:10
benji(the raw export has some other issues too, but I assume those are known)21:11
gary_posterbenji, only issue I saw was js undefined.  others?21:11
benjigary_poster: yep, that's the one I was referring to21:11
* bcsaller checks, I thought we had tests around that and that file came from an export21:11
bcsallerhmm, I'll look into this, I don't see the annotations either21:13
bcsallerand I suspect why21:13
rick_h_hatch: no, the one branch landed and I'm workingin charmworld for a bit21:13
rick_h_benji: do you nkow how to get access to the jenkins results? Looks like I've got failing CI tests?21:13
rick_h_benji: https://code.launchpad.net/~rharding/charmworld/bundle-metadata/+merge/188905/comments/43329921:13
hatchrick_h_: ok do you have anything I can use? Or can I just implement it?21:14
rick_h_abentley: oh ok, so maybe my failures are results of changes going on then?21:14
rick_h_hatch: kind of. Where are you headed atm?21:14
benjirick_h_: I have done it but don't remember much about it.  The main thing is to set up a VPN into its private world, then those 10.xxx.xxx.xxx URLs will actually go somewhere21:15
benjithe VPN setup is documented.... on the wiki?21:15
hatchrick_h_: well if it's not that then I'll continue on with the bundle view stuff21:15
rick_h_ugh, ok. I'll look for that then. vpn to the QA lab bits?21:15
abentleyrick_h_: Yes.  I've given up for the day and switch back to not testing "make sysdeps".  Just making sure your branch lands.21:15
hatchbut would like to keep this moving forward and not clash with bcsaller stuff21:15
rick_h_abentley: ok, looks like it failed a few times but no helpful info in the note.21:16
rick_h_hatch: call?21:16
hatchsure21:16
* Makyo -> dogwalk21:16
abentleyrick_h_: Sure there was info.  One of them points out that you didn't enter a commit message.  The rest link to the actual failed builds so that you can see exactly what happened.21:16
rick_h_abentley: right, thanks for the commit message. 21:17
rick_h_abentley: I mean the failures give the link but I've got to get the QA vpn notes to get that info. I'll work on that. Thanks21:17
gary_posterbcsaller, when I drag a file with the contents from http://pastebin.ubuntu.com/6189887/ onto the GUI sandbox, I get "Deployer Import Unsupported21:17
gary_posterYour environment is too old to support deployer file imports directly. Please consider upgrading to use this feature."21:17
abentleyrick_h_: No you don't.  It's a public IP on canonistack.21:17
gary_posteram I doing something wrong?21:17
rick_h_abentley: oh, it must have shut down. It's merged now21:18
abentleyrick_h_: Oh, wierd.  Sometimes it's using the public ip, sometimes the private.21:18
rick_h_I swear I was just looking at it21:18
abentleyrick_h_: Anyhow, congrats on landing revno 40421:18
rick_h_abentley: woot21:18
abentleyrick_h_: The public site is http://162.213.35.27:8080/21:19
abentleyrick_h_: I'll have to see what IPs it's dropping in the merge proposals later.21:20
bcsallerok, so QA issue one,  manually doing a wp/mysql pair and moving them and then in the console, app.db.services.get('annotations') gives me two empty objects so that appears broken21:20
bcsallerI'm looking at the import issue now21:20
rick_h_abentley: ok cool thanks. Glad tests passed, I got nervous with failed CI runs21:20
gary_posterbcsaller, could you make "urgent" cards for what you find and tackle 'em?21:21
bcsallergary_poster: that file imported for me with trunk21:21
gary_posterbcsaller, you just drag the file on, right?21:21
bcsallergary_poster: are you using api3 flag? I wasn't21:21
gary_posterbcsaller, did you try comingsoon?  I was trying that, and normal jujucharms, without api3 flag21:21
gary_posterwill try trunk21:22
bcsallergary_poster: yes, dnd, import with successful notification21:22
gary_posterk21:22
gary_posterbcsaller, confirmed.  it works on trunk locally, but not on comingsoon or jujucharms for me21:23
bcsallerneither the gui db or the fakebackend have position annotations on the service models, something is wrong there, the export code should still pick them up at a glance though21:24
bcsallerwonder how we introduced a bug here w/o seeing it in the tests :(21:24
bcsallerI will add a card and start on it though21:24
gary_posterthanks21:31
gary_posterg'night all21:31
gary_posterhey hatch21:35
hatchahoy!21:36
gary_postercould you ask huw to look at the styling of the bundle detail pages we have now21:36
gary_posterand change/style your page accordingly?  also21:36
hatchsure thing21:36
gary_posterI'm heading out21:36
gary_posterbut21:36
hatchyeah no problem21:36
gary_posterthanks!21:36
hatchget better!21:37
gary_posterif you want to play with the bundle vis yourself, and take over, here's what I did21:37
gary_posterlp:~gary/juju-gui/bundle-detail-view-221:37
gary_posterit works nominally21:37
gary_posterbut we need position annotations for the canonical example we have to not look horrible (with broken relations and charms on top of one another)21:37
hatchcool will look21:38
gary_posterI don't know what to do with it.  if you have any ideas, hatch, go for it.  test? land?  I dunno. :-)21:38
gary_posterthanks!21:38
gary_posterttyl21:38
hatchcya!21:38
=== matsubara is now known as matsubara-afk
hatchmorning huwshimi22:28
huwshimiMorning22:28
hatchso gary isn't feeling well so he cancled our meeting, but would like you to change/style the bundle detail pages which can now be accessed in the application22:29
huwshimihatch: Sure I can take a look at that.22:30
huwshimihatch: Is it in trunk but not on comingsoon?22:31
hatchok so on a fresh trunk you will need to use the url to access them directly so that is.... http://localhost:8888/bundle/~benji/wiki/wiki/:flags:/charmworldv3/22:31
hatchand you'll need to change to the staging charmworld in your config-debug.js file22:32
hatchas per benji's email "Working bundle for developing visuals"22:32
huwshimiAh I see22:32
hatchI'll be around so if you have any trouble getting that going I can help22:35
huwshimihatch: Do you know if the tabs are supposed to work yet?22:38
huwshimiThe only thing wired up appears to be the name...22:38
hatchright that's all that is wired up so far22:39
hatchI'll get you the link to the mockups22:39
huwshimihatch: Oh, well not really anything I can do then yet :)22:39
hatchhttps://drive.google.com/a/canonical.com/#folders/0B7XG_QBXNwY1d3VVX0FFVEJ3S2s22:40
hatchwell you could hook the stuff up :)22:40
hatchit's all changes in the markup22:40
hatchthe data is being passed to the template22:40
hatchyou can see it in subapps/browser/views/bundle.js22:40

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