/srv/irclogs.ubuntu.com/2016/10/03/#juju-dev.txt

=== frankban|afk is now known as frankban
frankbanaxw: could you take a look at https://github.com/juju/juju/pull/6354 ? I think I made all the changes suggested, I'd like another +1 before I land it09:02
axwfrankban: looking09:02
frankbanaxw: ty09:02
axwfrankban: I've just pushed one comment, but I'm still reviewing09:07
frankbancool09:10
axwfrankban: done09:16
frankbanaxw: thanks, good suggestions09:17
mupBug #1629817 opened: [arm64] bad cpu-cores detection <juju-core:New> <https://launchpad.net/bugs/1629817>10:04
voidspacemgz: ping10:39
voidspacemgz: hmmmm... unping10:40
voidspacemgz: was going to ask for vsphere creds, but I see them in cloud-city as usual10:40
rogpeppeanyone know if there's a way to list all the users that been granted permissions on a model?10:50
perrito666Morning all10:51
rogpeppeperrito666: hiya10:52
rogpeppeperrito666: do you know the answer to the question i just asked, by any chance?10:52
perrito666Mmm there is iirc wallyworld implemented something like that, can't remember where though10:56
rogpeppeperrito666: i see "juju users" but that tells me all users for a controller, not a model11:04
perrito666rogpeppe: something with shares possibly?11:05
rogpeppeperrito666: "juju commands | grep -i share" doesn't come up with anything11:05
voidspacemgz: ping about vsphere11:26
voidspacekatco: natefinch: I am likely to be late for standup - daughter has to go to an emergency dentist's appt13:01
natefinchvoidspace: yikes. Hope she's ok13:02
voidspacenatefinch: just toothache, nothing serious13:02
voidspacenatefinch: I'm kind of glad - she still has her baby teeth and it's a good lesson as to why toothbrushing is necessary...13:02
natefinchvoidspace: fair enough :)13:03
perrito666rogpeppe: sorry I hung on you, bank made me stash my phone under threat of arrest13:14
natefinchlol argentina13:16
perrito666natefinch: well see who laughs after tue wig driven dude gets command of your country13:16
natefinchperrito666: lol13:17
natefinchperrito666: I was going to say, in my country you can get shot for holding a toy gun in the toy gun aisle of a toy store13:17
perrito666in my country you can get shot for rand.Rand{}.int()13:18
natefinchwell, using insecure psuedo-random numbers is a capital offense13:18
perrito666lol13:18
perrito666natefinch: the reason for phones being forbidden in banks here is because there was this mo of burglars that would tip from inside the bank to outsiders when someone whitdrew large sums of cash13:19
perrito666(you can see the level of footshooting put into the solution)13:20
natefinchahh, so, same reason we take off our shoes at the airport.  Because "this one time...."13:20
perrito666yup13:20
perrito666I really hope no one does anything odd with shoes in a bank here, or visiting the banks is going to be very funny13:21
natefinchvery japanese13:21
cholcombei need a hand setting a breakpoint on juju.  I've got gdb and dlv installed.14:00
cholcombecmd/juju/application/deploy.go deployCharm seems to be what is failing on me14:02
cholcombehowever gdb and dlv don't seem to know how to break on that function14:02
natefinchgdb is dicey at best, but I've had good experience with delve via editor integration.  I haven't used it via the CLI14:03
cholcombenatefinch, delve kinda blew me away when i did a funcs command.  over 100K lines of function def's14:04
cholcombenatefinch, any idea how to point delve at the right breakpoint?14:04
natefinchcholcombe: use editor integration, it makes things 1000x easier.  What editor do you use?14:07
cholcombenatefinch, well i'm trying to debug the controller running jujud.  i haven't tried building juju and running locally yet.  maybe that's the way to go?14:08
natefinchcholcombe: ahh...  delve does have remote debugging capability, which might still be the best way to go. For delve I'm pretty sure you have to build the binary with delve debugging enabled, but I'm not 100% sure14:10
cholcombegah14:10
rogpeppeperrito666: np14:11
natefinchcholcombe: I might be wrong about that... the docs only mention that if you build with delve it makes the binary "easier to debug"14:15
cholcombeyeah14:15
cholcombei thought gdb could handle this also but it appears to not be able to find anything either14:15
cholcombei suspect the jujud binary was built without debugging flags14:15
natefinchgdb is known to not work well with go14:16
cholcombeoh ok14:16
cholcombethe problem is i have a charm which juju for some reason refuses to deploy14:16
natefinchcholcombe: the best way to debug these things is to start off with the logs..... what does juju do when you try to deploy it?14:18
cholcombenatefinch, https://gist.github.com/cholcombe973/d0ab4865691d6996d0c3b20578f269ca14:18
cholcombecharm proof passes and this charm looks like any other charm.  i'm not sure what juju's problem is14:19
cholcombei'm running 2.0-rc214:19
cholcombeit used to deploy but i don't remember which version it worked on.  probably after i updated to 2.0 beta's it started failing14:20
natefinchcholcombe: that looks like it might be a bug14:28
natefinchcholcombe: let me try here14:28
cholcombenatefinch, yeah none of the beta's or rc's work on this charm.  i don't know what's special about it14:29
cholcombenatefinch, i also pushed it to the charm store on --channel edge and that also fails14:29
cholcombenatefinch, juju deploy cs:~xfactor973/gluster-charm-1 --channel edge14:30
cholcombenatefinch, i did a charm grant everyone on that in case you want to try14:33
natefinchcholcombe: crud, I just realized the time, I have to run an errand.  Can you try deploying another local charm and see if that works?  It seems unlikely that the contents of your charm would give a "not found" style error14:34
cholcombeother local charms work perfectly fine14:34
cholcombethere's something special about this one14:34
cholcombei've tried deleting everything in the repo that is unique and it didn't help14:34
natefinchwacky, ok14:35
natefinchtry removing the dash in the name14:35
natefinchI gotta run, maybe someone else can help.  Sorry.14:36
babbageclunkCan anyone help me with a lxd problem?15:25
babbageclunkI got bitten by this https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629766 while trying to install something unrelated.15:26
mupBug #1629766: Syntax error in /usr/lib/lxd/upgrade-bridge <lxd (Ubuntu):Fix Committed> <https://launchpad.net/bugs/1629766>15:26
babbageclunkSo I did my best to totally remove lxd and the half-configured interfaces that the failed upgrade left behind.15:27
babbageclunkBut now I can't bootstrap to lxd - I get a message saying to run `sudo dpkg-reconfigure -p medium lxd`, but running it doesn't bring up the network config questions it used to.15:28
babbageclunkIt just says "Warning: Stopping lxd.service, but it can still be activated by:15:31
babbageclunk  lxd.socket15:31
babbageclunk" and then completes with returncode=0.15:31
rogpeppei've factored out some of the juju/worker code from juju/juju so that we can easily reuse it across projects. i made a few changes as i did so - reviews welcome: https://github.com/juju/worker/pull/115:47
cholcombenatefinch, i found the problem.  when i deleted the actions.yaml file it started deploying again.15:52
cholcombemust be bad syntax or something.  juju really needs a better error message for that15:52
mupBug #1629912 opened: the provision network IP addresses have to be smaller than the ones on the public network <juju-core:New> <https://launchpad.net/bugs/1629912>15:56
=== frankban is now known as frankban|afk
mupBug #1629919 opened: destroy-controller fails and a kill-controller is required. <juju-core:New> <https://launchpad.net/bugs/1629919>16:20
alexisbdooferlad, ping16:39
alexisbor voidspace16:39
alexisb_dooferlad or voidspace ping16:50
voidspacealexisb_: pong17:05
alexisb_heya voidspace17:06
alexisb_just quick q for bug triaging17:06
alexisb_https://bugs.launchpad.net/juju-core/+bug/162991217:06
mupBug #1629912: the provision network IP addresses have to be smaller than the ones on the public network <juju-core:New> <https://launchpad.net/bugs/1629912>17:06
alexisb_^^^ looks like an ip ordering issue which is a known bug?17:06
voidspacealexisb_: that's what it sounds like, although it's unclear17:07
voidspacealexisb_: I didn't know we had an IP ordering bug!17:07
alexisb_hmm, ok :)17:07
alexisb_I will give ti to rick for now then17:08
bdx_hows it going all?17:24
bdx_is there a way to specify what subnet juju bootstraps to?17:25
mupBug #1629912 changed: the provision network IP addresses have to be smaller than the ones on the public network <juju-core:New> <https://launchpad.net/bugs/1629912>17:26
hatchis there a way to get the juju controller and model uuid from the cli?17:28
alexisb_juju show-model17:30
alexisb_juju show-controller17:30
alexisb_is that what you were asking hatch?17:30
hatchalexisb_: how embarassing17:31
* hatch slowly backs away and closes the door on his way out17:31
hatch:D17:31
alexisb_:)17:32
perrito666hatch: isn't this where your fellow contrymen say their most iconinc catchphrase?17:34
hatchperrito666: lol17:34
mupBug #1629951 opened: cannot specify subnet to  create controller in on bootstrap <juju-core:New> <https://launchpad.net/bugs/1629951>17:50
gQuigs new to Go.. how can I build/install juju 1.25?  the instructions seem geared towards trunk...18:32
natefinchgQuigs: after getting the code, git checkout 1.25 (or juju-1.25.6 for the latest 1.25 release)18:36
natefinchgQuigs: you can download/install 1.25 on many machines... you probably don't need to build it unless you want to hack on it18:36
gQuigsnatefinch: I need to test a 1.25.6 fix that might break stuff18:37
natefinchgQuigs: valid :)18:37
gQuigsa binary build of 1.25.6 would be fine, but I haven't found one18:37
natefinchgQuigs: https://jujucharms.com/docs/1.25/reference-releases18:38
natefinchgQuigs: it's hard to find if you don't know how to get there (and even if you do it's like 4 clicks)18:39
natefinchgQuigs: scroll down to "Proposed"18:39
gQuigsnatefinch: I have actually found that, but the Proposed branch hasn't moved to include the fix I'm looking for (at least according to the PPA) - https://launchpad.net/~juju/+archive/ubuntu/proposed?field.series_filter=xenial18:40
natefinchgQuigs: ahh, bummer18:40
gQuigsbut I never tried the centos (tar.tz) builds.. could they be newer?18:41
natefinchI'm sure they're all built off the same codebase18:42
gQuigsyup, confirmed that, all the same older version :(18:44
natefinchgQuigs: building juju really isn't hard: http://pastebin.ubuntu.com/23271348/18:45
natefinchgQuigs: lines 4-8 are just setup... after that, rebuilding just requires go install ./...  (which means build everything in this directory and all subdirectories)18:46
gQuigsah, looks like I got most of that, except for the go get launchpad.net/godeps18:46
gQuigslet's see18:47
natefinchahh yeah, you need godeps... that sets all the repos juju depends on to the correct revisions18:47
natefinchIf you want to run the tests, you'll need to install mongo (yes, it's terrible, I'm sorry) ... but if you just want to build and run, you don't need it.18:48
gQuigswell, it worked, but maybe I'm just blind, but how do I actually run it?18:54
natefinchhaha18:54
natefinchso the binaries get put in $GOPATH/bin18:54
natefinchjuju and jujud18:54
gQuigsyea, they didn't end up there...18:55
natefinchoh uh hmm18:55
gQuigsmaybe I should try it again.. I already had already tried to get juju installed...18:55
natefinchalternatively, from the root of the repo, you can do go build ./cmd/juju and go build ./cmd/jujud and it'll put the binaries in the current directory18:56
gQuigsnatefinch: could this be a difference between go on trusty vs xenial?  (sorry forgot to mention I'm on trusty)19:15
gQuigsahh.. blah.. do I have to manually install go 1.6?19:26
natefinchgQuigs: what does go version say?19:29
gQuigsgo version go1.2.1 linux/amd6419:30
natefinchoh yeah, that won't work19:30
natefinchI mean, it might work in 1.2519:30
natefinchbut it really should be 1.619:30
gQuigsyea, I just installed go1.6 manaully19:30
gQuigswill try again19:30
thumpermorning all20:11
alexisb_morning thumper20:11
gQuigsthanks a billion for your help nate!20:27
gQuigs(it's working now)20:27
katcothumper: morning tim. here, start the day with a fresh cup of easy review: https://github.com/juju/charm/pull/22420:28
thumperkatco: shipit20:29
katcothumper: ta20:29
katcothumper: will have a series of these soon... maybe only 1 more based off the pr you have already reviewed20:30
natefinchgah, is there no way to juju login without it being interactive?20:32
natefinchthumper: do you know about login/logout?  This code is a mystery to me...20:40
thumperas in the CLI?20:40
thumperno20:40
thumperfrom the apiserver, yes20:40
natefinchthumper: yeah. cli.... there's a bug, but I can't even really find where we're prompting for a password...20:41
gQuigsheh.. agent-streams: local works :)20:56
=== natefinch is now known as natefinch-afk
alexisb_thumper, I assume you are ditching the bug scrub call?21:04
thumperyeah21:04
alexisb_which is fine by me, means i can find some lunch21:04
thumperok21:04
* thumper recalls a bug about what he is looking at22:01
mupBug #1630029 changed: models should inherit vpc-id from controller  <juju-core:New> <https://launchpad.net/bugs/1630029>22:10
alexisb_wallyworld, you around?22:14
wallyworldalexisb_: yes, otp22:14
katcowallyworld: ohai... thought you were on national holiday. we can still do our 1:1 if you like22:14
wallyworldone sec22:14
perrito666wallyworld: welcome back22:15
wallyworldkatco: ok, one sec22:15
wallyworldalexisb_: sorry, free now, did you have a question?22:18
mupBug #1630029 opened: models should inherit vpc-id from controller  <juju-core:New> <https://launchpad.net/bugs/1630029>22:19
alexisb_wallyworld, yes, thumper and I do: https://bluejeans.com/503686501822:19
thumperwallyworld:  https://bugs.launchpad.net/juju/+bug/162908922:22
mupBug #1629089: API Login ACL response values differ from CLI <juju:In Progress by thumper> <https://launchpad.net/bugs/1629089>22:22
perrito666axw: lemme know if https://github.com/juju/juju/pull/6321#pullrequestreview-2234618 suits what you asked so I can merge this23:22
axwperrito666: LGTM, thanks23:39
perrito666tx axw23:39

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