17:01:43 #startmeeting community 17:01:44 Meeting started Mon Mar 23 17:01:43 2015 UTC and is due to finish in 60 minutes. The chair is reed. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:01:45 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:01:48 The meeting name has been set to 'community' 17:02:04 here 17:02:06 hi 17:02:11 #link https://wiki.openstack.org/wiki/Community/MeetingAgenda#Agenda_for_March_23.2C_2015 17:02:18 sorry for the last week's meeting, I was on a plane, and forget to tell 17:02:28 #topic Infratization of Activity Board 17:02:47 no problem mrmartin, we moved forward via mailing list and in person anyway :) 17:03:07 yeah, was awesome 17:03:21 dizquierdo, what's the status of https://etherpad.openstack.org/p/activity-infratization-spec? 17:03:25 let's see the activity spec 17:03:46 mrmartin, reed I finished a version of the architecture file at https://raw.githubusercontent.com/MetricsGrimoire/puppet-metricsgrimoire/master/architecture.rst 17:04:02 ok, nice, can you move it to the spec file? 17:04:17 or just add a reference link there. 17:04:18 ok, if that's good enough, I'll do it 17:04:35 dizquierdo, does ircanalysis store data in mysql? 17:04:45 and mlstats, too 17:04:46 reed, yes it does 17:04:49 right? 17:04:52 all of the tools indeed 17:05:24 ok, in the architecture rst file some tools explicitly say "This is later stored in a MySQL database." 17:05:34 and mlstats, ircanalysis don't state that 17:05:39 ok, I'll update that 17:05:41 it's a minor bug :) 17:05:54 all of the tools have as output a mysql database 17:05:56 because the schema later is explicit 17:06:16 ok 17:06:32 that file is a bit hard to read but it's good enough 17:06:44 i'll try to make an image 17:06:49 sorry about that, I can try to improve the reading 17:06:53 now, the specification 17:07:05 dizquierdo, don't worry, the image is the only thing that will make it clearer 17:07:07 :) 17:07:12 ah ok 17:07:19 I started to produce that, but well u_u 17:07:43 so, is the draft spec ready to be proposed? 17:07:49 I'd say so 17:08:02 so we can move a short one-two lines of description to the components 17:08:34 I guess this spec is around 10% ready, the infra would kill us if try to commit that in this form 17:08:40 :) 17:08:45 oops, ok :) 17:09:18 so if the architecture part is ready, need to move forward on, what puppet components we need, what is the proper way of migration 17:09:21 like we did with askbot 17:09:46 how to backup / restore databases, etc. 17:09:57 we don't need any of that, I thin 17:10:05 we can start from scratch 17:10:13 actually, we have to start from scratch 17:10:29 we should take care with all of the work regarding affiliation matching 17:10:32 but we don't need to move-in the existing data? 17:10:37 so, problem description: is that enough? 17:10:44 mrmartin, no, we can recreate all of that 17:10:44 or the plugin collects that froms scratch? 17:10:48 ok 17:10:51 I got it 17:11:48 $ 17:11:54 sry 17:12:14 #info move architecture reference to spec 17:12:38 #action reed to prepare a visual diagram based on dizquierdo's rst file 17:12:54 is Problem description clear enough? 17:13:00 oh, with this respect 17:13:01 https://etherpad.openstack.org/p/activity-infratization-spec ? 17:13:09 mrmartin, did you have the cance to have a look at the vagrant machine? 17:13:14 https://github.com/VizGrimoire/VizGrimoireUtils/tree/master/vagrant 17:13:17 #link https://raw.githubusercontent.com/MetricsGrimoire/puppet-metricsgrimoire/master/architecture.rst 17:13:32 just to make sure that you understand how that works 17:13:33 dizquierdo, not yet, but I'll 17:13:37 ah ok ok 17:13:44 let me know if you have any issue with this 17:13:47 dizquierdo, wait, let's make sure we make progress on the spec first 17:13:53 ok 17:14:00 sorry 17:14:04 ok, so this vagrant sets up everything using shell scripts? 17:14:17 nice work! 17:14:26 yes, that should work in that way :) 17:15:20 looks promising, and definitely can help in puppetization 17:15:28 perfect 17:15:38 you need to update some config files, but that should be all 17:15:57 great, I'll allocate some time tomorrow to test it 17:16:08 I'll be around just in case you need some help 17:16:14 ok, I assume that Problem description is good enough. Let's move on the spec draft :) 17:16:30 check the Proposed change: 17:16:44 dizquierdo, is anything missing from the list of tools? 17:17:13 reed, I don't think so, we're nowadays migrating OpenStack to SortingHat, a new tool to manage identities, but that's all 17:17:27 so let's add SortingHat 17:17:31 this is the unique identitites database 17:17:45 ok 17:17:50 I'll add that to the rst file 17:17:57 oh, wait... 17:18:08 right, it'll be needed there too 17:18:46 so this part of the draft spec requires more work 17:18:58 the template says: Here is where you cover the change you propose to make in detail. How do you propose to solve this problem? 17:19:30 for example, we need to write here that we need mysql databases 17:19:43 mmm having a look at the spec file 17:20:09 the puppet scripts for the various tools is one step, then we need databases (are they on the same machine? would a trove instance be enough?) 17:20:33 are they all different databases? etc 17:21:02 yeap, I suggest to enlist all databases we required, if need more 17:21:18 in the case of grimoire, they are all different databases, but it's enough to have all of them in the same machine 17:21:41 ok, if we are going to use trove, we need to pass of required db-s to infra because they need to create it 17:22:00 and as for scope, I would limit this spec to the collecction of data only 17:22:13 I'd avoid going into the data analysis yet 17:22:22 I agree with you 17:23:45 ok let's move on to Mailing Lists Stats puppet recipes 17:23:45 #action reed to describe the phased approach, first the data collection and then the data analysis 17:24:41 mrmartin, I would suggest to do that offline, unless you already have questions 17:25:32 ok, I just like to notice here, that I did a quick review, and it requires refactoring to match the patterns and modules structure of other openstack puppet modules. 17:26:01 ok, we should probably work on creating them more similar to openstack's 17:26:26 mrmartin, a link to some documentation would be good, or some examples at least :) 17:26:48 dizquierdo: all of the puppet- repositories at github.com/openstack-infra/ 17:27:02 great, thanks! 17:27:06 dizquierdo: I can help with that refactoring, because some basic fundamentals is missing here 17:27:23 that would be appreciated 17:27:23 like file resource handling, dependencies, etc. 17:27:28 #action dizquierdo to look at other openstack-infra/puppet-* modules and refactor mlstats puppet 17:27:47 ok,we can postpone this task until we have the spec done 17:28:02 it's not a problem, that's a normal learning path required for puppet. the basic thing that puppet is handling states instead of processes 17:28:06 #info postpone working on the puppet scripts until the spec is done 17:28:39 we have a long way to go before... so let's move to the next topic 17:28:59 dizquierdo, what are the issues that you see in database upgrades and stuff? 17:29:19 reed, basically issues related to updates of the database schema 17:29:21 those concerns are useful to clarify the spec 17:29:32 and addition or removals of repositories 17:29:42 how do you do them now? sql scripts and configuration changes, right? 17:29:44 updates of projects to get integrated, incubated, etc 17:29:53 that's it reed 17:29:57 sql basically 17:30:08 if it's possible to apply sql scripts 17:30:12 that would be a solution for us 17:30:13 you could check how Drupal or Laravel solving those problems 17:30:14 those can be managed by the puppet recipes 17:30:27 usually there is a tool that can apply the change 17:30:42 like bash is such a tool, right? :) 17:30:48 :) 17:31:02 or this tool for python's sqlalchemy: https://alembic.readthedocs.org/en/latest/ 17:31:37 the trick here, that those tools storing the schema version somewhere, so it is easy to do schema updates / downgrades 17:32:02 so if you like to revert a schema due a failed upgrade, than you can do it easily 17:32:18 that sounds good for sure 17:32:41 requires a bit more preparation from application side, but you win a lot at operation side. 17:32:50 so dizquierdo this goes back into how cvsanaly is designed and treats upgrades in general 17:33:32 IIRC it has sql scripts to create the db and upgrades, and python setup takes care of running thos 17:33:35 e 17:33:44 let's say that cvsanaly does not care about updates 17:33:56 if there's a new database schema, cvsanaly will start populating the database with such new schema 17:34:11 internal upgrades are typically done through sql scripts 17:34:39 using mysql client? 17:34:46 yes 17:35:43 ok, so we'll need to add to the spec how those need to be managed 17:35:57 with other projects we used to package those updates next to the app, so the update tool automatically can pick up the new schemas and apply 17:36:00 either by developing a tool, a bash script or something 17:36:15 exactly 17:36:30 sounds good, yep 17:36:51 #action dizquierdo to add to the spec the description of database management 17:37:00 I added a NOTE to the spec draft 17:37:23 next topic? 17:37:40 seems to be the activity board issues in github 17:37:47 btw, no advances with this respect 17:37:53 we have planned them for this week 17:37:54 #topic review pending issues 17:38:03 dizquierdo, ok 17:38:41 #info no progress on github issues about grimoire set, reconvene next week 17:39:02 ok, then let's go on with askbot 17:39:28 #topic askbot infratization 17:39:37 I've added the missing cron jobs: https://review.openstack.org/166882 17:39:58 they are not doing too much, and seems to be that the Chinese issue is a separated one 17:40:00 #info reed tested the new system, found it lacking Chinese search indexes 17:40:13 #info mrmartin added the missing cron jobs: https://review.openstack.org/166882 17:40:25 so I'm looking it, and will work with fungi to find the root of the issue 17:40:31 #info the issue with Chinese language search is still being investigated 17:40:50 #action mrmartin to keep investigating the root cause of missing Chinese language search 17:40:52 actually I'm testing that in Vagrant, as I remember it was working before, but needs a little time to review solr, askbot integration 17:41:10 ok, so we're blocked until this is solved 17:41:12 anyway, if it is done, we can move forward with testing 17:41:54 #info the migration is on hold until the integration solr/askbot is cleared and Chinese search works 17:42:12 so we can skip the following next steps in the migration, we have no date to announce downtime 17:42:40 mrmartin, please make askbot your priority this week 17:42:49 ok, I'm sure we can solve it in this week, there was some magic around the chinese solr analyzers 17:42:57 cool 17:43:11 I know we're close :) 17:43:23 so next topic? 17:43:26 groups 17:43:35 #topic User Groups portal: review of pending issues 17:43:44 #link https://storyboard.openstack.org/#!/project_group/58 17:44:02 ok, I'm was working with the meetup.com event data exchange issue 17:44:52 it is working on dev, except I found an issue with event location format, and there is a new patch for that: https://review.openstack.org/166917 17:45:32 the root of the problem, that we don't know the exact format how to meetup.com is passing the location, and I already meet with at least 4-5 different internal format 17:45:43 #info mrmartin working to add location details to events imported from meetup.com 17:45:54 ouch 17:46:07 this is the test for different formats: https://github.com/openstack-infra/groups/blob/master/modules/groups/groups_feeds/groups_feeds.test 17:46:35 is there a way to simply get the city and the state? 17:46:45 so the event list looks better now on dev: https://groups-dev.openstack.org/ 17:47:20 I need to talk with Jimmy what they are using finally, the xml or the html for parsign 17:47:23 parsing 17:47:53 because the RSS feed not exports the location by default, but I checked what we have there, and Commons provides an iCal exporter too 17:48:23 we may want to export the ical for individual groups 17:48:36 but we can discuss this on the mailing list 17:49:13 that's a good question, because we have ical's actually for groups who are using meetup.com 17:49:21 mrmartin, I find it surprising that meetup.com API don't give you simply the city and the state/nation of the event 17:49:38 I think it was agile 17:50:09 what is agile? 17:50:15 meetup.com development :D 17:50:18 check this: http://paste.openstack.org/show/195485/ 17:50:18 ah 17:50:35 so they are providing a different format for US events 17:50:42 and a different one for other countries 17:50:55 and event for US events they have at least 3 different representation 17:51:01 crap 17:51:17 including ADDRESS, CITY, STATE 17:51:27 let's have a look, probably it's not worth pursuing this 17:51:32 or ADDRESS, CITY, STATE POCODE 17:51:52 wait a second... maybe we can solve this issue in a much simpler way 17:52:19 ok, I guess the parser is quite nice I wrote, so it is handling that well, just need to watch for missing addresses it cannot parse well, I found only one. 17:52:19 the problem we're trying to solve is that on http://openstack.org/community/events there is no information about the 'place' of the event 17:52:54 if the place is the name of the user group, that may be enough 17:52:55 exactly, and we had the field that for the Commons by default, but the meetup.com importer was not imported that value well 17:53:32 ok, this location parser is ready now, I need to accept the patch waiting in the queue, and do a release 17:53:36 well... if the parser is almost done then let's try it 17:53:44 ok 17:54:10 don't throw that out, I spent last week with polishing that :) 17:54:14 #info this location parser is ready and only waiting for a release 17:54:28 if I knew how hard this was, I would have stopped you :) 17:54:51 it was exciting, not hard :D 17:54:56 anyway 17:55:05 exactly, I would have taken the toy off your plate :) 17:55:17 it is ready, so I can roll it out, and move forward with other open things 17:55:24 ok 17:55:28 we have a priority here anyway 17:55:47 #action mrmartin to merge the new parser for location and release new groups portal 17:55:51 https://www.drupal.org/node/2455135 17:56:02 this one, is a major security upgrade for Commons modules 17:56:16 #info let's watch the exported events feed for broken locations 17:56:23 so I need to backport this or upgrade all commons modules to this new version, which is a major jump 17:57:09 #info major security upgrade required for Commons modules, mrmartin to investigate whether backport it or upgrade all modules 17:57:26 what's the cost of upgrading? 17:58:03 we had some patches that fixed bugs of Commons, I need to check whether those were applied in the newer release 17:58:22 or need to refactor them to match the new modules 17:58:35 we have 4-5 patches for commons 17:58:46 no more patches :) 17:59:02 it is a good opportunity to contrib back if we have some leftovers 17:59:09 indeed 17:59:15 yeap, commons is patch the core drupal too 17:59:24 but it is trackable well with the drush make file 17:59:35 so not a huge deal 17:59:36 can you work on this security fix *and* on askbot too? 17:59:41 yes 18:00:03 can they go in parallel or do you need to set one priority higher? 18:00:19 so if the security fix is a not huge deal, I can release it together with the event location patch 18:00:32 so I can save some release time here 18:00:39 * reed writes in English sometimes in uber-convoluted ways :) 18:01:12 what I mean is to understand whether the security issues need to go higher in priority than the askbot 18:01:13 we need a more prior priority 18:01:28 I hope both of them can roll-out tomorrow 18:01:39 both which ones? 18:01:47 the askbot and the sec fix 18:01:58 but I guess is sec fix is very important 18:02:00 do the sec fix first 18:02:34 #info reshuffle priorities: apply drupal security fix first and then investigate the askbot solr integration issue 18:02:40 ok, we need to close the meeting 18:02:47 we are ready anyway 18:02:57 yep, indeed 18:03:09 #endmeeting