Wednesday, 2017-01-25

*** yuntongjin has joined #openstack-mogan01:50
zhenguomorning mogan!01:54
*** yuntongjin has quit IRC02:00
Kevin_Zheng-1ed on your nova patch02:01
Kevin_Zhengother people might -1 if I dont LOL02:02
zhenguoKevin_Zheng: hah02:16
liushengzhenguo: Hi zhenguo, about the policy refactor, if we added mogan:instance:set_power_state:on, mogan:instance:set_power_state:off, ... do we still need a mogan:instance:set_power_state ?02:44
zhenguoliusheng: not any more02:44
liushengzhenguo: ok, got it02:44
zhenguoliusheng: are you working on that?02:45
liushengzhenguo: yes02:45
zhenguoliusheng:  oh, thanks02:45
*** l4yerffeJ has quit IRC02:48
*** l4yerffeJ has joined #openstack-mogan02:49
*** openstackgerrit has joined #openstack-mogan02:58
openstackgerritliusheng proposed openstack/mogan: Refactor policy: Support precision control of power action  https://review.openstack.org/42495102:59
*** yuntongjin has joined #openstack-mogan02:59
openstackgerritliusheng proposed openstack/mogan: Refactor policy: Support precision control of power action  https://review.openstack.org/42495103:01
liushengzhenguo: have upload a patch for the policy refactoring, but didn't add tests yet. ^^03:02
zhenguoliusheng: that's ok, really appreciate!03:02
liushengzhenguo: np :)03:02
openstackgerritliusheng proposed openstack/mogan: Refactor policy: Support precision control of power action  https://review.openstack.org/42495103:08
openstackgerritliusheng proposed openstack/mogan: Use policy-generator to generate policy sample file  https://review.openstack.org/42496203:39
*** yuntongjin has quit IRC03:51
*** l4yerffeJ has quit IRC04:01
*** l4yerffeJ has joined #openstack-mogan04:01
openstackgerritliusheng proposed openstack/mogan: Refactor policy: Support precision control of power action  https://review.openstack.org/42495104:02
*** wanghao has joined #openstack-mogan04:33
*** wanghao has quit IRC04:35
openstackgerritliusheng proposed openstack/mogan: Use policy-generator to generate policy sample file  https://review.openstack.org/42496204:58
openstackgerritzhangjl proposed openstack/mogan-specs: Adds specification for lock instances  https://review.openstack.org/42048605:48
*** Jeffrey4l_ has quit IRC06:48
*** Jeffrey4l has joined #openstack-mogan06:53
zhenguohi all, tomorrow's irc weekly meeting will be canceled as most of us will be out of office.06:57
zhenguoliusheng: wrt https://review.openstack.org/#/c/424951/4/mogan/common/policy.py , is it easy to expand if I want to add other args check? like we will introduce provision state change07:26
liushengzhenguo: yes, we only need to add args check in the global var FUNC_PARAMS_INTERESTED, and add the defaut rule07:27
zhenguoliusheng: so it would be like {'power': 'target', 'provision': 'target'}?07:28
liushengzhenguo: yes, the value is a list, since I think may we have more than one paremeter need to be handled07:29
zhenguoliusheng: ok, sounds cool, have you tested it ?07:30
liushengzhenguo: oh wait, may I need a real test, I just test tested the function can generate the action string to be mogan:instance:set_power_state:reboot07:32
liushengzhenguo: please wait a min, let me use demo user to test07:32
zhenguoliusheng: seems we have policy unit tests, maybe need to update them to see07:32
zhenguoliusheng: ok07:32
liushengzhenguo: you mean ut ? didn' found07:34
zhenguoliusheng: oh, I remember we have, let me check07:34
zhenguoliusheng: https://github.com/openstack/mogan/blob/master/mogan/tests/unit/api/v1/test_instance.py#L4707:37
zhenguoliusheng: seems only instances basic operations covered07:37
liushengzhenguo: ok, thanks, will add tests07:38
zhenguoliusheng: thanks07:38
liushengzhenguo: we lack of many tests, hah07:38
zhenguoliusheng: yes, indeed :(07:38
zhenguoliusheng: maybe we can invite some test guys to help us, lol07:39
liushengzhenguo: hah, hope that07:40
*** wanghao has joined #openstack-mogan07:41
*** wanghao has quit IRC08:07
*** yuntongjin has joined #openstack-mogan08:20
*** Jeffrey4l_ has joined #openstack-mogan08:30
*** l4yerffeJ_ has joined #openstack-mogan08:30
*** l4yerffeJ has quit IRC08:34
*** Jeffrey4l has quit IRC08:34
openstackgerritZhenguo Niu proposed openstack/mogan: Add support for floating IPs association  https://review.openstack.org/41776008:44
*** yuntongjin has quit IRC08:50
RuiChenHappy new year, mogan09:13
zhenguoHappy new year!09:13
*** liusheng has quit IRC09:29
openstackgerritZhenguo Niu proposed openstack/mogan: Add support for floating IPs association  https://review.openstack.org/41776009:51
* zhenguo disappeared09:52
*** openstackgerrit has quit IRC10:17
*** yuntongjin has joined #openstack-mogan10:28
*** yuntongjin has quit IRC10:49
*** RuiChen has quit IRC11:17
*** yuntongjin has joined #openstack-mogan11:29
*** yuntongjin has quit IRC12:20
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slow performance12:46
-openstackstatus- NOTICE: Gerrit has been successfully restarted12:50
*** Jeffrey4l_ has quit IRC17:06
*** l4yerffeJ_ has quit IRC17:21
*** l4yerffeJ_ has joined #openstack-mogan17:21
*** Jeffrey4l has joined #openstack-mogan17:25
*** Jeffrey4l has quit IRC17:30
*** Jeffrey4l has joined #openstack-mogan18:41
*** Jeffrey4l has quit IRC18:46
*** Jeffrey4l has joined #openstack-mogan19:10
*** Jeffrey4l has quit IRC19:15
*** Jeffrey4l has joined #openstack-mogan19:58
*** Jeffrey4l has quit IRC20:04
*** Jeffrey4l has joined #openstack-mogan20:45
*** l4yerffeJ has joined #openstack-mogan21:34
*** Jeffrey4l_ has joined #openstack-mogan21:34
*** l4yerffeJ_ has quit IRC21:35
*** Jeffrey4l has quit IRC21:35
*** l4yerffeJ_ has joined #openstack-mogan23:03
*** l4yerffeJ has quit IRC23:03

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