Tuesday, 2016-04-12

*** esberglu has quit IRC00:03
*** esberglu has joined #openstack-watcher00:30
*** jwcroppe has joined #openstack-watcher00:43
*** jwcroppe has quit IRC00:47
*** thorst has quit IRC01:16
*** thorst has joined #openstack-watcher01:17
*** thorst has quit IRC01:25
openstackgerritjunjie.huang proposed openstack/watcher: Closes-bug: #1569114  https://review.openstack.org/30435901:35
openstackbug 1569114 in watcher "outlet-temperature-based-strategy calculates disk space not correctly " [Undecided,New] https://launchpad.net/bugs/156911401:35
openstackgerritjunjie.huang proposed openstack/watcher: correct the available disk, memory calculating Closes-bug: #1569114  https://review.openstack.org/30435901:51
openstackbug 1569114 in watcher "outlet-temperature-based-strategy calculates disk space not correctly " [Undecided,New] https://launchpad.net/bugs/156911401:51
*** jwcroppe has joined #openstack-watcher01:57
openstackgerritjunjie.huang proposed openstack/watcher: correct the available disk, memory calculating Source data are misused in outlet temperature strategy. This patch fixes it.  https://review.openstack.org/30435902:05
*** jwcroppe has quit IRC02:16
*** thorst has joined #openstack-watcher02:23
*** thorst has quit IRC02:30
*** thorst has joined #openstack-watcher03:28
*** thorst has quit IRC03:34
*** Kevin_Zheng has joined #openstack-watcher03:51
*** jwcroppe has joined #openstack-watcher04:19
*** jwcroppe has quit IRC04:24
*** thorst has joined #openstack-watcher04:33
*** thorst has quit IRC04:40
*** apoorv has joined #openstack-watcher04:50
apoorvhow do i know that compute node is successfully added05:24
*** mestery has quit IRC05:32
*** thorst has joined #openstack-watcher05:38
*** mestery has joined #openstack-watcher05:38
*** mestery has quit IRC05:40
*** mestery has joined #openstack-watcher05:43
*** thorst has quit IRC05:45
*** jwcroppe has joined #openstack-watcher06:22
*** jwcroppe has quit IRC06:27
*** thorst has joined #openstack-watcher06:43
*** thorst has quit IRC06:51
openstackgerritMerged openstack/watcher: correct the available disk, memory calculating Source data are misused in outlet temperature strategy. This patch fixes it.  https://review.openstack.org/30435907:08
*** vincentfrancoise has joined #openstack-watcher07:15
*** thorst has joined #openstack-watcher07:33
*** jinquan has joined #openstack-watcher07:39
*** jinquan has left #openstack-watcher07:40
*** thorst has quit IRC07:40
*** dtardivel has joined #openstack-watcher08:05
*** jwcroppe has joined #openstack-watcher08:25
*** jwcroppe has quit IRC08:30
*** thorst has joined #openstack-watcher08:39
*** thorst has quit IRC08:45
*** pav0 has joined #openstack-watcher08:50
*** alexchadin has joined #openstack-watcher08:50
alexchadinhi08:50
vincentfrancoisehi08:50
alexchadini added python-watcherclient to as affected project https://bugs.launchpad.net/watcher/+bug/153284308:51
openstackLaunchpad bug 1532843 in watcher "Can create Audit with invalid parameters" [Low,Triaged] - Assigned to Alexander Chadin (joker946)08:51
alexchadincause we can use audit_template_uuid and audit_template_name in api08:52
alexchadinand on client side we can check is audit_template uuid or string08:53
vincentfrancoiseI see08:53
alexchadinis this ok?08:53
vincentfrancoiseWell if the validation is made by the Watcher API, then you can still return the right error message08:54
vincentfrancoiseSo I would argue that fixing it on the server side should be enough08:55
*** alexchadin has quit IRC08:55
vincentfrancoiseSO what you want to do is a pre-check on the client side right?08:55
*** alexchadin has joined #openstack-watcher08:56
alexchadinlook08:57
alexchadinnow api can handle audit_template_uuid and audit_template_name08:57
alexchadinwe can either audit_template_uuid or audit_template_name in api request08:57
alexchadinuse*08:58
alexchadinon api side we validate that audit_template_uuid = wtypes.wsattr(types.uuid, mandatory=False)08:58
alexchadinon client side, watcherclient use audit_template_uuid parameter which could be uuid or string name08:59
alexchadinhelp='Audit template used for this audit (name or uuid).')08:59
vincentfrancoiseOk but isn't this an API issue then?09:00
alexchadini added audit_template_name = wtypes.wsattr(wtypes.text, mandatory=False)09:00
alexchadinto support this two params09:01
alexchadinand i suggest to use something like this on watcherclient09:01
alexchadinif namespace['audit_template']:09:01
alexchadin        if utils.is_uuid_like(namespace['audit_template']):09:01
alexchadin            namespace['audit_template_uuid'] = namespace['audit_template']09:01
alexchadin            field_list.append('audit_template_uuid')09:01
vincentfrancoise1 sec I'm looking at the code09:01
alexchadin        else:09:01
alexchadin            namespace['audit_template_name'] = namespace['audit_template']09:02
alexchadin            field_list.append('audit_template_name')09:02
alexchadinok;)09:02
alexchadini saw something like this in novaclient09:03
vincentfrancoiseWouldn't it be best to make a single 'audit_template' param that can either be the name or the UUID of the audit template09:03
vincentfrancoise?09:03
alexchadinon which side?09:05
alexchadinapi or client?09:05
vincentfrancoiseyou can then use the UuidOrNameType https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/types.py#L29 for validation before knowing whether it is the name or UUID of the audit template09:06
vincentfrancoiseboth I guess (to make it consistent)09:06
vincentfrancoisebut on the server side that would be attached to the AuditPostType before being "translated" into a UUID or name when doing the as_audit_template() call09:07
vincentfrancoiseas_audit() *09:07
alexchadinaudit_template = wtypes.wsattr(types.uuidorname, mandatory=True)09:09
alexchadinsomething like this?09:09
vincentfrancoiseyes09:10
alexchadinit's a good idea09:10
alexchadinthank you for advice09:10
vincentfrancoiseyou're welcome :)09:11
*** thorst has joined #openstack-watcher09:12
alexchadinone more question: how may i reference to the two bugs in commit?09:12
alexchadintwo "Closes-Bug" in a row?09:12
vincentfrancoiseYes09:15
vincentfrancoiseBTW09:16
vincentfrancoiseyou can now run integration tests onto gerrit09:16
vincentfrancoisewhen you push your patchset09:16
vincentfrancoisepost a comment saying "check experimental" to trigger a bot that will run the jenkins job09:17
*** openstackgerrit has quit IRC09:17
*** openstackgerrit has joined #openstack-watcher09:17
vincentfrancoisethis way you can show that the Tempest tests you re-enabled are now passing09:18
*** alexchadin has quit IRC09:23
*** alexchadin has joined #openstack-watcher09:24
*** alexchadin has quit IRC09:26
*** thorst has quit IRC09:29
*** openstack has joined #openstack-watcher09:58
*** jed56 has quit IRC10:23
*** alexchadin has joined #openstack-watcher10:25
*** jwcroppe has joined #openstack-watcher10:27
*** alexchadin has quit IRC10:29
*** jwcroppe has quit IRC10:35
*** alexchadin has joined #openstack-watcher10:40
*** alexchadin has quit IRC10:47
apoorvwhat to do after modifying /etc/nova/nova.conf11:29
sballe_Morning12:04
*** openstack has quit IRC12:04
*** openstack has joined #openstack-watcher12:05
apoorvhow to know which metric is being used by a action plan12:06
vincentfrancoisehi apoorv12:06
vincentfrancoisethe action plan doesn't use any metric12:06
vincentfrancoiseonly the audit does to eventually generate an action plan12:07
vincentfrancoiseand the metrics used depend on the strategy you are using12:07
vincentfrancoiseso you have to refer to the doc of the strategy to know which one are used12:07
*** gzhai3 has quit IRC12:18
*** apoorv has quit IRC12:25
*** thorst has joined #openstack-watcher12:32
*** jwcroppe has joined #openstack-watcher12:33
*** thorst has quit IRC12:36
*** thorst has joined #openstack-watcher12:37
*** jwcroppe has quit IRC12:37
*** thorst has quit IRC12:41
*** esberglu has quit IRC13:56
*** thorst_ has joined #openstack-watcher14:10
*** gzhai has joined #openstack-watcher14:26
*** jwcroppe has joined #openstack-watcher14:35
*** jwcroppe has quit IRC14:40
*** thorst_ has quit IRC15:02
*** alexchadin has joined #openstack-watcher15:08
*** openstackgerrit has quit IRC15:18
*** openstackgerrit has joined #openstack-watcher15:18
*** logan- has quit IRC15:34
*** logan- has joined #openstack-watcher15:40
alexchadinmay i install tempest on the mac?15:44
vincentfrancoisetempest is pure python, so I guess it should be fine15:45
alexchadini don't have openstack on it, only virtual env with watcher15:45
vincentfrancoiseDid you find the doc explaining how to install it?15:45
alexchadini found README in watcher_tempest_plugin folder15:46
vincentfrancoiseyeah it's fine, I do the same: tempest is on my ubuntu machine and I give it the devstack IP15:46
alexchadinhm15:46
alexchadindevstack IP?15:46
alexchadinah, got it15:46
vincentfrancoisewell the keystone IP from my devstack to be precise15:47
alexchadinkeystone auth15:47
alexchadinyeah15:47
alexchadinpublic_network_id = <PUBLIC_NETWORK_ID>15:47
alexchadinshould there be my ext net uuid?15:47
vincentfrancoisethe doc is also available in HTML: https://factory.b-com.com/www/watcher/doc/watcher/dev/testing.html#tempest-tests15:48
vincentfrancoisepublich_network_id is the "ID of the public network that provides external connectivity"15:49
vincentfrancoiseSO YEAH15:49
vincentfrancoisesorry caps15:49
alexchadin:D15:50
*** alexchadin has quit IRC15:55
*** wootehfoot has joined #openstack-watcher16:11
openstackgerritVincent Françoise proposed openstack/watcher: Documentation update for get-goal-from-strategy  https://review.openstack.org/29990016:24
openstackgerritVincent Françoise proposed openstack/watcher: Added Goal object + goal syncing  https://review.openstack.org/29663416:24
openstackgerritVincent Françoise proposed openstack/watcher: Add Goal in BaseStrategy + Goal API reads from DB  https://review.openstack.org/29663516:24
openstackgerritVincent Françoise proposed openstack/watcher: Remove watcher_goals section from devstack plugin  https://review.openstack.org/29990216:24
openstackgerritVincent Françoise proposed openstack/watcher: Added Goal model into Watcher DB  https://review.openstack.org/29663316:24
openstackgerritVincent Françoise proposed openstack/watcher: Add strategy_id & goal_id fields in audit template  https://review.openstack.org/29663616:24
openstackgerritVincent Françoise proposed openstack/watcher: Added Strategy model  https://review.openstack.org/29880716:24
openstackgerritVincent Françoise proposed openstack/watcher: Added /strategies endpoint in Watcher API  https://review.openstack.org/29989916:24
openstackgerritVincent Françoise proposed openstack/watcher: DB registration for Strategies  https://review.openstack.org/29880816:24
openstackgerritVincent Françoise proposed openstack/watcher: Updated purge to now include goals and strategies  https://review.openstack.org/29953916:24
openstackgerritVincent Françoise proposed openstack/watcher: Refactored Strategy selector to select from DB  https://review.openstack.org/30475116:24
*** alexchadin has joined #openstack-watcher16:24
openstackgerritVincent Françoise proposed openstack/python-watcherclient: Added Strategy support in Watcher CLI  https://review.openstack.org/29993016:26
openstackgerritVincent Françoise proposed openstack/python-watcherclient: Updated CLI for new /goals API  https://review.openstack.org/29863116:26
openstackgerritVincent Françoise proposed openstack/python-watcherclient: Support for refactored /audit_templates endpoint  https://review.openstack.org/30475916:26
*** jwcroppe has joined #openstack-watcher16:29
*** gzhai1 has joined #openstack-watcher16:41
*** gzhai has quit IRC16:44
*** jwcroppe has quit IRC16:50
*** jwcroppe has joined #openstack-watcher16:57
*** esberglu has joined #openstack-watcher16:57
*** jwcroppe has quit IRC17:01
*** alexchadin has quit IRC17:38
*** alexchadin has joined #openstack-watcher17:41
*** wootehfoot has quit IRC18:05
*** alexchadin has quit IRC18:11
*** esberglu has quit IRC18:13
*** wootehfoot has joined #openstack-watcher18:17
*** esberglu has joined #openstack-watcher18:34
*** jwcroppe has joined #openstack-watcher18:52
*** dtardivel has quit IRC19:38
*** jwcroppe_ has joined #openstack-watcher19:56
*** jwcroppe has quit IRC19:56
*** esberglu has quit IRC21:50
*** esberglu has joined #openstack-watcher22:01
*** aspiers has quit IRC22:24
*** aspiers has joined #openstack-watcher22:25
*** jwcroppe_ has quit IRC22:31
*** jwcroppe has joined #openstack-watcher22:32
*** jwcroppe has quit IRC22:36
*** wootehfoot has quit IRC23:04

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