Sunday, 2020-01-05

*** holser has quit IRC01:06
*** holser has joined #oooq01:09
*** holser has quit IRC02:16
*** rfolco has joined #oooq02:50
*** rfolco has quit IRC02:54
*** holser has joined #oooq05:17
*** ykarel has joined #oooq06:30
*** ykarel has quit IRC06:41
*** Goneri has quit IRC06:52
*** Tengu has quit IRC07:39
*** Tengu has joined #oooq07:41
*** d0ugal has quit IRC07:49
*** d0ugal has joined #oooq07:49
*** ykarel has joined #oooq08:19
*** ykarel has quit IRC09:10
*** ykarel has joined #oooq09:11
*** ykarel has quit IRC09:46
zbrsshnaidm: happy new year! nice to see you back.10:10
sshnaidmzbr, thanks10:19
zbrsshnaidm: what do you think about https://github.com/containers/libpod/issues/4665 ?10:22
zbrmainly my rhel-8 box cannot run either docker nor podman, lucky that centos-8 works fine.10:23
sshnaidmzbr, do you build rpm from libpod master?10:27
zbrsshnaidm: afaik not, but maybe I should reinstall the rpm. maybe i have done it while testing the rpmbuilding and I forgot since.10:28
sshnaidmzbr, last comments in issue were about building from master and it worked10:28
zbri bet from master it will work as I wrote the rpm building jobs back in december, but that will be 1.7.x10:29
zbrbut now that I remember, the rpm building jobs tests only installation of podman, it does not run a podman info after. so there is a chance something could get broken.10:30
zbrsshnaidm: btw, fixed https://github.com/ansible/molecule/pull/248210:32
sshnaidmzbr, reviewed pr10:34
zbranswered.10:37
zbrimport gives false positive results10:37
zbrmainly not fixing the problem10:37
zbralso the "cli" tests would fail without having the package installed because the script does look for package.10:38
zbrimport was my first attempt :D10:38
sshnaidmack10:42
zbrsshnaidm: so lets merge https://github.com/ansible/molecule/pull/248211:13
zbrsshnaidm: re using "podman info" vs "podman ps" to test if is working, you know for sure one case where ps woulf fail and info would not?11:17
zbri prefer info because we could also extract some info from its output, ps output is kinda useless.11:17
sshnaidmzbr, afaik podman ps is more functional, like making mounts for example, not sure podman info does it11:18
sshnaidmdo you need this output?11:18
zbrnot at this moment, for example for docker I did but for this one not yet. i will switch to ps and we can improve later when we encounter the need for it.11:19
sshnaidmzbr, maybe better to catch pkg_resources.DistributionNotFound and not general Exception11:19
zbrin fact the best test would be to run a container11:19
sshnaidmzbr, yeah, but this is already done in tests11:20
sshnaidmzbr, if "info" fails with wrong conmon, maybe it's even enough11:21
zbrsshnaidm: it does, both of them fail with conmon. reinstalling fixed it.11:21
*** tosky has joined #oooq11:24
zbrsshnaidm: it would be great if we can spend some time fixing the slow functional tests in molecule, is kinda insane how long the run for what they really do. don't you agree?11:26
sshnaidmzbr, yeah, worth to check..11:27
zbrunit are quite ok, with few minor tunes I managed a record:  116.78 seconds  to run all unit.11:28
zbrsshnaidm: have you read https://www.reddit.com/r/ansible/comments/eji7ie/should_we_consider_use_of_tasks_from_with_ansible/ ?11:30
*** bogdando has joined #oooq11:56
*** bogdando has quit IRC11:57
sshnaidmzbr, I'm not sure it's "antipattern", it exists intentionally there12:10
sshnaidmzbr, maybe more atomic role would prevent using it, but it's not always justified12:11
sshnaidmzbr, i.e. our undercloud-setup role, it includes a lot of different and not related stuff, using only part of it seems reasonable12:11
sshnaidmzbr, and using variables/tags for enable/disable tasks in role seems like more complicated and difficult to debug12:12
zbri barely find a good reason to justify its use, mainly because i was not yet able to find a case where using a dispatcher would not work.12:13
zbrprobably is a gray-areas, likely bad practice but maybe not in all cases.12:13
sshnaidmzbr, it can work in various ways, but some of them are less clear ans easy than others12:14
sshnaidmzbr, usually having atomic and single-usage roles would not require tasks_from12:14
sshnaidmzbr, maybe collections would be useful here, since they can contain multiple small roles12:17
sshnaidmand hopefully will replace all our huge overloaded roles12:17
*** holser has quit IRC12:20
zbrsshnaidm: true about atomic but is not as easy to achieve in practice, especially where you need to share a lot of code/logic between sister roles. 2020 will show us where collections are sending us towards.12:20
*** holser has joined #oooq12:21
zbrsshnaidm: i rewrote https://github.com/ansible/molecule/pull/2483/files based on your feedback.12:36
zbrlru_cache is for performance12:36
zbrmentioned in commit message12:36
zbri think the new ifs order should make it easier to read12:37
sshnaidmzbr, ack, +212:42
*** ykarel has joined #oooq12:53
*** holser has quit IRC13:19
zbrsshnaidm: need bit of help around podman, see http://paste.openstack.org/show/788054/13:46
zbrmainly one simple ansible task fais apparently due to missing cp on podman13:46
zbri wasn't expecting to find a reason to check podman version so soon, but first lest double check if is not something else13:47
zbrthere is also a related bug https://bugzilla.redhat.com/show_bug.cgi?id=175971313:48
openstackbugzilla.redhat.com bug 1759713 in podman "podman cp command not found, but man page says it should be there" [Unspecified,Closed: currentrelease] - Assigned to bbaude13:48
*** d0ugal has quit IRC13:51
sshnaidmzbr, what is ansible version?14:26
sshnaidmzbr, package: podman-1.0.5-1. - is really old14:30
sshnaidmit doesn't worth to run anything before 1.414:30
zbrwe will have to add test for it14:35
sshnaidmtest for what?15:05
*** ykarel has quit IRC15:11
sshnaidmzbr, do you know maybe what is going on with https://cloud.centos.org/centos/8/ ?15:40
*** ykarel has joined #oooq15:41
zbrsshnaidm: no but https://www.reddit.com/r/CentOS/comments/dtv0jv/centos_81_eta/ contains an interesting link15:42
sshnaidmseems like some abandoned pet project of dropout15:42
zbrwe still get 40315:42
zbrso they are building it,...15:43
zbri also faced a podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch conflicts with file from package docker-ce-cli-1:19.03.5-3.el7.x86_6415:44
sshnaidmmanpages? o_O15:44
zbrwhich makes be unkeen to continue with the update, i may endup with the same situation i have on rhel 8.1, where I cannot used any of them.15:44
*** ykarel has quit IRC16:08
*** ykarel has joined #oooq16:08
*** ykarel has quit IRC16:13
zbrhttps://github.com/containers/libpod/issues/4791 -- is bit fun as I have an idea on how to change our jobs to reproduce the bug.16:36
zbrthe kind of bug where everyone will be happy to throw the dead cat to someone else16:37
zbras docker-ce is a 3rd party16:37
sshnaidmit's all this weird idea to replace "docker" command with "podman"16:40
sshnaidmit's fine maybe for deprecated tools16:40
sshnaidmbut for competing?16:41
zbri agree with you, i think that imagining that they are drop-in replacement was... a dream.17:02
zbrdrop-in for <5% of cases, mainly for hello-world :D17:03
zbranyway, we need to find someone to workflow the first two linter changes today17:03
zbri would be happy to help but i not have the +217:04
*** ykarel has joined #oooq17:39
sshnaidmzbr, are we good to +w https://review.opendev.org/#/c/701113 ?17:41
zbryes, do it. i added comment17:42
sshnaidmzbr, left comments in https://review.opendev.org/#/c/701116/ I don't think we need -xe there17:48
sshnaidmit's not like pure bash17:49
*** ykarel is now known as ykarel|away17:54
*** ykarel|away has quit IRC18:07
*** holser has joined #oooq18:10
zbrsshnaidm: guess, what... https://review.rdoproject.org/r/#/c/24349/18:38
zbri wonder if I should make them NV to merge that change.18:38
*** holser has quit IRC18:38
zbrthat change breaks the jobs, but that is a good thing.18:39
zbrmainly what we builded so far was not so usable after all.18:40
*** holser has joined #oooq18:44
*** holser has quit IRC18:46
*** holser has joined #oooq18:50
*** Goneri has joined #oooq20:38
*** tosky has quit IRC20:49
*** holser has quit IRC20:51
*** holser has joined #oooq20:52
*** holser has quit IRC20:57
ssbarneahelp me merge https://review.rdoproject.org/r/#/c/24349/ -- is OK for these jobs to fail.20:58
*** holser has joined #oooq21:24
*** tosky has joined #oooq22:00
*** holser has quit IRC22:59
*** holser has joined #oooq23:47

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