00:00:17 #startmeeting Ansible Azure Working Group 00:00:17 Meeting started Thu May 31 00:00:17 2018 UTC. 00:00:17 This meeting is logged and archived in a public location. 00:00:17 The chair is nitzmahone. Information about MeetBot at http://wiki.debian.org/MeetBot. 00:00:17 Useful Commands: #action #agreed #halp #info #idea #link #topic. 00:00:17 The meeting name has been set to 'ansible_azure_working_group' 00:00:29 howdy 00:00:44 good morning :-) 00:00:45 * nitzmahone will be partially unavailable- trying to debug a build issue 00:01:14 get @jborean93 to poke me on slack if needed 00:01:25 i think not much today. i think i am the only one to join today 00:01:42 Cool- saw some movement on the unstable test work- thanks! 00:02:07 yes, that's what i am focusing on right now, i wan to close all the issues by the end of this week 00:02:12 yep, always good to see tests getting fixed 00:02:14 however some are tricky 00:02:41 function app fails because that azure api has very low limit of allowed requests per hour. 00:03:02 so i am just trying to figure out what's the reason. 00:03:33 hello, anyone there? 00:03:40 and i have a few sql, and postgresql issues, which don't appear any more. 00:03:40 yep 00:04:05 and vm will require a litle bit more attention. 00:04:09 hello Jordan, i have several prs need your review 00:04:27 will start it after zim 00:05:20 @zikalino, how about the appgateway module? 00:05:28 yeah, i just had quick update on test stability, next i will continue with facts modules. so that's all from me. 00:05:37 cool. 00:05:45 #chair jborean93 @zikalino @yungezz 00:05:45 Current chairs: @yungezz @zikalino jborean93 nitzmahone 00:05:46 about app gateway i am creating proper sample code. 00:05:56 i will push it next week 00:06:21 sounds good 00:06:21 @yun 00:06:40 @jborean93 @nitzmahone, pls help to look at web app module after discussion at last week, I updated ux https://github.com/ansible/ansible/pull/40005 00:07:48 https://github.com/ansible/ansible/pull/38084 fixed keyvault bugs, and I added a azure service principal object id lookup plugin, now keyvault tests passed, while some ci test failed to install supervisor package, 00:08:02 no idea how it's related to my change? could you shed any light? 00:08:17 yungezz: so for web app, a windows app can have multiple frameworks while a linux one cant? 00:08:45 yes, you're right 00:08:58 for windows, java_version is mutual exclusive with other framework 00:09:19 you can see sample or tests 00:09:32 is there a reason why linux one's can't have multiple frameworks 00:09:42 is there a chance that will change in the future 00:09:51 probably just design of the service 00:10:26 i guess because linux currently is container based, no idea whether they're going to change it. 00:10:40 i was actually that there could be a parameter with list of frameworks, and restriction to have only one item for linux. 00:10:44 yea 00:10:58 Was just about to say instead of having `linux_framework` and `windows_framework` 00:11:09 just have `framework` which takes a list of dicts containing name and version 00:11:11 then it's hard to explain to users, user need to know the complext logic and different 00:11:36 Not really just put in the description "for linux apps you can only have 1 framework" 00:11:49 with one framework parameter, user will need have deep knowledge on what to set, and list of supported framework in windows is different with linux 00:11:54 right now we have 2 options that do similar things with a different option structure 00:12:21 windows support java, php, python, node, netframwork, linux supports java, python, ruby, node i think 00:12:44 it's clear to user to what to set, for windows and for linux 00:12:44 You can always put that in the description and on examples 00:13:13 Right now for Windows you are setting an option for each framework. When more are added that's another version 00:13:25 if one paremter, somethings it's a list, sometimes it's must contains one and only one 00:13:35 yes 00:14:21 https://www.irccloud.com/pastebin/kcC0woWL/ 00:14:47 That's how I would see it 00:15:00 both ways are the same, the name of the framework may differ 00:15:51 Also I thought the plan options were changing, looks like you just removed the suboptions definitions but the options are still there 00:15:57 I can't remember where we landed with that 00:16:08 2 considerations, the paramter, sometimes it's a linux, some times it's limited to one element only. and windows and linux support different framework 00:16:37 yep, we can always add a check in there, when linux make sure there is only 1 entry 00:16:41 for windows, go for gold 00:17:11 you also need to check value under each platform, and they're different list 00:17:29 That's what the descriptions are for 00:17:30 to get platform, you'll need make a call to azure to determine it 00:17:43 Isn't that specified in the plan? 00:17:54 how expensive is that call? 00:18:13 for existing plan, you'll need make the call 00:18:39 i think it's a normal azure get call 00:19:14 that doesn't sound too bad to me 00:20:26 if you really wanted to, there's a potentially to skip that if a user specified a windows or linux only app but that's not a scenario that will happen all the time 00:22:08 then there's also a question whether the java container settings should be it's own option or just part of the framework definition 00:22:19 with one parameter, user will need understand the linux/windows logic by themselves 00:22:24 to fill this paramter right 00:23:00 they need to know if it is Windows/Linux anyway. I don't see how it is different from how the linux_frameworks is being done right now anyway 00:24:09 for now, if linux,usre just choose from a choice, that's all. for windows, user will see multiple suboptions to fill in,it's straigtway 00:24:28 as more and more apps are added to Windows, that means more version options to add to the windows frameworks 00:25:00 yes. if it's one parameter, user will fill in them one by one anway 00:25:25 by findout what's framework name for windows, what's framework name for linux 00:25:52 We list those in the documentation 00:26:12 and hopefully give a link to the Microsoft doc that defines them as well 00:26:38 aka what you have currently done for linux_framework 00:26:52 yes, documentation will require user need read it before, and understand what's it meanings. with 2 parameters, it's naturally to get sense what to fill in 00:27:22 I disagree, people shouldn't be blindly using options without reading what they are for beforehand 00:27:34 they need to read it anyway to find out what subkeys the windows_framework one does 00:27:41 user no need to take care of understanding when to fill multiple options, when i have to specify one option only 00:27:44 so why not just list it in the same place 00:28:40 how about let me re-think over the framework thing and go back to you? 00:28:58 i understand your main concern, 00:29:11 from meaning, they seems one thing 00:29:12 i think in most of the cases they will try to use existing samples, so i think samples are most important. then they can try to modify options. 00:30:14 yes having good examples are a really good thing 00:30:22 agree 00:30:34 if a user tries to have multiple frameworks for linux then we should give them good error messages that tell them that isn't allowed 00:30:41 and i've have samples 00:31:25 yes, that's one option, fail it and let user know it. 00:31:26 In cases where the plan is being created, do the users have to specify `is_linux` right now, does it default to True/False if they omit it 00:31:33 no 00:31:38 they omit it 00:31:45 So what happens then 00:31:49 is a Windows or Linux app created 00:32:11 that depends on platform of the exsiting plan 00:32:21 if the plan is linux, then linux, otherwise windows 00:32:24 but if that plan doesn't exist (it is being created) 00:32:44 or will this module not create the plan 00:33:03 oh, then is_linux is required if user want to create a new plan, is_linux default false 00:33:21 the module will create the plan 00:33:27 So in all cases we know (or can get) the info as to whether the platform will be linux or not 00:33:37 so we can easily check the number of entries in frameworks and fail accordingly 00:34:12 as well as fail if the framework name is not valid for that platform 00:34:17 if we really wanted to do that as well 00:35:17 yes, we can , so one option is fail user to let them know something, or another option let them not fill in wrong value 00:35:52 yes, make sure we are proactive in checking and failing with a nice error message telling them what is wrong 00:36:06 we should also make sure the examples and option description makes this quite clear 00:36:27 jborean93, i'll think over the webapp framework thing. i think we can move on to other prs 00:36:35 ok 00:36:48 i have a keyvalut bug fixing pr https://github.com/ansible/ansible/pull/38084 00:37:11 one of ci job failed to install some supervisor package, no idea how it's related to my change 00:37:23 not sure do you have any idea? 00:37:41 yuwei, do you have any pr need Jordan's review? 00:38:39 for https://github.com/ansible/ansible/pull/38084/files, having the lookup done as a separate PR is probably better 00:39:12 o, ok, got it, will seperate them out then, thanks 00:39:28 i think that's all my part 00:39:37 @yuwei do you have any thing wnat to talk 00:39:51 btw, @jborean93, what's next 2.7 release plan? 00:40:01 nothing 00:40:06 I don't think any dates have been announced 00:40:18 2.6.0 is still going on 00:40:25 we are just in bugfix mode now 00:40:46 got it. 00:40:54 thanks Jordan 00:41:05 I find current version of devel is 2.7 00:41:32 yep, the stable-2.6 branch has been created and the devel version bumped to 2.7 00:41:48 so any merges into devel are going to be for 2.7 00:42:01 any 2.6/2.5 bugfixes now need to be backported to those respected stable branched 00:42:34 I see. Thanks 00:42:38 The final 2.6.0 release should be coming out soon, we just need to go through some betas and release candidates before making the final release 00:43:17 maybe there are some new bit need to backport to 2.6 in the past few days 00:44:28 if they have been recently merged then potentially. I'm not sure when stable-2.6 was cut but it definitely was recently 00:45:03 looks like 5 days ago 00:45:06 okay I'll check it 00:45:51 @zikalino, do you have anything wnat to talk? 00:46:25 zikalino82 00:46:57 i think we're done then 00:47:06 cool 00:47:15 thank you Jordan 00:47:16 thanks everyone 00:47:19 no, nothing more today 00:47:23 thank you all! 00:47:27 will ping you in github then :) 00:47:30 #endmeeting