*** jianhua has joined #openstack-watcher | 00:38 | |
*** AlexeyAbashkin has joined #openstack-watcher | 01:29 | |
*** AlexeyAbashkin has quit IRC | 01:33 | |
openstackgerrit | suzhengwei proposed openstack/watcher master: use current weighted sd as min_sd when starting to simulate migrations https://review.openstack.org/530011 | 02:09 |
---|---|---|
openstackgerrit | Merged openstack/watcher master: Add Datasource Abstraction https://review.openstack.org/518852 | 03:02 |
*** hidekazu has joined #openstack-watcher | 04:21 | |
*** jianhua has quit IRC | 04:22 | |
*** jianhua has joined #openstack-watcher | 04:29 | |
openstackgerrit | Merged openstack/watcher master: Fix watcher audit list command https://review.openstack.org/528691 | 04:49 |
*** zhurong has joined #openstack-watcher | 04:52 | |
openstackgerrit | Hidekazu Nakamura proposed openstack/watcher master: Add zone migration strategy https://review.openstack.org/521691 | 04:57 |
openstackgerrit | Merged openstack/python-watcherclient master: Updated from global requirements https://review.openstack.org/528921 | 05:33 |
*** jianhua has quit IRC | 05:58 | |
*** jianhua has joined #openstack-watcher | 05:59 | |
*** zhurong has quit IRC | 07:00 | |
*** suzhengwei has joined #openstack-watcher | 07:18 | |
*** suzhengwei has quit IRC | 07:25 | |
*** zhurong has joined #openstack-watcher | 07:39 | |
*** AlexeyAbashkin has joined #openstack-watcher | 07:48 | |
*** AlexeyAbashkin has quit IRC | 07:52 | |
*** AlexeyAbashkin has joined #openstack-watcher | 07:52 | |
openstackgerrit | licanwei proposed openstack/watcher master: correct audit parameter typo https://review.openstack.org/530068 | 07:56 |
*** hidekazu has quit IRC | 08:03 | |
*** alexchadin has joined #openstack-watcher | 08:27 | |
*** alexchadin has quit IRC | 08:34 | |
*** alexchadin has joined #openstack-watcher | 08:34 | |
*** alexchadin has quit IRC | 08:52 | |
*** alexchadin has joined #openstack-watcher | 08:53 | |
openstackgerrit | Alexander Chadin proposed openstack/watcher master: Strategy requirements https://review.openstack.org/522538 | 08:54 |
openstackgerrit | Alexander Chadin proposed openstack/watcher master: Strategy requirements https://review.openstack.org/522538 | 08:55 |
openstackgerrit | YumengBao proposed openstack/watcher master: Add baremetal data model https://review.openstack.org/482093 | 09:05 |
*** suzhengwei has joined #openstack-watcher | 09:16 | |
*** Yumeng has joined #openstack-watcher | 09:17 | |
suzhengwei | alexchadin:ping | 09:19 |
*** alexchadin has quit IRC | 09:22 | |
*** alexchadin has joined #openstack-watcher | 09:22 | |
alexchadin | suzhengwei: pong | 09:23 |
suzhengwei | I want to talk about audit-api. | 09:29 |
alexchadin | suzhengwei: I'll be back in 45 minutes, excuse me | 09:30 |
suzhengwei | ok, wait for you | 09:30 |
*** alexchadin has quit IRC | 09:31 | |
*** alexchadin has joined #openstack-watcher | 10:15 | |
alexchadin | suzhengwei: hi | 10:16 |
alexchadin | suzhengwei: what exactly would you like to discuss? | 10:16 |
suzhengwei | the AuditPostType | 10:17 |
suzhengwei | The goal or strategy in the AuditPostType, must be uuid, or can be name? | 10:18 |
suzhengwei | currently, it just accept uuid of the goal, strategy or audittemplate. The watcherclient will change the name to corresponding uuid when create audit. | 10:24 |
suzhengwei | If we directly call the api with name of goal, strategy, or audittemplate, it will raise exception when creating audit. | 10:25 |
alexchadin | suzhengwei: yes, currently it accepts only uuid | 10:26 |
suzhengwei | do you think we need change to type from wtypes.text to types.uuid for goal and strategy, if it only accepts uuid? | 10:29 |
suzhengwei | Or we can refact it to work with both name and uuid? | 10:31 |
alexchadin | suzhengwei: let me think | 10:32 |
suzhengwei | sure | 10:32 |
alexchadin | suzhengwei: haven't you tried to create audit with goal name and strategy name? | 10:38 |
suzhengwei | yes | 10:47 |
alexchadin | suzhengwei: look, I tried to create audit without audittemplate | 10:52 |
alexchadin | suzhengwei: I used the following body: '{"audit_type": "ONESHOT", "auto_trigger": false, "goal": "dummy", "strategy": "dummy"}' | 10:53 |
alexchadin | I got error here: https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/audit.py#L120 | 10:53 |
alexchadin | so, if I specify name attribute and add it to body: '{"audit_type": "ONESHOT", "auto_trigger": false, "goal": "dummy", "strategy": "dummy", "name": "daudit"}' - it works | 10:54 |
suzhengwei | I have found the reason. | 10:55 |
suzhengwei | if you didn't give the audit name, it will produce a default name, which make this problem. | 10:56 |
alexchadin | yeah | 10:57 |
alexchadin | suzhengwei: since all strategies have different names, I'd propose to start accepting name of strategy and goals too | 10:58 |
suzhengwei | I think so | 10:58 |
alexchadin | suzhengwei: will you take it? :) | 11:01 |
suzhengwei | sure, i will give a patch | 11:01 |
*** AlexeyAbashkin has quit IRC | 11:13 | |
*** suzhengwei has quit IRC | 11:19 | |
*** alexchadin has quit IRC | 11:20 | |
*** alexchadin has joined #openstack-watcher | 11:21 | |
*** AlexeyAbashkin has joined #openstack-watcher | 11:22 | |
*** alexchadin has quit IRC | 12:47 | |
*** alexchadin has joined #openstack-watcher | 13:00 | |
*** zhurong has quit IRC | 13:08 | |
*** jianhua has quit IRC | 13:40 | |
*** alexchadin has quit IRC | 14:01 | |
openstackgerrit | suzhengwei proposed openstack/watcher master: create audit failed https://review.openstack.org/530105 | 14:02 |
*** AlexeyAbashkin has quit IRC | 16:46 | |
openstackgerrit | Merged openstack/puppet-watcher master: Run puppet-openstack-beaker-jobs https://review.openstack.org/529781 | 16:54 |
*** AlexeyAbashkin has joined #openstack-watcher | 18:05 | |
*** harlowja has joined #openstack-watcher | 18:06 | |
*** AlexeyAbashkin has quit IRC | 18:10 | |
*** AlexeyAbashkin has joined #openstack-watcher | 18:26 | |
*** AlexeyAbashkin has quit IRC | 18:30 | |
*** AlexeyAbashkin has joined #openstack-watcher | 18:47 | |
*** AlexeyAbashkin has quit IRC | 18:51 | |
*** AlexeyAbashkin has joined #openstack-watcher | 19:27 | |
*** AlexeyAbashkin has quit IRC | 19:31 | |
*** AlexeyAbashkin has joined #openstack-watcher | 23:48 | |
*** AlexeyAbashkin has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!