/srv/irclogs.ubuntu.com/2013/01/23/#juju-gui.txt

bachi frankban, i see you're working on bug 1103204.  are you able to duplicate it?11:54
_mup_Bug #1103204: Removing a relation sometimes fails <juju-gui:Triaged> < https://launchpad.net/bugs/1103204 >11:54
frankbanbac, yes11:55
bacgood11:55
frankbanbac: could you please take a look at https://codereview.appspot.com/7199043 ?12:27
bacfrankban: ok.12:28
bacfrankban: it is odd you had to go to such lengths to reproduce the bug.  it frequently happened right away for me after reloading the page.12:30
frankbanbac: in uistage or locally?12:30
baclocally12:31
bacfrankban: approved12:31
frankbanbac: thanks. 12:32
bacwith that i'm going back to bed.  perhaps i'll feel better after lunch.12:32
frankbanbenji: are you around?13:42
benjifrankban: I am.  What's up?13:43
frankbanbenji: do you have time for a review? https://codereview.appspot.com/719904313:43
benjisure, I'll look now13:43
frankbanbenji: cool, thanks13:43
benjimy pleasure13:44
benjifrankban: I got distracted for a minute, but the review is done now.13:54
frankbanbenji: thanks, re the test, agreed. what do you think about creating another card for it? it would be easier to add missing test after your current card is landed.13:58
benjifrankban: makes sense; in fact, I may do that card too (unless you really want it)13:59
frankbanbenji: cool, creating a card, please feel free to tackle it if that means just a reasonably small addition to your branch14:03
frankbanbenji: added card for bug #110347714:11
_mup_Bug #1103477: Add test for relation removal <juju-gui:Triaged> < https://launchpad.net/bugs/1103477 >14:11
benjithanks14:11
gary_posterbacm bcsaller frankban teknico, as I said in my email, please let me know if you are interested in working on the Go Juju changes.  It will help our planning discussion.  Some indication of degree of interest would be somewhat helpful a well.  Let's say a scale of 1 to 10, where 5 represents ambivalence, 1 represents an abhorrence verging on the irrational, and 10 represents ecstasy and bliss at the idea. :-)14:23
gary_posterbac, that is14:23
gary_posterbenji, thanks for your email.  a degree of interest indicator would be nice but not necessary14:23
teknicogary_poster, oh, I thought it wasn't needed, at least on my part14:24
benjigary_poster: for Go?14:24
teknicogary_poster, let's turn it to eleven! ;-)14:24
gary_posterteknico, ok :-)14:24
gary_posterbenji, yes14:24
benjigary_poster: 8.514:24
gary_posterbenji, cool thanks14:25
MakyoMeeting today?15:30
Makyobenji, frankban teknico - meeting?15:32
benjiMakyo: sounds like fun15:33
frankbanMakyo: yep15:33
teknicoMakyo, yep15:33
Makyo+ bac 15:33
benjigary_poster might even join us15:33
benjiMakyo: bac isn't feeling well15:33
Makyobenji, Ah, thanks.15:34
benjibcsaller: something that might make the run-the-tests-and-scrape-the-result script easier: http://pypi.python.org/pypi/xvfbwrapper15:43
benjibcsaller: in particular the "Example: Headless Selenium WebDriver Tests" section15:43
bcsallerbenji: thats how its done in the charm test I think15:44
benjiit might be, I suggested it but am not sure what they settled on15:44
gary_postersorry, meeting benji :-)15:51
thervehola!16:00
thervehttp://paste.ubuntu.com/1563427/ is my problem of the day :)16:00
gary_poster:-/16:11
frankbantherve: could you please paste the full charm.log?16:21
teknicotherve, your world is broken :-)16:21
thervefrankban, where's that?16:22
therveteknico, I know! there is most certainly something wrong with me16:23
teknicotherve, most likely not :-)16:23
frankbaninside the juju gui instance, it should be in /var/lib/juju/units/juju-gui-0/charm.log, or something similar...16:24
frankbantherve: ^^^16:24
therveI don't have such a thing16:24
therveI have 'juju-gui-0.1.5' instead of 'build-prod' in the /var/lib/juju/units/juju-gui-0/charm/juju-gui/ directory16:27
teknicotherve, uhm, now our world is broken too :-P16:33
frankbantherve: is the provider lxc?16:33
thervefrankban, indeed16:33
teknicoit's nice that someone is able to actually deploy on lxc :-)16:34
therveteknico, it's been rather challenging :)16:35
gary_postertherve, related topic.  I'm in the process of describing the details of what Landscape is providing the GUI in annotations so that I can work with the UX folks to figure out the user stories and presentation.  Could you comment on/correct this?  http://pastebin.ubuntu.com/1563586/16:50
frankbantherve: do you have the file /var/log/juju/unit-juju-gui-0.log or similar (inside the container)?16:51
thervefrankban, new instance: http://paste.ubuntu.com/1563593/16:52
thervegary_poster, so16:53
thervegary_poster, right now, it's unit, not machine16:53
thervegary_poster, I think there are a couple of others annotations, at a technical level16:53
thervegary_poster, ie, a global link to resolve security and reboot alerts16:53
therveand probably a root_url to landscape16:54
gary_postertherve, so if we get a security alert on a unit, we will go to a Landscape link that is not specific for a given unit17:00
gary_poster?17:00
gary_posterto resolve it17:00
gary_posterand same for reboot17:00
thervegary_poster, yeah unfortunately we don't have one per unit17:05
thervegary_poster, although, considering all the machines are the same, at least the whole service ought to get the alert17:06
gary_posterok cool therve.  And you also have a Landscape link to the machines that represent the current environment, right?17:06
thervegary_poster, correct17:06
gary_postercool17:06
gary_postertherve, "all the machines are the same": really?  Juju allows you deploy machines with a given set of constraints, and then add machines later to the same service after having changed constraints17:07
gary_posterand even over time I wonder if new machines might be different than old17:07
thervegary_poster, all the machines in a service17:08
therveiiuc17:08
gary_postertherve, since you can add units over time, that can change things yeah?  But anyway, IIUC it is irrelevant: you are already giving us per unit annotations about reboot/security, and then our Landscape reboot/security control is for...the entire environment or every single machine that your Landscape is managing?17:09
gary_posterirrelevant to us right now I mean :-)17:09
thervegary_poster, we can decide maybe17:10
gary_posterbecause what you have would handle either scenario, homogenous or heterogeneous17:10
gary_posterok, therve, np, it doesn't change the story much on our side17:10
frankbantherve: just deployed juju gui on lxc, worked fine, what's the juju origin in your environment.yaml?17:11
thervefrankban, ppa17:11
frankbantherve: in the charm directory, juju-gui should be a link. where does it point to?17:15
thervefrankban, /var/lib/juju/units/juju-gui-1/charm/release/juju-gui-0.1.517:18
gary_posterHey Makyo! Welcome back!  How was the trip?17:27
Makyogary_poster, Excellent!  Good to be home, though.17:33
thervegary_poster, sent an email about annotations17:36
frankbantherve: output of "ll /var/lib/juju/units/juju-gui-1/charm/release/juju-gui-0.1.5/ ?17:41
thervefrankban, sorry the instance is gone :/17:42
frankbantherve: np17:42
benjinew review up: https://codereview.appspot.com/7195047/17:45
thervefrankban, it seems to be that the setup_gui logic in the charm is wrong17:46
therveie the first_path_in_dir call doesn't do what it ough to17:46
therve(although I'm not sure how this could end up being build-prod I guess)17:46
frankbantherve: in setup_gui we link the uncompressed release dir to juju-gui17:48
thervecorrect17:48
frankbanat this point, juju-gui should contain build-prod, which is the root of the production GUI.17:49
frankbantherve: then, in start_gui, that directory is build_dir, and we overwrite the configuration file: config_js_path = os.path.join(build_dir, 'juju-ui', 'assets', 'config.js')17:51
thervefrankban, oh right, there is one more level though17:52
thervefrankban, it's looking for /var/lib/juju/units/juju-gui-0/charm/juju-gui/build_prod/ whereas the path is /var/lib/juju/units/juju-gui-0/charm/juju-gui/$version/build_prod/ 17:53
frankbantherve: you mean, $version is juju-gui-0.1.5?17:55
thervefrankban, yeah17:55
frankbantherve: the directory structure, starting from the charm root, should be:17:56
thervefrankban, the ln in setup_gui create a link inside JUJU_GUI_DIR, it doesn't replace it17:56
thervethe -f in ln doesn't remove the drectory17:58
frankbantherve: but at the time setup_gui call ln -s, JUJU_GUI_DIR should not exist17:59
thervefrankban, ah that may be the issue. It does exists17:59
frankbanso, the problem is, it exists, and should not17:59
* therve nods18:00
therveoh, hum18:00
thervefrankban, I have a file in my local charm :/18:01
thervelet me try again18:01
frankbantherve: how did you deploy the charm when you first encountered this problem?18:01
frankbanah, ok18:01
frankbangary_poster: https://codereview.appspot.com/7205044 (from me and Nicola) should address all the comments in the charm review18:15
gary_posterawesome frankban, looking18:15
frankbanthanks18:15
gary_posterteknico, frankban nice work, thank you.  Land as is18:21
thervefrankban, ok it works after cleaning up my local charm. Sorry for the noise.18:21
teknicogary_poster, thanks :-)18:21
gary_poster:-)18:21
frankbantherve: no problem :-)18:21
gary_postertherve, yeah, glad it's ok :-)18:22
gary_posterthank you frankban for walking through with him. :-)18:22
frankbangary_poster: cool, EOD for us, after the second review, if everything's ok, please feel free to land the branch (or have someone do that), and re-propose. I've tried tests and qa, they pass, but a double check would be great18:24
gary_postercool frankban and teknico have a great evening and thanks again18:24
=== goodspud_ is now known as goodspud
benjiallgui: ok, I have some crazyness that I'm having trouble debugging, anyone available to pair?20:14
gary_posterbenji, that's guihelp I think yeah?20:17
benjigary_poster: could be, I couldn't remember and couldn't find it written down anywhere20:18
gary_poster:-)20:18
benjiguihelp: ok, I have some crazyness that I'm having trouble debugging, anyone available to pair?20:18
gary_posterbenji, it's in the kanban card from the discussion.  I try to keep notes there before blogs20:18
benjiit is also in my notes now20:19
gary_postercool20:19
thervehazmat, https://code.launchpad.net/~therve/juju/env-annotations-gc/+merge/144583 for your reviewing pleasure20:42
benjiMakyo: thanks for the review of my branch, would you mind reviewing another one for me?  I want to move them as far along as possible so I'm not gumming up the works. https://codereview.appspot.com/713306922:02
Makyobenji, on it.22:02
benjithanks!22:02
Makyobenji, This is stacked on your other branch, right?22:04
benjiMakyo: right... oh!  I bet you are asking that because the diff is screwed up.22:04
MakyoIt's just big, yeah.  Where should I be looking, specifically?22:04
benjilet me see if I can fix it22:05
* benji turns the big handle on the side of an oily, smokey machine labled "lbox"22:06
benjiMakyo: I give up.  Here is the real diff: http://paste.ubuntu.com/1564396/ and here is the new (but still bloated) review: https://codereview.appspot.com/720604722:11
benji(why a new review?  because I killed the old one in hopes that the -req switch for lbox would actually work)22:11
Makyobenji, Thanks, will take a look22:12
benjiI appreciate it.22:12
alejandraobregonhazmat: pdr 2?22:16
alejandraobregonrobbiew: pdr 222:16
robbiewalejandraobregon: ack22:32

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