[01:36] kwmonroe: will do :-) [02:48] I'm not sure it is juju... just sayin [02:48] although I'm biased [02:49] wallyworld: just chatted with veebers about the launchpadlib upload bug [02:49] it seems it is a bug in the underlying python library, but we identified a potential work around [02:49] great ok [02:49] and veebers is testing it against staging lp [02:49] awesome [02:49] ty [02:49] thank veebers [02:50] thumper: no worries, thanks for chasing that up [02:57] thumper, wallyworld argh, need to sort out 2fa for the staging sso. I set it up years ago. I think I might still have paper codes somewhere :-\ [02:57] haha [02:58] veebers: if it takes more than a few minutes, see if you can poke IS about it [02:58] sometimes it is faster to get it reset... [02:59] thumper: heh have already pinged. I think a reset is all that's possible :-) [02:59] I noticed :) [03:00] * veebers checks room for thumpers hidden cameras [03:00] no, but I'm in the IS channel :) [03:01] and I have the konversation summary view with all channels in it [03:03] hah ack, I have something similar [03:20] thumper: remind me that emacs mode you liked for binary/hex data [03:20] hexl-mode [03:21] sweet, thanks [04:35] https://bugs.launchpad.net/bugs/1778749 [04:35] Bug #1778749: error when using juju-reboot from hook [04:47] babbageclunk: not sure if you'll have time today for that review? if you're in the middle of something can wait till another time [04:47] wallyworld: oh, sorry! looking now [04:48] no worries, can wait if you're busy [05:16] wallyworld: I have pushed the PR. please review it. [05:16] sure [05:16] iam yet to test the charm push [05:16] also please let me know if more work is needed in unit test case. [05:25] vino: let me know if comments don't make sense [05:26] sure wallyworld [05:29] wallyworld: mostly name conventions. [05:29] but just one question [05:29] sure [05:30] we are not returning error incase version string is generated [05:30] so incase of error instead of logging what needs to be done. [05:30] i just want to make sure its empty string [05:30] annotate the err [05:30] ? [05:32] you could argue that an error should result in the operation failing. but then again, should it be fatal if someone has a git charm checkout and no git available. i think we can start with just logging an error [05:35] ok. i will log at error. [05:38] or maybe a warning [05:38] i think a warning is better as an eror means fatal [05:42] ok sure. [05:42] and the last comment. [05:42] is that for unit tests ? [05:42] yeah, there's ArchiveTo tests [05:42] more units tests for ArchieveTo [05:43] they need to be updated or a new one added [05:43] ok. [06:05] thumper, wallyworld: just finished testing the launchpadlib upload issue workaround and it's all good. I'll push the updated script and fire off an email so the team is aware (in case, for whatever reason, things go borked during a release) [06:05] yay, ty [06:05] veebers: will ned to update the jenkins job to remove the warning text also [06:07] wallyworld: it might be worth keeping it there, in case something goes wrong with the work around. Although perhaps you're right /me being over cautious [06:07] ifsomething goes wrong withthe workaround that's a bug to be fixed IMO [06:08] true, but it'll be good to have documented a workaround for the workaround, in case its work isn't around ^_^ [06:10] it would but that's just papering over a problem that shjould now be considered fixed [06:11] i'm sure we could manually recovere from other issues with release jobs but we don't - we fix the job [07:23] veebers: thanks, I appreciate your effort around testing and checking [09:01] jam: Any glaring issues with mine and Simon's PRs? Keen to merge and move it along. [09:02] will look now [09:30] manadart: there is something [09:30] probably small, thoug [09:31] jam: Shoot. [09:33] manadart: specifically, you changed contanier.Metadata instead of being a map[string]string it is now *just* a modelUUID, and we shouldn't call that Metadata [09:37] The prior implementation of metadata was an unnecessarily heavy abstraction that meterialised container config into a data structure called where it was set/retrieved and transparently written as container config prefixed with "user." where necessary. [09:39] Now, config is set directly with the prefixes, and metadata is just a method to retrieve the user-namespaced keys directly for all those custom keys - container UUID, model UUID , cloud-init ser-data etc. [09:39] ^ "... into a data structure where it was..." [09:45] manadart: yeah, actually I missed that you were passing the key *into* Metadata() [10:00] Hi. Is it possible to have juju run a script on deploy of a machine. i am trying to have a loopback device created on deploy. Thanks [12:46] morning party people [14:18] kwmonroe, wallyworld, thumper: To be fair, the most reasonable explanation that I can come up with for so many VMs is multiple runs of conjure-up, thinking that maybe some of them failed while waiting for the cluster to report ready, or during a post-deployment step. We need to make it more obvious when a deployment fails after handing it off to Juju that it may be partially or even fully functional and how to interact with it or at least tear it [14:18] down. [14:27] stokachu: https://github.com/conjure-up/conjure-up/issues/1482 re ^ [14:31] +1 [15:16] can you change a space binding once lxd has been deployed [15:22] rick_h_: I said constraints should be easy, but it was *really* easy. I actually have it working here. Instance types is trivial too. I will test it properly and propose a PR in the morning. [15:22] manadart: cool ty for looking. It'll be fun to play with and I'm sure bdx and magicaltrout will be very interested [16:25] manadart: thats great news [16:36] stickupkid: if you look at https://github.com/juju/juju/pull/8849 - i added the gomock matcher [16:39] hml: OfTypeBool to me sounds like any bool would suffice, should the name be IsTrue? [16:40] stickupkid: i think i have it working for your choice of true or false [16:40] stickupkid: at least the tests seems to indicate [16:43] hml: maybe we should explicitly test for bool i.e. return o.b == b.(bool) [16:44] stickupkid: perhap… gomock didn’t like the reflect line i had to check that the value was a bool [16:44] hml: https://github.com/juju/juju/pull/8849/files#r198563697 [16:44] hml: better explained [16:45] stickupkid: thx [21:14] Hello there, [21:14] Can anyone tell me if they seen the error: DEBUG unit.neutron-gateway/0.config-changed Cannot find device "eno2" and ERROR juju.worker.uniter.operation hook "config-changed" failed: exit status 1. [21:15] P.S. I already have `net.ifaces=0` configured on the MAAS server [21:18] Daltron7: not sure, so the config-changed hook ran and whatever the charm is doing in that hood is failing with the error about eno2 [21:19] Daltron7: the config in question here is the application config "juju config neutron-gateway" [21:19] Daltron7: might have to hit up the charm authors to see what's failing [21:20] seems like it is trying to configure eno2 and failing: unit.neutron-gateway/0.config-changed subprocess.CalledProcessError: Command '['ip', 'link', 'set', 'eno2', 'up']' returned non-zero exit status 1. [22:39] babbageclunk: thanks for review! the k8s stuff is gnarly for sure. but it works. i'll be documenting ther workflow and expected setup of storage classes etc and feedback there will help finetune the api usage [22:43] wallyworld: cool, sounds good! [23:03] wallyworld, babbageclunk: When using state.db().Run(...) with a simple []txn.Op{} Inserting a doc that has an Id, should I expect that Id to be == _id for that entry? [23:04] no, as the model uuid is prepended [23:04] if you look at mongo directly [23:04] wallyworld: ah *thats* what it is, cool thanks [23:05] that's done automagically [23:05] and it is stripped off on the way out [23:06] what wallyworld said [23:06] wallyworld: I'm not seeing it stripped off when I do "coll.FindId(resourceID).One(&raw)" raw["_id"] == "some-uuid-string-here:" [23:06] Ah, am I circumventing the auto-niceness doing it that way [23:06] it won't be there as you're looking at the raw data [23:07] the doc itself will have the correct DocId [23:07] veebers: note, this also doesn't happen for collections that are marked as Global: true in allcollections.go [23:07] ah right, that makes sense. Cheers wallyworld [23:07] global collections are used across models without the need for discrimination [23:08] wallyworld, babbageclunk oh, right saw that too (Global in allcollections). Ian, should the docker resource storage be global? I presume at the moment the uuid used in the id will be the controller? [23:08] charms are per model so no [23:09] wallyworld: ack [23:16] veebers: veeeeeeeebeeeeeera [23:16] staaaaaaanduuuuuup [23:18] wallyworld: oh oop ssory omw [23:19] wallyworld: my fault :-) [23:19] good one hml [23:22] hml: re: adding a failure cause, it's not a job change but a thing added via jenkins ui. Will walk through after standupp :-) [23:37] hml: actually I got ahead of myself, there was already a rule there that I only had to tweak (use \d+ instead of a specific number). If you have a look now at the job the failure reason is obvious [23:38] veebers: i see it. thank you. :-) [23:40] hml: not the description is wrong :-| I updated it to be correct. I'll add what I did to our discourse [23:40] ty