15:03:22 #startmeeting ansible core irc meeting 15:03:22 Meeting started Thu May 24 15:03:22 2018 UTC. 15:03:22 This meeting is logged and archived in a public location. 15:03:22 The chair is bcoca. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:03:22 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:03:22 The meeting name has been set to 'ansible_core_irc_meeting' 15:03:40 0/ 15:03:46 o/ 15:03:54 o/ 15:03:56 #topic https://github.com/ansible/ansible/pull/33986 15:04:15 .hello2 15:04:16 sivel: sivel 'Matt Martz' 15:04:32 * ryansb wave 15:04:59 ola 15:05:35 * sdoran waves 15:06:08 o/ 15:06:24 * gundalow waves 15:06:38 soo any other opinions on that ticket? 15:07:00 i know alikins wanted a 'facts expressions' facitliy that allowed to define a bunch of these to be processed before/after gathering 15:08:29 #chair abadger1999 mkrizek gundalow tbouvet akasurde sac sdoran 15:08:29 Current chairs: abadger1999 akasurde bcoca gundalow mkrizek sac sdoran tbouvet 15:08:40 * gundalow sits 15:08:40 -1 on that PR. 15:08:51 While I love facts in Ansible, it's hard to be all things to all people. Including minor things like this in the default facts clutters things up. 15:08:57 .hello2 15:08:58 maxamillion: maxamillion 'Adam Miller' 15:09:30 I much prefer creating an easy mechanism to allow folks to make their own custom facts modules. 15:09:32 It's not about "gathering" something from the managed machines 15:09:58 agreed 15:10:00 True, it's really just munging existing data. 15:10:05 sdoran: already done 15:10:16 goarch filter! 15:10:23 any vars file can munge data, i dont see the need for this 15:10:31 abadger1999: not even, this is too simple imho 15:10:43 So I'd say there are better ways to solve this. -1 from me 15:10:48 I agree with sdoran 15:11:22 seems consensus is 'no' 15:11:37 bcoca, how we can achieve this without new facts ? just curious 15:11:51 -1 on goarch 15:11:55 see my post in the ticket 15:12:08 you just define the vars anywhere and they'll be populated once facts are gathered 15:12:10 bcoca, ok 15:12:31 vars: or extra vars or inventory ... anywhere 15:13:14 maxamillion: is that enough for you? 15:13:36 bcoca: yup, this is good, thanks! 15:13:40 i mean, he should just put my post in group_vars/all.yml 15:13:48 if he is that avid of golang user 15:13:54 Yeah, that's a much better way to do it. 15:14:15 #topic dag's cobbler modules https://github.com/ansible/ansible/pull/39913 https://github.com/ansible/ansible/pull/39910 15:15:06 @dag ? 15:15:16 ^ from post, he seems to be looking for reviewers 15:15:32 jimi|ansible: want to take this one? 15:15:36 i haven't touched cobbler in 5 years, so I'm not sure I'm the best for it 15:15:44 longer for me 15:15:46 though I'm not sure it's changed much since then... 15:15:46 <= 7yrs here 15:16:35 sync one seems very simple 15:17:40 i know it'll be groan inducing, but cobbler is simple enough that i'd demand integration tests on these PRs 15:17:45 state=query .. properties as generic dict ... 15:18:01 ok, going to table this then till dag appears 15:18:08 approved sync 15:18:12 I am here 15:18:29 dag: what is your test plan? 15:18:40 based on the things bcoca just stated, indicates that the PR doesn't meet our module guidelines 15:18:48 @bcoca those would be my two main grievances as well 15:18:48 jtanner: good question, I can add some tests, but they will be disabled anyhow 15:19:00 * sdoran relocating 15:19:01 so wasn't sure if this was wanted 15:19:11 cobbler can be installed quickly iirc, so it's feasible to have destructive integration tests 15:19:18 query should be a lookup, as query shouldn't be a state, or a separate facts plugin 15:19:31 also on sync module, supports check mode but just assumes always changed, doesnt cobbler api allow you to find out if sync had diffs? 15:19:38 for cobbler_system, I'm not a fan of having properties being a mapping under a single property 15:19:54 ^ that is my other issue 15:19:56 bcoca: sync always changes things 15:20:03 bcoca: no, api is very basic 15:20:15 k, that is what i thought, just needed to confirm 15:20:33 had hoped it had been updated since i last used 15:21:05 jimi|ansible: if I list all the options, we need to test the correct naming with every Cobbler release, which is a lot harder 15:21:31 jimi|ansible: possibly this is not an issue, but I don't have a lot of experience with older Cobbler releases and the API 15:21:38 don't we have a mechanism to already recursively specify argument_spec stuff? 15:21:46 jimi|ansible: yes 15:21:59 this module implements its own way of that working 15:22:08 that's not the problem, I don't know if the list of options as changed over time 15:22:18 I only need a limited subset for myself 15:22:43 dag: sure, and I'm not sure the api gives any hints about what is supported, or if it blows up when unknown params are specified 15:22:58 I cannot query the options using the API, so I can't make it smarter than this, except hardcoding the options making it very specific to one release possibly 15:23:23 ugh, that's a bummer :/ 15:23:38 Well, let me add tests and ensure that it is tested properly, including errors 15:23:51 so yeah, for this case i don't think there's much of an option unfortunately :/ 15:24:03 but if it would give a proper error, is this scheme acceptable ? 15:24:23 can you guys do this offline (on ticket?) so we can get on with other topics 15:24:29 yep 15:24:31 ok 15:24:31 thanks 15:24:38 #topic https://github.com/ansible/ansible/pull/37877 15:24:53 *cringe* another jenkins plugin with a 'params' .... 15:25:17 maxamillion: sounds about right, its really like command/shell .. no good way to know 'changed' 15:26:09 @maxamillion?? 15:26:14 ^ anyone else have opinion on that? 15:26:51 *crickets* 15:27:23 if that's acceptable, I'm good with it .. just wanted to double check with everyone 15:27:27 Should always set changed=True instead of always setting changed=False 15:27:37 abadger1999: +1 15:28:14 agreed 15:28:40 commented 15:28:47 we can move on whenever you like, thanks 15:29:02 #topic https://github.com/ansible/ansible/pull/35400 15:29:11 Should the phrase "not idempotent" appear in the module docs 15:29:12 ? 15:29:19 changing the 'empty' return for ipaddr filter? 15:30:00 abadger1999: i dont think its needed, same as shell/command/script, this is just 'run arbitrary code' 15:30:21 anyone that wants to trigger a jenkins build should know that ... SHOULD 15:30:21 for ipaddr, I've asked for a new kwarg for the *new* behavior, and indicated that would could add some deprecation notice potentially 15:30:31 ^ im fine with that 15:30:38 just not change w/o deprecation 15:32:29 ok, going to consider that settled 15:32:31 Ask drybjed too? (He wrote the ipaddr filters, right?) 15:32:45 #topic https://github.com/ansible/ansible/pull/37771 15:32:50 o/ 15:32:53 But yes, +1 to the deprecation strategy 15:33:01 abadger1999: we can cc him but i think this is more a question of how we change an existing stable interface 15:33:25 ^ and i think we all agree, fine, but with deprecation period and toggle 15:34:03 @sac u have the floor 15:34:21 Thanks. I was wondering if this PR can be accepted? 15:34:45 For 2.6. 15:35:14 idk, you have 1 shippit from pilou (which i believe counts as maintainer) 15:35:29 Yeah. 15:35:52 romo created the other gluster module, did you ping him for another shipit? 15:36:18 I pinged rosmo long back. But he doesn't seem to be around. 15:36:30 note: we might want to move gluster_volume to new storage/gluster/ dir 15:36:31 So, I have kind of hit the wall. 15:36:40 I'm in the process of a PR-review-a-thon to try and get as much in as is reasonable for the 2.6 freeze, I can review later today 15:36:40 bcoca, that is on my todo lit. 15:36:42 list* 15:37:02 ok, before jtanner asks, any way we can test this ? 15:37:43 I'm not sure how we can do it. I requested a few gluster maintainers to test and review. 15:37:55 Got a couple of OK from them on the PR. 15:38:20 quick skim module looks ok, i'll give it a 'read only' pass, putting in my queue 15:38:21 I mean if that counts. 15:38:34 bcoca, maxamillion thanks. 15:38:40 bcoca: a unit test ? 15:39:12 Pilou: integration, would be nice to see it actually works with the tool 15:39:26 #topic https://github.com/ansible/ansible/pull/38280 15:39:41 =) 15:40:05 @tbouvet ? 15:40:13 same issue, you need reviewrs to push forward? 15:40:18 I was wondering if this PR can be accepted because I have done all I can do (integration tests, documentation, ...) 15:40:31 @bcoca : yes 15:40:44 dag: you have not cleared your negative review on this? 15:41:14 I have done every remark from review 15:41:22 I think, it's difficult to split in 2 modules because all commands are to manage a docker swarm cluster. 15:41:33 i see, but i would like him to clear it before proceding 15:41:42 im not familiar with the module, he is 15:41:48 I don't know how to do that 15:41:58 @ryansb anyone in core doing docker currently? 15:42:10 tbouvet: not up to you, its him that needs to clear it 15:42:24 ok 15:42:24 or not, then it would be up to you to address the issues 15:42:31 I'm doing docker currently 15:42:42 chouse is technically doing Galaxy work, but has done docker module things in the past 15:42:56 i know, but he has left that role 15:43:12 was hoping someone else was involved and had time to chime in on this docker_swarm module 15:43:29 I'm tangentially doing docker, but not in official capacity for core work ... I've worked with the docker python API a lot in the past though so I can fill that role if we need someone to 15:43:58 FYI, I'm ready to do others modules like docker_stack, ... (if it's can help you) 15:44:10 nice, if you can give it another once over, dag and you should count as enough shipits when ready 15:44:52 @dag? you still here? 15:45:26 tbouvet: I'm open to all docker modules you care to bring to the table and maintain :) 15:45:37 @tbouvet i'll ping him, he and @maxamillion should get you sorted out 15:45:44 bcoca: +1 15:45:59 +1 15:46:17 #topic open floor 15:47:01 bcoca, you mentioned moving gluster_volume under storage/glusterfs 15:47:15 once the PR is accepted, i'll do it 15:47:28 Oh okay. 15:47:39 nothing there currently to 'move to' 15:48:02 The question was: I have a peer fixing a bug in gluster_volume https://github.com/ansible/ansible/pull/40644 15:48:16 Does it make sense to do it as part of that bug. 15:48:31 I fixed it just today, so it has tme before being reviewed :-) 15:48:51 Did anyone show up for a meeting about the change to file follow=True? 15:48:55 dont worry, no need to do both there, its simpler if i just do it 15:49:08 bcoca, ack! 15:49:15 @abadger1999 not that i know of, no topic on ticket either 15:52:44 k, if nothing else, closing meeting in 1min 15:52:46 Feebacks welcome on https://github.com/ansible/ansible/pull/39809 (Tower modules: fix parameters handling) 15:53:54 17 file PR on open topic ... you are EVIL 15:54:42 quick skim, lgtm, i'll see on pinging authors to get shipits 15:55:17 Pilou: i pinged those folks internally for a review 15:55:27 Pilou: you should heave ryanpetrello review those. He did a bunch of work to them recently. 15:55:44 Jinx! 15:55:59 triple jinx 15:56:08 Pilou: you might get review in 1h 15:56:14 We're very good at offloading work, evidently. :) 15:56:34 we're good at not pretending to know tower, that's for sure 15:56:38 hot potatoe ... PR edition 15:56:42 potato* 15:56:47 why did I add an e on the end? 15:56:49 meh 15:56:58 if the potato is full of c4 and on a random timer, yes, apt alegory 15:56:58 tomato, potato 15:56:59 :) 15:57:04 hi, sorry, somebody asked about ipaddr filter, what are you up to? 15:57:35 drybjed: they want to change the 'empty' result, we decided, ok, but add toggle and deprecation period 15:57:54 https://github.com/ansible/ansible/pull/35400 15:58:00 looking, thanks 15:59:03 drybjed: we can continue any discussion on ticket 15:59:06 #endmeeting