16:01:40 #startmeeting openstack_ansible_meeting 16:01:40 Meeting started Tue Mar 5 16:01:40 2019 UTC and is due to finish in 60 minutes. The chair is mnaser. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:41 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:43 The meeting name has been set to 'openstack_ansible_meeting' 16:01:51 #topic rollcall 16:01:54 o/ 16:01:58 o/ 16:02:14 o/ 16:02:35 o/ 16:03:54 o/ 16:04:44 \o/ 16:05:02 #topic office hours 16:05:10 more of an office hours style. we're down a lot of people 16:05:35 how's everyone's overall time commitments? 16:05:57 good question 16:06:21 I think I might have missed a sentence of you mnaser 16:06:49 my commitment is that I take a few hours of my personal time for this, when I can. 16:07:09 i really appreciate that time you put in evrardjp 16:07:13 release stuff helps, a lot 16:07:22 I think if we all do that would help :) 16:07:39 I am putting most of the time on os_tempest stuff currently! cannot say about future! 16:07:39 I've been trying to dedicate more and more with reviews and osa related stuff 16:07:59 tsip, yeah see how that goes, but that error you posted looks like it could be it 16:08:12 chandankumar: thanks for the work there :) 16:08:28 evrardjp: you are welcome :-) 16:08:44 yeah, having those convos is very useful 16:10:12 i'm getting a bit concerned that we won't be able to hit much of the goals that we aimed to discussed over the ptg 16:10:27 the work on the venv build stuff has pretty much stopped and i don't expectr it to make any progress 16:11:11 i don't know if we should start to slow down a bit and focus on stablizing things and focusing on a much smaller subset of support architecture 16:11:42 that way, the roles are very unopinionated, but the 'distro' of OSA is much more opinionated 16:14:09 mnaser: can openstack TC/ foundation can help on these issues? 16:15:01 i don't know how much the tc or foundation can help in this, we're just.. lacking resources. 16:15:55 there is no magic wand to get people to work on things 16:16:45 I would wave that one every day 16:16:47 :D 16:17:08 yepppppp 16:17:09 mnaser: evrardjp may we can ask from project specific ptl to ask for laision for helping installers! 16:17:42 *deployment tools 16:18:11 yeah. we need to get this part figured out 16:18:53 chandankumar: that's an interesting view 16:19:04 resources problem is common for I think all openstack projects, I think helping each other will solve the issue! 16:23:00 i'm tempted to export the containers infrastructure outside osa base 16:23:09 so you create your container infra using $some_role 16:23:18 and then use that inventory to provide to osa if you need be 16:24:11 could you clarify this? 16:24:29 "export containers infrastructure outside osa base" 16:25:03 openstack-ansible deploys against an inventory "file" only 16:25:17 how you get that inventory file .. you can either use $foo to generate a bunch of containers and feed it to it 16:25:24 yeah 16:25:26 or you can just run it on your own existing thing 16:25:28 that was my general plan 16:25:43 with mitogen you can delegate connections too 16:25:59 and there are many ppl which generate their inventory like jrosser 16:26:13 mnaser: the structure is there basically now 16:26:33 We should reduce tech debt though, by making the things simpler. 16:26:43 "you need to have the following groups defined" 16:26:51 yeah 16:26:52 vs "configure your groups" 16:26:56 we need to simplify more and more 16:27:03 with our position right now 16:27:09 I agree 16:27:37 i think the idea of "labour of love" has finally come time to sunset, unfortunately 16:27:43 we're just not enough 16:28:11 I think that's fair 16:28:35 we can sunset all the tooling we have into a different repo like ops 16:28:52 but I am afraid this would be very impactful for the userfriendliness 16:28:58 which could have a bad impact on us too 16:28:59 if you ask me 16:29:07 i think the whole thing where we run our own tooling 16:29:20 makes it a lot less user friendly for the person whos like "oh i wanna use ansible to deploy openstack" 16:29:34 I totally agree with you 16:29:46 "what is this user config file, what is is this user variables file, why am i putting network cidrs, what are these containers, wat" 16:29:52 that's why I wanted to simplify this and make the inventory totally independant. Now that it's done -- we just have to continue on this path 16:29:53 in my mind, i have an inventory, i want a playbook 16:30:20 We should just say, your inventory needs to contain x and you need to provide a vip for this. 16:30:26 it's fair. 16:30:35 what about treating role as a library let's user decide how they want to run it? 16:30:45 we already do that 16:30:48 they are like that 16:30:51 :) 16:30:58 os_tempest is a role that you can clone and do your own thing with 16:31:57 mnaser: but the problem I am facing currently when we explictily say ansible to use custom ansible.cfg 16:32:13 what are the ansible.cfg changes you're having to implement? 16:32:19 config_template ? 16:32:28 if you install both into /etc/ansible/roles .. it should just work™ 16:32:37 may be mazer can solve most of the issue 16:32:46 chandankumar: as said earlier, I am consuming roles, including config_template, and don't have a need to change ansible.cfg 16:32:56 mazer could help, but that's still early 16:33:19 mnaser: because of this https://github.com/openstack/tripleo-quickstart/blob/master/ansible.cfg 16:33:53 that sounds like a tripleo problem 16:33:54 mnaser: I am working with the tripleo to get it fixed and reuse ansible provided ansible.cfg 16:33:54 :P 16:34:12 tripleo should check `/etc/ansible/roles` 16:34:15 that's the OS default 16:34:21 mnaser: but once I create rpm package of those, I will be done 16:34:40 IMHO: the packages should dorp stuff in /etc/ansible/roles/ that's the default ansible path 16:34:48 mnaser: and another path /usr/share/ansible 16:34:50 any mucking around of paths should happen in the rpm layer 16:34:55 mnaser: alternatively, if they override action plugins location, they could just add the roles path of ansible-config_template to work. 16:35:06 mnaser: rpm packages dumps stuff in /usr/share 16:35:16 is /usr/share/ansible the default path from ansible? 16:35:24 mnaser: yes 16:35:29 that kinda links me to a topic -- releasing of ansible-config_template, ansible-hardening, and releasing of other roles 16:35:40 chandankumar: what about /etc/ansible/roles ? i thought that was the default 16:35:41 can we talk about that now? 16:35:53 mnaser: it is until overriden :) 16:35:54 mnaser: evrardjp https://github.com/ansible/ansible/blob/devel/lib/ansible/config/base.yml#L974 16:36:07 interesting 16:36:19 * mnaser click git blame 16:36:20 * chandankumar read the whole code of ansible 16:36:40 it is just like another python project 16:36:43 well its been there for at least 2 years 16:36:53 chandankumar: let me rephrase that for you: If tripleO overrides its config, you need to adapt where you get your ansible roles to match that config 16:36:55 that's just it 16:37:19 evrardjp: mnaser https://review.openstack.org/#/q/topic:ostempest_packaging+(status:open+OR+status:merged) 16:37:34 these will dump stuff at /usr/share location 16:38:00 evrardjp: ansible.cfg tripleo thing I am working on fixing it! 16:38:49 yeah im ok with dumping it to a default path 16:39:20 mnaser: I am recently started working on fixing ansible.cfg path 16:39:28 reasonable 16:39:36 evrardjp: you were talking about reeases? 16:39:37 releases? 16:40:11 yes 16:40:13 two things 16:40:16 first 16:40:22 releasing openstack-ansible 16:40:34 one another thing, I am thinking to propose ansible to should recognize stuff from virtualenv created path 16:40:35 I would like to freeze roles, like we usually do for a milestone 16:40:41 then unfreeze them 16:40:45 if it is done on ansible side it would be awesome 16:40:46 I will probably do that on friday 16:40:49 what you say? 16:41:03 chandankumar: if you can chase that down in ansible, that'd be nice 16:41:10 evrardjp: i don't see why we wouldn't do that 16:41:13 you mean about talking master? 16:41:16 yes 16:41:27 any specific reason we want to cut releases off master? 16:41:33 mnaser: evrardjp I know few ansible people in my local office I can hunt them down! 16:41:46 chandankumar: go for it, maybe they might have some good insight :) 16:42:03 we used to do it, we don't have to do it anymore ... yet, the change to automatically fetch versions with pbr gets us to previous version number + a serious amount of patches 16:42:09 this would get us to a more normal number 16:42:19 re 16:42:36 also I think it's the only one we would produce before rc1 16:42:42 we'll still produce a rc1 for branching 16:42:56 ah time to start a new email thread on where to place stuff related to ansible stuff with respect to kolla-ansible 16:42:58 evrardjp: i'm wondering if there's value in doing that 16:43:03 chandankumar: ++ 16:43:10 mnaser: alternatively we can just do a pbr patch 16:43:33 I mean an empty commit to bump pbr version, not patching pbr 16:43:42 pbr recognized version* 16:44:02 but I think it's better to have a real commit to freeze a-r-r 16:44:14 because the code would match that version of the roles forever 16:44:18 wasnt pbr version bumped when we released automatically? 16:44:34 master is not released automatically every two weeks 16:44:45 because the roles are not frozen 16:44:52 for agility with devs 16:45:02 (still want master) 16:45:03 right, but i'm wondering if we even need to release master every 2 weeks 16:45:14 that's not what I meant :) 16:45:18 ok let me rephrase 16:45:20 okay, i'll try to listen :) 16:45:32 master has to be released at least once 16:45:55 in this cycle, with our changes to automatically find version, it would be smart to do it twice 16:46:00 one now 16:46:04 and then one in rc1. 16:46:16 why one now: 16:46:27 Because it's more explicit than an empty commit 16:46:40 (to bump pbr recognized version) 16:46:55 Because it will allow us to release at least an alpha of stein 16:47:18 Because I think we should at least have one before rc1. 16:47:39 not that we must, but that makes sense to have one in all those milestones 16:47:40 i think i am seeing us resolving the problem in another way 16:47:51 ok 16:47:56 listening :) 16:47:58 we stop putting master in integrated repo and do automatic version bumping of sha in gate 16:48:09 ahah 16:48:12 I have the code for that 16:48:14 so master is always a functional set of commits 16:48:21 I am fine with that 16:48:30 it will also make our gate much more stable 16:48:34 it would mean all the branches match. 16:48:47 I was told this would be a pain for devs 16:49:10 in fact it could be if we don't test a role patch with integrated 16:49:42 i am fine with making this more stable in master, but I think we need to test patches with integrated to ensure the next bump wouldn't fail 16:49:54 things can go through cracks easier though. 16:50:07 right 16:50:19 but I think it's fine, as it would leave us a week or two to get the ball rolling 16:50:21 if we do that though, then wee can technically always point to master? 16:50:32 what do you mean? 16:51:07 you mean have an a-r-r tracking master branch, but have a freeze updated every two week in master? 16:51:16 there isn't a point in freezing if we test every commit against integrated 16:51:21 because master technically always works? 16:52:23 Yes I think it's a bad idea to test integrated all the time anyway, that's what we used to do 16:52:39 it was painful 16:52:55 will it be just as painful... if... we're always using metal 16:52:55 :p 16:53:10 everything is better with metal 16:53:17 (joke) 16:53:26 haha 16:53:52 should we just propose this on the ML? 16:54:19 I think we still need to do a release though, and discuss how to improve the future later 16:54:29 for that release, I believe it would be best to freeze roles 16:54:37 that seems fine, and i agree with freezing if we will release 16:54:40 I am just informing you I will do that :) 16:55:23 ok on that point we agree -- I still want to raise something else 16:55:44 should we regularily release ansible-config_template, ansible-hardening and (maybe) others? 16:55:48 We currently don't 16:55:56 just running from their branch 16:56:09 I would prefer not to do any more work 16:56:41 but if people start to ask for pip installable roles, we should probably release them in a certain cadence? 16:59:13 evrardjp: i think maybe we can treat them as actual project 16:59:22 we can review changes and then release on demand? 16:59:26 yeah so independently released 16:59:33 evrardjp: if we release config_template as a pip stuff, it will help reducing copying script as it is done in ceph-ansible 17:00:16 is 172.29.236/22 hardcoded anywhere? I set different container nw in the deployment but my haproxy refers to this :( 17:00:23 that bring me an instesting idea for mazer if a module is released on pip ho to install at custom path! 17:00:30 *how 17:00:31 mnaser: that's a change in mindset, and I am fine with that model. As long as we keep the roles and the pip versions decoupled, I think we are good. 17:00:41 evrardjp: +++ i agree 17:00:42 #endmeeting