17:01:57 #startmeeting CongressTeamMeeting 17:01:58 Meeting started Tue Jul 29 17:01:57 2014 UTC and is due to finish in 60 minutes. The chair is thinrichs. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:01:59 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:02:01 The meeting name has been set to 'congressteammeeting' 17:02:02 Hi all 17:02:05 morning 17:02:07 Hello. 17:03:07 Hi guys 17:03:20 Hi 17:03:57 Hi 17:04:11 Looks like we have enough to get started. 17:04:41 We definitely want to hear from the Tetris folks, since they were cutoff last time. 17:04:52 But I don't see gokul online yet. 17:05:08 So let's start with status updates. 17:05:16 kudva: want to start? 17:05:25 Sure, couple of things 17:06:20 Completed the integration by adding more tests for builtin-runtime integration 17:06:32 Addressed comments from arosen and thinrichs 17:06:35 https://review.openstack.org/109099 17:06:45 Hi 17:06:54 kudva: sounds good I"ll take another look. 17:07:16 Also, sent a blueprint for Congress Ceilometer integration just this morning. Very, very early first draft 17:07:17 kudva: seems like it's still failing jenkins right now. Do you know why? 17:08:03 So, the pep8 errors I can fix, they are minor (white spaces, import alphabetical order) 17:08:15 But the congress unit tests don't even run 17:08:31 so, not sure why they don't run. The call to runtests itself is failing it seems 17:08:48 https://docs.google.com/document/d/1NV8NbQTNyqWZnyhtfoKt6LQElcG6HAVPuyUHHRYE5nM/edit?usp=drive_web 17:08:57 ceilometer/congress integration start document 17:09:36 Is that world-readable? It says I need permission. 17:09:59 kudva: actually i think you might need to just rebase it and it should work again. I think it's failing because of broken requirements.txt that we had at one point. 17:10:21 thinrichs: okay, will do on tests 17:10:35 thinrichs: will set the permissions, 17:11:44 thinrichs: now anyone can read 17:11:51 kudva: I did a quick scan over the ceilometer doc. 17:12:32 kudva: I think the key thing we need for an integration with Ceilometer is a description of what their data model is and how it will look in Congress. 17:13:00 thinrichs: they store their metrics and samples in mongodb, and have apis 17:13:03 kudva: the rest of the architecture you're describing is already in place (though we don't sometimes cache data and sometimes not) 17:13:06 #info ceilometer integration proposal #link https://docs.google.com/document/d/1NV8NbQTNyqWZnyhtfoKt6LQElcG6HAVPuyUHHRYE5nM/edit 17:13:44 gokul: glad you could make it! We're in the midst of getting a status update from kudva. 17:14:14 hello all. thinrichs: thanks. there as a network outage last week here. 17:14:20 thinrichs: so we could access the ceilometer apis directly, but the support in Congress we need is to determine 'when' we go to local store versus Ceilometer based on variable in predicates 17:15:13 kudva: if the policy mentions ceilometer:cpu_util, the 'ceilometer' prefix tells Congress that the table comes from the ceilometer datasource driver. 17:15:13 thinrichs: so I will add more details and outline a full example, just wanted to run initial thoughts by the team 17:15:23 kudva: we do that with Nova/Neutron already today. 17:15:47 thinrichs: Okay, will look at the dse code a bit more 17:16:26 thinrichs: regarding my earlier commit, rebasing is good enough to get the requirements.txt, and run jenkins tests? 17:16:42 kudva: any questions re: DSE, I will gladly assist. 17:16:50 kudva: check out dsepolicy.py in particular. It's the glue the connects the policy engine to DSE. 17:17:03 Maybe this is a good time to give my status update then. 17:17:11 cloudtoad: okay, thanks! Would like to see the specific python code which chooses between data stores 17:17:31 We almost have a fully integrated system. 17:18:09 I'm planning on putting a demo script together around the private/public networking use case, mainly b/c it's small and we have the necessary data sources. 17:18:25 thinrichs: makes sense 17:18:26 If all goes well I'll send out the script in the next few days. 17:18:49 thinrichs: this is what we will demo at ops summit? 17:18:55 Then everyone will be able to write policies against Nova/Neutron and start tracing how the code works. 17:19:24 sarob: we should be able to demo any policy we want over Nova/Neutron sources. 17:20:11 thinrichs: sounds good. 17:20:22 Do we have a table class yet, Tim? 17:20:28 so, does a fully integrated system mean: a server running that can take some action based on some conditions [right now, nova/neutron] and policies [datalog]? 17:21:12 cloudtoad: DSE itself doesn't have tables, but all the instances of DSE that we're using happen to send collections of tuples around (i.e. tables and table-deltas). 17:21:47 Right, but is that collection defined in a class somewhere? 17:22:01 gokul: just monitoring—not actions. So that means that people can write a policy that describes the desired state of the datacenter (over Nova/Neutron datasources), and we can check if the current state of the system matches that desired state or not. 17:22:31 cloudtoad: not within DSE but there's a Database class within the policy runtime. 17:22:45 i see. ok. thanks. 17:23:19 thinrichs: Are we planning to demo Congress API support too? 17:23:31 cloudtoad: when we talked about adding a table class to DSE, I tried it out and find a simpler change that gave us what we needed. 17:23:47 skn_: the API is working, so yes the demo script will have Curl commands. 17:24:04 Ok, I'll look at the database class... 17:24:11 Cool. Thanks. 17:24:31 arosen is working on keystone integration, which will make Horizon integration straightforward, as I understand it. That'll be helpful for the demo as well. 17:24:35 arosen: want to report? 17:24:40 thinrichs: sure. 17:25:10 I'm in the mist of rebasing my keystone and policy.json integration patches. Hopefully once i get those up we'll be able to merge those later today. 17:25:34 I'm also working on devstack integration which should help us build some kind of CI system so we can automate the setup of congress. 17:25:47 That's all I got for now to report. 17:26:32 arosen: thanks! 17:27:25 I think that's most of the coding progress I know about. 17:27:51 Before we miss out on it again, I think we should chat with gokul about Tetris. 17:28:14 gokul: want to say a little about the Tetris project and why you're interested in Congress? 17:28:54 and all: thanks. so, we had started this initiative called Tetris, where the goal was on policy automation encompassing compliance and optimization policies. 17:29:40 so, in summary, after looking at congress and its framework etc. we decided to merge with congress and see if we can have other policies such as 17:30:08 runtime optimization etc. 17:30:41 however, for congress itself, i believe it is a nice initiative and i look forward to contribute. 17:30:57 Jay and others (from China) were all part of the Tetris team 17:31:06 all have now joined and will be contributing to Congress. :) 17:31:17 I believe we have had some example runtime policies in Congress too 17:31:25 gokul: super awesome 17:31:28 thats the brief summary. : want me to add anything else? 17:31:28 gokul: It's great to have you on board! 17:31:34 thanks 17:31:43 gokul: that's a good summary. 17:32:09 I think the cool thing is that one of the next big issues to address is how we do enforcement of policies. 17:32:28 And from what I understand that's what the Tetris team is primarily interested in. 17:32:55 That falls pretty much in line 17:32:56 So it'll be great having you all help direct that aspect of the project. 17:33:16 Let me give a brief update on the IDS use case for Congress 17:33:27 #info gokul and the tetris team has joined the congress project 17:33:28 thats correct. conditions --> actions based on policies. so, for this week, i'll be looking at the code and just exercise congress itself. i'll have to find a place to focus on. 17:33:41 as I move forward. 17:33:58 gokul: as soon as I get this demo script sent around to everyone, that'll be a good way to start. 17:34:12 thinrichs: awesome! -- look forward to it. 17:34:26 gokul: we have the #congress IRC channel for non-meeting time chats. 17:34:37 gokul: there are usually several people on it, in case you have questions. 17:34:53 skn_: how's the IDS use case going? 17:34:54 thinrichs: great. will be there. 17:35:13 Yes, I was waiting until you guys are done with Tetris 17:35:48 I had a chat with banix last week 17:35:59 on the Advanced services in Neutron proposals 17:36:27 Although there were a number of blueprints, code wise I did not see a lot 17:37:13 So, I have some support within Neutron for tapping and sending the traffic to IDS traffic 17:37:43 I have started with Bro as the open source IDS 17:38:03 I am current working on a plan for the IDS agent for Congress 17:38:35 skn_: The hope is that all you'll need to do to integrate the IDS is write a datasource driver, like the ones we have for Nova/Neutron. 17:38:38 That would interact with Bro (bro scripts, etc) and then we can have an action with Neutron/Nova 17:39:03 skn_: we shouldn't need to have an IDS-specific agent running on Congress. 17:39:30 Data source driver for IDS, you mean? 17:39:31 skn_: have you looked at how we integrated Neutron/Nova? 17:39:46 skn_: yes—a datasource driver for Bro in particular. 17:40:12 Got it, I think I used the term IDS "agent", by mistake 17:40:20 I meant a data source driver 17:40:34 skn_: good—just wanted to make sure. 17:40:46 Yeah, thanks for the clarification 17:41:06 just to clarify: IDS = intrusion detection system -- correct? 17:41:19 So, once I have bro up and running, I'll start on the datasource driver 17:41:29 gokul: correct 17:41:33 skn_: great! 17:41:40 skn_: thanks. 17:42:00 The eventual goal is to integrate with Neutron and Nova action 17:42:13 One thing cloudtoad mentioned in a review is that we should figure out what to do with services that are either unavailable or that crash, etc. 17:42:43 So if on some install Bro isn't available, we should continue functioning to the extent we can. 17:42:54 #info skn_: started with Bro as the open source IDS and working on a plan for the IDS data source driver for Congress 17:43:15 There would need to be some coordination with the policy engine, so it knows what services are available and which aren't. 17:43:23 Got it, thats something to keep in mind 17:43:41 @thinrichs From the DSE perspective, I'd suggest, ultimately, that we simply capture those exceptions and log them. 17:44:21 at the api, we can expose the plugin status using the /v1/data-sources//status resource 17:44:26 If there is a policy that requires a data source that is not available... would it "do nothing" or is there a tighter coupling there? 17:44:26 cloudtoad: agreed from the DSE perspective, but the policy engine needs to know that if IDS is unavailable that we shouldn't treat the IDS tables as empty; rather we should treat them as unknown. 17:44:34 are we logging stuffs for failures in data sources? 17:45:24 skn_ No. 17:45:32 skn_: right now we're throwing exceptions, partly so I didn't go crazy debugging, but also so that we remember to address this issue 17:46:00 thinrichs: one idea is to write robes policies to capture these scenarios, e.g. ids:available(), ids:xyz() 17:46:55 skn_: My guess is that having the policy writer add all those xxx:availabe() checks will be hard. 17:47:26 I think instead the policy engine can figuree that out itself: if a datasource isn't available, we shouldn't be evaluating any error conditions based on that service. 17:47:44 skn_: but I like the idea of perhaps automatically adding and populating xxx:available() checks as an implementation approach. 17:47:59 thinrichs: yes, that's what I was thinking, just automate these checks 17:48:03 thinrichs: if we use skn_’s suggestion, the policy writer could leverage existing alerting/remediation functionality to address datasource issues 17:48:34 +1 to adding the checks automatically 17:49:04 pballand: I like the idea of giving people the ability to check a datasource's status within policy. Then they can choose to do it or not. 17:49:50 Well, d6cage can iterate over the list of known eventlets, checking their status... then publish this information to a well known DSE bus address. 17:49:57 any volunteers to write this up as a spec? 17:50:22 Anyways, that's all I wanted to update on IDS 17:50:32 I'd be happy to help, but my plate is pretty full right now. If someone else takes the lead, I'll pitch in. 17:50:38 I guess I’ll volunteer 17:50:58 #action pballand will spec exposing datasource status in policy language 17:51:25 skn_: sorry the conversation meandered away from IDS. Let me know if there's anything I can help with getting the IDS spec in place. 17:52:01 Let me have a stab on the IDS spec, and then I'll update you guys 17:52:14 skn_: sounds good. Thanks! 17:52:26 We should link it with the IDS use case bp, or something 17:52:49 btw, i will continue working on getting the congress-spec repo working 17:52:57 the "compromised VM" bp has some references to IDS, I think 17:53:11 I will update the ML and channel when its ready 17:54:02 sarob: thanks for the update — I was just getting ready to ask about the spec repo. :) 17:54:48 thinrichs: finally got the acls file merged, but its not working so another issue to work through 17:55:09 sarob: let us know if there's anything we can do to help. 17:55:14 5 minutes remaining. Let's open it up for discussion. 17:55:17 thinrichs: yup 17:55:20 #topic Open Discussion 17:55:57 regarding policy summit 17:56:10 did we submit the design summit request for Congress for Paris? 17:57:05 skn_: we submitted a talk request for the Paris summit. 17:57:09 im working on a space at vmware palo alto, then i will start up a more official meeting request 17:57:16 skn_: sarob was talking about the policy summit, which is in Sept. 17:57:27 skn_: right 17:57:47 Is there a link for the policy summit? 17:57:54 thinrichs: Got it. I know this one is Sep 18-19, but I was asking about the Paris thing 17:58:25 cloudtoad: not until i get the place locked now, then eventbrite will be set 17:58:31 Sweet 17:58:41 cloudtoad: with all the info and invites 17:58:50 sarob: Great 17:58:58 we will also be attending the OpenStack silicon valley event on Sept 16th 17:59:37 pballand: is martin talking up policy or just attending 17:59:54 Are you guys attending OpenStack meet up tomorrow night? 18:00:15 #info sarob working on the policy summit location then eventbrite will be set up 18:00:31 We're out of time for today. We can continue on #congress. 18:00:40 Thanks all! 18:00:44 cheers 18:01:02 #endmeeting