/srv/irclogs.ubuntu.com/2014/07/04/#juju-gui.txt

hatchhuwshimi so do you have enough work for today without any of the scale up stuff?00:05
huwshimihatch: Yep, I think so.00:05
hatchawesome00:05
urulamahuwshimi: morning04:57
rogpeppeurulama, huwshimi: hiya04:57
urulamarogpeppe: hehe, early bird04:58
rogpeppeurulama: :-) happens sometimes04:58
rogpeppeurulama: :-) happens sometimes04:58
huwshimirogpeppe, urulama: Morning :)05:04
urulamawow, hp helion registration process is, well, could be easier :D05:41
=== benonsoftware is now known as Guest69253
=== urulama is now known as uru-afk
=== uru-afk is now known as urulama
urulamamorning frankban08:01
frankbanhi urulama 08:02
urulamais it possible to get more info then: "ERROR couldn't read the environment"?08:43
urulamabeen editing env.yaml for hpcloud and now whatever i do, even remove all entries in hpcloud: section still gives me this error08:44
urulamafound error08:48
urulamaso, parsing of env.yaml fails if there is an empty line with a tab (\t) at the beginning. this is probably known, right08:49
rogpeppeurulama: was there no more descriptive error than "couldn't read the environment". That seems like a bug - it should at least say that it found an illegal character.09:15
rogpeppeurulama: ah yes, that does look wrong09:16
rogpeppeenvironments, err := environs.ReadEnvirons("")09:16
rogpeppeif err != nil {09:16
rogpeppereturn errors.New("couldn't read the environment")09:16
rogpeppe}09:16
rogpeppeit should be: return fmt.Errorf("couldn't read the environment: %v", err)09:17
urulamarogpeppe: i'll file a bug, it should state that tabs are not allowed and where the error happened (as you've written)09:17
rogpeppeurulama: i suggest proposing a fix that does what i suggested09:18
rogpeppeurulama: with that change, the error becomes:09:19
rogpeppeERROR couldn't read the environment: cannot parse "/home/rog/.juju/environments.yaml": YAML error: found character that cannot start any token09:19
rogpeppewhich i think you'll agree is a little better, even if it doesn't mention the line number or actual character that triggered the problem09:20
urulamarogpeppe: that's a bit better, agree09:20
rogpeppefrankban: you up for continuing on the API spec?09:21
frankbanrogpeppe: yes, I'll be ready in a few minutes09:22
frankbanrogpeppe: I am in the hangout09:34
=== urulama is now known as uru-afk
=== uru-afk is now known as urulama
bacmorning frankban and rogpeppe. i am unexpectedly here today.11:37
rogpeppebac: unexpected welcome, then!11:37
frankbanbac: morning11:37
bacthank you11:37
bacfrankban: azure change to qs looks good.  i'll do qa now.11:40
frankbanbac: thanks, if you updated to juju-core 1.20 you will likely find that the new juju breaks quickstart11:41
bacfrankban: i have not yet, i don't think.  how does it break? is there a card for that?11:42
bacfrankban: i have 1.18.1.  i can qa with that11:42
frankbanbac: cool, please QA with 1.18, I'll create a card and look at it later11:43
bacfrankban: i can look at the card if you like11:43
frankbanbac: there is a backward incompatible change in the mega-watcher for machines11:43
frankbanbac: I am going to grab some food now. After your QA, could you please try to dupe the bug using 1.20? You should be able to do that by just trying "juju quickstart" in a local env. You should see a KeyError: u'NetworkScope' while juju is provisioning a machine for the GUI. If you are able to confirm the problem, AFAICT we should involve rbasak because this regression affects the distro quickstart.11:59
bacfrankban: my first QA attempt with your azure branch has failed.  will try again.  does not look to be related.11:59
frankbanbac: ok thanks11:59
urulamafrankban: 1.19.4 has the same NetworkScope error?12:01
urulamafrankban: with juju-quickstart on local env12:01
rogpeppebac: the API proposal has changed quite a bit since yesterday, if you want to take another look12:03
bacrogpeppe: thanks, i will in a bit12:04
frankbanurulama: did not try juju dev, if you have 1.19 installed you can easily dupe12:22
frankbanbac: what error are you encountering?12:22
bacfrankban: second QA worked12:24
frankbanbac: cool12:24
bacfrankban: first time there was a timeout trying to ssh to machine 012:24
bacfrankban: more likely azure weirdness or my local connection12:24
frankbanbac: ok, this seems unrelated to quickstart12:25
frankbanbac: yeah12:25
bacyes12:25
bacfrankban: i marked it qa-ok12:25
urulamafrankban: i mean, i do get the same error on 1.19.412:25
bacwell, i mean to.  i've actually pressed the button now12:25
frankbanurulama: cool thanks for confirming12:26
frankbanbac: thanks for the review, merging it. Working on the new card. I am starting to think we should really prioritize quickstart CI with current stable and development versions of juju. This would also help preventing other accidental public API changes like this12:28
bacfrankban: prob a good idea12:30
bacfrankban: prevented the change or just given us early warning?12:30
bacfrankban: i mean was their api change really accidental and we just spotted or was it intentional and we didn't know it was coming?12:31
frankbanbac: IIRC we consider API v0 to be the one in 1.18. I assume a change to the public API to be accidental. A quickstart test in these cases would not prevent the change to land, but would surely prevent it to be released12:36
frankbanbac: filed 133783112:36
bacfrankban: right12:36
frankbanbug 133783112:36
_mup_Bug #1337831: Quickstart crashes when used with juju 1.20 <juju-quickstart:In Progress by frankban> <https://launchpad.net/bugs/1337831>12:36
frankbanrbasak: for when you are available: ^^^12:37
bacfrankban: are we the only consumers of that API?  i mean, should we fix QS to adapt or will there be larger fallout meaning juju-core should revert?12:37
frankbanbac: I am quite sure the GUI does not get unit addresses from MachineInfo yet, so it should not be affected. Not sure about other consumers. The problem is that we now have this released. Maybe we should raise the problem with juju devs12:39
bacfrankban: yeah, i'll bet william would be interested.  curtis too, but he's prob not here today.12:40
frankbanbac: pinged him in #juju-dev12:43
rbasakfrankban: thanks. After it happened the first time I'm making sure to test both juju-core and juju-quickstart together before uploading, and this is an MRE requirement for Trusty now, too.12:49
rbasakfrankban: so I'll make sure that juju-core doesn't hit the archive without juju-quickstart also working with it.12:49
rbasakfrankban: I guess I need a fix for juju-quickstart first, then, though I don't know that I'll get to doing it today anyway, so no panic for you guys.12:50
frankbanrbasak: cool thanks, I am working on the quickstart fix right now12:51
bacfrankban: i can reproduce the bug with 1.20, fwiw12:53
frankbanbac: thank you12:54
bacfrankban: should we plan on a qs release today?12:55
frankbanbac: it would be great, 1.4.112:56
bacfrankban: i'll make a card12:56
frankbanthanks12:56
rbasakfrankban: I'm interested to know whether the fix will be backwards compatible with older Juju. I'm not sure it matters to be either way, but will probably be useful for me to know.12:59
frankbanrbasak: it will be backward compatible12:59
rbasakCool!13:01
frankbanbac: could you please take a look at https://codereview.appspot.com/111860043 ?13:24
bacfrankban: sure13:26
frankbanthanks13:26
frankbanrogpeppe: ready when you are back13:29
=== urulama is now known as uru-food
bacfrankban: done13:47
frankbanbac: thanks13:48
bacfrankban: if you merge your 1.20 fix i'll do the release13:55
frankbanbac: merged13:55
bacty13:56
frankbanrbasak: I merged the fix for bug 1337831. Now we are working to make a new 1.4.1 release13:58
_mup_Bug #1337831: Quickstart crashes when used with juju 1.20 <juju-quickstart:Fix Committed by frankban> <https://launchpad.net/bugs/1337831>13:58
rbasakfrankban: great, thanks!14:10
=== uru-food is now known as urulama
hatchman testing UI interactions is such a pita14:39
hatchjujugui call in 1014:50
hatchurulama jrwren friday's use a different room than the rest of the week so you'll want to click the link in the calendar for the call today14:57
hatchjujugui call in 214:58
urulamahatch: this one? https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso14:59
bacurulama: https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso14:59
hatchrogpeppe you coming?15:00
rogpeppefrankban: i'm back in the hangout, BTW15:21
hatchjujugui https://gist.github.com/087d9e30e3eb92a46657 runWhenCalled15:21
=== urulama is now known as uru-away
frankbanrogpeppe: joining15:23
frankbanhatch: looks good15:23
hatchfrankban so simple yet solves so many problems!! heh15:23
frankbancool15:23
hatchfrankban I updated the gist with usage15:25
hatchhmm I think I have a better update15:27
frankbanbac: would you like to take another look at the final apiv4 spec before we send it out for discussion?16:28
bachi frankban, just back from lunch.  will look now.16:59
frankbanbac: thanks16:59
bacfrankban: i cannot edit nor make comments on that doc17:00
bacrogpeppe: ^^17:03
frankbanbac: it's set to "People at Canonical who have the link can edit"17:05
frankbanneed to go now, have a good weekend all!17:05
bacsorry frankban, the card is linked to https://docs.google.com/a/canonical.com/document/d/1wkgLrSZRcpz7zv5Sfc-lh21OZaYui-PhPolpedpWlCI/edit17:07
bacbut that's the wrong doc17:07
bacrogpeppe: is this the correct document for your API proposal? https://docs.google.com/a/canonical.com/document/d/1wkgLrSZRcpz7zv5Sfc-lh21OZaYui-PhPolpedpWlCI/edit17:08
rogpeppebac: here: https://docs.google.com/a/canonical.com/document/d/1ILHRpOe-qDlmjxHBbLUea7InDpehx5_roJ1ynZmcZDc/edit17:09
bacrogpeppe: please fix the link in the kanban card17:09
rogpeppeah17:09
bacrogpeppe: is this a typo: GET meta/color?id=djang17:24
bacrogpeppe: or are you doing partial match on charm names?17:24
rogpeppebac: typo17:24
bacyay17:24
bacrogpeppe: fixed17:24
bacrogpeppe: is meta/color new?17:25
rogpeppebac: yes17:25
hatchoh man this new addition to the test suite is so nice17:28
hatchupdated the gist https://gist.github.com/hatched/087d9e30e3eb92a4665717:29
bacrogpeppe: the doc looks good.  the examples you added are nice and help clarify things.17:31
rogpeppebac: cool, thanks17:34
hatchso I need to load the css into the test suite to make these tests work, but that breaks many other tests..hmmm17:41
hatchhmm new addition does not scale well18:12
hatchneed to rethink this18:12
bachey hatch18:58
hatchahoy18:58
bachatch: you have a precise machine available?18:58
hatchumm....18:59
hatchone sec18:59
hatchbac I do19:00
bachatch: could you upgrade juju to 1.20 and see if you can bootstrap a local env?19:00
hatchok firing it up19:01
hatchit'll be a bit19:02
hatchI'll report back19:02
hatchbac 1.17.7 is the highest I can get for some reason19:21
hatchyou sure they released 1.2 for precise?19:21
bachatch: it may be in ppa:juju/stable19:22
bachatch: but i discovered i'm hitting this bug: https://bugs.launchpad.net/juju-core/+bug/131617419:22
_mup_Bug #1316174: 'precise-updates/cloud-tools' is invalid for APT::Default-Release <juju-core:Triaged> <https://launchpad.net/bugs/1316174>19:22
hatchahh19:22
hatchyeah I see it in the package list19:23
hatchbut it's not installing it19:23
hatchyeah who knows....19:24
hatchshall I spend more time on it? We could also spin up an ec2 instance19:24
hatchI think that still has precise19:24
hatchbac so you ok, or would you like me to keep on it?19:32
bachatch: nm19:36
hatchok sounds good19:36
hatchbtw I ended up getting the nvidia drivers working on my MBP - now to figure out if I can use them to turn off the discrete card and just use the iris gpu19:37
bachatch: unless you can translate comment #2 from that bug report into something actionable.  i cannot.19:37
hatchbac, add more package repositories? :)19:38
bacshouldn't the metapackage juju-local do that?  if not wtf does it do?19:38
hatchthat's what I thought19:38
hatchtbh I have no idea how their packaging is set up19:39
hatch__The power just went out here and it's going to be a while before it comes back, so have a good weekend everyone19:53
hatchyay power21:45

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