Friday, 2017-01-20

*** thorst_ has joined #openstack-watcher00:28
*** jwcroppe has quit IRC00:30
*** thorst_ has quit IRC00:45
*** thorst_ has joined #openstack-watcher00:45
*** zhurong has joined #openstack-watcher00:48
*** thorst_ has quit IRC00:50
*** thorst_ has joined #openstack-watcher01:19
*** thorst_ has quit IRC01:19
*** Yumeng has joined #openstack-watcher01:37
*** Yumeng has quit IRC01:38
*** zhurong has quit IRC01:49
*** zhurong has joined #openstack-watcher01:51
openstackgerritOpenStack Proposal Bot proposed openstack/watcher-dashboard: Updated from global requirements  https://review.openstack.org/42297501:57
*** thorst_ has joined #openstack-watcher02:01
*** thorst_ has quit IRC02:01
*** diga has joined #openstack-watcher02:45
openstackgerritMerged openstack/watcher-dashboard: Remove support for py26  https://review.openstack.org/42236303:08
openstackgerritMerged openstack/watcher-dashboard: Replaces yaml.load() with yaml.safe_load()  https://review.openstack.org/42162403:10
*** thorst_ has joined #openstack-watcher03:39
*** zhurong has quit IRC03:39
*** thorst_ has quit IRC03:40
*** thorst_ has joined #openstack-watcher05:40
*** thorst_ has quit IRC05:48
*** zhurong has joined #openstack-watcher05:49
*** absubram has joined #openstack-watcher06:19
*** zhurong has quit IRC07:03
*** absubram has quit IRC07:08
*** gabor_antal_ has joined #openstack-watcher07:13
*** gabor_antal has quit IRC07:14
*** adisky_ has joined #openstack-watcher07:17
openstackgerritzhangyanxian proposed openstack/puppet-watcher: Fix typo in api.pp  https://review.openstack.org/42310207:36
openstackgerritzhangyanxian proposed openstack/puppet-watcher: Fix typo in api.pp  https://review.openstack.org/42310207:36
*** gabor_antal_ has quit IRC07:37
*** gabor_antal has joined #openstack-watcher07:37
*** alexchadin has joined #openstack-watcher07:41
*** alexchadin has quit IRC07:47
*** alexchadin has joined #openstack-watcher07:50
*** alexchadin has quit IRC07:53
*** alexchadin has joined #openstack-watcher07:53
*** alexchadin has quit IRC07:58
*** alexchadin has joined #openstack-watcher08:19
alexchadindtardivel: good morning!08:47
dtardivelhi alexchadin08:47
*** pksingh has joined #openstack-watcher08:47
pksinghalexchadin: Hello,08:47
alexchadindtardivel: about your comment: https://review.openstack.org/#/c/421297/8/watcher/applier/workflow_engine/default.py@97 actually I wanted to avoid 2 for loop statement to make it a little more faster08:48
alexchadingood day, pksingh08:48
pksinghalexchadin: How are you?08:49
alexchadinpksingh: I'm great, and you?08:49
pksinghalexchadin: me too, Thanks:)08:49
pksinghalexchadin: in which timezone you are?08:49
alexchadinUTC+3, Moscow08:50
pksinghalexchadin: great08:50
pksinghalexchadin: i was looking into watcher code, and have few questions08:50
pksinghalexchadin: can i ask?08:51
alexchadinpksingh: feel free to ask, of course:)08:51
pksinghalexchadin: How old data watcher needs from ceilometer?08:51
alexchadinit depends on specified strategy08:52
alexchadinwait a sec08:52
dtardivelalexchadin: Actually, you have 3 nested loops in that code:08:52
dtardivelhttps://www.irccloud.com/pastebin/UL8VlyFB/08:52
pksinghalexchadin: sure08:52
alexchadinpksingh: for example, workload_stabilization strategy has period config: https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/workload_stabilization.py#L14208:53
alexchadindtardivel: You are right, O(n) on 9 line08:55
*** vincentfrancoise has joined #openstack-watcher08:55
pksinghalexchadin: so this data polling from ceilometer is done periodically or something else?08:56
dtardivelpksingh: as instance, for the basic consolidation strategy algorithm, we query ceilometer to get the last 2 hours of cpu_util metric for each instance. It's hard coded in the algo.08:56
pksinghdtardivel: thanks, yes i saw it today08:56
dtardivelpksingh: https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/basic_consolidation.py#L25808:56
pksinghpksingh: i was wondering, how many days old data is required in ceilometer for watcher to work?08:57
pksinghalexchadin: dtardivel08:57
pksingh^^08:58
pksinghi think  currently it depends on the stratgey, but is there any max limit from user's perspective? I am a beginner so please excuse me if i ask silly questions09:00
dtardivelpksingh: This clearly depends on your optimisation strategy and the goal you want achieve. This is no predefined rules on this point. And it's not related to Watcher. This is a constraint between your strategy and the metric datasource (ceilometer, monasca)09:01
alexchadinpksingh: watcher doesn't make any limit on it09:01
*** openstackgerrit has quit IRC09:02
pksinghalexchadin: dtardivel : thanks a lot,09:04
dtardivelalexchadin: From my mind, I think we an have a first loop to create a Task for each action listed in the action plan. And a second loop to create the links between tasks.09:04
pksinghalexchadin: is there any  lowhangingfruit from where i can start to contribute in Watcher?09:05
alexchadindtardivel: it was my first version, then I place all logic under one out-loop09:05
pksinghalexchadin: may be it will take couple of weeks for me to understand Watcher code09:05
alexchadinpksingh: the best place to start is to take a look at the current bugs09:05
alexchadinpksingh: I started that way:)09:06
pksinghalexchadin: do devstack setup require to be multinode?09:06
alexchadinpksingh: no09:06
pksinghalexchadin: ok, thanks09:06
pksinghalexchadin: from my understanding, which i got in last one week, it seems watcher is a good project09:07
vincentfrancoisepksingh: hi, for devstack in multinode, just follow the Watcher doc on the matter and it should work just fine09:07
alexchadinpksingh: I'm not familiar with devstack since I have 3-node manual installed openstack09:07
pksinghvincentfrancoise: yes, i am looking into it, I was trying to setup one Vagrantscript which creates all that in one go09:08
alexchadinpksingh: vincentfrancoise and dtardivel have a lot of experience with it:)09:08
dtardivelhere a pseudo code https://www.irccloud.com/pastebin/K92r2WtJ/09:08
vincentfrancoisepksingh: the not so easy part is to connect the shared storage between the nodes09:08
alexchadindtardivel: +109:09
pksinghvincentfrancoise: but till now not succeeded09:09
vincentfrancoisepksingh: but watcher doesn't require much effort as compared to a standard multinode setup09:09
pksinghvincentfrancoise: i will definetly try i09:10
alexchadinvincentfrancoise: hi09:11
vincentfrancoisealexchadin: hi (I'm not at the office so I might not always anser BTW)09:12
alexchadinvincentfrancoise: https://review.openstack.org/#/c/421297/8/watcher/applier/workflow_engine/default.py 74 line. Here I have a flow, that is local variable. How can I get access (in the test) to the object `flow` variable is referenced to?09:14
*** vincentfrancoise has quit IRC09:29
*** vincentfrancoise has joined #openstack-watcher09:34
*** thorst_ has joined #openstack-watcher09:46
*** openstackgerrit has joined #openstack-watcher09:50
openstackgerritMerged openstack/watcher-dashboard: Updated from global requirements  https://review.openstack.org/42297509:50
*** thorst_ has quit IRC09:51
openstackgerritDavid TARDIVEL proposed openstack/watcher-dashboard: 'next_uuid' Action field is replaced by 'parents'  https://review.openstack.org/41136109:58
vincentfrancoisealexchadin: mock g.Flow.__init__ to return a mock + wraps?10:07
openstackgerritMerged openstack/watcher-dashboard: 'next_uuid' Action field is replaced by 'parents'  https://review.openstack.org/41136110:11
*** hidekazu has quit IRC10:19
openstackgerritAlexander Chadin proposed openstack/watcher: New Applier Workflow Engine  https://review.openstack.org/42129711:05
*** alexchadin has quit IRC11:27
*** pksingh has quit IRC11:32
*** thorst_ has joined #openstack-watcher11:47
*** thorst_ has quit IRC11:52
*** adisky_ has quit IRC12:09
*** alexchadin has joined #openstack-watcher12:22
*** vincentfrancois1 has joined #openstack-watcher12:26
*** vincentfrancoise has quit IRC12:26
*** thorst_ has joined #openstack-watcher12:47
*** vincentfrancois1 has quit IRC13:20
*** vincentfrancoise has joined #openstack-watcher13:26
*** diga has quit IRC13:34
*** vincentfrancoise has quit IRC13:55
*** alexchadin has quit IRC13:59
*** edleafe is now known as figleaf14:00
*** absubram has joined #openstack-watcher14:42
*** jwcroppe has joined #openstack-watcher15:06
*** dtardivel has quit IRC15:14
*** absubram has quit IRC15:25
*** jwcroppe has quit IRC16:30
*** jwcroppe has joined #openstack-watcher16:31
*** jwcroppe_ has joined #openstack-watcher16:32
*** jwcroppe has quit IRC16:35
*** jwcroppe has joined #openstack-watcher18:05
*** jwcroppe_ has quit IRC18:05
*** wootehfoot has joined #openstack-watcher21:44
*** jwcroppe has quit IRC21:55
*** thorst_ has quit IRC22:02
*** thorst_ has joined #openstack-watcher22:03
*** thorst_ has quit IRC22:07
*** thorst_ has joined #openstack-watcher22:43
*** thorst_ has quit IRC22:47
*** wootehfoot has quit IRC22:58
*** wootehfoot has joined #openstack-watcher23:08
*** thorst_ has joined #openstack-watcher23:15
*** thorst_ has quit IRC23:20
*** figleaf is now known as edleafe23:31
*** wootehfoot has quit IRC23:47

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