=== frankban|afk is now known as frankban | ||
frankban | axw: 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 it | 09:02 |
---|---|---|
axw | frankban: looking | 09:02 |
frankban | axw: ty | 09:02 |
axw | frankban: I've just pushed one comment, but I'm still reviewing | 09:07 |
frankban | cool | 09:10 |
axw | frankban: done | 09:16 |
frankban | axw: thanks, good suggestions | 09:17 |
mup | Bug #1629817 opened: [arm64] bad cpu-cores detection <juju-core:New> <https://launchpad.net/bugs/1629817> | 10:04 |
voidspace | mgz: ping | 10:39 |
voidspace | mgz: hmmmm... unping | 10:40 |
voidspace | mgz: was going to ask for vsphere creds, but I see them in cloud-city as usual | 10:40 |
rogpeppe | anyone know if there's a way to list all the users that been granted permissions on a model? | 10:50 |
perrito666 | Morning all | 10:51 |
rogpeppe | perrito666: hiya | 10:52 |
rogpeppe | perrito666: do you know the answer to the question i just asked, by any chance? | 10:52 |
perrito666 | Mmm there is iirc wallyworld implemented something like that, can't remember where though | 10:56 |
rogpeppe | perrito666: i see "juju users" but that tells me all users for a controller, not a model | 11:04 |
perrito666 | rogpeppe: something with shares possibly? | 11:05 |
rogpeppe | perrito666: "juju commands | grep -i share" doesn't come up with anything | 11:05 |
voidspace | mgz: ping about vsphere | 11:26 |
voidspace | katco: natefinch: I am likely to be late for standup - daughter has to go to an emergency dentist's appt | 13:01 |
natefinch | voidspace: yikes. Hope she's ok | 13:02 |
voidspace | natefinch: just toothache, nothing serious | 13:02 |
voidspace | natefinch: 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 |
natefinch | voidspace: fair enough :) | 13:03 |
perrito666 | rogpeppe: sorry I hung on you, bank made me stash my phone under threat of arrest | 13:14 |
natefinch | lol argentina | 13:16 |
perrito666 | natefinch: well see who laughs after tue wig driven dude gets command of your country | 13:16 |
natefinch | perrito666: lol | 13:17 |
natefinch | perrito666: 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 store | 13:17 |
perrito666 | in my country you can get shot for rand.Rand{}.int() | 13:18 |
natefinch | well, using insecure psuedo-random numbers is a capital offense | 13:18 |
perrito666 | lol | 13:18 |
perrito666 | natefinch: 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 cash | 13:19 |
perrito666 | (you can see the level of footshooting put into the solution) | 13:20 |
natefinch | ahh, so, same reason we take off our shoes at the airport. Because "this one time...." | 13:20 |
perrito666 | yup | 13:20 |
perrito666 | I really hope no one does anything odd with shoes in a bank here, or visiting the banks is going to be very funny | 13:21 |
natefinch | very japanese | 13:21 |
cholcombe | i need a hand setting a breakpoint on juju. I've got gdb and dlv installed. | 14:00 |
cholcombe | cmd/juju/application/deploy.go deployCharm seems to be what is failing on me | 14:02 |
cholcombe | however gdb and dlv don't seem to know how to break on that function | 14:02 |
natefinch | gdb is dicey at best, but I've had good experience with delve via editor integration. I haven't used it via the CLI | 14:03 |
cholcombe | natefinch, delve kinda blew me away when i did a funcs command. over 100K lines of function def's | 14:04 |
cholcombe | natefinch, any idea how to point delve at the right breakpoint? | 14:04 |
natefinch | cholcombe: use editor integration, it makes things 1000x easier. What editor do you use? | 14:07 |
cholcombe | natefinch, 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 |
natefinch | cholcombe: 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% sure | 14:10 |
cholcombe | gah | 14:10 |
rogpeppe | perrito666: np | 14:11 |
natefinch | cholcombe: 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 |
cholcombe | yeah | 14:15 |
cholcombe | i thought gdb could handle this also but it appears to not be able to find anything either | 14:15 |
cholcombe | i suspect the jujud binary was built without debugging flags | 14:15 |
natefinch | gdb is known to not work well with go | 14:16 |
cholcombe | oh ok | 14:16 |
cholcombe | the problem is i have a charm which juju for some reason refuses to deploy | 14:16 |
natefinch | cholcombe: 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 |
cholcombe | natefinch, https://gist.github.com/cholcombe973/d0ab4865691d6996d0c3b20578f269ca | 14:18 |
cholcombe | charm proof passes and this charm looks like any other charm. i'm not sure what juju's problem is | 14:19 |
cholcombe | i'm running 2.0-rc2 | 14:19 |
cholcombe | it used to deploy but i don't remember which version it worked on. probably after i updated to 2.0 beta's it started failing | 14:20 |
natefinch | cholcombe: that looks like it might be a bug | 14:28 |
natefinch | cholcombe: let me try here | 14:28 |
cholcombe | natefinch, yeah none of the beta's or rc's work on this charm. i don't know what's special about it | 14:29 |
cholcombe | natefinch, i also pushed it to the charm store on --channel edge and that also fails | 14:29 |
cholcombe | natefinch, juju deploy cs:~xfactor973/gluster-charm-1 --channel edge | 14:30 |
cholcombe | natefinch, i did a charm grant everyone on that in case you want to try | 14:33 |
natefinch | cholcombe: 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 error | 14:34 |
cholcombe | other local charms work perfectly fine | 14:34 |
cholcombe | there's something special about this one | 14:34 |
cholcombe | i've tried deleting everything in the repo that is unique and it didn't help | 14:34 |
natefinch | wacky, ok | 14:35 |
natefinch | try removing the dash in the name | 14:35 |
natefinch | I gotta run, maybe someone else can help. Sorry. | 14:36 |
babbageclunk | Can anyone help me with a lxd problem? | 15:25 |
babbageclunk | I got bitten by this https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629766 while trying to install something unrelated. | 15:26 |
mup | Bug #1629766: Syntax error in /usr/lib/lxd/upgrade-bridge <lxd (Ubuntu):Fix Committed> <https://launchpad.net/bugs/1629766> | 15:26 |
babbageclunk | So I did my best to totally remove lxd and the half-configured interfaces that the failed upgrade left behind. | 15:27 |
babbageclunk | But 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 |
babbageclunk | It just says "Warning: Stopping lxd.service, but it can still be activated by: | 15:31 |
babbageclunk | lxd.socket | 15:31 |
babbageclunk | " and then completes with returncode=0. | 15:31 |
rogpeppe | i'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/1 | 15:47 |
cholcombe | natefinch, i found the problem. when i deleted the actions.yaml file it started deploying again. | 15:52 |
cholcombe | must be bad syntax or something. juju really needs a better error message for that | 15:52 |
mup | Bug #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 | ||
mup | Bug #1629919 opened: destroy-controller fails and a kill-controller is required. <juju-core:New> <https://launchpad.net/bugs/1629919> | 16:20 |
alexisb | dooferlad, ping | 16:39 |
alexisb | or voidspace | 16:39 |
alexisb_ | dooferlad or voidspace ping | 16:50 |
voidspace | alexisb_: pong | 17:05 |
alexisb_ | heya voidspace | 17:06 |
alexisb_ | just quick q for bug triaging | 17:06 |
alexisb_ | https://bugs.launchpad.net/juju-core/+bug/1629912 | 17:06 |
mup | Bug #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 |
voidspace | alexisb_: that's what it sounds like, although it's unclear | 17:07 |
voidspace | alexisb_: 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 then | 17:08 |
bdx_ | hows it going all? | 17:24 |
bdx_ | is there a way to specify what subnet juju bootstraps to? | 17:25 |
mup | Bug #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 |
hatch | is there a way to get the juju controller and model uuid from the cli? | 17:28 |
alexisb_ | juju show-model | 17:30 |
alexisb_ | juju show-controller | 17:30 |
alexisb_ | is that what you were asking hatch? | 17:30 |
hatch | alexisb_: how embarassing | 17:31 |
* hatch slowly backs away and closes the door on his way out | 17:31 | |
hatch | :D | 17:31 |
alexisb_ | :) | 17:32 |
perrito666 | hatch: isn't this where your fellow contrymen say their most iconinc catchphrase? | 17:34 |
hatch | perrito666: lol | 17:34 |
mup | Bug #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 |
natefinch | gQuigs: after getting the code, git checkout 1.25 (or juju-1.25.6 for the latest 1.25 release) | 18:36 |
natefinch | gQuigs: you can download/install 1.25 on many machines... you probably don't need to build it unless you want to hack on it | 18:36 |
gQuigs | natefinch: I need to test a 1.25.6 fix that might break stuff | 18:37 |
natefinch | gQuigs: valid :) | 18:37 |
gQuigs | a binary build of 1.25.6 would be fine, but I haven't found one | 18:37 |
natefinch | gQuigs: https://jujucharms.com/docs/1.25/reference-releases | 18:38 |
natefinch | gQuigs: 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 |
natefinch | gQuigs: scroll down to "Proposed" | 18:39 |
gQuigs | natefinch: 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=xenial | 18:40 |
natefinch | gQuigs: ahh, bummer | 18:40 |
gQuigs | but I never tried the centos (tar.tz) builds.. could they be newer? | 18:41 |
natefinch | I'm sure they're all built off the same codebase | 18:42 |
gQuigs | yup, confirmed that, all the same older version :( | 18:44 |
natefinch | gQuigs: building juju really isn't hard: http://pastebin.ubuntu.com/23271348/ | 18:45 |
natefinch | gQuigs: 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 |
gQuigs | ah, looks like I got most of that, except for the go get launchpad.net/godeps | 18:46 |
gQuigs | let's see | 18:47 |
natefinch | ahh yeah, you need godeps... that sets all the repos juju depends on to the correct revisions | 18:47 |
natefinch | If 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 |
gQuigs | well, it worked, but maybe I'm just blind, but how do I actually run it? | 18:54 |
natefinch | haha | 18:54 |
natefinch | so the binaries get put in $GOPATH/bin | 18:54 |
natefinch | juju and jujud | 18:54 |
gQuigs | yea, they didn't end up there... | 18:55 |
natefinch | oh uh hmm | 18:55 |
gQuigs | maybe I should try it again.. I already had already tried to get juju installed... | 18:55 |
natefinch | alternatively, 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 directory | 18:56 |
gQuigs | natefinch: could this be a difference between go on trusty vs xenial? (sorry forgot to mention I'm on trusty) | 19:15 |
gQuigs | ahh.. blah.. do I have to manually install go 1.6? | 19:26 |
natefinch | gQuigs: what does go version say? | 19:29 |
gQuigs | go version go1.2.1 linux/amd64 | 19:30 |
natefinch | oh yeah, that won't work | 19:30 |
natefinch | I mean, it might work in 1.25 | 19:30 |
natefinch | but it really should be 1.6 | 19:30 |
gQuigs | yea, I just installed go1.6 manaully | 19:30 |
gQuigs | will try again | 19:30 |
thumper | morning all | 20:11 |
alexisb_ | morning thumper | 20:11 |
gQuigs | thanks a billion for your help nate! | 20:27 |
gQuigs | (it's working now) | 20:27 |
katco | thumper: morning tim. here, start the day with a fresh cup of easy review: https://github.com/juju/charm/pull/224 | 20:28 |
thumper | katco: shipit | 20:29 |
katco | thumper: ta | 20:29 |
katco | thumper: will have a series of these soon... maybe only 1 more based off the pr you have already reviewed | 20:30 |
natefinch | gah, is there no way to juju login without it being interactive? | 20:32 |
natefinch | thumper: do you know about login/logout? This code is a mystery to me... | 20:40 |
thumper | as in the CLI? | 20:40 |
thumper | no | 20:40 |
thumper | from the apiserver, yes | 20:40 |
natefinch | thumper: yeah. cli.... there's a bug, but I can't even really find where we're prompting for a password... | 20:41 |
gQuigs | heh.. 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 |
thumper | yeah | 21:04 |
alexisb_ | which is fine by me, means i can find some lunch | 21:04 |
thumper | ok | 21:04 |
* thumper recalls a bug about what he is looking at | 22:01 | |
mup | Bug #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 |
wallyworld | alexisb_: yes, otp | 22:14 |
katco | wallyworld: ohai... thought you were on national holiday. we can still do our 1:1 if you like | 22:14 |
wallyworld | one sec | 22:14 |
perrito666 | wallyworld: welcome back | 22:15 |
wallyworld | katco: ok, one sec | 22:15 |
wallyworld | alexisb_: sorry, free now, did you have a question? | 22:18 |
mup | Bug #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/5036865018 | 22:19 |
thumper | wallyworld: https://bugs.launchpad.net/juju/+bug/1629089 | 22:22 |
mup | Bug #1629089: API Login ACL response values differ from CLI <juju:In Progress by thumper> <https://launchpad.net/bugs/1629089> | 22:22 |
perrito666 | axw: lemme know if https://github.com/juju/juju/pull/6321#pullrequestreview-2234618 suits what you asked so I can merge this | 23:22 |
axw | perrito666: LGTM, thanks | 23:39 |
perrito666 | tx axw | 23:39 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!