*** thorst_ has joined #openstack-watcher | 01:03 | |
*** thorst_ has quit IRC | 01:06 | |
*** grumpycatt has quit IRC | 01:10 | |
*** grumpycatt has joined #openstack-watcher | 01:11 | |
*** yuanying has quit IRC | 01:12 | |
*** yuanying has joined #openstack-watcher | 01:13 | |
*** zhurong has joined #openstack-watcher | 01:13 | |
*** thorst_ has joined #openstack-watcher | 01:37 | |
*** thorst_ has quit IRC | 01:38 | |
*** zhurong has quit IRC | 01:52 | |
*** licanwei has quit IRC | 02:01 | |
*** zhurong has joined #openstack-watcher | 02:12 | |
*** zhurong has quit IRC | 02:25 | |
*** zhurong has joined #openstack-watcher | 02:28 | |
*** zhurong has quit IRC | 02:38 | |
*** thorst_ has joined #openstack-watcher | 02:38 | |
*** thorst_ has quit IRC | 02:48 | |
*** thorst_ has joined #openstack-watcher | 02:48 | |
*** zhurong has joined #openstack-watcher | 02:51 | |
*** thorst_ has quit IRC | 02:53 | |
*** harlowja has quit IRC | 02:53 | |
*** zhurong has quit IRC | 02:59 | |
*** thorst_ has joined #openstack-watcher | 03:09 | |
*** thorst_ has quit IRC | 03:09 | |
*** thorst_ has joined #openstack-watcher | 03:35 | |
*** thorst_ has quit IRC | 03:35 | |
*** adisky_ has joined #openstack-watcher | 04:42 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-watcherclient master: Updated from global requirements https://review.openstack.org/431908 | 04:53 |
---|---|---|
*** diga has joined #openstack-watcher | 05:01 | |
*** thorst_ has joined #openstack-watcher | 05:36 | |
*** thorst_ has quit IRC | 05:41 | |
*** thorst_ has joined #openstack-watcher | 07:37 | |
*** thorst_ has quit IRC | 07:42 | |
*** hidekazu has joined #openstack-watcher | 08:03 | |
*** vincentfrancoise has joined #openstack-watcher | 08:30 | |
*** alexchadin has joined #openstack-watcher | 08:33 | |
openstackgerrit | Alexander Chadin proposed openstack/watcher master: Add Action Notification https://review.openstack.org/427646 | 08:44 |
openstackgerrit | licanwei proposed openstack/watcher-specs master: Define when an action plan is stale/invalid https://review.openstack.org/432193 | 09:15 |
hidekazu | 'Define when an action plan is stale/invalid' is not implemented in ocata. but i am seeing SUPERSEDED everyday. | 09:28 |
vincentfrancoise | hidekazu: hi | 09:29 |
hidekazu | vincentfrancoise: hello | 09:29 |
vincentfrancoise | hidekazu: the SUPERSEDED stated already exist but this BP makes tackles other use cases where we should also tag an action plan as superseded | 09:30 |
hidekazu | vincentfrancoise: are there any bp implemented in ocata about SUPERSEDED/ | 09:31 |
hidekazu | ? | 09:31 |
vincentfrancoise | hidekazu: this one what meant to go in ocata but didn't make it | 09:31 |
hidekazu | vincentfrancoise: as far as i understand, SUPERSEDED is first introduced in ocata, right? | 09:33 |
vincentfrancoise | hidekazu: other that this one, https://blueprints.launchpad.net/watcher/+spec/automatic-triggering-audit was the one that introduced the SUPERSEDED state | 09:33 |
vincentfrancoise | hidekazu: and this one is in ocata | 09:35 |
hidekazu | vincentfrancoise: oh, auto trigger includes SUPERSEDED.. | 09:35 |
hidekazu | vincentfrancoise: thanks, i understand now. | 09:36 |
vincentfrancoise | hidekazu: the thing that makes it a bit confusing is that we thought both BPs could be merged and only 1 made it into ocata | 09:37 |
vincentfrancoise | hidekazu: which is why we ended up not having a clear reference to this new SUPERSEDED state | 09:37 |
vincentfrancoise | spec-wise | 09:38 |
*** thorst_ has joined #openstack-watcher | 09:38 | |
hidekazu | vincentfrancoise: yes even we contributer misunderstand ;) | 09:38 |
vincentfrancoise | hidekazu: the doc has been updated http://docs.openstack.org/developer/watcher/architecture.html#action-plan-state-machine as well | 09:39 |
vincentfrancoise | hidekazu: yeah it's difficult to follow everything | 09:39 |
hidekazu | vincentfrancoise: i checked today. | 09:40 |
*** thorst_ has quit IRC | 09:43 | |
*** dtardivel has joined #openstack-watcher | 10:05 | |
*** openstackgerrit has quit IRC | 10:18 | |
*** hidekazu has quit IRC | 11:06 | |
*** alexchadin has quit IRC | 11:12 | |
*** vincentfrancoise has quit IRC | 11:25 | |
*** diga has quit IRC | 11:31 | |
*** alexchadin has joined #openstack-watcher | 11:31 | |
*** thorst_ has joined #openstack-watcher | 11:39 | |
*** openstackgerrit has joined #openstack-watcher | 11:43 | |
openstackgerrit | aditi sharma proposed openstack/watcher-specs master: specs for blueprint stop action plan https://review.openstack.org/432264 | 11:43 |
*** thorst_ has quit IRC | 11:43 | |
*** ri0 has joined #openstack-watcher | 11:54 | |
*** thorst_ has joined #openstack-watcher | 12:33 | |
*** ri0 has quit IRC | 12:39 | |
*** alexchadin has quit IRC | 12:52 | |
*** vmahe has joined #openstack-watcher | 13:09 | |
*** vmahe has left #openstack-watcher | 13:09 | |
*** vincentfrancoise has joined #openstack-watcher | 13:20 | |
pshedimb | vincentfrancoise, hi | 14:07 |
pshedimb | I am working on noisy neighbor strategy and started developing some code based on our basic algorithm | 14:07 |
vincentfrancoise | pshedimb: hi | 14:07 |
pshedimb | I have a question to you | 14:08 |
vincentfrancoise | pshedimb: great! please go ahead | 14:08 |
pshedimb | in decision_engine/model/model_root.py, there is a method get_node_instances | 14:09 |
*** adisky_ has quit IRC | 14:09 | |
pshedimb | When I use this method, the list the comes from self.predecessors(node_uuid) is empty | 14:09 |
pshedimb | I tried debugging exisitng strategies and it comes empty for them as well | 14:10 |
pshedimb | When I seperately call _get_by_uuid(instance_uuid), I get all the details of instance | 14:10 |
pshedimb | What do you think the issue is? | 14:11 |
pshedimb | Any mapping issue from node to instance? | 14:11 |
vincentfrancoise | pshedimb: the call should be self.predecessors(node.uuid) instead of self.predecessors(node) I think | 14:12 |
pshedimb | vincentfrancoise, | 14:13 |
pshedimb | Yeah, this is the exact statement | 14:14 |
pshedimb | for instance_uuid in self.predecessors(node.uuid): | 14:14 |
pshedimb | So self.predecessors(node.uuid) gives me empty list. | 14:14 |
vincentfrancoise | pshedimb: give me 30mn so I can do some tests on this | 14:15 |
openstackgerrit | Merged openstack/watcher master: Fix the mapping between the instance and the node https://review.openstack.org/430670 | 14:15 |
pshedimb | Okay thank you so much vincentfrancoise | 14:16 |
vincentfrancoise | pshedimb: can you send me the call you make that doesn't work as well please? | 14:19 |
pshedimb | vincentfrancoise, For debuggin this, I modified strategies/outlet_temp.py | 14:21 |
pshedimb | This is what I added. | 14:21 |
pshedimb | for node in nodes.values(): | 14:21 |
pshedimb | resource_id = node.uuid | 14:21 |
pshedimb | import pdb; pdb.set_trace() | 14:21 |
pshedimb | instances_of_node = self.compute_model.get_node_instances(node) | 14:21 |
pshedimb | I added a debug point here as well | 14:23 |
pshedimb | http://paste.openstack.org/show/598410/ | 14:23 |
vincentfrancoise | pshedimb: ok let me test this out | 14:23 |
pshedimb | ok thank you. I'm starting to drive to work (long drive), but will keep looking out for your messages and trying to reply asap | 14:25 |
vincentfrancoise | pshedimb: hum | 14:27 |
vincentfrancoise | get_node_instances takes a ComputeNode object as parameter | 14:27 |
vincentfrancoise | and we gave it a string | 14:27 |
pshedimb | vincentfrancoise, I passed ComputeNode object itself | 14:32 |
pshedimb | vincentfrancoise, here is the code where I pass ComputeNode object to get_node_instances | 14:35 |
pshedimb | http://paste.openstack.org/show/598411/ | 14:36 |
vincentfrancoise | pshedimb: are you trying this via unit test or on a real infra? | 14:37 |
vincentfrancoise | pshedimb: because https://review.openstack.org/430670 just got merged and it fixes some mapping issue | 14:38 |
pshedimb | vincentfrancoise, On real infra | 14:38 |
vincentfrancoise | pshedimb: can you retry after pulling this change? | 14:39 |
pshedimb | vincentfrancoise, okay. I'll test it out after pulling the chnages and will let you know | 14:39 |
pshedimb | thank you :) | 14:39 |
vincentfrancoise | ok I'll be available for the next 2h or so | 14:40 |
pshedimb | Will pull the change now. will get back to you within 2 hours | 14:43 |
vincentfrancoise | pshedimb: thanks | 14:43 |
pshedimb | :) | 14:43 |
chrisspencer | o/ | 15:04 |
*** Yumeng has left #openstack-watcher | 15:16 | |
*** michaelgugino has joined #openstack-watcher | 15:36 | |
*** edleafe is now known as figleaf | 15:37 | |
*** cfriesen has joined #openstack-watcher | 15:38 | |
cfriesen | given that nova has stated they want to get out of the metrics gathering business...can someone point me at the options for gathering compute node metrics to feed into watcher? | 15:39 |
vincentfrancoise | cfriesen: hi | 15:41 |
vincentfrancoise | cfriesen: I didn't know nova wanted to do that: do you have the mail/reference where they stated this please? | 15:41 |
vincentfrancoise | cfriesen: Watcher relies on either Monasca or Ceilometer(now deprecated) to get the metrics | 15:42 |
vincentfrancoise | cfriesen: so the question for Watcher is whether or not Monasca will collect the compute node metrics themselves from now on | 15:42 |
vincentfrancoise | cfriesen: also, Watcher can be plugged to any metrics collection backend you want really, so if you want to deploy something else it's up to you (see http://docs.openstack.org/developer/watcher/dev/plugin/strategy-plugin.html#querying-metrics) | 15:45 |
vincentfrancoise | cfriesen: FYI, we also plan on supporting Gnocchi by the end of Pike | 15:46 |
cfriesen | vincentfrancoise: http://docs.openstack.org/developer/nova/policies.html?highlight=monitoring#metrics-gathering also see about 2/3 down at http://lists.openstack.org/pipermail/openstack-dev/2016-August/100600.html, "Future of compute host metrics monitoring in Nova" | 15:47 |
cfriesen | basically they're not adding more metrics gathering in nova | 15:48 |
vincentfrancoise | cfriesen: thanks | 15:50 |
vincentfrancoise | cfriesen: we don't collect metrics from Nova directly but through the Ceilometer API | 15:51 |
vincentfrancoise | cfriesen: but with the deprecation of Ceilometer API, this problem will disappear with it. | 15:51 |
vincentfrancoise | cfriesen: did I fully answer your question? | 15:54 |
*** jwcroppe has joined #openstack-watcher | 16:01 | |
pshedimb | vincentfrancoise, after the new changes I pulled, it works fine :) | 16:05 |
vincentfrancoise | pshedimb: cool :) | 16:05 |
cfriesen | vincentfrancoise: yes, that's helpful. | 16:05 |
*** cfriesen has left #openstack-watcher | 16:05 | |
pshedimb | thanks vincentfrancoise. I can continue my development. :) | 16:06 |
*** acabot has quit IRC | 16:09 | |
*** vincentfrancoise has quit IRC | 16:48 | |
*** dtardivel has quit IRC | 17:00 | |
*** harlowja has joined #openstack-watcher | 17:05 | |
*** harlowja has quit IRC | 17:05 | |
*** harlowja has joined #openstack-watcher | 17:05 | |
*** wootehfoot has joined #openstack-watcher | 17:08 | |
*** wootehfoot has quit IRC | 18:04 | |
*** wootehfoot has joined #openstack-watcher | 18:12 | |
*** thorst_ has quit IRC | 22:09 | |
*** thorst_ has joined #openstack-watcher | 22:29 | |
*** thorst_ has quit IRC | 22:34 | |
*** michaelgugino has quit IRC | 22:43 | |
*** figleaf is now known as edleafe | 23:13 | |
*** jwcroppe has quit IRC | 23:34 | |
*** jwcroppe has joined #openstack-watcher | 23:35 | |
*** jwcroppe has quit IRC | 23:39 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!