16:00:10 #startmeeting openstack_chef 16:00:11 Meeting started Mon Nov 23 16:00:10 2015 UTC and is due to finish in 60 minutes. The chair is jklare. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:12 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:15 The meeting name has been set to 'openstack_chef' 16:00:30 hello everybody o/ 16:00:38 o/ 16:00:42 hi there 16:02:17 any topics from you guys for today? 16:02:54 i don't have anything for this week 16:03:41 ok then lets start with this one 16:03:51 #topic refactoring the cookbooks 16:04:38 calbers and me have pushed up some refactored versions of compute and network and the network cookbook seems to be already working again in our integration tests 16:04:54 it would be great so have some more eyes on this 16:05:07 to check if these patches go into the right direction 16:06:01 another thing i realised while going through the network cookbook is our (in my eyes) completely broken way of handling the identity (and maybe most of the other) endpoints right now 16:06:26 i think somewhere along our path we decided to split the endpoints into internal, admin and public like the projects do 16:06:36 which is great 16:06:56 the issue is, that judging from the current state of the code, the refactoring never finished completely 16:07:25 which led to something like this https://github.com/openstack/cookbook-openstack-network/blob/56c95b6ce3ad2f9fd2ff2882a05e03781f73b8ca/recipes/default.rb#L148-L153 16:08:57 the endpoint stuff is rather fragile, at least that's what my experience was backporting some code to icehouse 16:08:58 in line 148 the internal_endpoint is defined by calling internal_endpoint on 'identity-internal', which will first search for an attribute like node.openstack.endpoints.internal.identity-internal.... and after not finding it, fall back to node.openstack.endpoints.identity-internal... which exists 16:09:30 so the fact that it is working is currently based on a fallback 16:09:38 and some workaround definitions 16:10:15 since these methods and the definition of endpoints is very important for all cookbooks, we should try to fix this during this refactoring cycle imo 16:10:26 +1 16:10:36 :) 16:10:50 so you want to go for it sc` ? 16:11:11 may not have as much time as i'd like 16:11:22 yeah, i know that feeling :D 16:12:23 being as $job is icehouse, there's a good deal of context switching that has to happen 16:13:18 in my opinion this endpoint methods are too complicated and to workaroundy right now 16:14:54 it is rather complicated to work with. suggestions on how to improve it? 16:15:35 i think we can define a more generic endpoint method, that depends on some more sane user input 16:16:19 right now our endpoints and uri methods try to correct things from attributes that might be set wrong 16:16:35 like removing '/' or replacing 'v3.0' with 'v3' 16:17:42 bad node attribute data is just a consequence of chef. i can see where consolidating methods would be useful 16:17:48 if we agree that the cookbook user knows what he is doing and has read the documentation (which needs to be updated ofc), we could remove a lot of complicated code here and go with a lot more 'convention over configuration' 16:18:29 assuming people read documentation is a lofty assumption :D 16:18:34 i know 16:18:42 sad but true 16:20:01 so, since nobody has touched the common cookbook and its methods yet, i could give it a shot and refactore these methods 16:20:04 but i agree. we shouldn't be managing the configuration of openstack as much as we are 16:20:22 -e 16:21:49 if the cookbooks move away from ubuntu/centos packages and use something a la giftwrap, a good deal of things could go down to the packages themselves and be out of the cookbooks 16:22:22 thats true, but does not change anything regarding the dynamic configurations 16:22:53 except if we include the whole package and service configuraiton in the postinst scripts ;) 16:23:21 i think it depends on how we want the future to look 16:23:30 ? 16:24:08 continuing the use of upstream packages the way we are locks us to certain assumptions at the packaging level 16:24:21 less control, etc. 16:25:10 but that is mainly the installation path and the init scripts right? 16:28:01 one thing that pops out is keystone.wsgi vs wsgi.py. i don't have a comprehensive list of what's different between distros, but it's plausible that there are other variances versus upstream openstack 16:29:49 hey all :D 16:29:52 true, but i am not sure if we should try to move away from upstream packaging to correct these minor things and face all the heavy lifting of packaging ourselfs instead 16:29:57 hey j^2 16:30:08 ohai j^2 16:30:17 hi j^2 16:30:22 it seems my NAS at home got hacked :( 16:31:17 CIA? 16:31:24 NSA? 16:31:29 the "LOL" hack 16:35:41 would you volunteer to try some automated building of packages that we could use sc` ? because my main objection with this right now is, that we only have so much resources and i have not seen anybody working on this packaging thing for our project so far 16:36:13 i also have tried the giftwrap thing and spend 2 hours patching code to get it to build some packages from master 16:36:30 i have no idea if they work or not 16:36:38 and no automation to test them right now 16:37:33 so from my point of view the " we should package ourselfs" idea is great, but not doable right now 16:37:57 and i would love to be proven wrong here 16:38:30 indeed. perhaps a 'not right now' thing given the number of active contributors. i can see if i can spend some time over the coming US holiday 16:39:03 sounds good 16:39:29 @j^2 i heard you have some desginate things to tell? 16:39:43 #topic designate-cookbook 16:40:21 yeah 16:40:27 so i've started a POC for designate 16:40:39 i havent gotten common put in yet, but it's a start 16:40:58 there is no "production" instructions so this is the best i got 16:41:13 #link https://github.com/jjasghar/cookbook-openstack-dnsaas 16:41:21 I'd love some eyes/PRs if yall have some time 16:41:44 j^2: apparently this is the "production" instructions - http://docs.openstack.org/developer/designate/install/ubuntu-kilo.html 16:41:46 when it's "ready" i'll squash/not squash everything down to one and cerate the openstack/ repop 16:42:00 oh levely 16:42:02 lovely 16:42:19 this is the one i used: http://docs.openstack.org/developer/designate/getting-started.html 16:42:28 i'll go through that link jklare and make the changes 16:43:07 luckly designate looks pretty straight forwarbd 16:43:18 i'm planning on tk'ing it also too so 16:43:29 and then we can add it to the openstack-chef-repo and have it part of the aio 16:44:26 seems like great progress 16:45:25 thanks 16:45:27 i'm trying 16:45:29 :D 16:45:43 it looks like it's only Ubuntu for the time being 16:46:07 adding support for other distributions should not be too hard 16:46:17 chef should be build for that ;) 16:46:18 I posted to openstack-dev too; trying to figure out if anyone had any suggestions, but no responses 16:46:28 yeah the install guide only says Ubuntu :( 16:46:52 one person responded this morning, which is where i got that link 16:47:10 oh, i must have missed it in the FLOOD of email :'( 16:47:14 i hate -dev for that reason 16:47:25 i have a filter specifically for [chef] 16:47:37 yeah but they sometimes fuck up the subjects :( 16:47:51 anywho, i'll filter through again 16:48:17 jklare: that's more or less all i got, i just want to make sure yall have seen it 16:48:38 and ideally i should be able to take that same frame/skeleton and make magnum out of it too 16:49:38 can i answer anything else about it? 16:50:33 no i think i am good here 16:50:52 cool, i'll be at their meeting too 16:51:01 sc`: thanks for the heads up on the email 16:51:23 np 16:51:25 jklare: fearless leader, back to you ;) 16:51:49 #topic anything else 16:52:04 i was at the ha-openstack meetup this morning 16:52:35 i bet that was an exciting conversation! :P 16:53:08 was a quite interesting discussion on how to improve the documentation and how to get started in documenting all the solutions people have build for archieving the ultimate and true HA 16:53:29 they will start with creating some etherpads and diagramms to sync up 16:54:22 i think we should try to get involved after that initial step has happened and see if we can use these diagramms and documentation to build some ha-wrappers 16:55:02 jklare: that's a great idea 16:56:33 all from my side :D 16:56:44 anything anybody wants to add? 16:56:56 getting ha configurations in will be good 16:56:57 4mins left 16:57:07 i'm good 16:57:55 same here i'm good 16:58:13 ok, thanks for attending and see you around 16:58:16 #endmeeting