16:02:11 #startmeeting OpenStack Ansible Meeting 16:02:11 Meeting started Thu Apr 2 16:02:11 2015 UTC and is due to finish in 60 minutes. The chair is cloudnull. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:02:12 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:02:14 The meeting name has been set to 'openstack_ansible_meeting' 16:02:28 #topic Agenda & rollcall 16:02:40 so who is all here :) 16:02:47 Here 16:03:02 o/ 16:03:03 pre sent 16:03:06 * cloudnull presente 16:03:11 o/ 16:03:24 hi 16:03:26 o/ 16:05:38 #topic action items from last week 16:05:53 #link https://wiki.openstack.org/wiki/Meetings/openstack-ansible#Agenda_for_next_meeting 16:06:05 the one from odyssey4me was dropped 16:06:20 #item hughsaunders convert that to a spec and resubmit it for approval 16:07:02 ^ hughsaunders what say you? - I suspect that this was the bp you created. IE https://blueprints.launchpad.net/openstack-ansible/+spec/manage-resolv-conf 16:07:05 #link https://blueprints.launchpad.net/openstack-ansible/+spec/manage-resolv-conf 16:08:12 welp nevermind , it looks like the bp/spec was abandoned. 16:08:14 #link https://review.openstack.org/#/c/168074/ 16:09:02 i closed that BP and marked it Obsolete. 16:09:21 #topic Blueprints 16:09:48 alextricity: being that you're the only one on the agenda can you start off talking about the BP/Spec 16:09:57 Sure. 16:10:23 The goal is to create discussion around how we can implement ceilo into OSAD 16:10:25 #link https://review.openstack.org/#/c/169417/ 16:10:45 cloudnull already have sat down and started talking about the initial setup 16:11:02 e.g. changes to the openstack_environment.yml, new containers, etc 16:11:13 yes. 16:11:28 The code is up on the whiteboard 16:11:59 #link https://review.openstack.org/#/c/169417/2/specs/kilo/implement-ceilometer 16:12:08 #link http://docs-draft.openstack.org/17/169417/3/check/gate-os-ansible-deployment-specs-docs/f5eda8a//doc/build/html/specs/kilo/implement-ceilometer.html 16:12:18 Right now I am brainstorming ways we can effeciently deploy ceilometer, with mongodb database backend. 16:12:25 so my one question here is how do we test it. ^ 16:12:27 efficiently* 16:12:59 I was thinking about creating a small play to deploy a basic mongodb server 16:13:09 do we develop an in repo method to deploy mongo, similar to how we are doing mariadb/Galera ? 16:13:10 But i'm open to suggestions, as always ;) 16:13:27 Hmmm..I don't know about that cloudnull 16:13:28 maybe there are upstream mongo roles? 16:13:47 or do we make just enough to get it to work? 16:14:06 if there are upstream mongo roles we can pull them in using masters structure to pull in external roles. 16:14:16 yeh that'd be ideal 16:14:21 #link https://github.com/stackforge/os-ansible-deployment/blob/master/ansible-role-requirements.yml.example 16:14:49 +1 to that, implementing and managing a mongo role is not something we should be doing IMHO 16:14:58 re: upstream roles: definitely. I don't know if you guys are comfortable with have in-repo method for deploying mongodb 16:15:29 im comfortable with it. we're doing it with maria and rabbit 16:15:35 I'm leaning towards that idea as well d34dh0r53 16:15:51 I think we should just do enough to make it work for now 16:15:54 mongo is used through the OpenStack. even if i dont like it 16:16:08 *throughout 16:16:16 yeh if its not there, and we need ceilometer 16:16:21 to me, if the upstream roles will accept patches to make them better fit our needs, then yeah 16:16:22 then we should look into it. 16:16:23 Who knows, ceilometer is expected to up their game in Kilo. With Gnocchi, mysql could be a viable solution. 16:16:32 otherwise, for a short term fix we may have to carry our own 16:16:53 does ceilometer not work with mysql? 16:17:03 well other services like zaqar are using mongo too 16:17:11 Sam-I-Am it works, kinda 16:17:17 it works functionally 16:17:20 lol 16:17:36 so we will eventually need something that implements mongo. 16:17:45 cloudnull: Sam-I-Am I recall mention of 'don't ever use it in production with SQL backend' 16:17:46 if we can leverage upstream lets do that 16:18:11 just afraid our mongo role and the project as a whole will take the blame when ceilometer... 16:18:20 alextricity could you do a bit of research on what upstream roles are available. and how we can leverage tehm ? 16:18:33 cloudnull. Of course. 16:18:35 d34dh0r53 this is fair. 16:18:52 I'll keep adding to the blueprint as I gather more info and get further along in implementing the plays 16:19:20 but ceilometer is a OpenStack namespaced service and we should aim to support deploying all the OpenStack services we can. 16:19:34 cloudnull: 100% agree with that 16:19:39 true - and really if support is added and nobody uses it then its likely it wont be amazing, but then nobody is using it 16:19:49 stevelle: 'dont ever use it in production' ? 16:19:52 this is true. 16:20:02 Sam-I-Am: see ceilometer 16:20:10 :) 16:20:22 What do you guys think about having the separate db backend? 16:20:30 pretty sure that is the 2nd definition of ceilometer 16:20:35 lol 16:20:49 alextricity "separate db backend?" ? 16:20:58 alextricity: i think if sql is not a viable option we dont have a choice so much :D 16:21:03 unless we want to port everything else to use mongo... 16:21:17 andymccr for web scale 16:21:20 :p 16:21:29 how about we just plug it into objectrocket 16:21:32 like cloudfiles for glance :D 16:21:36 cloudnull: If ceilometer is deployed, you'll have the sql db and mongodb for ceilo 16:21:40 community, andymccr :) 16:21:55 certainly . i like the idea of having ceilometer only need a connection string 16:21:56 andymccr: That config will be in rpc-extras ;) 16:22:03 which is what we are doing in other services. 16:22:09 Yeah, if we can get it to just needing a connection string, then awesome 16:22:16 but we need a way to test it. which leads to having something that deploys mongo 16:22:24 Yeah 16:22:27 Right 16:22:34 unless we test it with objectrocket :p 16:22:51 we could do that but that would have to be an external ci test 16:23:16 Is that necessarily bad? I'm not aware of the implications around that 16:23:16 I'm okay with having something that deploys mongo 16:23:29 has anyone looked at the improvements for kilo? 16:23:34 i havent even installed it yet 16:23:38 me too. and if upstream can do that for us. i think we should look at that. 16:23:39 The ceilometer ones? no 16:23:43 from hard experience, tuning mongodb in replication is going to require a strategy for where to put the arbiter 16:23:46 alextricity: ^ 16:23:54 Sam-I-Am: I can't until I have docs 16:24:06 Sam-I-Am: I have. Like I said they are expected to beef up their game. I still have to do more research, however. 16:24:20 stevelle: I wonder if our support shouldn't only go so far as using it for testing 16:24:31 And deployers are responsible for Mongo 16:24:48 That would be in line with our usage of HAProxy/load balancers 16:25:23 palendae: which is slowly becoming a thing, not something I want our mongo play to become 16:25:25 palendae that might be fine initially, but with everything else we have, we're targeting production (except HAProxy). 16:25:38 yet 16:25:46 cloudnull: yeah, true. I wouldn't fight that super hard, because you're right - we manage everything else now 16:25:48 palendae: with redundant infra nodes, we would by default have too many arbiters 16:26:01 stevelle: I was thinking just for AIOs/gating 16:26:14 it is still a design challenge 16:26:15 But might as well use reference architecture 16:26:34 Fair enough. I don't know enough about Mongo to speak knowledgeably, so I'll pipe down :) 16:26:39 stevelle: i thought mongo was smart enough not to need redundancy :) 16:26:49 lol 16:26:51 Sam-I-Am see web scale. 16:26:57 hahaha 16:27:04 I thought we were targeting cloud scale 16:27:07 Web scale's not good enough 16:27:11 space, the final scale. 16:27:16 #link https://www.youtube.com/watch?v=b2F-DItXtZs 16:27:37 cloudnull: Hahaha 16:27:47 too soon. 16:27:51 my wounds have not healed 16:28:00 valid question tbh 16:28:03 they never really heal 16:28:08 Right, stevelle is the Mongo SME 16:28:09 the scabs just keep coming off 16:28:25 lol 16:28:30 stevelle: sounds like you've volunteered yourself 16:28:40 cloudnull epic video have seen it before ;) 16:29:15 ok so, alextricity: more research on how we deploy mongo. stevelle can you sync up with alextricity on some of your mongo SME-ness? 16:29:25 sdake ikr?! :) 16:29:46 alextricity: you know where to find me online? 16:29:59 and with that update the spec for further review 16:30:01 Unfortunately I don't know enough about Mongodb to say how all of that is handled. So if we are going to go the route of deploying mongo as part of the plays..it's going to be challeging 16:30:23 stevelle, no 16:30:30 alextricity: #openstack-meeting-4 16:30:34 * #openstack-ansible 16:30:34 lol 16:30:42 (tab complete fail, I swear) 16:31:01 sigmavirus2: that never happens 16:31:03 Sounds good, we'll definitely sync up 16:31:07 Thanks 16:31:30 I think mongo is a good choice for ceilomter, especially when it comes down to expiring objects (built in). SQL DBs are usually killed with ceilometer 16:31:37 also it's just ceilometer 16:32:28 palenda: I don't know what you mean 16:32:32 so next BP: https://review.openstack.org/#/c/169189/ 16:32:36 #link https://review.openstack.org/#/c/169189/ 16:33:03 which is related to bp https://blueprints.launchpad.net/openstack-ansible/+spec/dynamically-manage-policy.json 16:33:38 while one is for policy.json and the other is for config files i think there's a lot of overlap 16:34:13 Yeah - I think merging those would be good 16:34:20 me too. 16:36:02 I was of the opinion that treating json as json would be easier 16:36:17 im violently opposed to hash merging. but if the concept / idea wins out among cores then i say we execute on it. 16:36:35 however the bp that Daniel Curran put through and the pseudo code Sudarshan Acharya is working on creates a module which should allow us to add in extra config without having to do hash merging 16:36:39 cloudnull: do we have another solution? cos i kinda agree with you. 16:36:48 #link https://review.openstack.org/#/c/168104/ 16:36:57 the spec for neutron plays looks... interesting 16:37:01 "have fun" 16:37:16 andymccr it presently works only with policy files. 16:37:36 but extending to config using the ConfigParse std lib in Py2.7 should make that go. 16:37:47 hmm - i quite like that idea 16:38:01 alextricity where's suda ? 16:38:11 I don't think he knows about these meetings 16:38:19 want me to get him in here 16:38:20 ? 16:38:26 throw something at him :) 16:38:54 andymccr you mind reviewing that module to make sure its not bat shit crazy ? 16:39:19 i like it, i had some inline comments. but i like the concept. 16:39:34 and with a bit of clean up i think it could be awesome. 16:39:54 sacharya: the man the myth the legend. 16:39:59 haha 16:40:07 oh look b3rnard0 thanks for showing up .... 16:40:18 oh hai 16:40:31 sacharya we made some inline comments on your module. 16:40:54 saw that… I am fixing those… i was out the last couple of days! 16:41:00 also we've moved all the things to specs. can you re-pull the bp against our specs repo so that we can get some more review on it. 16:41:15 time off sacharya ? UNpossible ! 16:41:28 no worries. :) 16:42:12 brb 16:42:32 sacharya: IE https://github.com/stackforge/os-ansible-deployment-specs 16:42:54 pulling into https://github.com/stackforge/os-ansible-deployment-specs/tree/master/specs/kilo would be ideal . 16:43:40 Next: bp https://review.openstack.org/#/c/169189/ 16:44:32 yeah, this one :) 16:44:58 Cores this is a bp targeted 10.x and not master at this time. we know that its a feature add in the rax technical debt branch, but could/should be extendable to master without a lot of work depending on the implementation. 16:45:47 i think we can work with Javeria Khan to make that go. 16:46:03 are we still adding features to 10? 16:46:04 Yeah, I think so too 16:46:10 something that might require architectural changes 16:46:13 as, by reading the spec, it seems that he has already done most of the work. 16:46:30 e.g., how we're doing the lxc/bridge stuff 16:47:07 Sam-I-Am: i dont think so . but we're eventually going to have to re-approach OVS. 16:47:33 which will require some of those types of changes. 16:47:37 if any of these plugins/agents use something outside of linuxbridge 16:48:00 we discussed some of the interesting ovs bits for metal hosts 16:48:08 I think Javiera's intent was to bring in plumgrid support 16:48:26 But that was split into 2 phases - making ml2 replaceable was the first step 16:48:31 which i think uses linuxbridge 16:49:34 palendae i think so it seems that using a different neutron plugin makes that more approachable. 16:50:00 cloudnull: If I remember correctly, Javiera was saying plumgrid doesn't support ml2 16:50:28 Sam-I-Am with the addition of the provider_networks ansible module the data structures in master should be far more malleable. 16:50:52 #link https://github.com/stackforge/os-ansible-deployment/blob/master/playbooks/library/provider_networks 16:51:10 cloudnull: this is true 16:51:30 Which came about to help with your OVS tragedy you were working on . 16:51:34 :) 16:52:00 we are nearly out of time here 16:52:08 so getting a few more reviews on that spec would be great. 16:52:29 we are. so lets open up to general discussion . 16:52:41 #topic Open discussion 16:53:12 begin the festivus 16:53:25 I've got a lot of problems with you people 16:53:31 :D 16:53:32 :) 16:53:37 I know there are multiple reviews open for moving master to kilo. I wanted to raise osprofiler as a topic 16:53:55 * cloudnull hands mic to stevelle 16:53:57 go 16:54:02 I feel we should configure the same way, and we had three slightly different ways between heat, glance, and cinder 16:54:54 it's pretty clear that profiling should be off, but git-harry rightly raised the point that having the middleware in place would be good 16:55:50 i think we should, in config, set it off. we expose vars to enable it. 16:56:03 by default i think that it should be functional in paste. 16:56:16 from there it's less clear. Is the middleware always enabled or configurable? It looks like we all made our own HMAC secret per-service 16:56:26 Point of order: We all recognize that without ceilometer having osprofiler configurable to be on by default is kind of ... pointless, right? 16:56:57 sigmavirus24: agreed. The initial glance bp and work all excluded osprofiler. 16:57:01 sigmavirus24: unless there is somethine else, outside of our deployment scope that is consuming those messages. 16:57:26 having it configurable but off by default seems sensible to me. 16:57:41 cloudnull: pretty sure osprofiler only emits things for ceilometer and I've heard 0 about it being used by anything else (I've looked a lot) 16:57:50 so each service has it's own hmac, and the middleware is on then? 16:57:59 * sigmavirus24 is just making sure everyone is aware 16:58:07 sure. 16:58:31 well that ties back to alextricity and getting ceilometer as a supportable service . 16:58:41 Yeah :/ 16:58:50 lets just try to make sure all the services apply the same style to osprofiler config 16:59:00 if he does that, and we have the profiler options, then i think we should be good . right? 16:59:10 consistency would be good. 16:59:17 +1 for consistency 16:59:22 yes 16:59:41 ok we're out of time. lets continue this convo in the channel or on the ML. 16:59:59 thanks all 17:00:02 thanks everyone. 17:00:04 #endmeeting