/srv/irclogs.ubuntu.com/2013/08/02/#juju-gui.txt

huwshimigary_poster: Are you around?00:37
gary_posterhuwshimi, unfortunately :-P00:37
gary_posternot for your sake, for the sake of staring at my branch :-)00:37
huwshimi:)00:38
gary_posterhey hatch, if you are around could you give https://codereview.appspot.com/12306043 a once over?  I'm going to ask Francesco to review, land, qa and release the gui his tomorrow morning.  then I'll ask benji and curtis to coordinate testing the charm upgrade and the GUI upgrade.01:17
gary_posteremail sent01:42
gary_posterI'm outta here.  Bye all.  I'll check email occasionally01:43
=== gary_poster is now known as gary_poster|away
hatchgary_poster|away: sorry I was out - I'll give it a review now. cya!05:31
rick_hfrankban: seen the emails. If there's anything I can help with please let me know. 10:57
frankbanrick_h: thank you. I just landed a branch that should fix the service menu bug. I am going to QA now for the release, more QA eyes can help10:59
rick_hfrankban: rgr, will pull it down. 10:59
frankbanrick_h: everything seems to work here, except for a bug also present in the current release: destroying a service from the service detail view does not work11:20
rick_hfrankban: hmm, works here. That's the popup menu when you click on a service?11:21
rick_hfrankban: ah, I see, when you click on it in details. My bad11:22
frankbanrick_h: no, double click a service, and then click the destroy button, yes11:22
rick_hyea, the "are you sure" dialog pops up and the immediately closes11:22
frankbanrick_h: exactly, I don't think this is a release blocker11:23
rick_hok, I'll file a bug for the moment on that then. Looking into the reason right now11:24
frankbanrick_h: cool, please ping me if you think there is a really quick solution for the problem11:24
rick_hfrankban: yea, it's showing as -hidden so something in the code is running a .hide(). I'm not familiar with the detail view. Will go with a bug for now if it's not a blocker. 11:25
frankbanrick_h: I assume it's not a blocker b/c it's not a new bug11:25
rick_hah, interesting. I'd agree then. And there's a workaround to destroy from the service icon11:26
rick_hfrankban: one line fix11:33
frankbanrick_h: great!11:34
rick_hfrankban: http://paste.mitechie.com/show/986/11:34
rick_hfrankban: can you apply please? My trunk is a little messed up due to an accidental commit to trunk and I need to clean it up11:34
frankbanrick_h: sure, thank you11:35
frankbanrick_h: charmbrowser QA seems great to me, could you please confirm?11:38
rick_hfrankban: yes, I've not been able to break it. +1 11:39
frankbanrick_h: do you have time to write a quick changelog for this release, so that I can put that in the changes.yaml file? if not, no worries.11:40
rick_hfrankban: sec. /me looks 11:41
rick_hfrankban: should just be able to go through the releasable cards right?11:41
frankbanrick_h: yes, or here: http://bazaar.launchpad.net/~juju-gui/juju-gui/trunk/changes11:42
rick_hfrankban: k, working on it11:42
frankbanrick_h: thanks11:42
rick_hfrankban: http://paste.mitechie.com/show/987/ I think works going at it a little quickly. Rest of the cards are charmworld or not really 'changelog' items11:45
frankbanrick_h: nice, thanks!11:47
benjifrankban: how goes the release?11:57
frankbanbenji: QA is done. Now starting the release process. I am also running the CI tests, just in case.11:58
benjicool11:58
bacbenji: are you going to work on the iom demo today?  i've created cards and reference the google doc.12:16
benjibac: I have some availability, but my main priority is upgrading the charm.  I should have some time but I don't know for how long.12:17
benjiI'll help any way I can.12:17
bacbenji: ok, i didn't know how far you'd gotten on the charm12:18
benjiit is ready to go; I'm waiting on the release now12:18
benjiwell, my changes are ready to merge, that's what I'm doing now12:19
* bac loves the yaml. deployer example config had one line missing an indentation space and it went nuts.12:37
benjiyeah, significant whitespace will never catch on12:39
bachey, that's different!  :)12:39
bacbenji: and the py interpreter gives a better error message than 'expected key missing'12:40
benjithere is that; I guess every good idea can be done badly12:40
frankbanguihelp: CI tests fail during the charm installation :-/ (make distfile): http://pastebin.ubuntu.com/5939960/12:55
frankbanguihelp: I assume there is an error in deploying the charm using a branch as juju-gui-source? Should we consider this a release blocker?13:04
teknicofrankban: uhm, no idea13:05
benjifrankban: I am not aware of that bug (but I haven't tried it recently either)13:06
adeuringabentley: could you have a look at this mp? https://code.launchpad.net/~adeuring/charmworld/1206158-dl-count-by-week-half-year/+merge/17826513:11
abentleyadeuring: sure.13:11
abentleyadeuring: r=me.13:15
frankbanbenji: I am trying to dupe using juju-core. I'll also check if this is a regression introduced after the last stable release. If so, I don't think we should go on, otherwise, I'll proceed with the release. Sounds good?13:16
rick_hfrankban: hmm, I just did a fresh checkout/build and didn't hit that. 13:16
frankbanrick_h: yeah. Build works locally here too. What nodejs version are you using?13:16
rick_hfrankban: 0.10.813:16
benjifrankban: sounds good; note that I merged my changes to juju-gui-charmers trunk within the last hour so it is possible that I caused any problems with those changes (but I don't see how)13:17
rick_hbenji: gary_poster's branch yesterday updated a npm file with a bunch of 'mechanical' looking changes13:17
rick_hI wonder if anything in there wasn't good13:17
adeuringabentley: thanks13:17
frankbanbenji: CI uses cs:~juju-gui/precise/juju-gui . That's a different charm, right?13:18
abentleybac, benji: Can we do a hangout on bundles?13:19
benjifrankban: I don't know exactly how it works, but my understanding is that the juju-gui-charmers trunk is the source for the official gui charm.  My understanding is that within 15-20 minutes of landing to trunk the new charm should be in force13:19
rick_hfrankban: looking at https://codereview.appspot.com/12306043/patch/1/1004 some of the grunt items were version updated? contextify was updated from 0.1.5 to 0.1.613:20
bacabentley: sure13:20
benjiabentley: I'm consumed with release things at the moment13:20
frankbanrick_h: I have v0.10.5 locally. The charm (precise) installs v0.8.23. Perhaps this is relevant?13:20
rick_hfrankban: ouch!13:20
rick_hfrankban: yea, that's not good if it's that far behind. 13:20
frankbanyeah, I guessed so :-/13:20
rick_hdoesn't hacking still require going through a nodejs ppa?13:21
rick_hI would have expected the charm to also pull the  sudo add-apt-repository ppa:chris-lea/node.js ppa13:21
rick_h?13:21
rick_has it's what we dev against13:22
rick_hsinzui: around? did IS change/frown on this?13:22
sinzuirick_h, that wont work13:23
abentleyrick_h: IS generally want to use only things in the main archive or the precise-cat archive (or whatever series is appropriate).13:23
rick_hfrankban: I'm going to guess we've got bigger issues then. I'm not sure how we released before tbh with a 0.8 nodejs13:24
sinzuirick_h, frankban. I think all packages need to be installed in "cat" which is mad available via the exec.d hack13:24
frankbanrick_h: this can be a very old regression13:24
sinzuiwe need an rt to place a package in cat.13:24
sinzuiPS there is 1 webops today. He has 2.5h before EOD. I hope to monopolise him to move charmworld's mongodb13:25
frankbanrick_h: I believe the charm takes npm from https://launchpad.net/~juju-gui-charmers/+archive/stable13:26
rick_hugh, friday release fail13:26
frankbans/npm/nodejs/13:27
rick_hfrankban: oh hmm, and that's an old release from that ppa it appears. 13:27
rick_hfrankban: so yea, I've no idea how this works I guess :/ We're running 2 large versions ahead in dev, just updated the revisions of some deps, and things went boom on production. 13:27
sinzuifrankban, rick_h, webops make fat charms. they don't deploy the ones we give them. The can update their scripts to pull a branch of need dep, then add it to the charm.13:27
rick_hsinzui: well at this point I'm confused. If we've been running an old version for a known reason for a while then I don't want to suggest updating it13:28
rick_hI'm guessing we're on 0.8 for a reason then? However, it seems devs are all on 0.10 13:28
hatchyes13:28
rick_hI know hatch has tinkered with nodejs versions so we'll bug him13:28
rick_h...starting now13:28
hatchlol13:29
frankbansinzui, rick_h: I also believe webops deploy from releases. This bug only affects deployment using branches (e.g. juju-gui-source=lp:..). node/npm are only required to create releases from branches.13:29
sinzuifrankban, correct13:29
rick_hfrankban: ah, that's what you mean by 'old regression' then? Maybe deployment from branches has had issues for a while but only now seeing?13:29
hatchreading backlog13:30
antdillonrick_h, My branch is lp:~ya-bo-ng/juju-gui/typography-charm-details13:30
frankbanrick_h: exactly, especially considering the functional test in the charm uses a fake branch13:30
hatchfrankban: is g++ installed?13:30
sinzuirick_h, the webops script retrieves the tarball from lp and places it in the charm,13:30
rick_hfrankban: k, then I guess it sounds like it's a non-blocker if we can get a release build?13:30
rick_hantdillon: thanks, I'll create a card on the board for it and try to get some eyeballs on it after we get teh release issues worked through . 13:31
frankbanrick_h: yes, that's what I am checking with juju-core. Even like that, I am nervous making a release without being able to run the CI tests (and they are broken in canonistack for quite a while)13:32
antdillonrick_h, Awesome thank you!13:32
rick_hfrankban: yes, agreed there13:32
frankbanrick_h: g++? is that a new requirement for the charm?13:32
frankbansorry, hatch ^^^13:32
hatchfrankban: yes13:32
hatchI'm not sure why though13:33
hatchI just know that gary had an issue attempting to deploy when it wasn't installed13:33
frankbanhttp://nooooooooooooooo.com/13:33
rick_hlol13:33
rick_hnpm dep requiring c-speedups? w..t..f 13:34
frankbanthere is no mention of g++ in the charm sources, nor in our ppa (https://launchpad.net/~juju-gui-charmers/+archive/stable)13:34
hatchcan't we just add apt-get install g++ ?13:35
hatchto see if that fixes it?13:35
frankbanI suppose we can13:36
* rick_h runs and gets more coffee...13:36
rick_hI can't look13:36
hatchhmm I think this shrinkwrap is busted13:38
hatchit's changed a ton of versions13:38
hatchon trunk I can no longer run make13:42
hatchmake: *** No rule to make target `app/assets/javascripts/d3.v2.js', needed by `build-shared/juju-ui/assets/modules.js'.  Stop.13:42
hatchd3.v2 was removed....13:43
bachatch: make clean13:45
frankbanhatch: we switched to d3 v313:45
hatchyeah... I did a fresh checkout13:45
hatchhoping that fixes it13:45
hatchyeah must have had something hanging around13:45
hatchfrankban: is it attempting to build now with g++?13:46
* benji reboots13:47
bacsinzui: staging.jujucharms.com is broken when trying to view a specific charm13:48
bacsinzui: can i get login access to staging?13:48
frankbanhatch: right now I am trying to understand what revision introduced this regression. rick_h: this is not an old bug, juju set -e go juju-gui juju-gui-source=lp:juju-gui:897 worked well13:48
sinzuibac, sure. It is just a special nova file to source13:49
rick_hfrankban: I'd assume it was gary's branch that changed the shinkwrap.json?13:49
bacsinzui: i noticed staging was dead after i pushed my bundle branch.  sadly i didn't check it before so i don't know if that is the culprit13:49
sinzuibac.  mongo is angry13:50
sinzuiOperationFailure: !loc.isNull()13:50
frankbanrick_h: I am testing revision 917. then I will go with 918, which is Gary's branches I merged this morning. 13:50
adeuringabentley: seems that the mongodb on staging is badly broken. Try to access any charm deital page...13:50
adeuring  File "/home/webops_deploy/charmworld/local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 789, in __check_response_to_last_error13:50
adeuring    raise OperationFailure(details["err"])13:50
adeuringOperationFailure: !loc.isNull()13:50
rick_hfrankban: rgr13:50
frankban"Friday, never hesitate..."13:51
abentleyadeuring: looking.13:51
rick_hfrankban: I thought it was "Friday, never again"?13:52
rick_hoh well13:52
abentleysinzui: adeuring says staging mongodb is badly broken.  I am investigating.13:52
sinzuiabentley, well that is bad, because I switched it last night13:53
abentleysinzui: Right.13:53
sinzuiand production switched 10 minutes ago13:53
abentleysinzui: it has a relation error.13:53
frankbanrick_h: 917 fails with the same error. That's not Gary's branch13:53
* sinzui not see that13:53
sinzuiah, yes I do see that13:54
* rick_h goes to look at 91713:54
* rick_h looks at hatch 13:54
bacabentley: not sure if you saw my message, but this seems to have happened after i pushed a bundle branch to launchpad.13:54
bacabentley: trying to ingest locally i get http://paste.ubuntu.com/5940134/13:55
teknicoha-ha, hatch broke the world ;-)13:55
rick_hfrankban: ok, so something between 897 and 917?13:55
frankbanrick_h: yes, trying to re-run the config-changed hook after installing g++13:55
abentleybac: Weren't we going to test locally before pushing?13:55
rick_hfrankban: can you try 915? I wonder if the scss stuff which broke some things is still there13:55
teknico(sorry hatch, just teasing you :-) )13:56
rick_hfrankban: I wonder if there's more deps than just the scss package still in the npm file that won't work. 13:56
adeuringsinzui: well, managae.jujucharms.com does not seem to be affected: http://manage.jujucharms.com/charms/precise/apache2 works,m while http://staging.jujucharms.com/charms/precise/apache2 fails13:56
bacabentley: we talked about testing the deployer file against the deployer locally, which i did, but not about ingesting a local file.  once it was pushed on LP staging found it.13:56
sinzuiadeuring, agreed. the staging errors do not appear until 5 hours ago. We have seen this happen 3 weeks ago13:57
* sinzui off to present13:57
abentleybac: I thought getting a working deployer file was my responsibility.13:57
bacabentley: if the staging errors happened 5 hours ago then it isn't related13:57
hatchfrankban: let me know if adding g++ fixes13:58
abentleysinzui: I believe the error is due to a stale charm-- it's running scripts/worker, which was supplanted by ingest-queued.13:58
bacabentley: afaik, we never assigned tasks until this morning when i made kanban cards.  i sent a message here about it.13:58
sinzuiabentley, oh dear.13:58
sinzuiorangesquad: per https://docs.google.com/a/canonical.com/document/d/1AoMhTdrominYLBS8iHbZLW_Ji2OH3mNhUzoHjetnD9w/edit , you can see I ran /srv/deploymgr/charmworld restart13:59
sinzui^ I left a copy of all the commands run14:00
frankbanhatch: sure. rick_h: I'll try 915 later. Anyway, the real bug here is that our devenvs and our production env are really different14:01
rick_hfrankban: +1, I'll add a discuss card I guess. 14:01
hatchrick_h: the reason for the shrinkwrap updates is because those modules specify loose deps so when shrinkwrap was re-run it updated those loose versioned deps14:01
frankbanrick_h: yes, please, thanks14:01
rick_hhatch: yea, gotcha. just trying to find something that 'changed' recenly and that's hitting close to home14:02
rick_honly other recent npm change I can think of is the scss work14:02
hatchwell node-gyp requires gcc and g++ on OSX so I'm going to assume that it's also missing on 12.0414:03
hatchand for some reason it's exposed itself now...14:03
rick_hso what needs node-gyp14:04
rick_hyea, node-gyp is a native build tool, so something wants to build a native package compiling on the target. Why do we need that now all of a sudden?14:04
hatchone theory is that it included a bin in contextify@0.1.5 but removed in 0.1.614:05
hatchbut that's all I got14:05
hatch:)14:05
abentleybac: I have concerns that we may not be adequately filtering out bundles for API 2 that I wanted to discuss before pushing a bundle.14:05
bacabentley: shall i delete the branch?14:06
hatchrick_h: also the reason we are using node sass and not pysass is because the node stuff is automatically hooked up to our watch system14:06
hatchwhere the python stuff isn't14:06
abentleybac: if it's older than 15 minutes, it doesn't matter.14:06
bacabentley: let's talk when you get a chance14:07
rick_hgrrr, I can't find anything that 'deps' on node-gyp. Just that it's installed globally and deps on npm14:09
abentleybac: sure.14:09
rick_hhatch: ok, yuea. It's in the contextify build14:10
hatchcool I was right14:11
hatchlol14:11
hatchmy hypothesis has now been confirmed14:11
frankbanbenji, hatch, rick_h : installing g++ seems to fix the problem, I'll add the dependency in the charmers charm, then I'll merge the charmers charm into our juju-gui charm, and then I'll try CI again...14:11
* hatch waits for his interviews14:11
hatchfrankban: sorry about my timezone, I could have told you that sooner ;)14:11
benjifrankban: I'm glad you figured it out.  Do be careful with the merge.  It is my understanding that the charmers charm is old an disused.14:12
abentleysinzui: The charm is not stale; the "scripts/ingest" script is broken.14:12
abentleysinzui: Other methods of ingesting should work.14:12
frankbanhatch: we encountered this problem right before you arrived. We spent the Friday morning fixing other things, so do not excuse yourself for being in Canada14:13
hatchlol14:13
rick_hhatch: ok, so that's the d3 update14:13
rick_hhatch: d3 requires jsom which requires contextify14:13
rick_hfrankban: so it all comes down to our d3 upgrade which was recent and probably broke it14:14
frankbanrick_h: yes, it seems so, double checking with CI14:15
hatchthis is my biggest gripe with node/npm14:15
rick_hhatch: so that would explain why gary ran into the issue14:15
hatchpackages are like the wild friggen west14:15
hatchwhere we're going - we don't NEEED stability14:15
rick_hhatch: well, you'd expect that to be in giant letters in a changelog or something for going from 2-3. That's a big req change14:16
hatchthat's what I mean14:16
hatchauthors update deps with no testing14:16
hatchthen claim it works with every version of node by using the >14:16
hatchnpm is awesome - but I think it needs less features to restrict people to do the right thing14:17
hatchsooooo many packages broke when 0.10 came out simply because they said they worked in >=0.8.x14:17
rick_heveryone fights it though. Even python/pypi just recently stopped serving beta/alpha packages out as the most recent package by default. 14:18
rick_hhah, yea when you know that anything > 0.8 would be an api break. It's the point of using big version numbers14:18
hatchright14:19
hatchso many people in the community release things using 0.x forever14:20
hatchthings never hit 1.0 release14:20
hatchI think it's so they don't have to provide a stable product lol14:20
rick_hmeh, just ignore the 0. 0.7 to 0.8 to 0.10 == breaks14:21
frankbanbenji: charms updated (fix added to charmers, and then merged charmers into juju-gui)14:21
hatchawesome14:21
hatchrick_h: rumor has it 0.12 will be 1.0 so we can hope :)14:21
rick_hhatch: fine, then 1.0 to 1.1 will break :P14:22
benjifrankban: great! let me know when the GUI release is done14:22
frankbanbenji: I'll let you know IF the release will be done14:22
hatchrick_h: nope it's a 1.0 release, no api breaking changes allowed!14:22
hatchfrankban: lol14:22
hatchbe optomistic :)14:23
benjiheh, I guess that will work too 14:23
hatchoptimistic even14:23
hatchI really need to get an irc client with spell check14:23
rick_hjujugui looking for a second person to help review/qa antdillon's changes https://codereview.appspot.com/1234304414:24
benjirick_h: I'll take a look14:25
rick_hthanks benji 14:25
antdillonbenji, rick_h Thank you14:25
abentleysinzui: Could you please review https://code.launchpad.net/~abentley/charmworld/ingest-uses-ingest-queued/+merge/178310 ?14:25
hatchwhat's going on with the typography.less file?14:26
hatchthe type class name has no relation to the contents within it14:26
benjirick_h, antdillon: I don't see a diff, only "error: old chunk mismatch"14:26
abentleybac: Let's chat.14:26
rick_hbenji: hmm, working for me :/14:26
antdillonbenji, Working for me14:26
benjihmm14:27
sinzuiabentley, r=me14:27
antdillonbenji, This not working? https://codereview.appspot.com/12343044/patch/1/100514:27
benjirick_h, antdillon: apparently only the side-by-side diffs are broken; the stright-up diffs are fine; I'll look at those14:28
rick_hbenji: ah, reitveld fail14:29
benjiapparently14:29
hatchrick_h: frankban on my tasklist is to attempt to update our packages and node to be up to date next week (re your card in discuss)14:30
rick_hhatch: yea, but the larger issue is more the diff in dev vs production14:30
rick_hwe should have hit this issue when d3 was upgraded, not a week later during a deploy attempt14:30
hatchoh well prod will then need to be updated as it'll fall over hard :)14:31
rick_hhatch: and it sounds like this g++ issue was hit, but not brought up. 14:31
frankbanhatch: cool, thanks14:32
hatchsomehow I ended up working on two branches at once14:33
bacabentley: ok, can you set up a hangout?  i need to move rooms.14:34
abentleybac: https://plus.google.com/hangouts/_/b3e9170262ba4b41f761dee440dcbb9ac111cf3d?hl=en-GB14:36
rick_hantdillon: landing your branch. It won't be in the release today, but will be on comingsoon later today. 14:48
frankbanguihelp: http://pastebin.ubuntu.com/5940316/ I presume this only means that the unit tests in ie are particularly slow... Please confirm my impression14:51
frankbanrick_h: please don't land GUI branches14:52
rick_hfrankban: :/ sorry. Figured it was -r locked. It just completed14:53
frankbanrick_h: no worries. Does antdillon change need to be QA'd?14:53
rick_hfrankban: as to the test run, yea it says they passed, there's the skipped. Not sure why it said it can't complete. 14:53
antdillonrick_h, Cool thanks14:53
rick_hfrankban: no, it was qa'd as part of review. Small css font changes to the browser14:54
frankbanrick_h, antdillon: so it will be included in the release. guihelp: please don't land GUI branches14:54
hatchfrankban: yes we have a number of unit tests which are skipped - they shouldn't be causing it to be incomplete though14:55
abentleybac: The URL structure is http://manage.jujucharms.com/api/3/bundle/~sinzui/mysql-5/tiny as described here: https://docs.google.com/a/canonical.com/document/d/1H1PH0q9Mr8pSvTmRnEgptrlC-OQZK7i-Le-1SzpJG5Y/edit14:55
frankbanhatch: that can be a problem in CI tests, but it does not block the release. unit tests passed in firefox14:56
hatchok great14:56
hatchI have huw's branch to land so let me know when it's ok :)14:57
abentleysinzui: r325 and later should not be deployed to production.14:58
sinzuiabentley, understood. Since webops are off in 1h and I am away next week. I think we have little opportunity to shoot ourselves in the foot14:59
abentleysinzui: Tarmac is no longer setting the revno of charmworld after landing.  The value is currently -1.  Suspect it's related to the lcy02 changes.  diogo isn't around.15:03
benjicall today?  Maybe it is at 11 since we'll not be doing a retrospective since Gary is out.15:03
hatchbenji: I was thinking at 1015:03
hatchin 1h15:03
hatchjust the standup15:03
hatchthe retro was yesterday15:04
hatch:)15:04
benjicool, 11 it is ;P15:04
hatchhaha15:04
sinzuidamn it abentley. I swear that lazy service goes on holiday every time Diogo takes off work15:04
sinzuiabentley, surely tarmac  needs it ssh config changed15:05
abentleysinzui: Yes, I expect that's the problem.15:05
hatchrick_h: do you use vim in multiple terminal panels (using tmux or the like) or use some vim pane manager?15:09
rick_hhatch: I use a tiling window manager + vim15:10
rick_htmux and such is just gravy and kept seperate15:10
rick_hhatch: vim comes with 'pane managers' called splits. http://lococast.net/archives/11115:10
rick_hand buffers really15:10
jcastrowe do charm schools with both vim and tmux splits15:11
hatchright now I work in tmux splits but each window is it's own terminal so I always forget to add my ssh key or osmething to one15:12
hatchwhich just irritates me heh15:12
hatchso that's why I was wondering :)15:12
rick_hhatch: use an ssh-agent15:12
rick_hhatch: then you init your ssh key on boot and never worry about it again15:12
hatchthere is some wakoness to osx > ubuntu sshing15:12
hatchI have to run `exec ssh-agent bash` every time15:13
hatchhttp://fromanegg.com/post/45733384142/nfs-between-ubuntu-vm-and-osx-host15:13
rick_hhttps://help.github.com/articles/working-with-ssh-key-passphrases says that on OSX they can be saved in the keychain15:13
hatchit's not the passphrase15:14
hatchit's that the env variables for ssh-agent don't exist15:14
hatchI haven't spent the time to track that down15:14
hatchbut I'd need to run some auto commands from tmux to fix15:14
hatchor something15:14
benjibac: I've done everything I can do and am in a holding pattern at the moment; is there anything I can do for you?15:14
hatchjujugui lf one review of https://codereview.appspot.com/12320044/ re-propose of huws branch with minor change15:15
benjihatch: on it15:15
bacbenji: quick chat?15:15
hatchthanks benji15:15
benjibac: sure15:15
benjiguichat?15:15
hatchfrankban: can I merge into trunk yet?15:21
frankbanhatch: no15:21
hatchccccmmmmoooooooonnnnnnn15:21
hatch;)15:22
frankbanguihelp, please do not land GUI branches, I'll ping you later15:22
hatchfrankban: is there anything I can help with?15:23
frankbanhatch: not at the moment, thanks15:24
hatchalright well let me know if you run into something that needs another set of hands15:25
frankbanguihelp: juju-gui 0.8.2 released \o/ Please feel free to restart landing branches. I'll live test it with juju-core.15:33
hatchyay15:34
hatchthanks a lot frankban you rock!15:34
frankbanbenji: release work done15:34
hatchjujugui - submitting branch15:34
rick_hfrankban: yay! thanks for bearing through all that 15:34
rick_hsinzui: so is there a chance of a jujucharms deploy or it sounds like nadda IS help available?15:35
frankbanthank you for the help15:35
benjifrankban: great!  I'll proceed with my work now.15:35
sinzuirick_h, slim chance. .5 hours left15:35
rick_hbenji: ^15:36
rick_hin case that effects your work on the next step15:36
benjisinzui: .5 hours left until what?15:36
sinzuiNo webops15:36
benjiarg!15:37
benjiI'll see what I can do quickly15:37
benji(without making things worse)15:37
benjifrankban: what is the release's version number?15:37
rick_hI did 0.8.2 in the changelog 15:37
hatchawesome, I was hoping it wasn't 0.9.0 :)15:38
frankbanbenji: 0.8.215:38
benjithat doesn't sound right, but we can argue about that when we have more time ;)15:38
benjithanks15:38
rick_hhatch: inspector should be 0.9 imo :)15:38
hatchyeah!15:40
frankbanreliable CI should be 0.9 imho ;-)15:40
hatchlol!!15:40
hatchrick_h: I was also thinking a double bump to 0.10 ;)15:40
hatchhaha15:40
rick_hfrankban: hah! what is that?15:40
frankbanheh15:40
benjisinzui: we are go for upgrade15:41
sinzuibenji, 0.8.2?15:42
benjisinzui: yep15:42
hatchjujugui branch landed - anyone else is free to submit15:42
hatchjujugui guichat in 1015:51
hatchkanban it up!15:51
bcsallerthe anticipation grows15:51
hatchjust wait15:51
hatchit'll be huge!15:51
hatchjujugui guichat in 215:58
sinzuijujugui 0.8.2 is deployed16:09
benjiyay!16:09
rick_hsinzui: rock on!16:09
rick_hbenji: http://hg.python.org/peps/rev/82e24ac4025516:13
* benji looks16:13
hatchrick_h: you can probably hold off on reviewing bcsaller's branch16:13
rick_hhatch: ok16:13
hatchthere is a QA failure16:13
bcsallerha, great :(16:13
rick_hhatch: ok, will ignore then. bcsaller ping when you're ready16:13
* rick_h is just happy he finds the qa stuff in other people's branches too :P16:14
hatchhaha16:14
hatchbcsaller: review and qa done - I'm guessing there is a merge issue from trunk or something16:16
bcsallerhatch: I can merge trunk and test it local 16:16
hatchbcsaller: were you able to reproduce?16:26
bcsallerhatch: no, I have settings, thats working fine. The new branch throws the styles off though so the placement of the indicators is wrong now, cleaning that up16:26
hatchhmm16:27
bcsallerhatch: I did have to take trunks version of viewlet-manager.handlebars in the merge though16:27
bcsallerdoes bzr status show a conflict for you?16:27
hatchcleaned it out and trying again16:28
benjirick_h: I'm still not happy with docstrings being 72 characters, but those changes dull most of the pain :)16:32
rick_hbenji: yea, I've not done that one myself. I don't think the pep8 tool complains16:33
rick_hbenji: but yea, I like that it's less of "pep8 encourages longer lines" and more "pep8 lets you be stupid if you want to be, but don't expect us to use it that way"16:33
hatchbcsaller: ok it all qa's fine now....sorry I must have broken something somehow16:34
hatchalthough the styling on the settings panel is a little broken for some reason16:34
bcsallerhatch: yeah, thats what I'm fixing now, thats a merge conflict16:34
benjiit really makes no sense to me, especially for the first line of a docstring which often has to be carefully constructed to convey what a funciton/method/class is about and still be less than 80 chars, now having to be even shorter will be highly irritating16:34
benjiplus, line wrapping tools have to be smarter because different chunks of the files have different rules16:35
rick_hbenji: yea16:35
frankbanhatch, rick_h: latest jenkins failures seem different: now the tests are started, and there is the ie failure in unittests (added a card). so, it seems the charm fix (g++) has been relevant for CI.16:36
rick_hfrankban: looking, I honestly hit delete assuming it was more of the same16:37
hatchlol so did I16:37
hatch:D16:38
hatchoops16:38
hatchwe are horrible16:38
frankbanhaha16:38
frankbanhatch, rick_h: I believe CI was right and we ignored it pretending it was a canonistack failure. That confirms we are horrible people and that maybe we really need to switch to ec2 or hp...16:41
hatchhaha16:42
rick_hfrankban: yea, I thought we were getting permission to go to ec2 for it16:42
rick_hfrankban: not sure where that dropped off16:42
hatchrick_h: frankban yeah EC2 is in the pipe but we need to figure out account details16:42
hatchwhos gota pay yo!16:42
hatchfor friday funnyness http://yuireactions.tumblr.com/post/55786097549/watching-yeti-run-unit-tests-chrome-safari17:07
hatchbcsaller: have a minute to guichat about these retry/replace/resolve buttons?17:17
bcsalleryes17:17
hatchok heading to guichat17:17
=== schwuk is now known as schwuk_away
hatchbcsaller: I'm still curious about the setTimeout in inspector.js17:30
hatchrick_h: you can review now....everything looks merged in properly17:37
rick_hhatch: bcsaller's branch? /me goes to look17:37
hatchyup17:37
hatchbcsaller: lgtm'd17:38
rick_hhatch: bcsaller what was with the timeout?17:47
rick_hbcsaller: no tests for this?17:48
hatchnot sure17:51
hatchgrabbing lunch17:56
bcsallerrick_h: hatch, sorry was out for a minute, the idea with the timeout was to remove the style after the transition has run, its supposed to display a background and then fade it out, after its gone I didn't want the style to remain on the node18:04
bcsallerI think properly a transition helper that binds the transitioned event as noted is proper18:05
bcsallerbut I know other work is being thought about wrt animations18:05
rick_hbcsaller: yea, I'm looking at the Y module for it to help catch the event. 18:05
rick_hbcsaller: but not gotten it all setup right atm. 18:05
bcsallerrick_h: no, me either, I'm happy to look into a transition helper though18:06
rick_hbcsaller: in that case can the animation be set with the style change? /me didn't qa since hatch was. Are the two classes incompatible?18:07
sinzuijujugui, does anyone have time to review https://code.launchpad.net/~sinzui/charms/precise/juju-gui/nagios/+merge/17758818:07
bcsallerrick_h: you add the class to trigger the transition, but I wanted the class off the node at the end, not sure I really understand the question though18:08
rick_hbcsaller: so instead of using the class resolved, can the animation be between .conflict and without?18:09
rick_hso that removing the .conflicted triggers the animation, I'm looking at the css closer trying ot see18:09
rick_hbcsaller: is there any qa instructions to generate a conflict to look at this?18:17
bcsallerrick_h: on the CR/MP18:17
bcsallerconsole tricks18:17
rick_hah sorry got it18:18
rick_hbcsaller: the instructions aren't working for me. I'm getting an error on line 324: Simulate a conflict from the console:18:22
rick_hbah18:22
rick_hSimulate a conflict from the console:18:23
rick_herror is that the object has no method 'get' for getting the 'model'18:23
bcsallerrick_h: you deployed glance?18:23
bcsallerhmm18:23
rick_hbcsaller: yea, trying again. I originally deployed ceph and then went back and added glance18:24
bcsallerrick_h: I think you hit the 'expose' bug, thats long standing18:24
rick_hbcsaller: ah, yea I did touch that 18:24
rick_hok, will start clean and go again18:24
bcsallerrick_h: yeah, those instructions modify service[0] with a key in glances config18:25
bcsallerI could change item(0) to getById('glance') but...18:25
rick_hbcsaller: all good. working on it18:26
rick_hbcsaller: I can't get the animation to go. It's when I select one value over the other right?18:28
rick_hthen the checkbox goes away and there's a background color animation?18:29
bcsallerrick_h: no, its not working properly :(18:29
bcsallerI tried a few things, but I didn't get it to work18:29
rick_hbcsaller: ok, so should we pull that out then?18:30
rick_hor did you want to give it a go to fix it before landing?18:30
bcsallerI could take one more pass at it. I sort of figured we'll get a better general answer to doing that type of thing in the near term18:31
rick_hbcsaller: well, everything I've got going is specific per location of use18:32
rick_hthere's not really an "import animation...go" module coming from what I've gotten to work18:32
bcsallermaybe I'll take a stab at it then. node.transition('class', transitioned_cb) 18:33
bcsallerthe cb could be used to do chaining if needed18:34
rick_hbcsaller: well I note using single classes and duping them up18:34
rick_hwhat I had hoped to test was that if we could add the transition to the .xxx.conflict18:34
rick_hand then when .conflict was removed it would animate the background change18:34
rick_hbut having a hard time setting it up/getting that tested. 18:34
bcsalleryeah, I'll poke at it again and write some tests since the general UX seems ok to people at this point18:35
rick_hbasically use .conflict as a base css and then add a .pending .resolved or something to help with the tweaks. 18:36
bcsalleryou got me thinking, I think I have something that might work18:37
rick_hbcsaller: cool, does this work for all field types as well? checkbox and such?18:40
bcsallerrick_h: input/text area are tested currently, haven't checked with checkboxes, I don't think we use them for config/constraints which is what this is for18:47
rick_hbcsaller: ok, I know hatch had some stuff that dealt with boolean types and wanted to check if boolean config would come into play as a checkbox vs an input box for resolution UX18:48
bcsallerrick_h: I think that was the 'use defaults or not' toggle and isn't part of the databinding18:49
rick_hbcsaller: so in mediawiki for example, there's a 'debug' setting that's a checkbox in the config18:49
bcsallerexposed is realtime, when you flip it, it sends the rpc and the delta will update it in place18:49
* bcsaller checks18:49
bcsallerfor me it says boolean -> false in the box, not a checkbox18:50
rick_hbcsaller: ok, yea in the old UI it was a checkbox. 18:50
bcsallergood line of questioning though18:51
rick_hbcsaller: just checked it with the inspector and correct, there are only input boxes now. Hmm, so does that cast/work well? I'm wondering if that's a rabbit hole of 'FALSE' 'F', etc?18:51
rick_hugh, seems like a downgrade, but doesn't effect this then if everything's a text box. 18:52
bcsallerlooks like the template tries to do it properly with type=checkbox18:52
bcsallerso some untested regression maybe18:52
bcsallerand then I have to add support for this somehow18:53
bcsallerthe other issue is that a textarea with tons of content will give a bad UX with this design18:53
rick_hbcsaller: yea, was going to ask about a textarea next. :/ 18:54
rick_hI know we had some with the expanding textarea that were large config bits18:54
rick_hbac: can you think of a good demo charm for a large bit of data in the config file?18:55
bcsalleryeah, and it should work as it does now, but no max height it set or overflow: scroll-y or anything like that 18:55
rick_hbcsaller: right18:55
rick_his it 'usable' I guess. 18:55
rick_hat least to start18:55
bcsallerthe whole use case is pretty rare, so as a starting point I'm not that worried18:56
rick_hright18:56
rick_hok, well I'm going to run away. Have a good weekend everyone. 18:57
hatchbcsaller: mediawiki was a checkbox yesterday18:58
hatchheh18:58
hatchhad*18:58
hatchyeah on comingsoon18:58
hatchtoo18:58
hatchareyou guys saying that's a text input now?18:59
bcsallerhatch: looks that way currently18:59
hatchBUG WARNING18:59
hatch:P19:00
bcsallerhatch: ahh I see19:00
bcsallerthe ghost has it, the main doesn't19:00
bcsallerisBool handling or whatever isn't common19:00
bacrick_h: haproxy was the charm that initially had the problem with multi-line settings input19:01
hatchbcsaller: ahh - they are using the same template so there is definitely a bug there somewhere19:02
hatchI see that it's not your branch though19:02
hatchfiling bug19:02
hatchhttps://bugs.launchpad.net/juju-gui/+bug/120787019:03
_mup_Bug #1207870: Boolean values aren't checkboxes on deployed services <juju-gui:New> <https://launchpad.net/bugs/1207870>19:04
hatchbcsaller: I also noticed that the 'scale units' input value does not change as the simulator runs, known issue? (not caused by your branch)19:04
bcsallerthat used to work, for a long time19:18
jcastrosinzui: thanks for that list19:19
bcsallerhatch: I didn't know that no. sometimes I feel like our testing misses the mark19:19
jcastroeverything owned by charmers in precise is now README.md, I converted some from RST19:19
jcastroI ignored personal branches and oneiric19:19
hatchbcsaller: sometimes? ;)19:19
bcsallerI was being nice19:20
hatchbcsaller: https://gist.github.com/hatched/0ef6c3898dab4e3e1626 - don't shate the DOM tree ;)19:24
hatchshake*19:24
hatchno I'm not going to leave it like that :D19:24
bcsallerhatch: no, thats bad, even an  _nodes in there, ha19:26
hatchyeah I do what I can lol19:30
hatchbcsaller: so should the simulator be able to react to these env commands?20:07
bcsallerhatch: the simulator randomly sets unit agent states, it has nothing to do with resolving errors as hooks don't actually run in the sandbox20:08
hatchoh right - so should we hook it up to react to them?20:09
bcsallerits not the simulator that would matter. The result of resolved is just that the agent state should clear out of pending on core. So for example after the hook is retried the agent will update its state if it works20:10
bcsallerresolve, means I resolved this async to the UI (gui or cli) and I'm telling the agent to try to continue with new hooks20:11
bcsallerretry mean basically the same thing + run the hook that failed putting the unit into error20:11
bcsallerthe states coming from the simulator don't mean anything and there are no transitions happening relative to a given unit20:12
hatchso the way to test this is to make sure that if I click on the button it ends up being sent to fakebackend20:13
hatchfor testing purposes20:13
abentleyorangesquad or benji or bac: Could you please review https://code.launchpad.net/~abentley/charmworld/polish-ingest-bundle/+merge/178376 ?20:15
benjiabentley: I'll take a look20:16
abentleybenji: How's the review going?20:33
benjiabentley: sorry, I was talking to Brad about his branch.  I'm looking though.20:33
benjiabentley: it looks good to me20:34
abentleybenji: thanks.20:35
abentleybac, benji: I think bundle ingest might now be working.  I'm pushing a bundle branch to find out.20:43
benjicool20:43
bacbenji: this one?20:49
benjithis one works :)20:49
bacabentley: turns out since the URL we're serving up on was /api/ we already had support from the work we did in raleigh20:49
bacif you look in views/api.py there is a bundle() method.  it isn't listed in routes20:50
abentleybac: Oh, and that gives the bundle text, not metadata?20:51
bacabentley: it does now.  :)20:52
benjibac: the output is missing the outer mapping20:58
benjibac: see http://paste.ubuntu.com/5941515/20:58
benjithe first is the output from the app, the second was the input20:58
bacbenji: yeah i saw that20:59
benjioh, and _id shouldn't be in the output20:59
bacbenji: trying the deployer on http://paste.ubuntu.com/5941555/21:10
bacbenji: it seems happy.  :)21:11
benjiyay!21:11
benjido all the relations get added and everything?21:12
bacbenji: don't know yet.  it ate the config without burping and is doing it's business now21:13
bacbenji: i think it parses it at the beginning so if it were going to be unhappy it would've complained early21:13
bacmay take about 30 minutes since i have to fetch the charms locally and then push to ec221:14
benjiyeah, I would think so21:14
bacbenji, abentley: i've updated my branch at lp:~bac/charmworld/jam-bundle21:14
baci suggest replicating what i've done with the canonistack instance21:14
bacbenji: we also need to get gary to run it beforehand so charm fetching will not be necessary21:15
benjithat's a good point21:15
benjiso if this all works out the next thing we should do is write up a script for Gary to follow 21:15
abentleybac: I'm not sure what you mean, but the canonistack instance is already fetching charms.21:15
benjiand include prep notes like that one21:15
bacabentley: when you run juju-deployer it has to fetch all of the necessary charms21:16
bacit may not be a big deal for him but it is for me since my ISP is so slow21:16
benjiwe might also include usage instructions so he can build his own, I'm thinking he might want to make a more impressive bundle to deploy21:16
bacbenji: well, perhaps one with the gui in it21:17
abentleybenji: I think that's gravy.21:17
benjiIf I were demoing it I would have the gui-pre-deployed so the audience can watch the bundle deploy 21:17
abentleybac: So are you saying you'd like me to install your branch on the canonistack instance?21:17
benjiabentley: tasty, tasty gravy21:18
bacabentley: yes and then run 'jam' on whatever bundle y'all decide upon21:18
bacbenji: yes, good point about having the gui up first21:18
bacremember the bundle filename will be the basket name in the URL so make it meaningful21:18
abentleybac: Your branch is in place.21:21
bacabentley: great.  can you grab the bundle, rename it, and then run 'jam'?21:22
abentleybac: I've already run jam on that instance.21:22
bacoh, so what is the basket and bundle name?21:22
bacabentley:  can you see the json at /api/2/bundle/<basket>/<bundle> ?21:23
abentleybac: Yes.  http://162.213.34.16/api/2/bundle/mediawiki/intranet21:25
bacso, we should be able to run 'juju-deployer -e ENV -c http://162.213.34.16/api/2/bundle/mediawiki/intranet'21:26
abentleybac: Yes, I think so.21:26
baci've just done it locally and it seems to have worked.  would like to see someone else try21:27
bacmake sure you have lp:juju-deployer/darwin21:27
abentleybac: I can't because that would dump it into the same env as 162.213.34.121:27
benjibac: I'll run it21:27
bacbenji: to ec2?21:28
benjiyep21:28
benjiis that ok?21:28
bacyeah, great21:28
bacthat's what i did21:28
abentleybac, benji: We've successfully ingested a bundle on staging: http://staging.jujucharms.com/api/2/bundle/~abentley/wiki-bundle-1/wiki21:28
benjifirst I'll deploy the GUI so I can watch it work21:29
benjiabentley: cool!21:29
bacabentley: from launchpad?21:29
abentleybac: Yes.21:29
baccool21:29
bacabentley: is that my latest branch running?  i see _id in the output but it should be stripped21:29
bacoh, that's on staging21:30
bacoi21:30
bacman, i'm surprised it works at all21:30
abentleybac: revno 33621:31
abentleybac: 336 is what's on 162.213.34.1621:33
bacabentley: ok, that makes more sense.  thanks21:33
bacabentley: i'm confused by that data representation.  it doesn't match the code in r336 and won't work with the deployer21:37
bacabentley: i see a problem.  i didn't properly delete '_id'.  i just pushed r337 which does21:39
bachaving it in there doesn't seem to hurt anything21:39
abentleybac: Updated.21:40
bacbut the json shown on staging does not have the bundle name as the outer key21:40
bacand it is showing the bundle representation not just the ['data'] portion21:41
abentleybac: AFAIK you have not landed your code on trunk, so it is not running your code.21:42
bacabentley: ok, that makes sense.  i thought you said staging had been manually updated to 33621:42
abentleybac: No, I meant the other instance.21:43
bacgotcha21:43
bacbenji: any progress?21:43
bacbenji: i need to step out for 30-40 minutes.  that ok?21:43
benjiI have the GUI up and am running deployer now21:43
benjibac: yep, I have to go get the smallest York right now anyway21:43
bacbenji: url for the gui?21:44
benjibac: https://ec2-54-227-91-238.compute-1.amazonaws.com/21:44
bacthanks.  bbiab21:44
abentleybac: In theory, I could force your code onto staging.  I was actually surprised you weren't targetting trunk.21:44
bacabentley: it hasn't been reviewed21:45
bacit is a bit hacky21:45
benjibac: I'm running "deployer/bin/juju-deployer -e ENV -c http://162.213.34.16/api/2/bundle/mediawiki/intranet" now21:47
benji(I had to put the path on the command to get it to work.)21:47
benjibac: 2013-08-02 16:47:01 Deployment name must be specified. available: ('intranet',)21:47
benjinow running "deployer/bin/juju-deployer -e ENV -c http://162.213.34.16/api/2/bundle/mediawiki/intranet intranet"21:47
benjibac: error 2013-08-02 16:48:02 Error getting status, is it bootstrapped?21:49
benjiI have ot go now, back in 30 or so minutes21:49
hatchdoes the GUI know about the landscape URL?21:52
hatchhmm the env commands are getting to rapi but the updates aren't updating the UI21:59
benjiheh, I trusted the copy-paste too much "-e ENV" bit me.  Trying again with no -e option22:29
hatchbenji: do you know if rapi is supposed to react to resolve commands?22:31
hatchit receives them and says it responds22:31
hatchbut the resulting dataset never changes22:31
benjiI'm afraid I don't know.22:31
hatchalright - I'm just trying to figure out if my code is broken or rapi :)22:32

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