[00:49] kelvinliu: hpidcock: free now [00:49] yep [01:38] wallyworld: https://github.com/juju/juju/pull/10738 [01:40] looking [01:41] another one down, many to go [01:44] at least the number is finite [02:32] quick, everyone start adding more workers [03:06] wallyworld: got this pr to enable `cluster` scope rbac, +1 plz thx https://github.com/juju/juju/pull/10739 [03:06] ok, looking in 5 [03:06] Feature Highlight: Cross-model relations https://discourse.jujucharms.com/t/feature-highlight-cross-model-relations/2228 [03:59] rick_h: nammn_de: I would actually say "../relative/path/not/under/cwd" [03:59] thumper: https://github.com/juju/juju/pull/10740 [04:00] I could go either way, but the goal is to make sure we are looking up "what .git is containing the charm" and *not* "what .git contains CWD" [04:05] kelvinliu: sorry for delay, lgtm [04:06] wallyworld: np thx [04:15] babbageclunk: thanks for fixing my typo in PR [04:15] wallyworld: I'm assuming you tested against IAAS models ? [04:16] :) I figured it was simpler to fix it than point it out [04:16] wallyworld: code changes look good [04:16] thumper: yeah, sorry, i did but forgot to mention, will update PR [04:16] I'm sure this will be helpful in tracking issues with k8s controllers [04:16] yup, just had to get shit working in the first place [05:53] wallyworld: still there? [05:54] depends who's asking [05:55] wallyworld: aha, can i get some idea from u about the addrs of binding stuff 😆 [05:55] sure, standup [05:55] thx [07:35] jam: thanks for responding to that bug report (I didn't mean to imply that I didn't know what juju trust does!) [08:31] wallyworld: PTAL https://github.com/juju/juju/pull/10742 - 'juju credentials' changes [08:43] manadart achilleasa mornin guys, let's say I have a file in packages (core, apiserver, worker) which uses a common function to create a logfile, where would you guys put the function? Afaict currently those things are in the juju utils. Not sure about adding one additionally there though [09:12] nammn_de: Jump on HO? [09:12] manadart: sure [11:53] jam rick_h stickupkid does this test make sense? https://github.com/juju/juju/pull/10744/files Wanted to open that one quick to discuss whether i understood correctly what was wanted [12:43] nammn_de: close, I think the test_deploy_local_charm_revision is missing the sha/version check though [12:49] rick_h: great added. Let's wait for stickupkid pr first makes testing easiert 👍 [12:49] nammn_de: rgr [12:49] just need someone to OK it :D [12:49] stickupkid: done [12:49] stickupkid: rick did [12:49] :D [12:49] stickupkid: sorry, started but didn't finish it last night :( [12:49] stickupkid: looking at the refactor out deb one now [12:50] stickupkid: but have questions on what a property.file is [12:51] rick_h, it's like a env var file that we can pass around [12:51] rick_h, it allows them to be passed around between jobs [12:51] stickupkid: ok [13:50] manadart: if I juju add-machine, I do hit the provider address change path in the instance poller (going from 0->1 addr); no need to tweak lxd profiles ;-) [13:50] achilleasa: Great. [13:54] achilleasa: I won’t be able to get rid of NewBindings completely without ripping apart the bundle export code which uses EndpointBindings() from the description package. Also, not convient in the upgrade step. I will enhance the constructor to handle the cases you’ve brought to light [14:20] nammn_de, when you get back, my PR is landed :D [14:26] hml: Can you mark any of achilleasa's comments as resolved if they are addressed? [14:27] manadart: I did that yesterday… there was one i couldn’t for some reason, regarding the file name change [14:27] hml: OK. Ta. [14:29] manadart: updating a few more with current status, though they are not resolved [14:44] hml: sure thing. We can create a followup card to patch description at a later stage [15:13] hml: Made a first pass over the space ID patch. Got some thoughts on the new Bindings type which I'll elucidate tomorrow. [15:14] manadart: i’m in the middle of changes now… that’s a bit late from my point of view. any chance of a conversation quickly? [15:14] manadart: i know it’s late for you [15:16] hml: I have a ride waiting downstairs. There can always be a follow up if you think you'll see to landing it in your day. It's just re-org stuff. [15:17] manadart: I have more Bindings changes almost done. EndpoingBindings() is becoming a constructor based on conversations with achilleasa [15:17] manadart: so if there’s a big change on top of that… i might be wasting my time today [15:18] manadart: understand the ride part. we’ll see how it goes tomorrow [15:18] hml: That'll be fine. Got to run. [16:29] stickupkid: great thanks :D [17:10] stickupkid: still around? Got a minute? [17:48] rick_h: coming back to the acceptancetest https://github.com/juju/juju/pull/10744 , it shows that we expect charm version to be empty if no git was found. Right now it is working as expected. Given the bug report from manadart, we can tell it is not. Should we change the debug message to be of warning/error? [17:56] nammn_de: no, I don't think we want to stop the user on that [17:57] rick_h: if thats the case we could elevate the message to be a warning (?) [17:57] right now its showing on debug level "no version system found, charm version is empty" [17:58] nammn_de: right, but do we know for sure if it's that way because we don't see a .git? [17:59] nammn_de: I mean do we know it's an error vs we got it wrong somehow? [18:05] rick_h: i cannot say 100% but from the acceptancetests and debugging i found this to be the case of the cases i tested. AFAICT we use this function to generate the archive https://github.com/juju/charm/blob/v6/charmdir.go#L249 and then in there we create the version string https://github.com/juju/charm/blob/v6/charmdir.go#L419 [18:05] if one could add a test where we would be outside of the expected boundaries we can be more sure [18:06] I could be wrong though, if we use another lib/method instead of ArchiveTo, but could not find so. At least not for the use-case of deploy local charm "juju deploy ~/charms/ntp-nogit --debug" [18:07] nammn_de: no, I think you're on track. I just wanted to make sure that we're not erroring when we "don't know" vs we're sure it's a real error [18:09] rick_h: Yea makes sense, I would say elevating the log level in this case is in any case a win [18:09] nammn_de: sounds good [18:09] If a version could not be generated, it is a warning, not error, right? [18:10] rick_h: ^ [18:10] nammn_de: not if there's no .git though is what I was wanting to double check. [18:10] nammn_de: not every charm will have to have it [18:18] nammn_de: let me know if you're free to chat and we can walk through it [18:18] rick_h: yeah, HO? [18:18] nammn_de: k, meet you in daily [18:39] rick_h: yeah just tested the deploy. Debug message is: "20:35:11 DEBUG juju.charm charmdir.go:429 charm is not in revision control directory" and "charm-version" does not even exist. Could it be that we never parsed those local "version" files? :D [18:39] nammn_de: I would hope not, keep going though and see if we load it in a different path perhaps [18:47] rick_h: tested : relative path (deploy . | deploy ./designate), absolute path (deploy ~/workspace/charms/designate) https://pastebin.canonical.com/p/qVjYqK2dVd/ [18:47] rick_h: no charm_version [18:50] nammn_de: ok, so there's our bug then I guess [18:50] I thought that worked... [18:51] rick_h: Good, now I learned that charms are using that. I thought vcs was the only way I can work on this next (?) [18:58] rick_h: added additional information to the related launchpad bug [19:45] nammn_de: k, ty [19:55] morning [19:55] morning thumper [21:09] https://github.com/juju/juju/pull/10745 [21:44] thumper: approved [22:23] babbageclunk, thumper: we need a rubber stamp [22:24] wallyworld, kelvinliu, hpidcock: is there a spec/reference for k8s bundles? [22:26] timClicks_: that's thumper's job! ;) === timClicks_ is now known as timClicks [22:26] timClicks_: found this https://discourse.jujucharms.com/t/bundles-now-supported/365 [22:26] I mean, any indication of what needs stamping would be good too. [22:27] kelvinliu: thanks - I'll update the jaas.ai/docs bundle page [22:28] and here https://discourse.jujucharms.com/t/charm-bundles/1058 [22:28] np [22:30] timClicks: sorry was on a call, what we have in discourse is the best source of info [22:30] wallyworld: all good [22:30] babbageclunk: i don't quite get your question on the PR? what do you mean by job? [22:33] when you call a charm function, the default is sync (blocking). the progress messages for the resulting task are printed as they occur [22:33] when the task ends, showing the task also has all the log messages in the result yaml [22:58] I mean, will the logging be both in the stdout of the task and the list of log messages? It looks like no, from reading the code more. [22:59] wallyworld: sorry - I didn't see your question until now. [23:01] babbageclunk: no, stdout is what the actual action/function code itself writes to stdout [23:01] cool [23:01] juju tracks the log progress messages separately [23:02] wallyworld: I'm confused by the log message handling - shouldn't Run wait for processLogMessages to finish? [23:05] Maybe I've missed it. [23:27] Hello fellow Jujuers. :) I am new to the tool, interested in trying it on LXD. Running into the `ERROR Get https://10.208.133.1:8443/1.0: Unable to connect to: 10.208.133.1:8443`. However, when I connect to the IP in my browser, it outputs JSON status. Only thing I am thinking is that I don't have a certificate, as browser shows a cert warning. Is there way to pass parameter to JUJU to ignore cert warning or is this issue related to [23:27] something else. I will be very thankful for any advice. [23:29] dmitri-s: out of interest, what does `curl https://10.208.133.1:8443/1.0`do? [23:32] curl: (60) SSL certificate problem: unable to get local issuer certificate [23:38] Browser returns: {"type":"sync","status":"Success","status_code":200,.... But I had to click ignore cert warning. My understanding (or lack there of) is that 10.208.133.1 is not the Juju controller, but LXD network bridge. [23:41] dmitri-s: can you pastebin the full output you're seeing? [23:43] I think I've seen it when the juju code can't get to the port from inside the container (which it needs to be able to launch new ones). [23:43] If you launch a container yourself, can you curl that address? [23:43] Full output of the bootstrap process or the JSON from LXD? [23:44] dmitri-s: from bootstrap (ideally with --debug) [23:46] Bootstrapping again with debug will post in a minute. [23:46] thanks [23:47] how about launching a container with `lxc launch ubuntu:`, then going into it with `lxc exec bash` and running `curl --insecure https://10.208.133.1:8443/1.0`? [23:55] Considering how long the output is, especially with debug I put it on github: https://github.com/dmitri-s/juju-learn/blob/master/jujubootstrap.log