00:01:08 #startmeeting congressteammeeting 00:01:09 Meeting started Thu Jun 15 00:01:08 2017 UTC and is due to finish in 60 minutes. The chair is ekcs. Information about MeetBot at http://wiki.debian.org/MeetBot. 00:01:10 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 00:01:13 The meeting name has been set to 'congressteammeeting' 00:01:24 ekcs_: hi 00:01:36 Hi all. Welcome back to another week. As usual, topics are here: https://etherpad.openstack.org/p/congress-meeting-topics 00:01:47 pls feel free to add/comment/edit 00:01:49 hi ramineni_ ! 00:06:16 ok let’s get started then. 00:06:20 #topic announcements 00:06:31 Pike-2 released for congress and congress-dashboard 00:06:43 client 1.7 also released 00:06:57 Great :) 00:07:36 the release for congress and congress-dashboard ended up being late because we forgot to set create the pypi project and set the project-config release job for congress-dashboard. 00:08:01 thankfully the release went out despite the hiccup. 00:08:28 lesson learned for me is to do the release early especially for initial release like congress-dashboard. 00:08:36 any other announcements? 00:09:50 Oh ok 00:11:13 ok moving on then =) 00:11:27 #topic Rule ID logging for action execution 00:11:56 ramineni_: is there anything to talk about on that front? any follow-up questions or discussions? 00:13:22 ekcs : actually I couldn't find a proper way to get the rule id in execute action part 00:14:17 Because , I think there we need to update trigger registry to store rule id somewhere 00:15:13 yea so there are at least two ways to do it. one is to store rule id when the execute table is evaluated. that’s probably the more proper way. 00:15:38 but another is to after the fact query the execute table again using the explain feature to look at the rule that triggered it. 00:16:20 did you get my email about the explain feature? 00:16:34 Trace right? 00:17:07 Explain feature =trace ? 00:17:14 yea. does that seem promising? 00:17:54 theoretically you can query the execute table, find the rule that caused the particular entry that caused the recent execution, then query the policy engine again to retrieve the rule ID of that rule. 00:18:26 not sure if it’ll end up being more or less complicated than storing rule ID during first evaluation. 00:18:56 Ya .. It's helpful .. Thanks. 00:19:33 But I'm able to get the rule id if it's the single table 00:20:22 sorry what do you mean “single table”? 00:20:32 Like execute [ nova.servers.pause], if there are 2 rules defined with same head 00:20:50 Then which rule caused that is not available 00:21:16 May be I have to dig more 00:21:22 got it do you have a sample output from trace? 00:22:01 I think the information is there (in the SUCCESS and FAIL), but it’s not obvious how to read it. 00:22:18 you can also email me later. 00:22:45 Ya .. I'll email you on where I'm stuck 00:23:05 Thanks for the pointers 00:23:10 :) 00:23:26 ok great. 00:25:12 #topic policy monitoring UI discussions 00:25:45 Last time I think we have more or less a consensus on the mockup except for remedial actions. 00:27:18 I’m thinking we could focus on parts that don’t involve remedial actions. and it can always be added later. 00:27:32 Yes, sounds good 00:27:58 but I did also added some mock-up having to do with remedial actions. 00:28:09 UI part are we trageting for pike or q release 00:29:24 Ok .. great , can you share the link 00:29:30 I’m hoping we can get the basic version into Pike. Just displaying the number of errors and warnings per policy in the main page, and displaying the warning and error table. 00:29:37 does that seem reasonable? 00:30:04 link is on the topics etherpad. here again: https://wireframepro.mockflow.com/view/congress-policy-monitor 00:30:27 remedial action stuff we can discuss and target queen maybe? 00:30:28 Hi all. Sorry I'm late. 00:30:57 hi thinrichs ! 00:31:19 we’re discussing policy monitoring UI. 00:32:03 Ok 00:32:34 Hi thinrichs 00:32:41 ramineni_: hi 00:33:44 ekcs_: ok 00:33:53 we’re talking about whether we can reasonbly finish the basic version in Pike, without addressing remedial actions. 00:34:09 Here’s the latest mockup btw, https://wireframepro.mockflow.com/view/congress-policy-monitor 00:36:15 we could also talk about the latest additions in the mock-up for remedial action, if there’s something to discuss now. or leave for another time. not urgent. 00:37:24 The remedial action is the V2 comment, right? That records how many action executions there were. 00:37:42 I would think we should separate (i) adding functionality to backend and (ii) creating the UI 00:37:45 thinrichs: right. also some things in the per policy page 00:37:55 So that we don't create a UI until the backend supports the info the front-end needs. 00:38:10 I don't think we have counters on the backend for how many times an execution fired 00:38:20 or even if all of the action-execution firings correspond to policy violations 00:38:37 They could be sending out logs or shuttling data to another service 00:39:34 thinrichs: right, we don’t. but knowing what front-end we’d like helps us know what back-end functionality is needed right? 00:41:45 anyway the discussions around remedial action in the UI is early stage. we can move on if there isn’t much to talk about right now. 00:42:17 +1 to using the UI to generate requirements for backend 00:43:06 ok let’s move on for now then. feel free to comment on the mockup. (no signed needed I believe to comment) 00:43:18 #topic policy library discussions 00:43:54 Thanks for the reviews on the policy lib data model patch. I’m working on a second patchset addressing the comments and including the API methods. 00:44:13 One point to address: 00:44:35 is it important to have the UUID for the library policies? 00:45:12 I remember hearing about how UUID was added to the policy enigne policies API because people wanted that. 00:45:19 would the same reasons apply here? 00:45:34 Trying to remember... 00:45:48 People definitely expected a UUID on all the resources 00:46:05 We tried just having the name for a long time (and even called it the ID), but that didn't help 00:46:38 Do we expect the names to be unique for the library? 00:46:53 Hmm ok. So that means we should have UUID here too then? 00:46:56 The names had to be unique for the policies so that we could reference policy A from policy B as A:foo 00:47:13 But for the library, it's not as clear that all the names need to be unique 00:47:44 You could have 3 policies named A, with a policy B that references A:foo, and it's the user's job to pick which version of A to instantiate. 00:48:22 (Maybe the 3 policies differ in whether they reference glance or glare; ceilometer or monasca; etc.) 00:48:38 In both cases I'd lean toward having a UUID for each policy in the library. 00:49:06 hmmm. that’s a good point. I had designed for the names to be unique even in the library. but then you lose this use case. 00:50:35 but regardless of whether names are unique, people want to see UUID. 00:50:50 right 00:50:50 correct? 00:50:53 yep 00:51:01 ok. 00:51:21 and hmm any more arguments for or against unique names in library? 00:52:51 I can’t think of any reason to insist on uniqueness. 00:53:30 except maybe it’s easier to activate a policy by name in CLI. weak argument though. 00:54:00 Could always do a lookup: given name, find the UUID 00:54:17 (meaning the CLI could do the lookup, and the API could require having a UUID) 00:54:25 Or the API could accept both 00:54:55 I've got to run home. Just found out the nanny bailed (again) 00:55:08 ok later thinrichs 00:55:13 Thanks all! 00:55:24 ramineni_: any more thoughts on uniqueness of names or anything else policy library? 00:56:17 Nothing from my side 00:56:27 ok then! 00:56:31 #topic open discussion 00:56:39 anything else to talk about? 00:56:50 if not we can call it =) 00:56:55 Are we having ptg 00:57:04 ? 00:57:22 oh right. I responded probably to the questionaire. 00:57:28 meant to talk about it at some point when people are around. 00:58:02 Oohk ..np ..we can discuss next time then 00:58:46 basically I think it’s really helpful to have the time set aside to talk. but it may also be an option to do it remotely to avoid a trip. but the time difference makes it complicated too. and it’s hard to get the same kind of dedicated time. 00:59:17 yea please think about what you think is best and email me or ML and we can also talk about it at future meeting. 00:59:17 Ya , right 00:59:28 Sure 00:59:55 alright then. more next time! 01:00:01 #endmeeting