Friday, 2016-03-18

*** Qiming has quit IRC00:48
*** zzxwill has joined #senlin01:09
*** zzxwill has quit IRC01:23
*** zzxwill has joined #senlin01:24
*** Qiming has joined #senlin01:24
openstackgerritQiming Teng proposed openstack/senlin: Remove a TODO item  https://review.openstack.org/29435601:28
*** heyongli has joined #senlin01:44
*** heyongli has quit IRC01:44
*** heyongli has joined #senlin01:44
*** Yanyanhu has joined #senlin01:49
*** heyongli has quit IRC01:52
openstackgerritMerged openstack/senlin: Remove a TODO item  https://review.openstack.org/29435601:52
*** heyongli has joined #senlin01:52
*** zzxwill has quit IRC01:52
*** zzxwill has joined #senlin01:54
*** heyongli has quit IRC01:54
*** heyongli has joined #senlin01:55
*** heyongli has quit IRC01:56
*** heyongli has joined #senlin01:57
*** heyongli has quit IRC02:04
*** heyongli has joined #senlin02:05
openstackgerritMerged openstack/senlin: Fix problems with add timer and improve periodic tasks  https://review.openstack.org/29389702:13
*** heyongli has quit IRC02:15
*** heyongli has joined #senlin02:15
*** heyongli has quit IRC02:25
*** heyongli has joined #senlin02:25
*** heyongli has quit IRC02:35
*** heyongli has joined #senlin02:36
*** heyongli has quit IRC02:44
*** heyongli has joined #senlin02:45
*** heyongli has quit IRC02:45
*** heyongli has joined #senlin02:46
*** zzxwill has quit IRC02:50
openstackgerritQiming Teng proposed openstack/python-senlinclient: Fix event list sorting  https://review.openstack.org/29437302:51
*** heyongli has quit IRC02:52
*** zzxwill has joined #senlin02:54
xuhaiweiHi, everyone, just find something interesting, many openstack projects have their own icons, does Senlin have one? Or do we need one?03:01
*** Yanyanhu has quit IRC03:08
*** Yanyanhu has joined #senlin03:09
*** elynn has joined #senlin03:11
xuhaiweifound it in the Senlin introduction ppt03:14
xuhaiweiis it a formal one?03:14
Qimingit can be03:19
Qiming:)03:19
Qimingif there are some artists to contribute a better one, that would be great03:20
elynnHi can we support lbaasv2 in lb profile?03:27
elynnlb policy03:28
zzxwillHi xuhaiwei, could you please help send me the Senlin introduction ppt? I might find some guy for the icon.03:36
*** zzxwill has quit IRC03:46
*** elynn has quit IRC03:48
xuhaiweizzxwill, I am back now04:06
xuhaiweihow to send to you?04:06
*** zzxwill has joined #senlin04:07
xuhaiweiQiming, I think the ppt you sent to me can be shared to others, right?04:07
xuhaiweizzxwill, just be back now04:07
*** shu-mutou has joined #senlin04:07
xuhaiweihow to send to you, zzxwill04:08
*** elynn has joined #senlin04:21
*** zzxwill has quit IRC04:26
*** elynn has quit IRC04:26
*** elynn has joined #senlin04:26
*** shu-mutou has quit IRC04:44
*** zzxwill has joined #senlin04:58
zzxwillxuhaiwei zzxwill@gmail.com Thanks.04:59
Qimingelynn, lb policy is based on lbaasv2 api05:02
elynngood to know that.05:03
openstackgerritQiming Teng proposed openstack/python-senlinclient: Fix event list sorting  https://review.openstack.org/29437305:06
xuhaiweizzxwill, the mail is sent to you05:07
*** zzxwill has quit IRC05:14
*** zzxwill has joined #senlin05:20
zzxwillReceived the mail, thx:) xuhaiwei.05:22
elynnHi Qiming , if I attach a lb policy to cluster, how can I get the VIP address?05:24
*** shu-mutou-AFK has joined #senlin05:26
Qimingoh, seems no way05:26
QimingYanyanhu ?05:26
Qimingseems we need to add an interface somehow05:27
Yanyanhuhi, sorry05:28
Yanyanhuelynn, this is problem05:28
Yanyanhunow the vip address is not exposed...05:29
elynnoh... sad to hear that...05:30
Qimingthis kind of data can be exposed via cluster.data05:30
elynnI'm thinking if we can expose it in cluster data ?05:30
Qimingif we want to keep the interface as simple as it is05:30
Yanyanhumaybe we should store vip info into some places, e.g. metadata of lb policy05:31
elynnQiming, ha, we are in the same direction.05:31
Qimingyes, elynn05:31
elynnSince one policy can attach to multiple cluster05:31
Yanyanhuhmm, cluster.data is better05:31
*** zzxwill has quit IRC05:32
*** shu-mutou-AFK has quit IRC05:32
Yanyanhuor cluster_policy.data?05:32
Qimingeach policy binding creates a new binding object05:34
elynnsounds good to me.05:34
xuhaiweiif the IP is stored in cluster data, when the policy is detached, the cluster data will be updated?05:34
Yanyanhuah, sorry, it should be stored in cluster.data05:34
Yanyanhuxuhaiwei, yes05:34
Qimingyes, xuhaiwei, that is for sure05:34
Yanyanhusince now all lb policy attachment related data are stored in cluster.data05:35
xuhaiweiso the IP should be saved there too05:35
Yanyanhuyes, I think so05:36
Yanyanhulet me check the code to confirm it05:36
Qimingcurrently, lb id is saved in binding data05:37
YanyanhuQiming, yes, I was wrong05:37
Yanyanhuagain05:37
Qimingthat can be changed05:37
elynnSo we store lb id in cluster's data too?05:37
elynnin the future?05:37
Qimingbut I think VIP is a cluster attribute05:37
xuhaiweiexcuse me, what is the binding data?05:38
Yanyanhuxuhaiwei, cluster_policy object05:38
Yanyanhuit's unique for each attachement between a cluster and a policy05:38
xuhaiweithanks, Yanyanhu05:38
YanyanhuQiming, this is because we only allow one lb policy been attached to a cluster05:38
Qimingno, one lb policy can be attached to mulitiple cluster05:39
Qiminglb policy itself is only a specification05:39
Yanyanhuyes, but one cluster can only be attached one lb policy?05:39
Qimingthe data it initialized is saved per-cluster-binding05:40
QimingYanyanhu, don't think so05:40
Qimingyou can attach more than one, in theory05:40
Qimingin aws, loadbalancer is a list for an asg05:40
xuhaiweino conflicts happen?05:40
Qimingtwo lbs won't see each other05:40
Yanyanhuoh, I thought only scaling policy can be attached like this05:41
Yanyanhuyes, attaching more than one lb policies to a cluster makes sense05:41
Qimingwell, we didnt change singleton value for lb yet05:41
Yanyanhufor cases, each node has more than one network interfaces05:41
Qimingso we need to set lb policy's singleton to False05:42
Yanyanhuyes, I think so05:42
Qimingand store data visible to users in cluster.data05:42
Qimingwhen you are showing a cluster05:42
xuhaiweitwo lb policies control two nics of one node? am I wrong?05:43
Qimingyou will get 'loadbalancers': [{'id': 'lb1', 'vip': '1.2.3.4'}] from its data05:43
YanyanhuQiming, if so, we need distinguish the data from different polices05:43
Yanyanhuok05:44
xuhaiweiQiming, if two lb policies attachment is allowed, the 'id' should be a list05:44
Yanyanhuso maybe we should follow this principle: storing data visible for user into cluster.data while storing data invisible for user into cluster_policy.data05:45
Qimingit is a list, check the dict again05:45
Qiming+1, Yanyanhu05:45
Yanyanhuok, I see05:45
xuhaiweiok, got it, 'loadbalancers' is a list05:45
elynnHow about data: {'loadbalancers': {'lb_id': {'vip': 8.8.8.8}}}05:45
Qimingelynn, that's fine05:46
elynnif loadbalancers is a list, it's not easy for heat to get specific VIP05:46
Qimingright, you will have to iterate05:46
Qimingtwo-leveled map improves usability05:47
YanyanhuQiming, cluster.data has not been used as of now?05:47
QimingYanyanhu, I think so05:47
Yanyanhuhmm, need a design for its format05:47
QimingWe have been reserving that 'data' field for cluster-level attributes05:48
Yanyanhufor any possible attrs we want to expose to end user05:48
Yanyanhuyes05:48
Qimingloadbalancers is definitely a good candidate05:48
elynnyes05:48
Yanyanhuright05:48
Yanyanhuok, will think about it and propose a patch for it05:49
Qiminggreat05:49
QimingI like elynn's proposal about data format05:50
Yanyanhulet me add a item into mitaka workitem etherpad05:50
elynnCooooool~ thank you Yanyanhu05:50
Yanyanhuok, it looks good to me as well05:50
Yanyanhuno problem :)05:50
Qimingthanks, elynn, this is an important feature05:50
Yanyanhua start point of cluster level attr generalization :)05:51
Qimingemm ... not there yet05:51
Yanyanhuyes, not that far :)05:51
Qimingthis kind of a data is more of a constant05:52
*** xuhaiwei has quit IRC05:52
Qimingwhen we were talking about cluster wide attribute collection, it is more about dynamic ones that will demand several service calls05:52
YanyanhuI see05:54
openstackgerritQiming Teng proposed openstack/senlin: Add size checking when adding nodes  https://review.openstack.org/29440306:01
openstackgerritQiming Teng proposed openstack/senlin: Documentation for the region placement policy  https://review.openstack.org/29406306:05
openstackgerritQiming Teng proposed openstack/senlin: Add size checking when deleting nodes  https://review.openstack.org/29440806:19
*** zzxwill has joined #senlin06:29
*** zzxwill has quit IRC06:30
*** zzxwill has joined #senlin06:37
*** elynn has quit IRC06:50
*** zzxwill has quit IRC06:50
openstackgerritQiming Teng proposed openstack/senlin: Set update_at to new value after resize  https://review.openstack.org/29442406:54
*** elynn has joined #senlin07:08
*** elynn has quit IRC07:12
*** elynn has joined #senlin07:12
*** elynn_ has joined #senlin07:20
*** elynn has quit IRC07:20
openstackgerritQiming Teng proposed openstack/senlin: Optimize event deserialization  https://review.openstack.org/29442607:28
*** elynn__ has joined #senlin07:29
*** elynn_ has quit IRC07:32
*** zzxwill has joined #senlin07:42
*** elynn__ has quit IRC07:46
*** zzxwill has quit IRC07:47
*** zzxwill has joined #senlin07:47
*** zzxwill has quit IRC07:54
*** shu-mutou has joined #senlin07:58
*** zzxwill has joined #senlin08:12
*** zzxwill has quit IRC08:14
Qimingteam, need your helps on reviewing some patch back logs08:15
Qimingthanks08:15
Yanyanhugot it08:16
*** zzxwill has joined #senlin08:19
Qiminga lot of dirty works need to be done to cut an RC1 and create a stable/mitaka branch08:22
Qimingdon't know how08:22
*** zzxwill has quit IRC08:22
YanyanhuRC1?08:22
Qimingyes, today is the deadline08:22
YanyanhuI see08:22
openstackgerritYanyan Hu proposed openstack/senlin: Store random assigned VIP address to cluster data  https://review.openstack.org/29445008:24
Yanyanhuleave for a while. Need to reboot my workstation08:25
*** Yanyanhu has quit IRC08:27
*** zzxwill has joined #senlin08:29
openstackgerritMerged openstack/senlin: Add size checking when adding nodes  https://review.openstack.org/29440308:31
openstackgerritMerged openstack/python-senlinclient: Fix event list sorting  https://review.openstack.org/29437308:36
*** zzxwill has quit IRC08:48
openstackgerritQiming Teng proposed openstack/senlin: Release notes for RC1  https://review.openstack.org/29446208:54
openstackgerritMerged openstack/senlin: Set update_at to new value after resize  https://review.openstack.org/29442408:57
*** xuhaiwei has joined #senlin08:58
xuhaiweihi QIming08:58
Qimingyes08:58
xuhaiweiabout the weekly meeting for container cluster, when should we arrange it?08:59
Qimingup to you08:59
QimingI'm mostly free08:59
xuhaiweishould we do it by phone?08:59
Qimingyep, by phone would be efficient09:00
xuhaiweiok09:00
xuhaiweiwe had it this Tuesday, what about the time for every week?09:00
Qimingfine with me09:00
xuhaiweifrom 14:00~15:00 Beijing time ?09:01
Qimingokay09:01
xuhaiweithanks09:01
*** Yanyanhu has joined #senlin09:01
QimingYanyanhu, the funtional test failure is weird09:04
Yanyanhu294408?09:04
Qimingyep09:04
Yanyanhulet me check it09:04
Qimingdhellmann, online?09:05
YanyanhuQiming, need to revise functional test I think since the request will be rejected in service layer rather than action layer now09:06
Yanyanhuwill work on it09:06
Qimingthe request should not be rejected?09:06
Yanyanhushould be09:06
Yanyanhuin current implementation, the request will be accepted09:07
Qimingline 89 is trying to remove 2 nodes from the cluster09:07
Yanyanhualthough the action will fail09:07
Qimingthat should be fine09:07
Qiminghow could the target capacity become 0?09:08
Yanyanhuoh, I didn't see the log in detail, I thought it was caused by the logic change of request rejection09:08
Yanyanhulet me have a look09:08
Qiminggreat, thanks09:08
Yanyanhuno problem09:09
Qimingseems there is a race condition09:13
Yanyanhuyou mean?09:14
Qimingcluster's desired_capacity may be incorrectly updated09:14
Yanyanhuyou're right09:15
Yanyanhu+------------------+--------------------------------------+09:15
Yanyanhu| Property         | Value                                |09:15
Yanyanhu+------------------+--------------------------------------+09:15
Yanyanhu| created_at       | 2016-03-18T09:14:11                  |09:15
Yanyanhu| data             | {}                                   |09:15
Yanyanhu| desired_capacity | 2                                    |09:15
Yanyanhu| domain           | None                                 |09:15
Yanyanhufunctional test failed locally09:15
Yanyanhuthe cluster's desired_capacity is 2 now09:15
Qimingafter two nodes added ?09:16
YanyanhuI should add a check about cluster desired_capacity in that test09:17
Qimingso we should not update desired_capacity in do_join()09:17
Yanyanhuyes, I think so09:17
Qimingit should be done in cluster_action09:17
Yanyanhuyes09:17
Yanyanhureally need to test cluster add/del node operations more completely09:19
Qimingright09:19
Yanyanhuthey are not very common used operations currently09:19
QimingI'll work on fixing the desired_capacity update09:19
Qimingplease help improve func tests09:20
Yanyanhusure09:20
*** Yanyanhu has quit IRC09:30
*** zzxwill has joined #senlin09:38
*** zzxwill has quit IRC09:41
*** zzxwill has joined #senlin09:42
*** zzxwill has quit IRC09:50
openstackgerritQiming Teng proposed openstack/senlin: Fix desired_capacity computation  https://review.openstack.org/29448310:00
openstackgerritMerged openstack/senlin: Add size checking when deleting nodes  https://review.openstack.org/29440810:08
openstackgerritQiming Teng proposed openstack/senlin: Fix desired_capacity computation  https://review.openstack.org/29448310:11
*** zzxwill has joined #senlin10:12
openstackgerritMerged openstack/senlin: Documentation for the region placement policy  https://review.openstack.org/29406310:18
openstackgerritMerged openstack/senlin: Optimize event deserialization  https://review.openstack.org/29442610:20
*** zzxwill has quit IRC10:30
*** shu-mutou is now known as shu-mutou-AFK10:34
*** zzxwill has joined #senlin10:35
*** zzxwill has quit IRC10:41
*** zzxwill has joined #senlin10:42
*** zzxwill has quit IRC10:49
openstackgerritQiming Teng proposed openstack/senlin: Store random assigned VIP address to cluster data  https://review.openstack.org/29445011:04
openstackgerritMerged openstack/senlin: Fix desired_capacity computation  https://review.openstack.org/29448311:12
openstackgerritMerged openstack/senlin: Store random assigned VIP address to cluster data  https://review.openstack.org/29445011:39
openstackgerritMerged openstack/senlin: Release notes for RC1  https://review.openstack.org/29446211:45
*** Qiming has quit IRC11:58
*** Yanyanhu has joined #senlin12:15
*** Yanyanhu has quit IRC12:19
*** Qiming has joined #senlin12:24
openstackgerritDoug Hellmann proposed openstack/senlin: Update reno for stable/mitaka  https://review.openstack.org/29456512:34
openstackgerritDoug Hellmann proposed openstack/senlin: Update reno for stable/mitaka  https://review.openstack.org/29456512:35
dhellmannQiming : your RC1 is ready and your stable/mitaka branch is available. Please merge https://review.openstack.org/294565 and https://review.openstack.org/294564 to finish setting those up12:36
*** openstackgerrit has quit IRC12:48
*** openstackgerrit has joined #senlin12:49
Qimingdhellmann, got it, thanks12:53
openstackgerritMerged openstack/senlin: Update reno for stable/mitaka  https://review.openstack.org/29456513:05
openstackgerritYanyan Hu proposed openstack/senlin: Complete functional test of cluster_membership  https://review.openstack.org/29458813:33
*** zzxwill has joined #senlin14:01
*** Kennan has quit IRC14:36
*** Kennan has joined #senlin14:37
openstackgerritzzxwill proposed openstack/python-senlinclient: Spelling mistakes on 'Clustering service command-line client' page  https://review.openstack.org/29463414:59
openstackgerritzzxwill proposed openstack/python-senlinclient: Spelling mistakes on 'Clustering service command-line client' page  https://review.openstack.org/29463415:27
*** Qiming has quit IRC16:27
*** zzxwill has quit IRC16:41
*** zzxwill has joined #senlin16:42
*** zzxwill has quit IRC17:22
*** zhenguo_ has quit IRC19:16
*** zhenguo_ has joined #senlin19:17
*** jdandrea has quit IRC20:21
*** jdandrea has joined #senlin20:22
*** dhellmann has quit IRC21:26
*** dhellmann has joined #senlin21:26

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