16:00:09 #startmeeting Ansible VMware Working Group Meeting 16:00:09 Meeting started Mon Feb 12 16:00:09 2018 UTC. The chair is akasurde. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:09 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:00:09 The meeting name has been set to 'ansible_vmware_working_group_meeting' 16:00:22 Hello Everyone 16:00:33 hi akasurde 16:00:46 #chair dericcrago 16:00:46 Current chairs: akasurde dericcrago 16:00:55 Hi dericcrago 16:01:42 I can't stay long, I just wanted to say I'm getting ready to add the -vvvv output on PR35618 as requested 16:01:57 dericcrago, cool 16:02:02 thanks 16:04:31 dericcrago, I want to discuss vmware_guest and disk management 16:05:01 Hi 16:05:10 #chair kaneda-fr 16:05:10 Current chairs: akasurde dericcrago kaneda-fr 16:05:12 Hi 16:05:44 I want to discuss vmware_guest and disk management 16:06:10 good topic, I can add a discussion point on module for managing independant disks 16:06:43 I would also like to discuss the position regarding support for Pyvcloud > 18.2.2 which is Python 3 only 16:07:12 right now only 1 scsi controller and 15 disks are managed by vmware_guest 16:07:32 Cool 16:08:33 we hve only 3 modules for vCloud 16:08:44 where is the restriction for vmware_guest ? 16:09:26 I have patch but it is not idempotent 16:09:35 #info https://github.com/ansible/ansible/pull/33338 16:10:14 code review and testing is most welcomed 16:10:21 sorry, I need to leave for an appointment, but I'll read thru the chat when I get back 16:10:38 If anyone has better solution please comment 16:10:42 dericcrago, ok 16:16:59 kaneda-fr, are you still around? 16:17:10 kaneda-fr, what do you think ? 16:22:54 back 16:23:27 sorry for that 16:23:59 don't know much about the vcenter part 16:26:45 Ok 16:26:46 np 16:26:54 But you can comment on code 16:27:08 just one question, When you create a new controller, any risk to reuse an existing number, is it something that needs to be cjecked ? 16:28:20 yes we can do that 16:28:39 there are only 4 SCSI controller so check will be easy, i guess 16:30:15 also when you disk_unit_number is 16, you assign 0, what if 0 is already assigned ? shouldn't you pick the next free (if any) ? 16:31:15 ok 16:32:00 Actually, vmware_guest follows idempotent behaviour 16:32:40 all disks specified will be assigned in the order they are mentioned so there is a "little" or no chance of assigning/re-assigning same unit_number 16:32:51 what I did on my module for vCloud is that the ctrl & bus number must be passed via ansible 16:33:49 oh 16:33:50 hum, when you create disk, are you able to check if that disk already exist ? 16:33:59 Sadly not 16:34:17 so if you run this twice, it will create 2 disks I guest 16:34:19 guess 16:34:33 I am unable to find a way to detect same disk name 16:34:43 Can you share code of your vCloud ? 16:34:48 module* 16:35:10 https://github.com/kaneda-fr/vca_disk 16:35:43 independant disks have a name, so easy to track if it already exists 16:36:13 Can you elaborate on this more ? 16:39:31 in vCloud you can create an independant disk 16:39:40 that you can then attach/detattach from a VM 16:40:04 ok 16:40:30 as this disk is an object in vCloud it has a reference and a name 16:40:44 so when you manage that object, it's easy to check if it already exists 16:41:38 ah 16:41:50 That liberty is not available in case of ESXi 16:42:03 Atleast I don't know about that 16:45:43 the ability to specific the ctrl & bus number would be interesting, then from ansible you can ensure you know exactly which disk you manage 16:49:04 Ok 16:49:12 I will try that in this PR 16:51:05 otherwise, looks good 16:51:08 ;) 16:53:44 I'd like to submit the module to manage independent disks, beside following the guidelines for modules, what else shall I do before submitting ? 16:58:33 Nothing as such 16:58:46 Integration tests are necessary 17:02:53 moted, will need to add those. 17:03:39 my other point was regarding the usage of latest pyvcloud version which only supports python 3. 17:04:37 There is major progress in the API coverage in that version and that would allow addition of a lot of feature sin ansible, like supporting multiple Vms per vapp, multiple NICs, managing directly attached disks, creating new tenant, etc. 17:10:16 Cool 17:10:24 kaneda-fr, Thanks for your time 17:10:43 We are over time 17:10:49 I will end the meeting 17:11:07 #endmeeting