16:00:48 #startmeeting Ansible VMware Working Group Meeting 16:00:48 Meeting started Mon Nov 20 16:00:48 2017 UTC. The chair is akasurde. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:48 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:00:48 The meeting name has been set to 'ansible_vmware_working_group_meeting' 16:01:04 Hello Everyone, 16:01:56 hi! 16:02:11 #chair pdellaert 16:02:11 Current chairs: akasurde pdellaert 16:02:14 pdellaert, Hi 16:02:20 my internet connection is really really crappy, so i might drop off :s 16:02:26 np 16:02:30 thanks for the merge, akasurde 16:02:54 pdellaert, Thanks for your active contribution 16:02:55 :) 16:03:36 :) 16:03:49 anyway, what do we want to discuss today? 16:04:19 pdellaert, I wanted to discuss about "Making name parameter in vmware_guest optional" 16:04:25 #link https://github.com/ansible/ansible/pull/32960 16:06:01 Problem is that when folder is not specified, default value '/vm' is set 16:06:43 module tries to find VM in default location which is not available and end up creating new VM each time 16:06:53 rather than idempotent behavior 16:06:57 ok 16:07:23 do i need to configure a folder starting with /vm with this? 16:07:23 I wanted to discuss bad effects of removing default parameter '/vm' from folder 16:07:54 (so do i have to give the root path of the folder?) 16:07:57 yes, once default is removed, User need to specify the folder explicitly otherwise it will fail 16:09:17 what are the bad effects? 16:11:14 People may have to explicitly specify vm folder 16:12:23 well, that's release notes/documentation 16:12:33 i don't really have an issue with that 16:13:43 From end user point prespective what do you think ? 16:15:19 the problem i see is that users who have no clue about VM folders and the different folder types in vSphere will get really confused... 16:16:31 Is /vm always the root of the VM folder in a DC? 16:20:46 because in that case, why don't we always prepend it? not just use it as default, but just always add it? 16:20:46 yes, but with latest changes in find vm API, it is DC + /vm 16:20:46 adding by-default also creates mess 16:20:46 people have nested folders, nested datacenter with folders 16:20:46 and what not 16:23:08 I think I will keep this PR open for a while and let other people commit 16:23:09 i think our find VM method needs to be better, to be fair, not sure how... 16:23:12 *comment 16:23:45 yes, I mailed VMware guys but they are working on it and no reply since then 16:24:24 yeah, we need to think about this... At some point we also want to have stuff stable, because changing the whole behaviour every release will also not get us favors with users/community 16:26:27 Totally agree with you 16:26:54 Let us not break stability and keep PR open for more comments and discussion before making this change 16:27:05 ++ 16:28:17 I don't have anything else 16:28:38 If you have any topic to discuss then we can discuss that or close the meeting 16:30:49 o/ 16:31:06 #chair dag 16:31:06 Current chairs: akasurde dag pdellaert 16:31:13 dag welcome 16:31:14 :) 16:31:21 I made it finally :-) 16:31:29 but I have no topics to discuss... 16:32:07 :p 16:32:13 that's useful ;) 16:32:36 pdellaert: what you propose is how it was, but it had its limits 16:32:39 but you can help us think about the complexity of vmware_guest and its limitations 16:32:39 dag we were discussing about removing /vm as default parameter from vmware_guest argument spec 16:33:17 so we used to add /vm, if the folder was relative, or when it wasn't found 16:33:35 IIRC 16:34:13 akasurde: removing it because people make the mistake not to add the folder and using the wrong (/vm) one ? 16:34:17 I am all for that 16:34:24 but it may break working playbooks 16:34:46 so we should probably deprecate the current behavior for 3 releases... 16:35:21 yes, I am thinking the same 16:35:45 changing behaviors instantaneously increase chaos 16:36:26 it will be a slow process (2 years?) but that's ok if we are certain about the end goal 16:37:01 and we have the necessary tools for doing things like this in Ansible, it's a proven method 16:38:40 yeah, but we need a clear transition plan 16:38:46 and a clear goald :) 16:39:36 agree 16:41:22 there's one thing: (i've just been working on some playbooks), sometimes i know how a VM is named, but i don't know in what folder it is... i still want to be able ot find it (for instance with vmware_fuest_facts) 16:41:30 vmware_guest_facts 16:41:44 we need to have that covered as well, i think 16:49:15 (I'm actually running into that issue, where i have to specify the folder to find the VM, while i don't know the folder... using 2.4..1) 16:51:19 pdellaert, have you tried vmware_guest_find 16:51:35 it will find folder name for you if you just know VM name 16:51:36 ah! 16:52:05 you can chain vmware_guest_find and vmware_guest together 16:52:15 yeah, thanks :) 16:52:35 these two modules can make vmware_guest idempotent (atleast I think) 16:52:40 np 16:57:45 pdellaert, dag thanks for discussion 16:57:58 I am closing this meeting as we are over time 16:58:04 #endmeeting