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

=== kadams54-away is now known as kadams54_
=== kadams54_ is now known as kadams54-away
=== kadams54-away is now known as kadams54_
=== kadams54_ is now known as kadams54-away
=== kadams54-away is now known as kadams54_
=== kadams54_ is now known as kadams54-away
urulamafabrice: can you connect to canonical irc server?07:17
fabriceurulama: I am in07:20
urulamafabrice: yeah, seems to be back now07:21
urulamafabrice: and good morning :)07:21
fabriceurulama: good morning07:21
=== rogpeppe3 is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
=== alexpilotti_ is now known as alexpilotti
hatchuiteam need reviews and qa on https://github.com/juju/juju-gui/pull/70314:46
=== jorge is now known as jcastro
hatchjcsackett: kadams54 heyyyal how goes the reviews? :)16:04
jcsacketthatch: had to tie up the loose end of what i was working on pre-standup.16:04
kadams54hatch: Going to start in on them just as soon as I land this switchboard card16:04
hatchok I'm working on the last card I have which isn't blocked by this so that's why I have a bit of urgency :)16:05
jcsacketthatch: i did make a cursory read through and didn't see anything alarming.16:05
hatchI don't like stacking branches16:05
hatchwhen possible16:05
hatchI'm removing the editorial.js and charmresults.js files right now - nice way to lose about 500loc's of bloat :)16:07
jcsacketthatch: ok, i've only got one question on your PR.16:09
hatchthanks jcsackett just going to reply16:10
hatchjcsackett: replied16:12
hatchjcsackett: https://github.com/juju/juju-gui/blob/develop/app/store/charmstore-api.js#L11416:12
hatchis the method in question16:12
jcsackettkadams54: any chance you can QA hatch's branch? i've done review but desperately need to find food.16:15
hatchjcsackett: go eat!16:18
hatch:)16:18
jcsacketthatch: don't have to tell me twice. :p16:19
hatchuiteam lf two reviews on a code removal branch (real easy review/qa) https://github.com/juju/juju-gui/pull/70416:21
kadams54jcsackett: yeah, I can QA.16:21
rogpeppefrankban: BTW in your disambiguation, how can you tell if there are two bundles in a basket?16:24
rogpeppefrankban: do you check out the lp branch?16:24
hatchhaha the gopher china conference character is awesome https://plus.google.com/111292884696033638814/posts/331ckwTux3416:32
=== kadams54 is now known as kadams54-away
frankbanrogpeppe: not sure if I understand your question, but no lp is not involved16:42
rogpeppefrankban: ah, i think i see - you've got an old URL and you want a new one, and all the basket metadata is in charmworld16:44
frankbanrogpeppe: you can pass bundles to quickstart using two different forms: 1) new-style mediawiki-single, or u/foo/bar: those are translated to api4 bundle/mediawiki-single and ~foo/bundle/bar without problems16:44
frankbanrogpeppe: no need to go to charmworld16:44
frankbanrogpeppe: the second syntax is the legacy one, e.g. bundle:mediawiki/single16:44
rogpeppefrankban: i guess i still don't see how you can do the translation unambiguously16:45
rogpeppefrankban: without looking at the actual basket16:46
frankbanrogpeppe: in this case check if bundle/mediawiki-single exists in the charm store. if so, then it's done. If not, get the original bundle from bundle/mediawiki, and validate that "single" is in the original content. if so, proceed with bundle/mediawiki16:46
rogpeppefrankban: how do you know that the original bundle is at bundle/mediawiki?16:46
frankbanrogpeppe: because, starting from a bundle:basket/bname syntax, the resulting bundle in the charm store can be either bundle/basket-bname or bundle/basket16:47
rogpeppefrankban: but what if the basket name itself contains a hyphen?16:48
frankbanrogpeppe: we start from bundle:basket-with-hyphen/bname -> bundle/basket-with-hyphen-bname or bundle/basket-with-hyphen16:49
rogpeppefrankban: you try all possible split points?16:49
frankbanrogpeppe: I don't need to, because the legacy syntax separates the basket name from the bundle name, so we know what the precise basket is16:50
rogpeppefrankban: (because the bundle name in the basket can also contain arbitrary numbers of hyphens of course)16:50
rogpeppefrankban: ah of course!16:50
rogpeppefrankban: that's the bit i hadn't appreciated16:51
frankbancool16:51
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
ahasenackhi guys, where are juju-gui's logs?17:24
ahasenack 6731 ?        Ss     0:01 /usr/bin/python /usr/local/bin/runserver.py --logging=info --guiroot=/var/lib/juju-gui/juju-gui/build-prod --sslpath=/etc/ssl/juju-gui --charmworldurl=https://manage.jujucharms.com/ --apiurl=wss://10.96.4.18:17070 --apiversion=go17:24
ahasenackwhen i access it with a browser, it's stuch at the login box. No form yet, just a spinning wheel17:24
ahasenackhm, javascript console has17:24
ahasenackFirefox can't establish a connection to the server at wss://10.96.3.86/ws/environment/c703e120-5d19-4a93-8642-8194b330ebb1/api.17:24
* ahasenack checks those ips17:25
ahasenack3.86 is the actual juju-gui unit, btw17:25
rick_h_ahasenack: yep, so it should be talking to the gui unit to establish the websocket17:25
rick_h_ahasenack: so that it proxies through to juju for you 17:25
rick_h_ahasenack: so interesting that you can get the JS/html but not the wss17:26
rick_h_ahasenack: the gui logs are in /var/log/upstart/guiserver.log?17:26
rick_h_might be something of interest there on the unit17:26
ahasenackI see a log of GETs there, all seem to have succeeded17:27
ahasenacklemme restart it17:27
rick_h_ahasenack: are you referencing the gui via a differnt dns name than the url it's connecting to the wss to?17:28
ahasenackno, all ips17:28
rick_h_k17:29
ahasenackrick_h_: it doesn't load with firefox17:37
ahasenackrick_h_: loads with chromium17:38
ahasenackrick_h_: https://bugs.launchpad.net/juju-gui/+bug/139729617:38
mupBug #1397296: GUI inaccessible in Firefox 33.0 <landscape> <juju-gui:New> <https://launchpad.net/bugs/1397296>17:38
ahasenack(filed by someone else)17:38
rick_h_ahasenack: ok, so you're in safe mode currently?17:39
ahasenackno, tried private mode only17:39
rick_h_ahasenack: with the latest gui 17:39
rick_h_ahasenack: right, that's what I mean17:39
ahasenackI just did "juju deploy juju-gui"17:39
rick_h_you're getting this in FF in private mode?17:39
ahasenackyes, private mode too17:39
rick_h_and without private mode?17:39
ahasenackrick_h_: same17:39
ahasenackrick_h_: if you have the company vpn, you can try17:40
=== kadams54 is now known as kadams54-away
ahasenackrick_h_: it's 10.96.3.86. Try with FF and chromium17:40
rick_h_ahasenack: not set it up yet, but will add a note to QA this again then. originally we could not dupe and we only noted it was report in private mode17:40
rick_h_ahasenack: rgr17:40
rick_h_ahasenack: sorry, I'm leanving for a dr apt in 5min but will add the bug to the board to take another look at with your info17:41
ahasenackrick_h_: and I have a demo in 20 :)17:41
rick_h_ahasenack: use chrome?17:41
ahasenackwill use chromium17:41
rick_h_ty17:41
ahasenacksure17:41
rick_h_ahasenack: trusty? 17:41
rick_h_ahasenack: for the gui deploymenht?17:41
rick_h_ahasenack: or precise just to be 100%17:41
* hatch reads backlog17:42
ahasenackrick_h_: trusty17:42
hatchsomeone else had this exact same problem and we weren't able to reproduce it17:42
ahasenacktrusty on an lxc on a bare metal machine behind the company vpn17:42
ahasenackhatch: can you try the ip right now?17:42
hatchhmm I don't have the vpn set up on this machine, I can though17:43
rick_h_hatch: ok, updated the bug, we should try to dupe locally as well just to see if it's gotten 'worse' 17:44
ahasenackwell, feel free to poke. I can't give you the creds, I'm using this for a demo in a few minutes17:44
rick_h_hatch: going to run to PT appt, but yea please run with this if we have a major FF issue we need to know asap17:44
hatchrick_h_: on it17:44
rick_h_ty17:44
hatchahasenack: definitely, demo away, I'll get setup here to test it - if you can keep it up after the demo that would be really helpful :)17:44
ahasenacksure17:45
=== kadams54-away is now known as kadams54
ahasenackis there a setting to stop the gui from trying to move the services around?17:46
ahasenackI'm trying to rearrange them, but they all snap back to their original bad positions17:47
hatchahasenack: there isn't. When you drag them are you dragging for more than 3s? 17:48
ahasenackperhaps17:48
ahasenackis that the trick?17:48
hatchahasenack: there was an old bug which would cause the update from juju-core to override the drag position17:48
hatchok when you're done your demo18:01
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
hatchkadams54: you get that review and qa done?18:31
kadams54hatch: almost18:32
hatchahasenack: I'm not able to connect to that ip, ping when avail18:34
ahasenackhatch: here18:36
kadams54hatch: done.18:36
ahasenackhatch: I guess you were not given scapestack access in your vpn then18:36
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
hatchkadams54: if you have time to do 704 that would be awesome :)18:45
hatchit's just unused code removal18:45
kadams54hatch: yeah, I can take a look18:46
kadams54hatch: Code removal? +1'd without even looking :-)18:46
hatchthanks - ci hung on the run so I'm just killing it now18:46
hatchlol - yeah like 500locs out!18:46
kadams54Woo hoo!18:46
hatchthat's a considerable amount of code that no longer needs to be sent over the wire18:47
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54

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