*** thorst_ has joined #openstack-watcher | 00:28 | |
*** jwcroppe has quit IRC | 00:30 | |
*** thorst_ has quit IRC | 00:45 | |
*** thorst_ has joined #openstack-watcher | 00:45 | |
*** zhurong has joined #openstack-watcher | 00:48 | |
*** thorst_ has quit IRC | 00:50 | |
*** thorst_ has joined #openstack-watcher | 01:19 | |
*** thorst_ has quit IRC | 01:19 | |
*** Yumeng has joined #openstack-watcher | 01:37 | |
*** Yumeng has quit IRC | 01:38 | |
*** zhurong has quit IRC | 01:49 | |
*** zhurong has joined #openstack-watcher | 01:51 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/watcher-dashboard: Updated from global requirements https://review.openstack.org/422975 | 01:57 |
---|---|---|
*** thorst_ has joined #openstack-watcher | 02:01 | |
*** thorst_ has quit IRC | 02:01 | |
*** diga has joined #openstack-watcher | 02:45 | |
openstackgerrit | Merged openstack/watcher-dashboard: Remove support for py26 https://review.openstack.org/422363 | 03:08 |
openstackgerrit | Merged openstack/watcher-dashboard: Replaces yaml.load() with yaml.safe_load() https://review.openstack.org/421624 | 03:10 |
*** thorst_ has joined #openstack-watcher | 03:39 | |
*** zhurong has quit IRC | 03:39 | |
*** thorst_ has quit IRC | 03:40 | |
*** thorst_ has joined #openstack-watcher | 05:40 | |
*** thorst_ has quit IRC | 05:48 | |
*** zhurong has joined #openstack-watcher | 05:49 | |
*** absubram has joined #openstack-watcher | 06:19 | |
*** zhurong has quit IRC | 07:03 | |
*** absubram has quit IRC | 07:08 | |
*** gabor_antal_ has joined #openstack-watcher | 07:13 | |
*** gabor_antal has quit IRC | 07:14 | |
*** adisky_ has joined #openstack-watcher | 07:17 | |
openstackgerrit | zhangyanxian proposed openstack/puppet-watcher: Fix typo in api.pp https://review.openstack.org/423102 | 07:36 |
openstackgerrit | zhangyanxian proposed openstack/puppet-watcher: Fix typo in api.pp https://review.openstack.org/423102 | 07:36 |
*** gabor_antal_ has quit IRC | 07:37 | |
*** gabor_antal has joined #openstack-watcher | 07:37 | |
*** alexchadin has joined #openstack-watcher | 07:41 | |
*** alexchadin has quit IRC | 07:47 | |
*** alexchadin has joined #openstack-watcher | 07:50 | |
*** alexchadin has quit IRC | 07:53 | |
*** alexchadin has joined #openstack-watcher | 07:53 | |
*** alexchadin has quit IRC | 07:58 | |
*** alexchadin has joined #openstack-watcher | 08:19 | |
alexchadin | dtardivel: good morning! | 08:47 |
dtardivel | hi alexchadin | 08:47 |
*** pksingh has joined #openstack-watcher | 08:47 | |
pksingh | alexchadin: Hello, | 08:47 |
alexchadin | dtardivel: 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 faster | 08:48 |
alexchadin | good day, pksingh | 08:48 |
pksingh | alexchadin: How are you? | 08:49 |
alexchadin | pksingh: I'm great, and you? | 08:49 |
pksingh | alexchadin: me too, Thanks:) | 08:49 |
pksingh | alexchadin: in which timezone you are? | 08:49 |
alexchadin | UTC+3, Moscow | 08:50 |
pksingh | alexchadin: great | 08:50 |
pksingh | alexchadin: i was looking into watcher code, and have few questions | 08:50 |
pksingh | alexchadin: can i ask? | 08:51 |
alexchadin | pksingh: feel free to ask, of course:) | 08:51 |
pksingh | alexchadin: How old data watcher needs from ceilometer? | 08:51 |
alexchadin | it depends on specified strategy | 08:52 |
alexchadin | wait a sec | 08:52 |
dtardivel | alexchadin: Actually, you have 3 nested loops in that code: | 08:52 |
dtardivel | https://www.irccloud.com/pastebin/UL8VlyFB/ | 08:52 |
pksingh | alexchadin: sure | 08:52 |
alexchadin | pksingh: for example, workload_stabilization strategy has period config: https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/workload_stabilization.py#L142 | 08:53 |
alexchadin | dtardivel: You are right, O(n) on 9 line | 08:55 |
*** vincentfrancoise has joined #openstack-watcher | 08:55 | |
pksingh | alexchadin: so this data polling from ceilometer is done periodically or something else? | 08:56 |
dtardivel | pksingh: 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 |
pksingh | dtardivel: thanks, yes i saw it today | 08:56 |
dtardivel | pksingh: https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/basic_consolidation.py#L258 | 08:56 |
pksingh | pksingh: i was wondering, how many days old data is required in ceilometer for watcher to work? | 08:57 |
pksingh | alexchadin: dtardivel | 08:57 |
pksingh | ^^ | 08:58 |
pksingh | i 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 questions | 09:00 |
dtardivel | pksingh: 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 |
alexchadin | pksingh: watcher doesn't make any limit on it | 09:01 |
*** openstackgerrit has quit IRC | 09:02 | |
pksingh | alexchadin: dtardivel : thanks a lot, | 09:04 |
dtardivel | alexchadin: 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 |
pksingh | alexchadin: is there any lowhangingfruit from where i can start to contribute in Watcher? | 09:05 |
alexchadin | dtardivel: it was my first version, then I place all logic under one out-loop | 09:05 |
pksingh | alexchadin: may be it will take couple of weeks for me to understand Watcher code | 09:05 |
alexchadin | pksingh: the best place to start is to take a look at the current bugs | 09:05 |
alexchadin | pksingh: I started that way:) | 09:06 |
pksingh | alexchadin: do devstack setup require to be multinode? | 09:06 |
alexchadin | pksingh: no | 09:06 |
pksingh | alexchadin: ok, thanks | 09:06 |
pksingh | alexchadin: from my understanding, which i got in last one week, it seems watcher is a good project | 09:07 |
vincentfrancoise | pksingh: hi, for devstack in multinode, just follow the Watcher doc on the matter and it should work just fine | 09:07 |
alexchadin | pksingh: I'm not familiar with devstack since I have 3-node manual installed openstack | 09:07 |
pksingh | vincentfrancoise: yes, i am looking into it, I was trying to setup one Vagrantscript which creates all that in one go | 09:08 |
alexchadin | pksingh: vincentfrancoise and dtardivel have a lot of experience with it:) | 09:08 |
dtardivel | here a pseudo code https://www.irccloud.com/pastebin/K92r2WtJ/ | 09:08 |
vincentfrancoise | pksingh: the not so easy part is to connect the shared storage between the nodes | 09:08 |
alexchadin | dtardivel: +1 | 09:09 |
pksingh | vincentfrancoise: but till now not succeeded | 09:09 |
vincentfrancoise | pksingh: but watcher doesn't require much effort as compared to a standard multinode setup | 09:09 |
pksingh | vincentfrancoise: i will definetly try i | 09:10 |
alexchadin | vincentfrancoise: hi | 09:11 |
vincentfrancoise | alexchadin: hi (I'm not at the office so I might not always anser BTW) | 09:12 |
alexchadin | vincentfrancoise: 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 IRC | 09:29 | |
*** vincentfrancoise has joined #openstack-watcher | 09:34 | |
*** thorst_ has joined #openstack-watcher | 09:46 | |
*** openstackgerrit has joined #openstack-watcher | 09:50 | |
openstackgerrit | Merged openstack/watcher-dashboard: Updated from global requirements https://review.openstack.org/422975 | 09:50 |
*** thorst_ has quit IRC | 09:51 | |
openstackgerrit | David TARDIVEL proposed openstack/watcher-dashboard: 'next_uuid' Action field is replaced by 'parents' https://review.openstack.org/411361 | 09:58 |
vincentfrancoise | alexchadin: mock g.Flow.__init__ to return a mock + wraps? | 10:07 |
openstackgerrit | Merged openstack/watcher-dashboard: 'next_uuid' Action field is replaced by 'parents' https://review.openstack.org/411361 | 10:11 |
*** hidekazu has quit IRC | 10:19 | |
openstackgerrit | Alexander Chadin proposed openstack/watcher: New Applier Workflow Engine https://review.openstack.org/421297 | 11:05 |
*** alexchadin has quit IRC | 11:27 | |
*** pksingh has quit IRC | 11:32 | |
*** thorst_ has joined #openstack-watcher | 11:47 | |
*** thorst_ has quit IRC | 11:52 | |
*** adisky_ has quit IRC | 12:09 | |
*** alexchadin has joined #openstack-watcher | 12:22 | |
*** vincentfrancois1 has joined #openstack-watcher | 12:26 | |
*** vincentfrancoise has quit IRC | 12:26 | |
*** thorst_ has joined #openstack-watcher | 12:47 | |
*** vincentfrancois1 has quit IRC | 13:20 | |
*** vincentfrancoise has joined #openstack-watcher | 13:26 | |
*** diga has quit IRC | 13:34 | |
*** vincentfrancoise has quit IRC | 13:55 | |
*** alexchadin has quit IRC | 13:59 | |
*** edleafe is now known as figleaf | 14:00 | |
*** absubram has joined #openstack-watcher | 14:42 | |
*** jwcroppe has joined #openstack-watcher | 15:06 | |
*** dtardivel has quit IRC | 15:14 | |
*** absubram has quit IRC | 15:25 | |
*** jwcroppe has quit IRC | 16:30 | |
*** jwcroppe has joined #openstack-watcher | 16:31 | |
*** jwcroppe_ has joined #openstack-watcher | 16:32 | |
*** jwcroppe has quit IRC | 16:35 | |
*** jwcroppe has joined #openstack-watcher | 18:05 | |
*** jwcroppe_ has quit IRC | 18:05 | |
*** wootehfoot has joined #openstack-watcher | 21:44 | |
*** jwcroppe has quit IRC | 21:55 | |
*** thorst_ has quit IRC | 22:02 | |
*** thorst_ has joined #openstack-watcher | 22:03 | |
*** thorst_ has quit IRC | 22:07 | |
*** thorst_ has joined #openstack-watcher | 22:43 | |
*** thorst_ has quit IRC | 22:47 | |
*** wootehfoot has quit IRC | 22:58 | |
*** wootehfoot has joined #openstack-watcher | 23:08 | |
*** thorst_ has joined #openstack-watcher | 23:15 | |
*** thorst_ has quit IRC | 23:20 | |
*** figleaf is now known as edleafe | 23:31 | |
*** wootehfoot has quit IRC | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!