Tuesday, 2019-12-03

*** trident has quit IRC07:51
*** johanssone has quit IRC07:51
*** trident has joined #openstack-ansible-sig07:51
*** johanssone has joined #openstack-ansible-sig07:52
*** gtema has joined #openstack-ansible-sig08:30
*** sshnaidm|afk is now known as sshnaidm10:26
*** dmellado has quit IRC10:33
*** dmellado has joined #openstack-ansible-sig10:35
*** trident has quit IRC11:40
*** trident has joined #openstack-ansible-sig11:42
*** zbr_ has quit IRC11:55
*** zbr has joined #openstack-ansible-sig11:57
*** gtema has quit IRC12:00
*** gtema has joined #openstack-ansible-sig14:01
*** gtema has quit IRC14:06
*** trident has quit IRC14:24
*** trident has joined #openstack-ansible-sig14:25
sshnaidmwhat is ansible-plugin-container-connection for?14:50
*** dtantsur has joined #openstack-ansible-sig14:53
jrossersshnaidm: can you be more specific / give a link?14:56
sshnaidm https://review.opendev.org/#/c/676421/14:56
*** d0ugal has joined #openstack-ansible-sig14:57
jrosserok, so this would be taking the connection plugin thats currently in openstack-ansible and breaking it out into its own repo14:58
jrosserso that it can be used / reused more widely14:58
sshnaidmoh, I see, thanks14:58
noonedeadpunkIt connects to lxc container trough lxc host14:58
jrosserhttps://github.com/openstack/openstack-ansible-plugins/tree/master/connection14:58
jrosserbut that could fairly easily be extended to $other-container-technology14:59
dtantsurhi all! are we going to talk about ironic now?15:00
noonedeadpunko/15:00
*** ekultails has joined #openstack-ansible-sig15:01
sshnaidmdtantsur, noonedeadpunk yep15:01
sshnaidmso let's start Ironic ansible modules discussion, please add topics to etherpad "Meeting agenda" that you'd like to discuss: https://etherpad.openstack.org/p/ironic-ansible-modules15:01
noonedeadpunk#startmeeting ansible-sig15:01
openstackMeeting started Tue Dec  3 15:01:37 2019 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.15:01
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:01
*** openstack changes topic to " (Meeting topic: ansible-sig)"15:01
openstackThe meeting name has been set to 'ansible_sig'15:01
noonedeadpunk#topic ironic modules15:01
*** openstack changes topic to "ironic modules (Meeting topic: ansible-sig)"15:01
sshnaidmnoonedeadpunk, thanks15:02
sshnaidmI divided topics to organizational and technical parts15:02
sshnaidm#topic Who is interested?15:02
noonedeadpunk#chair hnaidm15:03
openstackWarning: Nick not in channel: hnaidm15:03
openstackCurrent chairs: hnaidm noonedeadpunk15:03
noonedeadpunk#chair sshnaidm15:03
openstackCurrent chairs: hnaidm noonedeadpunk sshnaidm15:03
weshay0/15:03
mnaser👋15:03
sshnaidm#topic Who is interested?15:03
*** openstack changes topic to "Who is interested? (Meeting topic: ansible-sig)"15:03
sshnaidmyay15:03
sshnaidmI think we have here present Ironic, Tripleo and Openstack-Ansible, anybody else is interested?15:03
mnaseri think indirectly the ansible openstack modules as well (that currently would will likely move to a collection)15:04
noonedeadpunkI think kolla-ansible folks should be also somewhere here15:04
sshnaidmmnaser, yeah, so folks from openstack infra as well15:04
sshnaidmnoonedeadpunk, ack15:05
dtantsurI'm also representing openstacksdk15:05
sshnaidmdtantsur, is it under multiple teams?15:05
dtantsurwhat exactly?15:05
sshnaidmlike each one doing its part there15:06
sshnaidmdtantsur, openstacksdk15:06
dtantsuropenstacksdk is a team of its own15:06
dtantsurI'm part of both teams15:06
sshnaidmdtantsur, great15:06
sshnaidmseems like we might have some changes in sdk too for ansible modules, so great to have people there15:07
sshnaidmok, let's move on15:07
dtantsurwe certainly might15:07
dtantsurI'd actually prefer that we do most of the logic in SDK15:07
sshnaidmdtantsur, ++15:08
sshnaidm#topic Where to put the modules?15:08
*** openstack changes topic to "Where to put the modules? (Meeting topic: ansible-sig)"15:08
mnaserso mordred proposed putting them inside openstacksdk15:09
sshnaidmwe have the patch of Monty, that is not available currently15:09
sshnaidmyeah15:09
mnaserthe issue that can present is this stuff is gpl and there's some reasoning behind why it cant live there15:09
mnasermonty has actually commented saying "Can totally make this an ansible-sig deliverable - what do we need to do to do that? Is there a pointer somewhere?"15:09
noonedeadpunkmaybe we should put them under ansible-sig?15:09
dtantsurcould this reasoning be shared?15:09
mnaserdtantsur: the modules are currently gpl3 code which is not compatible with openstack's licenses (apache and other osi approved licenses)15:10
mnaser(because ansible is gpl3)15:10
dtantsurright, but it's only a problem if we import these modules from our code15:10
mnaserright -- but those modules would be official openstack deliverables15:10
mnaser(im talking os_server, etc)15:11
dtantsurdo we have an official position against GPL code?15:11
mnaserhttps://governance.openstack.org/tc/reference/licensing.html15:11
mnaserIn order to be considered for inclusion in the tc:approved-release, the project must be licensed under Apache License, Version 2.0 (ASLv2).15:11
dtantsursigh, okay15:11
mnaseryeah, its kinda annoying.15:11
dtantsurcan we still host them on opendev?15:12
mnaseryep, so SIG deliverables are not actaully 'affected' by this15:12
mnaserhence my suggestion (and noonedeadpunk here too) to put it under ansible-sig15:12
dtantsurI see a huge missed PR opportunity in not being able to say "We have official ansible modules"15:12
mnaseryeah15:12
sshnaidmso even if we have them in ansible-sig, we still need to deliver them somehow?15:12
dtantsursshnaidm: unofficially, via galaxy?15:13
mnaserright, but ansible-sig is a sig, not an official openstack team15:13
sshnaidmdtantsur, I don't think it will work with tripleo..15:13
dtantsurso, no docs.openstack.org, no promotion on openstack.org, etc15:13
dtantsursshnaidm: well, tripleo is using packages, that's a whole different story15:13
mnasersigs can publish on docs.openstack.org -- im not sure about the promotion on openstack.org tho15:13
dtantsurif we package them for RDO, we're good15:13
sshnaidmdtantsur, well, right15:14
mnaserso honestly if anyone wants to pursue this, we can bring this up to the legal-discuss mailing list15:14
mnaserbut expect this to add a significant latency in us merging this..15:14
dtantsurright15:14
dtantsurwe can consider it afterwards15:14
mnaseryep, nothing stops us from moving it later!15:14
dtantsurexactly15:14
mnasergettig it into gerrit/opendev is like am illion steps ahead15:14
noonedeadpunkActually there will be more ansible modules moved, so I think we should know what exactly is allowed15:14
mnaserinside a sig, its pretty much open for us to do what we like, as its not an official openstack team/approved release15:15
mnaseranyways, so given monty's comments and he just pm'd me saying i can hijack his patch15:15
mnaserill update the patch to put the collections as a deliverable under ansible-sig and we can add old maintainers from ansible/ansible, tripleo-ansible interested folks, openstacksdk and OSA15:15
dtantsur++15:16
sshnaidmmnaser, great15:16
sshnaidm#action: to discuss possible builds of RPMs from these collections for RDO15:17
*** mordred has joined #openstack-ansible-sig15:17
* mordred waves to the nice humans15:17
mnaserohai o/15:17
sshnaidmmordred, oh, great to have you here15:17
dtantsursee, I just told mordred we're assigning all the work to him :D15:17
sshnaidmmordred, do you have something to add? ^^ :)15:18
mordredsshnaidm: nope - all the work is apparently assigned to me, so \o/ ;)15:18
sshnaidmok, if we're good about modules place for the near future, let's move on15:18
mnaseri did a thing - https://review.opendev.org/#/c/684740/15:18
mnaserso ill try to babysit/get this stuff to get into governance :)15:19
sshnaidmmnaser ++15:19
mordredmnaser: commit message ... I'm sure someone else will -1 for that15:20
mnaseroops good catch15:20
mnaserand done15:21
sshnaidm\o/15:21
sshnaidmlet's all vote there :)15:21
sshnaidmsome organizational question:15:22
sshnaidm#topic Do we need a regular meeting or to join some existing one?15:22
*** openstack changes topic to "Do we need a regular meeting or to join some existing one? (Meeting topic: ansible-sig)"15:22
sshnaidmI mean for all openstack ansible modules, not Ironic only15:22
dtantsurAPI SIG office hours are quite empty usually, feel free to hijack them15:22
sshnaidmdtantsur, when is it?15:22
dtantsur4pm UTC on Thu? lemme check15:23
dtantsuryep15:23
sshnaidmgreat, if nobody objects let's do it15:23
sshnaidmand on which channel?15:23
dtantsur#openstack-sdks15:23
dtantsurwe can discuss it with elmiko next Thu15:24
mordred++15:24
dtantsur(he's the other API SIG chair)15:24
*** gtema has joined #openstack-ansible-sig15:24
mordredthat sounds great to me - at least until such a time as there is a need for something more intense15:24
sshnaidmack, let's do it next week then15:24
dtantsursince ansible API is sort of API, I think API SIG should be involved anyway15:24
sshnaidmok, let's move on if no objections15:25
sshnaidm#topic Blueprint, trello, something else to track scope of work? And what is the scope?15:25
*** openstack changes topic to "Blueprint, trello, something else to track scope of work? And what is the scope? (Meeting topic: ansible-sig)"15:25
dtantsurstoryboard?15:26
sshnaidmdo we want to use something to track all progress about modules?15:26
dtantsursince we're going to ship code, we're going to need a bug/feature tracker15:26
dtantsurstoryboard is the official thing, so we should start with considering it, I guess?15:26
noonedeadpunk++15:26
sshnaidmdtantsur, well, bugs we can have still in LP?15:26
dtantsursshnaidm: but why?15:27
noonedeadpunkBut I guess they're supposed to move to storyboard anyway?15:27
mordredstoryboard has the benefit that openstacksdk is also in storyboard15:27
sshnaidmI personally don't like storyboard, but fine with me15:27
mordredso any issues that involve "also fix sdk" can be easily marked and tracked15:27
sshnaidmyeah, tripleo-ansible uses storyboard too15:27
dtantsurI'm not the biggest fan of it either, but LP is also pretty horrible15:27
mordredsshnaidm: to be fair - I personally dont' like *any* of the bug trackers ;)15:27
dtantsurmordred++15:27
noonedeadpunkredmine? :p15:28
* mordred hides from noonedeadpunk15:28
dtantsurif we truly hate ourselves, we can setup a bugzilla instance somewhere15:28
sshnaidmok, ok, let's not go so wild :D15:28
mordredone day someone is going to write a bug tracker which is nicer to use than "text file in vi"15:28
jrosserwhat credentials do you need to report a bug on storyboard15:28
dtantsurjrosser: ubuntu ones as well, I think15:28
jrosseras a lot of end users will not be openstack contributors/developers15:28
sshnaidmI think it's enough to have ubuntu one?15:29
sshnaidmwhich is odd requirement by itself..15:29
noonedeadpunkIt's the same as for launchpad so no issues should raise with that15:29
dtantsuryep15:29
jrosserright ok, so same15:29
sshnaidmok, so we need to create a project there as I understand15:30
sshnaidmany volunteers..?15:30
dtantsurI'm not sure projects can be created by a mere mortal15:30
sshnaidmyeah, good question btw15:30
dtantsurI think infra provides them15:31
sshnaidmmordred, do you know maybe? ^15:31
sshnaidm#action sshnaidm to check how to create a project on storyboard for ansible modules15:31
sshnaidmok, let's move on15:31
sshnaidm#topic List of people interested in reviews15:31
*** openstack changes topic to "List of people interested in reviews (Meeting topic: ansible-sig)"15:31
sshnaidmjust waive here if you are15:32
dtantsuro/15:32
sshnaidmo/15:32
* dtantsur waives mordred's hand15:32
sshnaidmmnaser, noonedeadpunk ?15:32
noonedeadpunko/15:32
gtemain reviews of what? modules? overall modules or specific ones?15:33
mnaseri can help out with reviews15:33
mnaserfor the modules15:33
sshnaidmgtema, both15:33
jrossero/15:33
gtemaI would help with that, but am terribly overloaded atm15:33
sshnaidmgtema, np15:34
sshnaidmOk, so I think we finished with non-technical part of agenda, is there anything I missed and you'd like to discuss? (non technical)15:34
mnaseryeah i think my reviews will come in bursts and pings lol15:35
sshnaidmmnaser totally fine)15:35
mordredo/15:36
mordredsame with mnaser - mine will come in bursts and pings :)15:36
sshnaidmgreat15:36
mordredlargely I would LOVE it if the sig gets rolling and I can be a vestigal complaining old man nobody is depending on for their modules :)15:36
dtantsurto which extent can we modify the modules we're importing?15:37
mordredso - you know - anything I can do to empower anybody else at this point15:37
sshnaidmdtantsur, what do you mean?15:37
mordreddtantsur: my vote is "as much as we want" - installing the collection vs. installing the in-tree modules is going to be different anyway - so it seems like a good time to fix things15:37
dtantsurthis ^^^15:37
dtantsuryeah, I'm pretty sure e.g. authentication can use an update, etc15:38
mordrednobody is going to get this update without a conscious decision on their part - unlike say just upgrading ansible15:38
dtantsurwe need to standardize on standalone usage15:38
dtantsurk, great15:38
sshnaidmso do you want to import them already modified?15:38
mordred++ auth has a bunch of cruft15:38
gtemamordred: totally with you. I am angry about time it take to get the upstream module fix be delivered15:38
dtantsursshnaidm: I think I've actually jumped to the next topic15:38
mordredI think we should import them as-is - then modify in place15:38
sshnaidmdtantsur, well, yeah :)15:38
dtantsur:)15:38
sshnaidm#topic Using openstacksdk instead of clients15:38
*** openstack changes topic to "Using openstacksdk instead of clients (Meeting topic: ansible-sig)"15:39
sshnaidmI'd start from second here15:39
sshnaidmDo we agree to use openstack client instead of ironicclient, etc?15:39
* dtantsur fully agrees15:39
mordred++15:39
dtantsuralthough I assume you mean openstacksdk, not OSC15:39
sshnaidmcool15:39
sshnaidmdtantsur, yep, sorry15:39
mordredthe existing ansible moduiles should all already use openstacksdk yes?15:39
gtemayes15:40
dtantsurI think so15:40
sshnaidmhope so15:40
* mnaser agrees and yes they all do afaik15:40
mordredbut I'm guessing maybe some of the ones from openstack-ansible and/or tripleo don't?15:40
mnaseropenstack-ansible uses 100% upstream modules by now afaik15:40
sshnaidmmordred, right15:40
dtantsurI suspect tripleo's one don't15:40
mnaserwe got rid of our legacy ones15:40
sshnaidmI'm working on this..15:40
mordredcool. well - yes - definitely using sdk as a target15:40
mordredfor anything we're adopting from other sources15:40
dtantsurthere may be feature gaps to cover, I'll gladly help on ironic/ironic-inspector side15:40
sshnaidm#topic Common part in all modules like authentication, ironic service URLs, etc15:41
*** openstack changes topic to "Common part in all modules like authentication, ironic service URLs, etc (Meeting topic: ansible-sig)"15:41
sshnaidmI think it's for all modules, not Ironic only15:41
gtemajust checked - current modules are all using SDK15:41
gtema(ironic ones)15:41
dtantsurI feel very strongly that we should only support standard keystoneauth stuff, nothing else, no "ironic_url" or anything15:41
mordredoh - speaking of reworking some of the common bits ... I had an idea a little while ago for a way to make a base class we can use in each module that should reduce boilerplate and copy/pasta - I'll push up a review as soon as we've got the initial import into gerrit15:41
mordreddtantsur: ++15:42
sshnaidmin ansible we have now openstack.py in common/15:42
gtemaso we agree to go for collections and importing them into OpenStack?15:42
sshnaidmthat takes care about auth15:42
mnaser+115:42
mordredgtema: yah15:42
mordredsshnaidm: ++15:42
dtantsurgtema: under ansible SIG, not under openstack official15:42
noonedeadpunk+115:42
gtemawow, that's cool15:43
gtemawhat I mean - where is hosted, and not how "branded"15:43
mordredgtema: yeah - I think it's going to make it much easier to deal with15:43
gtemadefinitely15:43
dtantsur++15:43
mnasertbh i will likely do a lot more reviews15:43
mnaserthan having my inbox spammed15:43
mnaserwith github emails.15:43
mordred++15:43
gtemamy first activity would be to replace this openstack.py from module_utils15:43
gtemato something not causing naming conflict ;-)15:44
sshnaidmand we'll need to remove them from ansible? just curios about namespaces conflicts15:44
mordredgtema: yes - it needs a rewrite15:44
mordredsshnaidm: I think the idea is that we'll remove the old ones from ansible later15:44
gtemaI did a collection for my org modules and will be able to bring changes here then15:44
mordredwith collections, we'll be installing the openstack collection into a namespace anyway15:44
mordredso one would imagine that the module will be openstack.server instead of os_server15:44
mordredor something15:44
gtematotally15:45
sshnaidmmordred, ack15:45
dtantsurif we're not official here, are we allowed to use openstack.<whatever>?15:45
mordredgtema: my comment earlier - if you want to ponder it - is in opnestack.py instead of the functions we've got for making the cloud objects - make a subclass of AnsibleModule that we use in the modules themselves15:45
mordredgtema: that way we can make a self.conn, for instance, and not need to pass sdk and conn and all of that around all the time15:46
gtemayes, sure15:46
mordreddtantsur: I think we are official enough from the ansible community perspective15:46
mordredlike - while we might not be an official deliverable of the openstack project, we are as official as you can get of being the openstack collection for ansible15:46
gtemaand what is the "idea" with license? (sorry, got here bit late)15:47
mordredso I think it's ok for us to squat the openstack namespace15:47
sshnaidmok, let's move on15:47
mordredgtema: that's one of the reasons its'a . sig project not an openstack one15:47
sshnaidmgtema, it's gpl vs apache15:47
mordredbecause the code is all gpl at the moment, and relicensing would be almost impossible at this point15:47
gtemayeah, but with which license header would we maintain them?15:47
gtemaah, so leave them as is?15:48
mordredI think just stick with gpl - since it's ansible and that's what the codebase already is15:48
mordredyeah15:48
gtemaok15:48
mordredanythign else is just a ton of stress for no gain :)15:48
sshnaidmor to write everything from scratch with apache lic15:48
sshnaidmbut I don't suggest that :D15:48
gtemathen what are we doing with what guys expressed - how are we going to "deprecate" upstream modules?15:48
sshnaidmgtema, I think we don't know yet :)15:49
dtantsurI think it's up to ansible to decide15:50
sshnaidmagree15:50
dtantsuraccording to their policies etc15:50
gtemaI know that we don't know. But immediately the moment we import modules we are in trouble of "sync"15:50
dtantsurour job is to let them know when we're done with stabilizing and covering feature gaps15:50
noonedeadpunkLet's cross that bridge when we come to it15:50
sshnaidmgtema, we'll have own modules with openstack or whatever namespace15:51
gtemaheh? We can agree on "stopping" merging any changes upstream15:51
sshnaidmit will be different modules15:51
sshnaidmgtema, changes to upstream ansible modules you mean?15:51
gtemayes15:51
jrosserthere are two different things maybe "get OSA / tripleo passing tests using the new collection" vs. "use the new collection to hack on the modules"15:51
noonedeadpunkI think we will have collections anyway. I'm not ssure ansible folks will convert openstack modules into collections with their own15:52
sshnaidmgtema, I think it's a point to discuss with ansible core team when we move them15:52
jrosserfrom a stability point of view for end users we need to be able to test and show that this stuff works15:52
gtemafor sure not. But when we import current state of ansible modules into collections we become responsible for keeping things in sync and providing "migration" strategy15:52
mordredso ... *we* are the ansible folks converting the openstack modules to a collection15:52
gtema++15:53
mordredlike, we're already the owners of the in-tree modules15:53
mordredso what we do with those is add some deprecation notices once we have a collection people can install instead15:53
mordredthen we keep the old ones around on life-support for a bit to give people a chance to move over15:53
mordredthen eventually delete from ansible/ansible when proper deprecation time has passed15:53
gtemaagree, but would be nice to agree on "merge-freeze" between us15:54
mordred++15:54
mordredyes15:54
sshnaidmmordred, sounds as a plan15:54
mordredluckily we only need to agree on the merge-freeze with ourselves :)15:54
sshnaidmmordred, I think you can merge there to community OS modules, right?15:54
mordredyup. and gtema and mnaser15:54
mordredwe can add other people to that list, if it's helpful to manage the transition15:54
sshnaidmok, so let's agree here :) and afaik you're all added automatically to reviewers for every patch in GitHub for os modules15:55
mordredyah - that's right15:55
sshnaidmso everybody is agree on merge-freeze for upstream ansible OS modules, right?15:56
gtemazuul publishing collection - who will care about that?15:56
dtantsurthis SIG? or what do you mean?15:56
mordredgtema: what do you mean?15:56
sshnaidmgtema, do you mean publishing job?15:56
gtemawe need to write zuul jobs, that will publish collection to galaxy15:56
mordredsshnaidm: yeah. although I think we shouldn't merge-freeze in-tree until there is an installable published collection that we've done all the breaking changes to that we want to do15:57
sshnaidmdo we need to publish them to galaxy?15:57
dtantsurI suspect we might have them already for openstack-ansible, no?15:57
mordredgtema: I can/will definitely help with that15:57
dtantsursshnaidm: won't hurt I guess? to have some official artifacts?15:57
sshnaidmmordred, agree15:57
mordredpublishing collections is different than old galaxy modules15:57
gtemaoki15:57
mordredit's more like publishing to pypi - you actually publish a tarball to a location15:57
mordredwhich is great15:57
gtemayeah, and it's really weird process15:57
dtantsurI can help with zuuling as well, I have some experience with writing jobs15:57
mordredcool15:58
sshnaidmI write jobs every day, so as well.. :D15:58
mordredalso - pabelanger has been doing some stuff with zuul and modules and we might can rope him in too15:58
sshnaidmgreat15:59
sshnaidmand I'd like to jump to Naming question now15:59
sshnaidm#topic Naming: service types vs codenames15:59
mordred++15:59
*** openstack changes topic to "Naming: service types vs codenames (Meeting topic: ansible-sig)"15:59
dtantsurwe have one minute :)15:59
dtantsurcan we just answer "service types" and call it done?15:59
sshnaidmsure, folks feel free to drop, I'll send minutes after16:00
mordredwell - one place we might want to change is to also allow service types for "admin" objects16:00
dtantsurshould we meet on the API SIG hour this THu?16:00
dtantsurmordred: I have big problems with the whole "admin objects use codenames" idea16:00
mordredthere was originally a policy that we do os_server but os_ironic_node as a way to indicate what things were expected for admins and what were expected for end users16:00
mordredyeah16:00
mordredit's ... antiquated at this point16:00
dtantsur++16:01
mordredso I think we should maybe drop that part as we rename in collections16:01
sshnaidmdtantsur, seems like we really have topics to discuss, so I'm for that16:01
dtantsurI *highly* want to do os_baremetal16:01
mordredsimilar to the dropping of OperatorCloud object16:01
mordreddtantsur: ++16:01
gtema++16:01
dtantsurgreat!16:01
mordredmaybe for the thu sig we should tee up a list of proposed new names for things?16:01
dtantsur++16:01
sshnaidmmordred, yeah, good idea16:01
dtantsurmordred: I did https://etherpad.openstack.org/p/ironic-ansible-modules for ironic16:01
dtantsurit's not a straight rename though, rather a rework16:02
mordredI think that's fine16:02
mordredcollections are different enough that I think this is the time to apply lessons learned16:02
gtematotally16:02
mordredsshnaidm: I have this extra crazy idea - but I think tripleo might have the use case that makes it a bad idea ...16:03
sshnaidmmordred, which one?16:03
gtemawhy have you asked :DDDD16:03
mordredthe extra crazy idea is to rework all of the modules to be action plugins so that they run on the host you're running ansible on - rather than normal modules so they run on the remote host - since installation of library depends is frequently very confusing for people16:04
sshnaidmwas it a trap? :D16:04
mordredbut - I think tripleo might make use of the remote exection nature of the exixting normal modules16:04
gtemaI am also sometimes executing things remotely,16:04
gtemawhile I agree - it's a nightmare16:04
sshnaidmI'm not sure why to limit it though..16:05
mordredit would be neat if we could write code that would run the code as an action plugin if hosts: localhost but as a normal ansiballz module if host is remote16:05
noonedeadpunkI think in terms of osa we're always delegating stuff to the localhost where openstack modules are used16:05
* dtantsur has to jump on another meeting, still lurking though16:05
mordrednoonedeadpunk: kk.16:05
mnaseryeah we'd pretty much always use that circuit breaker16:06
mordredso - this is probably me overthinking and should just shelve it16:06
mnaserfyi i think we can use action plugins to do this16:06
mordredmnaser: oh yeah?16:06
mnaserif we're running locally then do the code locally, if not delegate u16:06
mnaserkinda like how the template module is right, its a hybrid of two16:06
gtemaperhaps use plugin to deploy "clouds.yaml" to ease the execution or smth like that?16:06
mordredmnaser: cool - I'll see if I can work up a POC patch for people to look at16:06
noonedeadpunkyeah, it was actually more to support your idea mordred :)16:06
mordrednoonedeadpunk:  :)16:06
mordredgtema: yeah - clouds.yaml location is one of the confusing things for people, as is people trying to run a simple task with env vars16:07
gtemayeah, and if envs are used, but remote execution is wanted - provision smth on remote16:08
mordredso - I've got 2 POC patches to shove up for comment - one for base class AnsibleModule and one for local/remote action plugin16:08
mordredgtema: ++16:08
sshnaidmmordred, I'd like somebody else from tripleo to take a look at it too16:08
mordredsshnaidm: ++16:08
sshnaidmok, we're out of time, do you want to continue this Thu or next week in API SIG time?16:09
mordredI'll sketch out a half-working patch - hopefully by Thu - so we've got something to point at and mock16:09
dtantsurI'd continue this week16:09
sshnaidmI think it's pretty hot topic, so I'd vote for this Thu16:09
dtantsurto avoid wasting time16:09
sshnaidmcool, I'll send the ML then, let's continue this Thu16:09
dtantsur++ thanks sshnaidm16:10
sshnaidmthanks to everyone for your participation!16:10
sshnaidm#endmeeting16:10
*** openstack changes topic to "OpenStack Ansible SIG | https://etherpad.openstack.org/p/ansible-sig"16:10
openstackMeeting ended Tue Dec  3 16:10:22 2019 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:10
openstackMinutes:        http://eavesdrop.openstack.org/meetings/ansible_sig/2019/ansible_sig.2019-12-03-15.01.html16:10
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/ansible_sig/2019/ansible_sig.2019-12-03-15.01.txt16:10
openstackLog:            http://eavesdrop.openstack.org/meetings/ansible_sig/2019/ansible_sig.2019-12-03-15.01.log.html16:10
sshnaidm\o/16:10
*** gtema has quit IRC16:16
*** gtema has joined #openstack-ansible-sig17:18
*** dtantsur is now known as dtantsur|afk17:31
*** sshnaidm is now known as sshnaidm|afk18:21
*** gtema has quit IRC18:59

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!