Tuesday, 2015-09-29

*** pratikma_ has quit IRC00:01
*** Qiming_ has quit IRC00:14
*** pratikmallya has quit IRC00:30
*** lvdongbing has joined #senlin00:32
*** gongysh has quit IRC00:47
*** pratikmallya has joined #senlin00:49
*** gongysh has joined #senlin00:54
*** lvdongbing has quit IRC01:00
*** Qiming_ has joined #senlin01:06
xuhaiweimorning, Qiming_01:24
Qiming_morning01:24
xuhaiweijust got a question01:25
Qiming_shoot01:25
xuhaiweiwhen doing cluster-resize, if the cluster is attatch by a deletion policy, should it be triggered when deleting a node?01:25
xuhaiweicurrently the node is deleted randomly01:26
Qiming_it should01:34
Qiming_http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/policies/deletion_policy.py#n7201:35
Qiming_the code only considers the SCALE_IN and DEL_NODES actions today01:35
xuhaiweiwe should add CLUSTER_RESIZE action?01:38
Qiming_yes I think so01:42
xuhaiweigot it01:43
Qiming_it would be a difficult job01:43
xuhaiweilet me investigate how the policy is triggered first01:44
Qiming_you have to think about the scenarios first01:44
Qiming_say you have a RESIZE request coming in, it may carry any combination of the following params: adjustment_type, number, min_size, max_size, min_step, and strict01:45
Qiming_if you want to do a policy check before RESIZE, you will be doing a lot translations to figure out whether it is an operation that reduces the size of the cluster01:46
Qiming_then: the number of the reduction, whether it will violate the existing/new min_size constraint01:47
Qiming_finally, you decide which nodes to select as candidates01:47
Qiming_anyway, read thru this workflow would do you no harm01:47
Qiming_we can discuss the details01:48
xuhaiweiok, let me think about it01:48
*** LiuWei has joined #senlin02:02
*** Yanyanhu has joined #senlin02:08
*** Yanyan has joined #senlin02:10
*** weli__ has joined #senlin02:11
*** LiuWei has quit IRC02:11
*** weli__ has quit IRC02:11
*** weli__ has joined #senlin02:12
*** Yanyanhu has quit IRC02:12
*** LiuWei has joined #senlin02:15
*** weli__ has quit IRC02:18
*** zhenguo has joined #senlin02:34
*** weli__ has joined #senlin02:49
*** LiuWei has quit IRC02:49
openstackgerritYanyan Hu proposed stackforge/senlin: Add functional test for node operations  https://review.openstack.org/22450202:51
*** LiuWei has joined #senlin02:56
*** weli__ has quit IRC02:59
*** LiuWei has quit IRC02:59
*** LiuWei has joined #senlin02:59
*** weli__ has joined #senlin03:00
*** LiuWei has quit IRC03:03
*** weli__ has quit IRC03:05
*** LiuWei has joined #senlin03:05
*** weli__ has joined #senlin03:08
*** LiuWei has quit IRC03:08
openstackgerritYanyan Hu proposed stackforge/senlin: Cleanse functional test  https://review.openstack.org/22870403:13
*** LiuWei has joined #senlin03:15
*** weli__ has quit IRC03:18
openstackgerritYanyan Hu proposed stackforge/senlin: Add functional test for node operations  https://review.openstack.org/22450203:26
openstackgerritYanyan Hu proposed stackforge/senlin: Cleanse functional test  https://review.openstack.org/22870403:34
*** weli__ has joined #senlin03:44
*** LiuWei has quit IRC03:44
*** lixinhui has quit IRC03:50
*** LiuWei has joined #senlin04:04
*** weli__ has quit IRC04:06
*** LiuWei has quit IRC04:06
*** LiuWei has joined #senlin04:07
*** weli__ has joined #senlin04:14
*** LiuWei has quit IRC04:18
*** pratikmallya has quit IRC04:18
*** pratikmallya has joined #senlin04:24
*** pratikmallya has quit IRC04:24
*** pratikmallya has joined #senlin04:27
*** weli__ has quit IRC04:27
*** lixinhui has joined #senlin04:30
*** pratikmallya has quit IRC04:32
*** lixinhui has quit IRC04:35
*** lixinhui has joined #senlin04:57
*** lixinhui has quit IRC05:02
*** lixinhui has joined #senlin05:05
*** mathspanda has joined #senlin05:30
*** lvdongbing has joined #senlin05:46
openstackgerritMerged stackforge/senlin: Cleanse functional test  https://review.openstack.org/22870406:01
openstackgerritMerged stackforge/senlin: Add functional test for node operations  https://review.openstack.org/22450206:03
*** Yanyanhu has joined #senlin06:11
*** mathspanda has quit IRC06:14
*** Yanyan has quit IRC06:14
*** openstackgerrit has quit IRC06:16
*** openstackgerrit has joined #senlin06:17
*** mathspanda has joined #senlin06:46
*** lvdongbing has quit IRC07:03
xuhaiweiYanyanhu, how to run functional test in local07:20
Qiming_source senlinrc07:21
Qiming_tox -e functional07:21
Qiming_that is my guess07:21
Yanyanhuhi, xuhaiwei, yes just as Qiming_ said07:22
xuhaiweithanks, it works07:22
Qiming_you must have senlin-engine, senlin-api configured and started07:22
xuhaiweiI know it07:22
xuhaiwei AttributeError: 'NoneType' object has no attribute 'replace'07:23
xuhaiweithis happened for many test cases07:23
xuhaiweimy auth_url is not right, it seems07:24
Yanyanhuxuhaiwei, guess so07:29
Yanyanhuyou need environment set correctly07:29
xuhaiweiyes07:29
*** lixinhui has quit IRC07:35
openstackgerritxu-haiwei proposed stackforge/senlin: Make deletion policy work for cluster resize action  https://review.openstack.org/22876007:37
*** lixinhui has joined #senlin07:38
*** shu has joined #senlin07:40
openstackgerritShu Muto proposed stackforge/senlin-dashboard: senlinclient related bug  https://review.openstack.org/22770707:52
*** mathspanda has quit IRC07:53
*** lixinhui has quit IRC08:27
*** lixinhui has joined #senlin08:28
Qiming_xuhaiwei, just checked your patch #22876008:30
Qiming_I don't think it is the right way to handle deletion policy08:31
*** lixinhui has quit IRC08:36
*** lixinhui has joined #senlin08:47
openstackgerritQiming Teng proposed stackforge/senlin: Fix alarm rule parsing behavior  https://review.openstack.org/22880209:07
openstackgerritQiming Teng proposed stackforge/senlin: Fix sample yaml for threshold alarm  https://review.openstack.org/22880309:07
openstackgerritQiming Teng proposed stackforge/senlin: Do rule validation when validaing alarm triggers  https://review.openstack.org/22880409:08
*** shu has quit IRC09:16
openstackgerritMerged stackforge/senlin: Refresh node membership for node actions  https://review.openstack.org/22842809:19
*** mathspanda has joined #senlin09:38
*** mathspanda has quit IRC09:42
*** zhenguo has quit IRC09:43
*** Yanyanhu has quit IRC09:45
*** lixinhui has quit IRC10:59
*** Qiming_ has quit IRC10:59
*** Qiming_ has joined #senlin11:45
*** pm90_ has joined #senlin12:13
*** pm90_ has quit IRC12:20
*** pm90__ has joined #senlin12:20
*** pm90__ has quit IRC12:20
openstackgerritMerged stackforge/senlin: Fix sample yaml for threshold alarm  https://review.openstack.org/22880312:32
*** Administrator has joined #senlin12:48
*** Administrator is now known as Guest4563612:48
*** Qiming_ is now known as Qiming13:01
*** Guest45636 is now known as yanyanhu13:01
Qimingxuhaiwei, on?13:01
*** jruano has joined #senlin13:02
*** Qiming is now known as Qiming_13:43
*** yanyanhu has quit IRC13:47
*** jruano has quit IRC13:53
*** pm90_ has joined #senlin13:58
*** pm90__ has joined #senlin15:03
*** pm90___ has joined #senlin15:03
*** pm90_ has quit IRC15:04
*** pm90__ has quit IRC15:07
*** pm90___ has quit IRC15:17
*** pm90_ has joined #senlin15:25
*** pm90__ has joined #senlin15:27
*** pm90_ has quit IRC15:31
*** Qiming_ has quit IRC15:35
*** pm90__ has quit IRC16:15
*** jruano has joined #senlin16:43
*** jruano has quit IRC17:03
*** pm90_ has joined #senlin17:13
*** jruano has joined #senlin17:32
*** jruano has quit IRC19:55
*** jruano has joined #senlin20:42
*** jruano has quit IRC21:29
*** Qiming_ has joined #senlin23:28
*** pm90_ has quit IRC23:46

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