Tuesday, 2016-04-05

*** thorst has quit IRC00:01
*** thorst has joined #openstack-watcher00:20
*** xenogear has quit IRC00:30
*** thorst_ has joined #openstack-watcher00:33
*** xenogear has joined #openstack-watcher00:33
*** thorst has quit IRC00:36
*** xenogear has quit IRC00:37
*** thorst_ has quit IRC02:57
*** thorst has joined #openstack-watcher02:57
*** jwcroppe has joined #openstack-watcher03:02
*** thorst has quit IRC03:06
*** jwcroppe has quit IRC03:08
*** thorst has joined #openstack-watcher04:03
*** esberglu has joined #openstack-watcher04:09
*** thorst has quit IRC04:10
*** esberglu has quit IRC04:12
*** apoorv has joined #openstack-watcher04:13
*** xenogear has joined #openstack-watcher04:22
*** jwcroppe has joined #openstack-watcher05:06
*** thorst has joined #openstack-watcher05:08
*** jwcroppe has quit IRC05:11
*** thorst has quit IRC05:16
*** apoorv_ has joined #openstack-watcher05:25
*** apoorv_ has quit IRC05:51
*** apoorv has quit IRC05:51
*** apoorv has joined #openstack-watcher05:55
*** thorst has joined #openstack-watcher06:14
*** thorst has quit IRC06:21
*** vtech has joined #openstack-watcher06:37
*** vtech has quit IRC06:42
*** vtech has joined #openstack-watcher07:00
*** brunograz_ has quit IRC07:06
*** brunograz has joined #openstack-watcher07:07
*** jwcroppe has joined #openstack-watcher07:09
*** jwcroppe has quit IRC07:14
*** thorst has joined #openstack-watcher07:19
openstackgerritMerged openstack/watcher: Added missing support for resource states in unicode format in VM workload consolidation strategy  https://review.openstack.org/30112307:24
*** thorst has quit IRC07:26
openstackgerritMerged openstack/watcher: Invalid states for Action Plan in the glossary  https://review.openstack.org/29721507:27
*** vincentfrancoise has joined #openstack-watcher07:29
openstackgerritMerged openstack/watcher: Disabled PATCH, POST and DELETE for /actions  https://review.openstack.org/28187307:30
openstackgerritMerged openstack/watcher: Added information on plugin mechanism to glossary  https://review.openstack.org/29687307:52
*** alexchadin has joined #openstack-watcher08:03
*** alexchadin has quit IRC08:19
*** thorst has joined #openstack-watcher08:24
*** thorst has quit IRC08:30
openstackgerritVincent Françoise proposed openstack/watcher-dashboard: Added Goals and Strategies to Dashboard  https://review.openstack.org/30151608:43
*** jwcroppe has joined #openstack-watcher09:11
*** jwcroppe has quit IRC09:17
*** thorst has joined #openstack-watcher09:28
jed56agenda for tomorrow meeting https://wiki.openstack.org/wiki/Watcher_Meeting_Agenda#04.2F05.2F201609:34
jed56please feel free to add items :)09:34
*** thorst has quit IRC09:36
*** xenogear has quit IRC09:38
*** anem0ne has quit IRC09:58
*** vtech has quit IRC10:01
*** alexchadin has joined #openstack-watcher10:01
alexchadinhi10:01
vincentfrancoisehi10:01
alexchadinI can handle this https://bugs.launchpad.net/watcher/+bug/153284310:02
openstackLaunchpad bug 1532843 in watcher "Can create Audit with invalid parameters" [Low,In progress]10:02
*** vtech has joined #openstack-watcher10:02
alexchadinif it still actual10:03
vincentfrancoiseyes it is, so you can go for it ;)10:03
*** alexchadin has quit IRC10:04
*** vtech has quit IRC10:12
apoorvmy controller and compute node have different version of nova...how to solve this?10:12
jed56hello apporv10:18
jed56IMO, you could set the version in the watcher configuration file10:18
jed56apoorv:10:18
apoorvbut compute node has no watcher module10:19
*** thorst has joined #openstack-watcher10:33
*** thorst has quit IRC10:41
*** vtech has joined #openstack-watcher10:46
*** jwcroppe has joined #openstack-watcher11:14
*** jwcroppe has quit IRC11:19
*** thorst has joined #openstack-watcher11:44
*** thorst_ has joined #openstack-watcher11:45
*** thorst has quit IRC11:48
jed56apoorv: what do you mean ?12:04
jed56the watcher applier is in charge to interact with the nova12:08
apoorvso nova version depends on watcher configuration?12:10
jed56exaclty12:12
vincentfrancoiseapoorv: watcher should be compatible with nova API v212:12
jed56https://www.irccloud.com/pastebin/Cppt3euA/12:13
jed56In the watcher configuration file12:13
jed56you can specify the version of nova12:13
vincentfrancoiseso the exact version of nova you are using does not matter much as long as it is not too old12:13
jed56you can look at the https://factory.b-com.com/www/watcher/doc/watcher/deploy/conf-files.html12:13
apoorvwill different versions create a problem?12:18
vincentfrancoiseas long as they are running the same API version it should be fine12:20
apoorvi am getting an error that version 1.20 of service not supported in logs of n-cond12:22
vincentfrancoiseI guess their internal API changed12:23
vincentfrancoiseso you probably need upgrade then12:24
apoorvhow to do that?12:24
vincentfrancoiseI personlly never had such issue with nova12:26
vincentfrancoisewhen I upgrade my devstack, I just re-run a ./stack.sh with the latest versions12:26
gzhai2vincentfrancoise:hi12:27
vincentfrancoiseso I may not be of great help when it comes to this: have you tried asking them on their #openstack-nova IRC channel?12:27
vincentfrancoisegzhai2: hi12:28
apoorvactually no12:28
gzhai2vincentfrancoise: I had holiday leave on Monday, sorry for missing your ping.12:28
vincentfrancoisegzhai2: no problem12:28
vincentfrancoiseI was just willing to discuss the various comments you made on my changesets12:29
gzhai2ok12:29
vincentfrancoiseabout the whole ID/UUID thing on goals and the comment you made this morning as well12:29
gzhai2yes.12:30
gzhai2ID is in fact the unique name of the goal, right?12:31
vincentfrancoiseyes12:31
gzhai2When define a new goal. You need a strategy return a new goal name, right?12:31
gzhai2rather than define a new goal object.12:31
vincentfrancoiseyes via the get_goal_id() class method12:32
vincentfrancoiseand all these names are collected as read-only data inside the DB to be exposed in the API so we can show the available choices in the command line and in Watcher Dashboard12:33
gzhai2ID is ok. But deep relationship between strategy and goal is a little bit odd. Just my 2 cents.12:33
gzhai2So DB is always sync with the code after restart?12:34
vincentfrancoiseyes12:34
vincentfrancoisesee https://review.openstack.org/#/c/298808/12:34
gzhai2But I saw your code try to keep old stuff in DB, right?12:34
vincentfrancoiseI do not delete, only update indeed12:34
vincentfrancoisebecause you have a foreign key on audit templates so I don't want to have a goal/strategy disappearing in case we remove something12:35
vincentfrancoisethis is to avoid having stale audit templates12:36
*** apoorv has quit IRC12:36
gzhai2It's common in openstack project. How to delete one object referenced by another?12:37
gzhai2always Prevent deleting, or prevent when referenced, or just delete.12:37
vincentfrancoiseso you think I should actually try to remove old goals if not referenced when I do the registering of goals/strategies?12:39
gzhai2What if we just remove actioin-plan of one audit?12:40
vincentfrancoisein that case it's fine because an action plan has a foreign key onto the audit12:41
gzhai2Goal can't find its strategy?12:43
vincentfrancoisenot sure what you mean by this12:46
vincentfrancoiseaudits and action plan lose any sense of goal/strategy12:47
gzhai2you said action plan has a foreighn key onto audit. so can just delete action plan.12:47
vincentfrancoiseso they are isolated from the staleness issue12:47
vincentfrancoiseyes but my problem is on the audit-template level12:48
vincentfrancoiseit references a goal and a strategy (optional)12:48
vincentfrancoiseso if I delete either one or the other it can complain about having a broken FK constraint12:49
gzhai2ok. Nice to have orphan goal deleting if you have time.12:50
gzhai2In our code, any requirement to look for strategy from a goal?12:51
vincentfrancoisethere is one12:52
vincentfrancoisein https://review.openstack.org/#/c/296636/6/watcher/decision_engine/strategy/selection/default.py12:53
vincentfrancoisewe want to provide a way for an admin to automatically select the best suited strategy given a goal12:53
vincentfrancoiseso we actually need to know which strategy achieves the given goal12:54
vincentfrancoisehence the FK on goals12:54
gzhai2So this 'goals' OPTS provides goal:strategy mapping, right?12:56
gzhai2And it's duplcated info that we can find via registration.12:57
vincentfrancoisecurrently yes, but I am actually trying to replace this one-to-one mapping to get a one-to-many mapping within the DB12:57
vincentfrancoiseso the 'goals' opt is getting removed12:58
gzhai2ok. we only depends on DB for this mapping.12:58
vincentfrancoiseyes exactly12:58
gzhai2And DB is synced with the code upon restart, right?12:58
vincentfrancoiseyes12:59
gzhai2reasonable.12:59
*** vtech has quit IRC13:00
gzhai2is goal object loaded by stevedore? I may misunderstand Jean's comments.13:00
gzhai2in future?13:00
*** vtech has joined #openstack-watcher13:00
vincentfrancoiseno it's not meant to, at least for now13:01
vincentfrancoisebut since goals are defined in strategies and because strategies are loaded via stevedore, we can already say that goals are pluggable13:02
vincentfrancoiseit's just that it is more abstract13:02
*** brunograz has quit IRC13:02
*** brunograz has joined #openstack-watcher13:03
gzhai2In future, how to find all strategies for one goal?13:04
vincentfrancoisevia a DB request to get all strategies filtered by goal ID or externally, through the API13:06
vincentfrancoiseso my main question now13:07
jed56hello gzhai213:07
gzhai2jed56:hello13:08
vincentfrancoiseis that you (and tpeoplesvacation) were skeptical about using goal IDs as strings and also you wanted UUIDs13:08
jed56gzhai2 : IMHO, you can read the spec https://github.com/openstack/watcher-specs/blob/master/specs/mitaka/approved/get-goal-from-strategy.rst13:08
gzhai2vincentfrancoise: Not now. string is ok.13:09
gzhai2But string as ID is a little bit misleading here.13:09
gzhai2I think tepoples has same feeling:)13:09
vincentfrancoiseI agree but saying goal name does not show the uniqueness of the string13:10
jed56gzhai2 What is an id of you ? :)13:10
jed56for you13:10
gzhai2anything unique rather than name.13:10
gzhai2:)13:10
gzhai2name could be same, but ID are different.13:11
jed56in which case they are different in your opinion ? :)13:12
*** jwcroppe has joined #openstack-watcher13:17
jed56IMHO, we need to add an UUID in the goal because we need to save the history13:20
jed56if we add the soft delete something which is currently missing13:20
*** jwcroppe has quit IRC13:21
*** sballe_ has quit IRC13:21
*** pav0 has quit IRC13:21
*** harlowja has quit IRC13:21
*** tkaczynski has quit IRC13:21
*** brunograz has quit IRC13:21
*** logan- has quit IRC13:21
*** edleafe has quit IRC13:21
*** openstackgerrit has quit IRC13:21
*** gzhai2 has quit IRC13:21
*** mordred has quit IRC13:21
*** thorst_ has quit IRC13:21
*** ChanServ has quit IRC13:21
*** vtech has quit IRC13:21
*** mestery has quit IRC13:22
*** pkoniszewski has quit IRC13:22
*** aspiers has quit IRC13:22
*** vincentfrancoise has quit IRC13:22
*** acabot has quit IRC13:22
jed56gzhai, we will update the specification with vincentfrancoise13:22
*** sballe__ has joined #openstack-watcher13:24
*** brunograz has joined #openstack-watcher13:24
*** vtech has joined #openstack-watcher13:24
*** thorst_ has joined #openstack-watcher13:24
*** vincentfrancoise has joined #openstack-watcher13:24
*** openstackgerrit has joined #openstack-watcher13:24
*** pav0 has joined #openstack-watcher13:24
*** aspiers has joined #openstack-watcher13:24
*** logan- has joined #openstack-watcher13:24
*** harlowja has joined #openstack-watcher13:24
*** pkoniszewski has joined #openstack-watcher13:24
*** mestery has joined #openstack-watcher13:24
*** mordred has joined #openstack-watcher13:24
*** gzhai2 has joined #openstack-watcher13:24
*** acabot has joined #openstack-watcher13:24
*** edleafe has joined #openstack-watcher13:24
*** tkaczynski has joined #openstack-watcher13:24
*** ChanServ has joined #openstack-watcher13:24
*** wolfe.freenode.net sets mode: +o ChanServ13:24
*** sballe__ is now known as sballe_13:24
openstackgerritOpenStack Proposal Bot proposed openstack/watcher: Updated from global requirements  https://review.openstack.org/30078213:44
*** brunograz has quit IRC13:50
*** brunograz has joined #openstack-watcher13:51
*** vtech has quit IRC13:54
*** vtech has joined #openstack-watcher13:55
openstackgerritzhangguoqing proposed openstack/watcher-dashboard: update test-requirements to get horizon faster  https://review.openstack.org/30168413:56
openstackgerritzhangguoqing proposed openstack/watcher-dashboard: Fix api test about AuditTemplate  https://review.openstack.org/30169214:09
*** esberglu has joined #openstack-watcher14:57
*** jwcroppe has joined #openstack-watcher15:03
*** vtech has quit IRC15:11
*** vtech has joined #openstack-watcher15:19
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Open specs for Newton  https://review.openstack.org/30175315:22
*** vtech has quit IRC15:22
*** vtech has joined #openstack-watcher15:23
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Open specs for Newton  https://review.openstack.org/30175315:29
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Open specs for Newton  https://review.openstack.org/30175315:35
openstackgerritMerged openstack/watcher: Updated from global requirements  https://review.openstack.org/30078215:41
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Achieved goal should be returned by each strategy Today, there is no way to know what goal is achieved by a given strategy. The mapping between goal and strategies is done in the Watcher configuration.  https://review.openstack.org/30177415:42
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Achieved goal should be returned by each strategy  https://review.openstack.org/30177415:43
*** jwcroppe has quit IRC15:48
*** wootehfoot has joined #openstack-watcher15:55
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Achieved goal should be returned by each strategy Today, there is no way to know what goal is achieved by a given strategy. The mapping between goal and strategies is done in the Watcher configuration.  https://review.openstack.org/30177416:12
*** vtech has quit IRC16:16
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Achieved goal should be returned by each strategy  https://review.openstack.org/30177416:19
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Open specs for Newton  https://review.openstack.org/30175316:23
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Achieved goal should be returned by each strategy  https://review.openstack.org/30177416:24
openstackgerritJean-Emile DARTOIS proposed openstack/watcher-specs: Achieved goal should be returned by each strategy  https://review.openstack.org/30177416:28
*** wootehfoot has quit IRC16:32
*** wootehfoot has joined #openstack-watcher16:44
*** vincentfrancoise has quit IRC17:00
*** wootehfoot has quit IRC17:06
*** wootehfoot has joined #openstack-watcher17:06
*** vtech has joined #openstack-watcher17:36
*** vtech has quit IRC17:38
*** vtech has joined #openstack-watcher18:23
*** vtech has quit IRC20:41
*** thorst_ has quit IRC21:11
*** thorst_ has joined #openstack-watcher21:12
*** thorst_ has quit IRC21:16
*** thorst_ has joined #openstack-watcher21:32
*** thorst_ has quit IRC21:37
*** jwcroppe has joined #openstack-watcher21:42
*** jwcroppe has quit IRC22:13
*** esberglu has quit IRC23:03
*** thorst has joined #openstack-watcher23:24
*** thorst_ has joined #openstack-watcher23:28
*** thorst has quit IRC23:30

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