| *** thorst_ has joined #openstack-watcher | 00:00 | |
| openstackgerrit | Tin Lam proposed openstack/watcher: Add bandit in tox -e pep8 https://review.openstack.org/331890 | 00:04 |
|---|---|---|
| *** thorst_ has quit IRC | 00:09 | |
| *** thorst_ has joined #openstack-watcher | 00:42 | |
| *** thorst_ has quit IRC | 01:18 | |
| *** thorst_ has joined #openstack-watcher | 01:19 | |
| *** thorst_ has quit IRC | 01:28 | |
| *** thorst_ has joined #openstack-watcher | 02:26 | |
| *** thorst_ has quit IRC | 02:33 | |
| *** thorst_ has joined #openstack-watcher | 03:32 | |
| *** thorst_ has quit IRC | 03:37 | |
| *** thorst_ has joined #openstack-watcher | 04:34 | |
| *** thorst_ has quit IRC | 04:42 | |
| *** jwcroppe has joined #openstack-watcher | 05:28 | |
| *** ecelik has joined #openstack-watcher | 05:33 | |
| *** thorst_ has joined #openstack-watcher | 05:40 | |
| *** thorst_ has quit IRC | 05:47 | |
| *** thorst_ has joined #openstack-watcher | 06:45 | |
| *** thorst_ has quit IRC | 06:52 | |
| *** jwcroppe has quit IRC | 06:57 | |
| *** jwcroppe has joined #openstack-watcher | 07:00 | |
| *** Kevin_Zheng has quit IRC | 07:13 | |
| *** vincentfrancoise has joined #openstack-watcher | 07:24 | |
| tkaczynski | hey guys, I'm trying to learn in details how to develop a third party plugin for watcher | 07:32 |
| tkaczynski | I've found this: https://factory.b-com.com/www/watcher/doc/watcher/dev/plugin/base-setup.html | 07:32 |
| vincentfrancoise | hi tkaczynski | 07:33 |
| tkaczynski | then there are links how to develop a strategy plugin etc. but I've found this insufficient | 07:33 |
| vincentfrancoise | what is it that is missing? | 07:33 |
| tkaczynski | is there any more documentation about that? especially that this plugin might be typically in the separate git repository. so here are my questions: | 07:34 |
| vincentfrancoise | BTW, the latest watcher doc is now available at http://docs.openstack.org/developer/watcher | 07:34 |
| tkaczynski | 1. how do I include this plugin repo in Watcher, so that the strategy is auto-discovered on watcher restart? | 07:35 |
| *** danpawlik has joined #openstack-watcher | 07:35 | |
| vincentfrancoise | I was the one writing it so there isn't any more than this AFAICT | 07:35 |
| tkaczynski | 2. from plugin perspective: how do I reference the strategy base class? as plugin is in a separate repo, I need a way to somehow add "watcher" dependency as a kind of library, so I can reference it, no? | 07:36 |
| vincentfrancoise | for your 1st question, isn't the answer in http://docs.openstack.org/developer/watcher/dev/plugin/strategy-plugin.html#using-strategy-plugins | 07:37 |
| *** jed56 has joined #openstack-watcher | 07:37 | |
| vincentfrancoise | "The Watcher Decision Engine service will automatically discover any installed plugins when it is restarted" | 07:37 |
| tkaczynski | well, it doesn't say how do I include this external git repo | 07:38 |
| vincentfrancoise | as for your second question, I guess it's not explicitely stated in the doc | 07:38 |
| vincentfrancoise | but as you can see in the NewStrategy | 07:38 |
| vincentfrancoise | which is the example of implementation given in the doc | 07:38 |
| vincentfrancoise | you have to import the base class from watcher | 07:39 |
| tkaczynski | so how do I import it? | 07:39 |
| tkaczynski | copy - paste? | 07:39 |
| vincentfrancoise | so yes you do need to add Watcher as a dependency in your 3rd party | 07:39 |
| vincentfrancoise | in requirements.txt | 07:40 |
| tkaczynski | so reference Watcher git repo and install using pip? | 07:40 |
| vincentfrancoise | I'll create a bug ticket so we explicit this dependency thing then | 07:40 |
| vincentfrancoise | yep | 07:40 |
| vincentfrancoise | or the pypi package (python-watcher) | 07:40 |
| tkaczynski | I think what would really be helpful is a step-by-step tutorial how to develop a new strategy as a plugin. many pieces are already there, I would really really love to have that :) | 07:43 |
| tkaczynski | I like the page with cookiebutter. run this command, add this class, restart something... it's just not guiding to the end | 07:44 |
| danpawlik | tkaczynski: +1 | 07:44 |
| vincentfrancoise | I created https://bugs.launchpad.net/watcher/+bug/1594705 | 07:45 |
| openstack | Launchpad bug 1594705 in watcher "Mention Watcher dependency when creating 3rd-party plugins" [Undecided,Triaged] | 07:45 |
| vincentfrancoise | please tell me or amend it directly if you feel we need to add anything more. | 07:45 |
| tkaczynski | thanks Vincent :) | 07:46 |
| tkaczynski | I'm going to implement a similar pluggability model for scoring engines, so it's critical that I understand how it works. I will need to do this exercise now, I will try to take notes what it takes to develop a plugin end-to-end | 07:47 |
| tkaczynski | but I already see that it won't be easy and there are gaps in the documentation. hopefully when I finish I will help to close these gaps | 07:48 |
| vincentfrancoise | Good to hear :) | 07:48 |
| vincentfrancoise | It wasn't not such an easy task to write a step-by-step doc without missing anything | 07:49 |
| *** thorst_ has joined #openstack-watcher | 07:50 | |
| *** hanrong1 has joined #openstack-watcher | 07:52 | |
| openstackgerrit | Bruno Grazioli proposed openstack/watcher: Check if nova-service is already disabled https://review.openstack.org/331230 | 07:54 |
| *** thorst_ has quit IRC | 07:57 | |
| *** brunograz has joined #openstack-watcher | 07:59 | |
| *** jinquan has joined #openstack-watcher | 08:10 | |
| tkaczynski | of course. such things are in general quite difficult. basically somebody needs to do a "dry run" and test whether it actually works | 08:24 |
| tkaczynski | and this should be done periodically, because software is changing, so it's additional work to keep it up to date | 08:25 |
| *** Kevin_Zheng has joined #openstack-watcher | 08:33 | |
| vincentfrancoise | tkaczynski: sure | 08:34 |
| vincentfrancoise | we are mainly operating in a best effort manner regarding the doc | 08:35 |
| openstackgerrit | Merged openstack/watcher: Add bandit in tox -e pep8 https://review.openstack.org/331890 | 08:40 |
| openstackgerrit | Merged openstack/watcher: Check if nova-service is already disabled https://review.openstack.org/331230 | 08:40 |
| *** openstackgerrit has quit IRC | 09:18 | |
| *** openstackgerrit has joined #openstack-watcher | 09:18 | |
| openstackgerrit | Jinquan Ni proposed openstack/watcher: Use disabled/enabled to change service state https://review.openstack.org/330507 | 10:10 |
| *** Kevin_Zheng has quit IRC | 10:43 | |
| *** Zucan has quit IRC | 11:53 | |
| *** Zucan has joined #openstack-watcher | 13:03 | |
| *** hvprash has joined #openstack-watcher | 13:13 | |
| *** hvprash_ has joined #openstack-watcher | 13:16 | |
| *** hvprash has quit IRC | 13:19 | |
| *** esberglu has joined #openstack-watcher | 13:22 | |
| openstackgerrit | Grigorios Katsaros proposed openstack/watcher-specs: Graph model describing virtual and physical elements in a data center https://review.openstack.org/298891 | 13:38 |
| zigo | Guys, you've seen that watcher is now in Debian, right? :) | 13:46 |
| zigo | http://packages.debian.org/watcher | 13:46 |
| vincentfrancoise | zigo: hi | 13:47 |
| *** hvprash has joined #openstack-watcher | 13:47 | |
| zigo | It got accepted this week-end. | 13:47 |
| *** openstackgerrit has quit IRC | 13:48 | |
| vincentfrancoise | nice ! | 13:48 |
| *** openstackgerrit has joined #openstack-watcher | 13:48 | |
| *** hvprash_ has quit IRC | 13:51 | |
| *** hvprash_ has joined #openstack-watcher | 13:53 | |
| *** hvprash has quit IRC | 13:55 | |
| *** jinquan1 has joined #openstack-watcher | 14:15 | |
| openstackgerrit | Grigorios Katsaros proposed openstack/watcher-specs: Graph model describing virtual and physical elements in a data center https://review.openstack.org/298891 | 14:19 |
| *** dtardivel has joined #openstack-watcher | 14:52 | |
| sballe_ | Morning | 14:55 |
| jed56 | sballe_: hi | 14:56 |
| sballe_ | :-) | 14:56 |
| sballe_ | jed56: do you know if nova supports cgroups? | 14:57 |
| jed56 | What is the context ? | 14:58 |
| jed56 | cgroups is not used anymore by docker | 14:58 |
| jed56 | I believe that CPU quota can be handled by cgroup | 15:00 |
| jed56 | in nova | 15:00 |
| sballe_ | I am looking for isolation | 15:00 |
| sballe_ | https://en.wikipedia.org/wiki/Cgroups | 15:01 |
| jed56 | QEMU and LXC drivers use Cgroups | 15:01 |
| *** alexchadin has joined #openstack-watcher | 15:03 | |
| alexchadin | hi | 15:04 |
| vincentfrancoise | alexchadin: hi | 15:04 |
| alexchadin | vincentfrancoise: I have assigned this bug https://bugs.launchpad.net/watcher/+bug/1594434 to Alexander Stavitskiy | 15:04 |
| openstack | Launchpad bug 1594434 in watcher "Import module instead of class" [Low,Triaged] - Assigned to Alexander Stavitskiy (alexstav) | 15:04 |
| alexchadin | vincentfrancoise: is it okay? | 15:05 |
| vincentfrancoise | oh yeah go for it :) | 15:05 |
| sballe_ | jed56: I guess I am trying to figure out if you can define a group via APIs. For example SLURM and other resource managers allow you to put all the processes for a given job in a group using cgroup | 15:06 |
| jed56 | what is SLURM ? | 15:09 |
| openstackgerrit | Grigorios Katsaros proposed openstack/watcher-specs: Graph model describing virtual and physical elements in a data center https://review.openstack.org/298891 | 15:22 |
| dtardivel | sballe_: please, could you merge this spec https://review.openstack.org/#/c/317130/ ? Thx | 15:35 |
| sballe_ | dtardivel: just workflow+1? | 15:36 |
| dtardivel | yes please, we have 2 +2 and 2 +1 :) | 15:36 |
| sballe_ | done | 15:37 |
| openstackgerrit | Merged openstack/watcher-specs: Audit parameters should be persistent in Db https://review.openstack.org/317130 | 15:41 |
| *** alexchadin has quit IRC | 15:59 | |
| *** ss4 has joined #openstack-watcher | 16:01 | |
| jed56 | if you want to see a video of the watcher git history https://www.youtube.com/watch?v=q5RliegWf1g | 16:04 |
| *** brunograz has quit IRC | 16:04 | |
| openstackgerrit | Merged openstack/python-watcherclient: Replaced UUID of goal with name https://review.openstack.org/331552 | 16:16 |
| openstackgerrit | Alexandr Stavitskiy proposed openstack/watcher: Add importing modules instead of classes https://review.openstack.org/332241 | 16:39 |
| *** alexchadin has joined #openstack-watcher | 16:41 | |
| *** alexchadin has quit IRC | 16:43 | |
| *** hvprash_ has quit IRC | 16:44 | |
| *** hvprash has joined #openstack-watcher | 16:44 | |
| *** hvprash_ has joined #openstack-watcher | 16:45 | |
| *** vincentfrancoise has quit IRC | 16:48 | |
| *** hvprash has quit IRC | 16:49 | |
| *** jinquan1 has quit IRC | 16:53 | |
| *** jwcroppe has quit IRC | 17:01 | |
| openstackgerrit | Merged openstack/watcher: Use disabled/enabled to change service state https://review.openstack.org/330507 | 17:03 |
| *** jwcroppe has joined #openstack-watcher | 18:41 | |
| openstackgerrit | Vladimir Ostroverkhov proposed openstack/watcher: Add goal_name field in strategy https://review.openstack.org/331551 | 19:17 |
| *** esberglu_ has joined #openstack-watcher | 19:27 | |
| *** esberglu has quit IRC | 19:28 | |
| *** esberglu_ is now known as esberglu | 19:28 | |
| *** jimbaker has quit IRC | 19:29 | |
| *** jwcroppe has quit IRC | 19:30 | |
| *** ecelik has quit IRC | 19:30 | |
| *** jimbaker has joined #openstack-watcher | 19:34 | |
| *** jimbaker has quit IRC | 19:34 | |
| *** jimbaker has joined #openstack-watcher | 19:34 | |
| *** ecelik has joined #openstack-watcher | 19:42 | |
| *** jwcroppe has joined #openstack-watcher | 19:44 | |
| *** jwcroppe has quit IRC | 19:56 | |
| *** jwcroppe has joined #openstack-watcher | 20:05 | |
| *** Zucan has quit IRC | 20:07 | |
| *** dtardivel has quit IRC | 20:17 | |
| *** hvprash_ has quit IRC | 20:23 | |
| *** hvprash has joined #openstack-watcher | 20:27 | |
| *** ss4 has quit IRC | 21:01 | |
| *** esberglu has quit IRC | 22:00 | |
| *** hvprash has quit IRC | 22:19 | |
| *** jwcroppe has quit IRC | 22:57 | |
| *** jwcroppe has joined #openstack-watcher | 23:14 | |
| *** jwcroppe has quit IRC | 23:17 | |
| *** jwcroppe has joined #openstack-watcher | 23:17 | |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!