Tuesday, 2020-05-12

*** holser has joined #openstack-ansible-sig04:35
*** evrardjp has quit IRC04:36
*** evrardjp has joined #openstack-ansible-sig04:36
*** gtema has joined #openstack-ansible-sig06:39
*** gtema_ has joined #openstack-ansible-sig06:41
*** dtantsur|afk is now known as dtantsur07:54
*** rpittau|afk is now known as rpittau07:58
*** holser has quit IRC07:59
*** holser has joined #openstack-ansible-sig07:59
*** sshnaidm|afk is now known as sshnaidm08:52
*** priteau has joined #openstack-ansible-sig09:02
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Run linters in a temp dir instead of an install  https://review.opendev.org/72695209:06
*** rpittau is now known as rpittau|bbl10:19
*** gtema_ has quit IRC11:22
*** gtema_ has joined #openstack-ansible-sig11:59
*** gtema_ has quit IRC12:04
*** gshippey has joined #openstack-ansible-sig12:19
*** rpittau|bbl is now known as rpittau12:21
*** zbr_ has joined #openstack-ansible-sig12:35
*** zbr_ has quit IRC12:36
*** gtema_ has joined #openstack-ansible-sig12:50
*** gtema_ has quit IRC12:53
*** gtema_ has joined #openstack-ansible-sig12:53
*** gtema_ has quit IRC13:05
mordredsshnaidm: +2 on your changes to the tempdir patch13:24
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove all of the os_ prefixes  https://review.opendev.org/71305613:25
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Rename all of the modules  https://review.opendev.org/72653813:25
mordredjrosser, odyssey4me: how hard is it to test that the rename patchs there ^^ don't screw osa?13:31
sshnaidmmordred, seems like we need to remove "deprecate" from routing13:32
mordredsshnaidm: we do? what's that?13:32
sshnaidmand add it to every module with self.module.deprecate(...)13:32
mordredoh - because in 2.9 routing isn't a thing yet right?13:32
sshnaidmmordred, https://review.opendev.org/#/c/713056/12/meta/routing.yml13:32
sshnaidmmordred, well, ansible-test requires deprecation be in the documentation as well13:33
sshnaidmand it doesn't understand it's symlink *sigh13:33
jrossermordred: i'm not sure - we've not merged the collections changes yet, and install them from the release. We need to figure out how to do depends-on there i think13:33
mordredsshnaidm: UGH13:33
mordredjrosser: nod. I'll see if i can work up a patch today13:34
jrosseroh right yes - wasn't it that you could not use ansible-glaxay to install from a git repo?13:34
jrosserwhich made a depends-on all kind of difficuly13:34
jrosserdifficult*13:34
mordredjrosser: yea - we have to copy stuff explicitly into a dir ourselves13:35
mordredit'll suck13:35
sshnaidmmordred, I think we can do it, just adding a function to every module to check if it's using the old name, should be fine I think13:35
*** redrobot has quit IRC13:39
*** openstackstatus has quit IRC13:53
*** openstackstatus has joined #openstack-ansible-sig13:53
*** ChanServ sets mode: +v openstackstatus13:53
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove all of the os_ prefixes  https://review.opendev.org/71305613:55
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Rename all of the modules  https://review.opendev.org/72653813:55
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: WIP Use stub modules for deprecated aliases  https://review.opendev.org/72719713:55
mordredsshnaidm: maybe something like that ^^13:58
sshnaidmmordred, metadata and examples can be imported as well14:04
sshnaidmmordred, but idk, I'm not so fan of this way, too fragile imho14:05
sshnaidmjust to satisfy ansible-test is kind of overhead14:06
mordredsshnaidm: yeah - I agree. maybe instead we should just have the migration script generate a bunch of ansible-test exclusions14:07
sshnaidmmordred, is server symlink to os_server, or vice versa?14:30
mordredsshnaidm: os_server is symlink to server14:32
mordredserver is the real thing - os_server is just there for backwards compat14:32
sshnaidmmordred, I'm going to change how ansible-test works, seems like default "run all" is not a good option, let's really test only we need to test14:42
mordredsshnaidm: ++14:42
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Add template for generation of artibtrary module  https://review.opendev.org/72721614:53
sshnaidmgtema, mordred dtantsur odyssey4me please take a look ^14:54
mordredsshnaidm: +2 with a comment14:57
sshnaidmtry to generate something :)14:58
sshnaidmare there people to discuss something today in a meeting? odyssey4me dtantsur gtema mordred jrosser noonedeadpunk and all others15:01
dtantsurnot feeling well, was planning to leave early15:01
sshnaidmdtantsur, ack, be healthy15:01
dtantsurthx15:01
sshnaidmplease feel free to add topics for PTG: https://etherpad.opendev.org/p/openstack-ansible-modules-ptg15:02
sshnaidmcurrently we have hardly for one hour15:02
sshnaidmand we have 3 hours available15:03
noonedeadpunkdrink-and-tell section can take the way more than an hour :D15:03
sshnaidmnoonedeadpunk, yeah, seems like it will be :D15:03
sshnaidmand can be a main topic for this project :)15:03
sshnaidmalso would like opinions on a structure of a standard openstack ansible module:  https://review.opendev.org/727216 - would it help people not so familiar with ansible modules to create one or not15:05
*** spatel has joined #openstack-ansible-sig15:05
mordredsshnaidm: I thnik it might be helpful to nudge people towards our base class too15:06
mordredgtema, mnaser: https://review.opendev.org/#/c/726952/ if you get a sec (we learned a thing about the ansible-test linter)15:07
*** dtantsur is now known as dtantsur|afk15:08
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove all of the os_ prefixes  https://review.opendev.org/71305615:20
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Rename all of the modules  https://review.opendev.org/72653815:20
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove incorrect os_ prefix in documentation  https://review.opendev.org/72722615:20
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Rename all of the modules  https://review.opendev.org/72653815:20
gtemamordred, that's nice. All this linters and pep madness (facepalm)15:41
mordredgtema: \o/15:49
openstackgerritMerged openstack/ansible-collections-openstack master: Run linters in a temp dir instead of an install  https://review.opendev.org/72695216:03
*** rpittau is now known as rpittau|afk16:10
*** holser has quit IRC16:31
*** holser has joined #openstack-ansible-sig16:33
*** evrardjp has quit IRC16:36
*** evrardjp has joined #openstack-ansible-sig16:36
*** gtema has quit IRC16:53
*** gtema has joined #openstack-ansible-sig16:54
*** gtema has quit IRC16:55
mordredsshnaidm: the rename patch is green!17:16
sshnaidmmordred, yep, let's merge it while it's possible :)17:17
*** priteau has quit IRC17:17
mordredsshnaidm: ++17:17
mordredmnaser, odyssey4me: ^^17:18
mordredsshnaidm: https://review.opendev.org/#/c/727226 too17:18
mordredsshnaidm: now I need to go update the ansible/ansible routing.yml PR17:19
mordredsshnaidm: I was thinking also that maybe making a utility script that people could run on their playbooks or roles to update to the new names might be friendly17:19
sshnaidmmordred, yeah, a bunch of "sed"s should do the work I suppose17:20
mordredyeah17:20
mordredbecause we really only need to match os_server: - with the trailing : makes it easier17:21
mordredsshnaidm: I think also once that's in - maybe we cut a 1.0 - any other outstanding patches we should get in?17:21
sshnaidmmordred, no, I think we're good17:22
sshnaidmmordred, the renaming was only big thing I think17:22
mordredyeah17:22
mordredother things, like the base class, are impl details17:22
sshnaidmthe new openstack module class can wait, it's just redesign, doesn't change functionality17:22
mordredyup17:22
*** iurygregory has quit IRC17:27
openstackgerritMerged openstack/ansible-collections-openstack master: Remove incorrect os_ prefix in documentation  https://review.opendev.org/72722618:16
openstackgerritMerged openstack/ansible-collections-openstack master: Remove all of the os_ prefixes  https://review.opendev.org/71305618:16
openstackgerritMerged openstack/ansible-collections-openstack master: Rename all of the modules  https://review.opendev.org/72653818:24
sshnaidm\o/18:24
*** iurygregory has joined #openstack-ansible-sig18:31
*** gshippey has quit IRC19:09
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Revert "Run linters in a temp dir instead of an install"  https://review.opendev.org/72740019:34
mordredsshnaidm: ^^ let's see what blows up19:34
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Improve ansible-test sanity for collection  https://review.opendev.org/72741119:52
sshnaidmmordred, ^^20:00
mordredsshnaidm: "Remove galaxy.yml from .gitignore, because otherwise it's ignored20:03
mordredby ansible-test."20:03
mordredyou're kidding20:03
sshnaidmmordred, oh yes20:03
mordredthat's what you were asking about before in ansible-devel isn't it?20:03
sshnaidmmordred, yeah, I couldn't believe it's related20:03
mordredthat's insane20:03
sshnaidmtook me to understand about a half hour20:03
mordredwelp. we'll just have to make sure we don't accidentally commit it20:04
sshnaidmmaybe we need a test like ansible-test insanity --..20:04
mordredsshnaidm: but it's ok with it if it's not in git but also not in .gitignore20:04
sshnaidmyeah, people can commit it just accidentally (like me)20:05
sshnaidmoh, we can fail before build.py if there is galaxy.yml20:05
mordredsshnaidm: if we remove those skip files ...20:07
mordredif galaxy starts running ansible-test sanity on uploads, won't that break us?20:07
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Improve ansible-test sanity for collection  https://review.opendev.org/72741120:10
sshnaidmmordred, if it will run all ansible-test default tests, I think barely any collection could upload :)20:10
mordredsshnaidm: yeah20:11
mordredsshnaidm: that's not going to quite work for local dev20:11
mordredsshnaidm: because you'll have a galaxy.yml after the first time you run a buid, so on a second invocation it'll fail20:12
mordredeven though build.py will rebuild it20:12
mordredI think if we want to do that we might need to have build.py unlink it and then check to see if git says there are changes20:12
mordredor something20:12
* sshnaidm always forgets people run tox locally20:13
sshnaidmmordred, but we copy it every time to different place20:14
sshnaidmto random tmpdir20:14
sshnaidmoh, it's different..20:15
mordredyeah20:15
sshnaidmI think I'll come to it tomorrow.. the brain is fully ansible-tested now20:15
mordredsshnaidm: good life choice20:15
sshnaidmwill figure out something tomorrow..20:16
sshnaidmmordred, cool, thanks, seems like a big step behind :)20:16
*** sshnaidm is now known as sshnaidm|afk20:18
mordred\o.20:21
*** holser has quit IRC22:11
*** spatel has quit IRC22:32
*** spatel has joined #openstack-ansible-sig23:53
*** spatel has quit IRC23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!