Thursday, 2016-03-10

*** openstack has joined #openstack-watcher00:08
*** openstackgerrit has quit IRC00:17
*** openstackgerrit has joined #openstack-watcher00:18
*** edleafe has quit IRC00:49
*** edleafe has joined #openstack-watcher00:52
*** xenogear has joined #openstack-watcher01:01
*** thorst_ has quit IRC01:15
*** thorst_ has joined #openstack-watcher01:17
*** thorst_ has quit IRC01:24
*** thorst_ has joined #openstack-watcher01:52
*** thorst_ has quit IRC02:18
*** thorst_ has joined #openstack-watcher02:19
*** thorst_ has quit IRC02:28
*** thorst_ has joined #openstack-watcher03:10
*** thorst_ has quit IRC03:14
*** thorst_ has joined #openstack-watcher03:15
*** xenogear has quit IRC03:17
*** thorst_ has quit IRC03:23
*** jwcroppe has joined #openstack-watcher04:02
*** thorst_ has joined #openstack-watcher04:21
*** thorst_ has quit IRC04:28
*** jwcroppe has quit IRC05:25
*** jwcroppe has joined #openstack-watcher05:25
*** thorst_ has joined #openstack-watcher05:26
*** jwcroppe has quit IRC05:30
*** thorst_ has quit IRC05:33
*** thorst_ has joined #openstack-watcher06:31
*** thorst_ has quit IRC06:38
*** apoorv has joined #openstack-watcher07:15
*** thorst_ has joined #openstack-watcher07:36
*** thorst_ has quit IRC07:43
*** vmahe has joined #openstack-watcher07:44
*** vincentfrancoise has joined #openstack-watcher08:33
*** junjie has quit IRC08:36
*** thorst_ has joined #openstack-watcher08:41
*** thorst_ has quit IRC08:48
*** junjie has joined #openstack-watcher08:50
*** dtardivel has joined #openstack-watcher09:29
*** openstackgerrit has quit IRC09:30
*** openstackgerrit_ has joined #openstack-watcher09:30
*** openstackgerrit_ is now known as openstackgerrit09:31
*** openstackgerrit has quit IRC09:31
*** openstackgerrit_ has joined #openstack-watcher09:31
*** openstackgerrit_ is now known as openstackgerrit09:32
*** openstackgerrit has quit IRC09:32
*** openstackgerrit_ has joined #openstack-watcher09:32
*** openstackgerrit_ is now known as openstackgerrit09:33
*** openstackgerrit has quit IRC09:33
*** openstackgerrit_ has joined #openstack-watcher09:33
*** openstackgerrit_ is now known as openstackgerrit09:34
tkaczynskihi guys, might I have some clarification questions about watcher in general? I don't fully understand how it works09:39
tkaczynskispecifically, how strategies are triggered. I've seen mentions about continuous audits, but can't find any reference about that09:40
tkaczynskihow do I create an continuous audit? does it mean that the strategy will be triggered periodically? how often?09:41
vincentfrancoisetkaczynski: Continuous audits are not currently implemented09:42
vincentfrancoiseThe only mode that is working right now is the ONESHOT mode09:42
vincentfrancoisethere are a couple a BPs that need to be implemented before we can get there09:43
vincentfrancoiseAnd I think this is one of the objectives for Newton09:43
tkaczynskihmm, so what's the point of using ceilometer for example? I thought that the idea is that watcher would monitor e.g. the processor time and based on that it might trigger for example a live migration09:43
vincentfrancoisewell this is for a static analysis of the cluster.09:45
*** thorst_ has joined #openstack-watcher09:45
vincentfrancoiseBasically09:48
vincentfrancoisethe use case as of now09:48
vincentfrancoiseis that you have an admin that would manually trigger an audit of the system09:49
vincentfrancoisethis audit would then use ceilometer via the strategies to compute the action plan09:49
tkaczynskiso the ceilometer is responsible for gathering the information about cluster, like vms, network links, disks which is then available as cluster data model?09:50
*** apoorv_ has joined #openstack-watcher09:50
*** acabot has joined #openstack-watcher09:51
vincentfrancoiseyes09:51
tkaczynskiwhat about dynamic data, like processor usage etc? is this also available in ceilometer / cluster data model?09:52
acabottomasz, here is the picture we discussed during the mid-cycle a, like processor usage etc? is this also available in ceilometer / cluster data model?09:53
acabothttp://factory.b-com.com/www/watcher/doc/watcher/_images/sequence_trigger_audit_in_decision_engine.png09:53
*** thorst_ has quit IRC09:53
acabotif you remember our discussion, we said that every time an admin trigger an audit, we get the cluster state via Nova API and then for each resource we get metrics from ceilometer09:54
acabotand Ceilometer could be a bottleneck in this case so we plan to build a cache DB in the future09:54
tkaczynskiyes, I remember that. but it's only now when I have a better understanding of the whole system and am able to ask the "right" questions09:55
acabotsure ;-)09:56
acabotthats why I'm bringing you back to this discussion ;-)09:56
tkaczynskiso how is it going to work with continuous audits? I can imagine that if we will have hundreds (if not thousands) resources to monitor, we might want to collect a lot of data periodically, let's say every 5 seconds09:57
tkaczynskiif this will all have to go through database and then be queried by strategies (again every few seconds), how will that scale?09:58
tkaczynskiI know I'm not asking easy questions :)09:59
tkaczynski... and you've probably had already tons of discussions about that...09:59
vincentfrancoiseYou can have a look at https://blueprints.launchpad.net/watcher/+spec/cluster-model-objects-wrapper for periodical data collection10:00
vincentfrancoiseI didn't read it myself yet10:00
vincentfrancoisebut I believe the specs are tackling the problem you are mentioning10:01
acabottoday the continuous audit is not working and Watcher does not scale to thousands of nodes10:01
acabotwe know that we have to collect data periodically regarding cluster state and cluster metrics, it is something we will do during the newton cycle10:02
acabotand be able to deliver a scalable solution for the Newton version10:03
acabotthe BP vincentfrancoise mentionned is a way to deal with heterogeneous type of resources in the cluster data model10:03
tkaczynskihow they say, "paper can take everything". I'd say it would be good to have at least some proof of concept that this will scale. it has to be designed with scalability in mind otherwise nobody would use watcher in production. just saying :)10:03
acabotI'm perfectly aware of that (ceilometer example)10:04
acabotthe problem we have today is that Nova and Ceilometer APIs will impact the scalability of Watcher10:05
acabotso what we decided at the mid cycle was to discuss with nova and ceilometer teams to tackle this issue10:06
acabotduring the Newton cycle10:06
tkaczynskiI'm also thinking about how the new scoring module will fit the overall picture, also in the case of continuous audits. basically I can imagine that there will be several strategies working "in parallel", all of them might intensively use the scoring engines (different ones). given that the current proposal is to have a central scoring service, it might10:07
tkaczynskiagain become a bottleneck very quickly10:07
acabotmore things we will be able to do with Watcher, more these teams will be considering our problems10:07
acabottomasz I understand your point but we have to do it incrementaly10:08
acabotif you try to tackle the hardest problems at the beginning, you will never write a single line of code10:09
acabotso the idea of the scoring module is to provide a basic implementation that allows to plug a third party10:10
openstackgerritVincent Françoise proposed openstack/watcher-dashboard: Renamed 'TRIGGERED' state to 'PENDING'  https://review.openstack.org/29108010:10
acabotlike TAP10:10
tkaczynskifully agreed about incremental work, but design decisions are being made now. wrong choice now means troubles in the future, that's why I'm asking all these questions. please don't take me wrong - I'm on your side. I am currently contributing to watcher, I want it to be good :)10:10
acabotyou are absolutely right10:15
acabotand we need to take time to review specs in details10:15
acabotand of course do not hesitate to ask questions, there are no silly questions10:16
openstackgerritVincent Françoise proposed openstack/watcher-dashboard: Renamed 'TRIGGERED' state to 'PENDING'  https://review.openstack.org/29108010:43
*** thorst_ has joined #openstack-watcher10:50
*** thorst_ has quit IRC10:58
*** wootehfoot has joined #openstack-watcher11:32
*** thorst_ has joined #openstack-watcher11:56
*** apoorv has quit IRC11:59
*** apoorv_ has quit IRC12:00
*** thorst_ has quit IRC12:03
*** apoorv_ has joined #openstack-watcher12:11
*** apoorv has joined #openstack-watcher12:12
*** brunograz has joined #openstack-watcher12:26
*** jwcroppe has joined #openstack-watcher12:34
*** thorst_ has joined #openstack-watcher12:35
*** apoorv_ has quit IRC12:37
*** apoorv has quit IRC12:37
tkaczynskihi again. what's the best way to discuss some watcher architectural questions? I'm working on the scoring module BluePrint (and implementation to follow) and I would like to make sure we are on the same page. is everybody happy to discuss that here? I think we can at least try here before organizing any meetings12:59
tkaczynskidtardivel: acabot said that you are involved a lot in watcher architecture13:00
*** alexchadin has joined #openstack-watcher13:15
dtardiveltkaczynski: hi13:15
dtardiveltkaczynski: what's your matter ?13:19
tkaczynskiok, let me explain13:21
openstackgerritBruno Grazioli proposed openstack/watcher: Integrated consolidation strategy with watcher  https://review.openstack.org/28925913:21
tkaczynskiin the scoring-module BluePrint I'm currently proposing that Scoring Module is a new Watcher service (similar to watcher-decision-engine or watcher-applier)13:22
tkaczynskithis service can be used only by he decision engine (if a given strategy wants to use a scoring engine)13:23
tkaczynskithere can be many scoring engines, they are pluggable and might use different libraries, frameworks or even third party cloud services13:24
*** vtech has joined #openstack-watcher13:24
tkaczynskiwhat decision engine needs is to get a reference to a specific scoring engine (possibly by using some lookup method and a unique key) and then use it13:25
openstackgerritAlexander Chadin proposed openstack/watcher-specs: Add Overload standard deviation strategy spec  https://review.openstack.org/28615313:26
tkaczynskiscoring engines might have a similar API in a sense that they might have similar input/output, which I'm proposing to be (in both cases) an array of double values13:26
tkaczynskibut other than that, they are completely different. the number of input/output doubles might (and will) be different, the algorithms will be different, interpretation of results will be different (they solve different problems)13:28
tkaczynskiif we decide to wrap it up with the service, it means that we will have the following situation:13:28
tkaczynski1. decision engine want's to use a scoring engine with some ID, let's call it SE_ID13:29
tkaczynski2. every time decision engine needs to use scoring engine, it calls watcher scoring service with parameters like: SE_ID, [input array of doubles]13:30
*** xenogear has joined #openstack-watcher13:30
tkaczynski3. scoring service also provides some additional API for scoring engine metadata, so decision engine might get some additional information about a particular scoring engine or how to interpret the results13:31
tkaczynskimy question is: is it a good idea to have such a service13:32
tkaczynskithe alternative would be to define a scoring module as a library (or a package), which offers a similar functionality, doesn't have dependencies on other components, but it's not a centralized service13:33
tkaczynskithe first implementation would be fairly simple, like a scoring engine base class, some implementations of the scoring engines and some factory to get a handle (or a "client") to a specific scoring engine (using some ID)13:35
*** vmahe1 has joined #openstack-watcher13:35
tkaczynskiin the future it this doesn't scale, it could be re-implemented using some parallel framework or whatever, but there wouldn't be any need for the change from decision engine point of view13:36
tkaczynskiwhether if we have a service it might be more difficult to scale13:37
*** vmahe has quit IRC13:38
*** acabot has quit IRC13:38
*** vincentfrancoise has quit IRC13:38
*** vmahe has joined #openstack-watcher13:38
tkaczynskialso, because the only "user" of the scoring module is decision engine, I don't see any benefit of making it a service. nobody else will ever use it13:38
tkaczynskiyour toughts?13:39
tkaczynski*thoughts?13:39
*** vmahe1 has quit IRC13:40
*** vmahe1 has joined #openstack-watcher13:41
*** vmahe has quit IRC13:43
*** vmahe has joined #openstack-watcher13:46
*** vmahe1 has quit IRC13:46
*** vmahe1 has joined #openstack-watcher13:49
*** acabot has joined #openstack-watcher13:50
*** vmahe has quit IRC13:50
*** vincentfrancoise has joined #openstack-watcher13:51
dtardiveltkaczynski: first, I think you can propose both alternatives into your spec to be able to comment your proposition and find a consensus. jed56 and vmahe should be able to participate to the debate13:53
*** alexchadin has quit IRC13:54
dtardivelIs your library a kind of pluggable library you will add into decision engine service, through entry points definition ?13:55
vincentfrancoisetkaczynski: the idea of having a separate library to do this is maybe to much for now. Just like dtardivel said, this should probably look like the watcher applier with a separate process/service with a base class and an entry point system to make it pluggable via stevedore.13:56
tkaczynskidtardival: this library is not yet implemented, but I don't think so. this module is optional and up to the strategy to use it. it should be pluggable in a way that there should be an easy way to add third party scoring engines to the system (similarly as we want to add new strategies)13:58
*** alexchadin has joined #openstack-watcher14:00
tkaczynskivincentfrancoise: by "library" I really meant simply a package (directory) within a decision engine. making this a separate process/service like applier is exactly what I want to avoid14:00
tkaczynskithis means serialization/deserialization and inter-process communication for every call to the scoring engine. for continuous audits this might become a problem, because there might be many strategies working in parallel, ceilometer might gather a lot of data from hundreds of VMs every 5 seconds or so, so we might hit very quickly a limit14:03
*** openstackgerrit_ has joined #openstack-watcher14:03
*** openstackgerrit has quit IRC14:03
*** jwcroppe has quit IRC14:04
*** openstackgerrit_ is now known as openstackgerrit14:04
*** openstackgerrit has quit IRC14:04
*** openstackgerrit_ has joined #openstack-watcher14:04
*** jwcroppe has joined #openstack-watcher14:04
vincentfrancoisetkaczynski: I understand your point. I was wondering about the case where people are not using an external service like TAP but would directly implement some Python code. This means it would run within the same process as the decision engine and that can be a problem too14:05
*** openstackgerrit_ is now known as openstackgerrit14:05
*** openstackgerrit has quit IRC14:05
*** openstackgerrit_ has joined #openstack-watcher14:05
tkaczynskithis is something we don't know. the scoring engines can be in the cloud (like TAP), but also using some frameworks, not necessarily written in python14:06
*** openstackgerrit_ is now known as openstackgerrit14:06
*** openstackgerrit has quit IRC14:07
*** openstackgerrit_ has joined #openstack-watcher14:07
tkaczynskibut of course it can be simply a python code, so it might affect the decision engine process of course14:07
dtardivelI think workload and workflow for scoring processing and strategy processing are completely different. That implies, from my point of view, a dedicated service.14:07
*** openstackgerrit_ is now known as openstackgerrit14:08
*** openstackgerrit has quit IRC14:08
*** openstackgerrit_ has joined #openstack-watcher14:08
vincentfrancoiseI know, but in my case having a separate process would be better off whereas in the case of an external framework, your option seems better14:08
vincentfrancoiseso I guess we really need to lay both alternatives down into the specs so that everyone can have a say on this14:09
*** openstackgerrit_ is now known as openstackgerrit14:09
*** jwcroppe has quit IRC14:09
*** openstackgerrit has quit IRC14:09
*** openstackgerrit_ has joined #openstack-watcher14:09
*** openstackgerrit_ is now known as openstackgerrit14:10
*** Guest41345 has joined #openstack-watcher14:10
tkaczynskiwhat I'm proposing is really an abstraction layer. internally this might call an external service if this is needed. but the use case from strategy code would be as simple as: 1. call some factory method to get a scoring engine "object" 2. use this object in the strategy14:10
tkaczynskihaving that abstraction we can do what we want14:11
vincentfrancoiseI agree14:13
dtardivel+114:13
tkaczynskidtardivel: I like your idea about discussing the alternatives in the BP. I will update the spec14:15
vincentfrancoiseso can you clearly explain this in the spec as well?14:15
dtardivelI think you have a section about alternatives in the spec template14:15
tkaczynskiyes, I will explain it. and I will propose the abstraction layer I was talking about.14:16
dtardiveltkaczynski: please try to add pro/cons arguments for both alternatives14:17
tkaczynskisounds good14:18
tkaczynskithanks guys for your attention :)14:20
*** alexchadin has quit IRC14:25
openstackgerritBruno Grazioli proposed openstack/watcher: Integrated consolidation strategy with watcher  https://review.openstack.org/28925914:46
openstackgerritAntoine Cabot proposed openstack/watcher-specs: Select destination filter for live migration  https://review.openstack.org/29121414:51
*** hvprash_ has quit IRC14:58
*** wootehfoot has quit IRC15:00
openstackgerritVincent Françoise proposed openstack/watcher: Added purge script for soft deleted objects  https://review.openstack.org/28604915:11
*** wootehfoot has joined #openstack-watcher15:12
openstackgerritBruno Grazioli proposed openstack/watcher: Integrated consolidation strategy with watcher  https://review.openstack.org/28925915:18
*** hvprash has joined #openstack-watcher15:20
*** hvprash has quit IRC15:20
*** jwcroppe has joined #openstack-watcher15:39
openstackgerritBruno Grazioli proposed openstack/watcher: Integrated consolidation strategy with watcher  https://review.openstack.org/28925915:42
openstackgerritMerged openstack/watcher-dashboard: Renamed 'TRIGGERED' state to 'PENDING'  https://review.openstack.org/29108015:50
*** wootehfoot has quit IRC15:52
openstackgerritVincent Françoise proposed openstack/watcher: Documentation on purge command  https://review.openstack.org/28611115:59
openstackgerritVincent Françoise proposed openstack/watcher: Documentation on purge command  https://review.openstack.org/28611116:05
openstackgerritVincent Françoise proposed openstack/watcher: Added purge script for soft deleted objects  https://review.openstack.org/28604916:05
openstackgerritBruno Grazioli proposed openstack/watcher: Integrated consolidation strategy with watcher  https://review.openstack.org/28925916:06
brunograzhi guys, apologizes for submiting multiple PS for our strategie with minor changes - we had an issue with flake8 and pep8 which were not in the latest version and not catching errors in the code16:24
brunograzthat happened when we were running tests locally16:26
*** vtech has quit IRC16:31
*** vtech has joined #openstack-watcher16:32
*** jwcroppe has quit IRC16:58
*** jwcroppe has joined #openstack-watcher16:59
*** jwcroppe has quit IRC17:03
*** vtech has quit IRC17:18
*** vincentfrancoise has quit IRC17:37
*** openstackgerrit_ has joined #openstack-watcher18:29
*** xenogear has quit IRC18:34
*** vtech has joined #openstack-watcher19:16
*** hvprash has joined #openstack-watcher19:59
*** hvprash has quit IRC20:03
*** hvprash has joined #openstack-watcher20:17
*** hvprash has quit IRC20:21
*** wootehfoot has joined #openstack-watcher20:30
*** hvprash has joined #openstack-watcher20:45
*** hvprash has quit IRC20:50
*** dtardivel has quit IRC21:08
*** thorst_ has quit IRC21:56
*** thorst_ has joined #openstack-watcher22:02
*** thorst__ has joined #openstack-watcher22:04
*** thorst_ has quit IRC22:06
*** thorst__ has quit IRC22:08
*** thorst_ has joined #openstack-watcher22:22
*** thorst__ has joined #openstack-watcher22:26
*** thorst_ has quit IRC22:29
*** jwcroppe has joined #openstack-watcher23:24
*** vtech has quit IRC23:25
*** jwcroppe has quit IRC23:57

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!