/srv/irclogs.ubuntu.com/2014/02/03/#juju-gui.txt

=== hitchcock.freenode.net changed the topic of #juju-gui to: Juju GUI - Mailing List https://lists.ubuntu.com/mailman/listinfo/juju-gui
=== rogpeppe2 is now known as 16WAALSO4
=== 16WAALSO4 is now known as rogpeppe
frankban_dimitern: morning, when you have time, could you please take a look at https://codereview.appspot.com/50090044/ ?11:06
dimiternfrankban_, sure, will look after the standup11:07
dimiternfrankban_, morning :)11:07
frankban_dimitern: thank you! IIRC, I need two reviews, and when everything is ok I just need to approve on launchpad, correct?11:11
dimiternfrankban_, not anymore, just one LGTM is enough, and then you need to set the commit message on the MP first and then approve it11:12
frankban_dimitern: cool thanks11:13
dimiternfrankban_, reviewed11:20
dimiternfrankban_, usually, we set the MP commit message to the same as the description (look at the bzr rv-sumit plugin you can use to approve and submit for landing a CL - it's awesome)11:21
dimiterns/rv-sumit/rv-submit/11:21
=== benji is now known as Guest23911
=== gary_poster|away is now known as gary_poster
=== Guest23911 is now known as benji
benjijujugui: I need someone with some git fu; I don't have any ideas left on how to get my branch merged.  (other than hand-editing a diff and starting a new branch with it)13:38
gary_posterbenji you tried cherrypicking?13:44
benjigary_poster: nope; I'll google it.  Unfortunately I asked that question at the wrong time, I need to run Owen to day care :\ now13:45
bachi jujugui. I've got a laptop with no display this morning. trying to get my env and vim moved to another. on here via tablet.13:45
gary_posterbenji alternatively, FBOW the git pattern of rebasing doesn't seem to be any better than breating a diff and that applying it as a patch13:45
gary_posterok benji13:45
gary_posterack bac13:45
bacs/vim/vm/13:45
bacI don't use no vim13:46
gary_poster:-)13:46
* bac_ some progress14:03
=== bac_ is now known as bac
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
bacnick bac14:18
bacdoh14:19
rick_h_hello all, thanks for the review/landing gary_poster 14:22
gary_posterhey rick_h_.  you there safely?14:22
gary_posterwelcome14:22
rick_h_gary_poster: yep, long long trip but alive and well14:22
gary_postercool :-)14:22
rick_h_surviving first day of meetings. Just one more today I think. I'll try to attend to the standup from here. It'll be 6pm here14:23
gary_posterok cool rick_h_14:23
rick_h_I'll try to look into the qa issue on the bws branch. Thought that worked. Thanks for catching it14:23
gary_posternp.  very nice otherwise14:23
frankbanguihelp: is anyone available for a quick review + QA of https://codereview.appspot.com/59560044 (GUI charm)? thanks14:40
gary_posterfrankban: on it14:40
frankbangary_poster: thank you14:40
gary_posterhey frankban, this isn't a bug in your branch, but potentially in core (and therefore a problem for us).  I tried to use a local environment with the juju I had currently installed (1.16.5-saucy-amd64).  My ~/.juju/environments/local.jenv says 'password: ""'.  An empty password does not work to log into the GUI.  I noticed that the user is "" also in the jenv file.  Perhaps that's the problem, but I tried logging in 15:01
gary_posteron the console with a an empty password and a user name of "user-" and it did not work.  That doesn't really make sense anyway.15:01
gary_posterSo...15:02
gary_posterAny ideas on what we should do there?15:02
gary_posterOne option is to see if it works on the most recent released juju15:02
gary_posterand if it does, pretend everything is OK:-)15:02
gary_posterI'm fine with that, but wanted to see what you thought15:03
gary_posterIt's certainly not ideal :-/15:03
gary_posterah15:03
gary_postermy environments.yaml does have an admin-secret for my local env15:04
gary_posterit just wasn't copied over to the jenv15:04
gary_posterit works fine15:04
frankbangary_poster: you should have an admin-secret field in your jenv. I also have user and password as empty strings there, and that's confusing15:04
gary_posterfrankban: with recent release? trunk?15:04
frankbangary_poster: this is 1.16.5-saucy-amd64, trying trunk now15:05
gary_posterok15:05
gary_posterI hope it is fixed in trunk.15:05
gary_posterIf so, the legacy message can say "if there is no password there, try the environments.yaml" file.  That's unpleasant, but accurate, and at least the new version would be OK15:06
frankbangary_poster: same thing in trunk, user and password empty, the real password is found in the admin-secret field of the jenv15:06
gary_posterfrankban: :-(15:06
gary_posterum15:06
gary_posterso, ideally15:06
gary_posterwe'd get Tim or someone to treat this as critical15:07
gary_posterand fix it15:07
gary_posterbefore the next release15:07
frankbangary_poster: so we always have the admin-secret in the jenv, but we also have a confusing user and password fields15:07
gary_posteroh15:07
gary_posteroic15:07
gary_posterhm15:08
gary_posterand it is correct for ec215:08
gary_poster(that is, you can use password)15:08
gary_posterok.  so, right\15:08
gary_posterIMO ideally we'd have juju core treat this as a critical fix15:09
gary_posterthen the legacy message would be, roughly, "look in the jenv file for password, or if that's empty, look for admin-secret"15:09
gary_posterand the new message would be "look in this file right here for the password"15:09
gary_posterI think that would be OK, if we can get juju core to address before next release.  WDYT frankban?15:10
frankbangary_poster: oh... in trunk, the jenv file includes the password field once you deploy the first charm15:11
gary_posterfrankban: :-/15:11
frankbangary_poster: I mean, the password field is no longer empty15:12
gary_posterright15:12
gary_posterwell, I guess that would be OK for the GUI15:12
gary_posterso we can treat this as not critical for us15:12
gary_posterand adjust the legacy message.  agree?15:12
gary_postergetting some water, brb15:13
frankbangary_poster: yes, when the user see the message the password field should be populated, even in local envs. so I'd need to change the messages to point to the password field (rather than the admin-secret one), and the legacy message should mention the environments.yaml file for juju < 1.1615:13
gary_postercool frankban.  proceeding with qa15:17
gary_posterfrankban: this is too long, but it is my first stab at a suggestion for adjusting the legacy help text.15:24
gary_posterThe password for newer Juju clients can be found by locating the Juju environment file placed in ~/.juju/environments/ with the same name as the current environment.  For example, if you have an environment named "production," then the file is named ~/.juju/environments/production.jenv.  Look for the "password" field in the file, or if that is empty, for the "admin-secret".  Remove the quotes from the value, and use 15:25
gary_posterthis password to log in.  The password for older Juju clients (< 1.16) is the admin-secret for the environment you are using in ~/.juju/environments.yaml.  Note that using juju-quickstart (https://launchpad.net/juju-quickstart) can automate logging in, as well as other parts of installing and starting Juju.15:25
gary_posterStill adjust that15:25
gary_posteradjusting15:25
gary_posterThe password for newer Juju clients can be found by locating the Juju environment file placed in ~/.juju/environments/ with the same name as the current environment.  For example, if you have an environment named "production," then the file is named ~/.juju/environments/production.jenv.  Look for the "password" field in the file, or if that is empty, for the "admin-secret".  Remove the quotes from the value, and use 15:26
gary_posterthis to log in.  The password for older Juju clients (< 1.16) is in ~/.juju/environments.yaml, and listed as the admin-secret for the environment you are using.  Note that using juju-quickstart (https://launchpad.net/juju-quickstart) can automate logging in, as well as other parts of installing and starting Juju.15:26
gary_posterBest so far ^^^15:27
frankbangary_poster: so here is the situation: admin-secret is always populated correctly. the password field is populated in trunk when at least one charm is deployed after bootstrapping. the password field is never populated in 1.1615:27
frankbangary_poster: that's great! thank you!15:27
gary_postercool frankban.  proceeding to Juju trunk noq15:28
gary_posternow15:28
rick_h_jujugui anyone got a sec to re-qa https://github.com/juju/juju-gui/pull/98 please? /me looks at it and realizes pushing a branch done while tired on a plane was not a good plan. 15:30
gary_poster:-)15:30
gary_posterrick_h_: I'm doing it while waiting for the charm to set up15:32
gary_posterfor a different qa15:32
gary_posteroh it's up :-P15:32
gary_poster1 sec then15:32
gary_posterfrankban: LGTM and QA OK.  Thanks!15:40
frankbangary_poster: thank you!15:41
gary_poster:-)15:41
frankbangary_poster: filed two holidays15:41
gary_posterfrankban: ack, approved15:42
frankbangary_poster: re paragraphs, yes that's a GUI branch (to make the text not to be escaped) and a subsequent charm branch. the first one could also help with the quickstart link (i.e. a target blank), thnaks15:43
gary_postercool15:44
gary_posterjujugui call in 1015:50
gary_posterrick_h_: I am slowed down because I'm trying to figure out a nice way to update my git qa-pr version of your PR15:50
gary_posterwith your new changes15:51
gary_postersimply deleting the branch and then running qa-pr again was insufficient15:51
gary_posterI assume it has something to do with the git fetch we are doing15:51
gary_posterbut currently flailing15:52
gary_posterif you have suggestion, it would be welcome :-)15:52
gary_posterah-ha15:53
rick_h_gary_poster: hmm, so if you git checkout develop && git branch -d qa-... and then another git qa-pr it won't work?15:53
rick_h_gary_poster: or you found a way?15:53
gary_posterrick_h_: correct, that does not work, and I think it is because remotes/pr/98 already exists15:54
gary_posterandthere is no logic to update that remote15:54
gary_posterso I need to update that remote somehow...15:54
gary_posternad then the merge will work15:55
gary_postertrying to delet remote now...15:55
gary_posteroops15:59
gary_posterjujugui call in 115:59
MakyoFinally!16:09
=== Makyo is now known as Guest92118
rick_h_man, you'd think on a canonical connection this wouldn't be an issue. 16:25
gary_posterheh, yeah16:25
Guest92118Grrr.16:26
Guest92118Services are down, whoops.16:26
=== Guest92118 is now known as Makyo
bacso my mbp is back.  i'm beginning to think vmware ate my graphics card but can't explain how it took multiple reboots to clear up.18:32
bacgary_poster: i reviewed the work i did on friday for juju-core 1.17.2 QA and what i said in the meeting was wrong.  the QA was clean.  no remaining issues.19:07
gary_postergreat bac19:12
hatchfreenode I'm in you!19:27
rick_h_gary_poster: heads up, quickstart package was pushed upstream yesterday. 20:12
rick_h_gary_poster: and casey is going to look into how to do a charm store deploy for 1.17.220:12
gary_posterrick_h_: awesome!  thanks!20:12
gary_postergreat20:12
gary_posterrick_h_: if you want some demo cred, you can demo local charm deployment from github.  It's a *great* story20:13
gary_posterdemo cred is good :-)20:13
rick_h_gary_poster: cool yea I htink there's a demo session. hatch can you shoot me some instrucitons?20:13
gary_posterI think it will blow people away20:13
gary_posterbe sure to give Dimiter a shout out20:14
rick_h_sure thing, I'll see if I can get setup to duplicate. You need trunk right?20:14
gary_posterhatch just gave you +1 with lots of small comments20:14
hatchgary_poster thanks will get right on the changes20:15
hatchrick_h_ you bet, can you get juju-core trunk working on your local machine?20:15
rick_h_hatch: yea send me a link to those build docs and I'll see if I can get it done. It's late here (10pm) but hopefully find time to tru it out20:16
gary_posterrick_h_: for best experience, yes, use Juju trunk.  Then you start up GUI, go to https://github.com/hatched/ghost-charm and click on the "download zip" button on the right, drag it in to the GUI, configure it, and deploy.20:16
gary_posterOn LXC on my network it shows up in a minute or so20:16
gary_posterand then you can expose it and actually use ghost20:16
gary_posterreally awesome20:16
hatchyeah I'll send that in an email too, just in case :)20:17
rick_h_woot20:17
hatchrick_h_ https://code.launchpad.net/~go-bot/juju-core/trunk here is juju-core trunk, read the README for detailed install instructions20:17
gary_posterhatch does teh ghost charm download something over network?20:19
gary_posterwould be more reliable/faster for rick if he had one that did not20:19
hatchgary_poster yes it requires access to a number of external resources https://github.com/hatched/ghost-charm/blob/master/hooks/install20:20
gary_posterso obviously this evening you need to adjust ghost so that default install does not need network access, like GUI ;-)20:20
hatchhaha, probably not until ghost stabilizes their build setup :)20:21
gary_posterhatch, consider packaging zip, or giving rick a branch that includes zip, like we do for gui?20:21
gary_posteralso then emphasizes advantage of being able to work with local charms for demos:20:22
gary_postermake quick hack, ready to demo20:22
hatchI'll have to look into the current ghost build process to see if I can package all of it's deps or if it needs some 'installed' 20:22
gary_poster(as soon as the icon actually shows up!)20:22
hatchhaha20:22
gary_posteroh hatch right, npm install.20:22
gary_posternm then20:22
gary_postermight not help much20:22
gary_posterbenji gets lucky PR 10020:23
hatchI think they install sqlite so that probably needs to be 'installed'20:23
hatchnot just exacted but I can look into this 20:23
gary_postercool :-)20:24
rick_h_there's an AP right by the demo space so should be good connection there. Look slike friday is open so I'll get a chance to test it out before hand20:24
gary_postercool, perfect20:24
hatchrick_h_ I'll send the demo instructions to peeps just so everyone has them 20:25
rick_h_hatch: thanks, appreciate it20:25
rick_h_ok, bed time, I'm out for real this time20:25
rick_h_zzzzzzzz20:25
hatch:) night20:25
gary_poster:-) night20:25
gary_posterhatch, when you have a sec (maybe after you have branch in), would like to talk with you about https://bugs.launchpad.net/juju-gui/+bug/1274955 , maybe on a hangout20:29
_mup_Bug #1274955: Juju GUI slow in disconnected environment due to using Google font APIs <micro-cluster> <juju-gui:Triaged> <https://launchpad.net/bugs/1274955>20:29
hatchsure, want to do it now?20:30
gary_poster:-) sure20:30
BradCrittendensee ya rick_h_.  have a good evening.20:30
=== BradCrittenden is now known as bac
hatchgary_poster https://plus.google.com/hangouts/_/76cpjggu44rijpcdrj53ubb2qs?hl=en20:31
gary_posterhatch, lol calling you from another, k one sec20:31
hatchhaha sorry20:31
hatchgary_poster I'm going to restart20:33
hatchmaybe that will help20:33
gary_posterok hatch20:33
gary_posterjujugui, tiny charm branch for review: https://codereview.appspot.com/5223004521:41
=== _mup__ is now known as _mup_
huwshimiMorning22:06
* Makyo -> dogwalk, back in a few.22:25

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