Monday, 2016-02-22

*** shu-mutou has joined #senlin00:08
*** Qiming has quit IRC00:22
openstackgerritCindia-blue proposed openstack/senlin: Add timeout of waitting for loadbalancer creation  https://review.openstack.org/28286400:50
*** Qiming has joined #senlin01:19
*** Yanyanhu has joined #senlin01:25
openstackgerritQiming Teng proposed openstack/senlin-dashboard: Enable translation jobs  https://review.openstack.org/28282401:38
*** elynn has joined #senlin02:02
*** elynn has joined #senlin02:04
*** Liuqing has joined #senlin02:06
elynnmorning02:06
Qimingmorning02:07
R_lixhmorning02:10
R_lixhYanyanhu, there?02:10
Yanyanhuhi02:10
R_lixhMorning, Yanyanhu02:10
Yanyanhumorning :)02:10
R_lixhin the past weekend, I tried LB policy02:10
R_lixhand I am suffering from the problem with member_add02:11
R_lixhhttp://paste.openstack.org/show/487686/02:11
R_lixhthis is the error02:11
R_lixhwonder if you ever met this before02:11
Yanyanhuok, let me check it02:11
YanyanhuI doubted the part_arg issue is still there in sdk02:12
Yanyanhulet me check which branch of sdk I'm using02:12
R_lixhokay :)02:13
Yanyanhuyes, I'm using a branch patched by my self02:13
R_lixha bug there?02:13
Yanyanhuyes, there is a bug there02:13
R_lixhPlease point me to the link if have02:14
Yanyanhubut not sure whether they have fixed this bug in latest patch02:14
Yanyanhuabout property rework02:14
R_lixhoh02:14
openstackgerritMerged openstack/senlin-dashboard: Add receiver creation form  https://review.openstack.org/28268402:14
Yanyanhuok, let me find my patch for you. I have proposed a fix for this problem, but it's not a very solution. So that patch is hold there.02:14
R_lixhThanks02:15
Yanyanhuhttps://review.openstack.org/18793402:15
Yanyanhuthis one02:15
YanyanhuI recalled terry proposed a more complete solution for this problem but he abandoned that patch a week ago02:16
R_lixhokay02:17
R_lixhlet me use your patch firstly to try the end2end functions02:17
Yanyanhuhttps://review.openstack.org/21984002:17
Yanyanhuthis one from Terry02:17
YanyanhuR_lixh, ok02:17
R_lixhGot them, Thanks :)02:18
Yanyanhuno problem :)02:19
Yanyanhuhonestly, I think they should at least make it work even using an simplest and maybe ugly way. Then try to find a better and complete solution for it.02:20
Yanyanhunot just leave it there like this :)02:20
openstackgerritMerged openstack/python-senlinclient: Ensure cluster is specified when creating receivers  https://review.openstack.org/28281402:22
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Add receiver deletion table/row action  https://review.openstack.org/28268502:22
R_lixhyes, I agree to you, Yanyanhu02:23
YanyanhuR_lixh, hope this problem can be resolved soon :)02:24
R_lixh:)02:25
openstackgerritLiuqing Jing proposed openstack/senlin: Add devstack support for senlin dashboard  https://review.openstack.org/28213802:26
QimingYanyanhu, maybe we should rebase the patch and argue with them again02:27
YanyanhuQiming, I think we can. But I'm worried that they won't let it in since it's not a complete way to address this issue.02:28
Yanyanhujust as they said before02:28
Yanyanhulet me check the latest change of sdk to see whether they have provide better solution for this02:29
Qimingeven if this is not the perfect solution, we still remind them: 1) this is important, 2) it is broken; 3) please work on it, or adopt this temp patch02:29
Yanyanhuyes, agree02:29
YanyanhuI noticed terry abandoned all related patches last week. Not sure why he did that.02:30
Yanyanhuthose 5 patches about path_arg02:30
Yanyanhuoh, 4 patches02:30
openstackgerritMerged openstack/senlin-dashboard: Add receiver deletion table/row action  https://review.openstack.org/28268502:31
Qimingit could be related to the latest changes to use *_id or *_ids02:31
Yanyanhuthat's possible. Since those 4 patches also made really huge change02:31
openstackgerritShu Muto proposed openstack/senlin-dashboard: Update URLs to Django 1.8 style  https://review.openstack.org/27404902:32
YanyanhuR_lixh, which version sdk are you using now?02:32
R_lixh0.7.402:32
Yanyanhuso this is the latest version before that property naming rework is in?02:33
R_lixhyes, it is, Yanyanhu02:33
Qimingyes, 0.7.4 is the latest 'working' version02:34
R_lixh:)02:34
Yanyanhuok, let me try to make a rebase first and repropose it02:34
R_lixhGreat!02:35
YanyanhuQiming, actually I have a question about how to work on this kind of issue :)02:35
Yanyanhue.g. I know there is a problem which breaks the system. And a complete solution need huge rework.02:36
Yanyanhubut maybe currently, I don't have enough bandwidth to work on this huge change and no other people as well.02:37
Yanyanhuso a simple workaround should be acceptable for this situation, right? We shouldn't let a known bug just stay there and break the system.02:38
Qimingyes02:38
Yanyanhuok, understand.02:39
QimingLiuqing, could you help verify if https://review.openstack.org/#/c/282824 works?02:39
QimingI'm not sure if the change to _50_senlin.py.example would work02:40
LiuqingOK02:40
QimingI'm not familiar with that02:40
QimingThe only thing I want to solve at the moment is to get translation set up02:40
Qimingfor senlin, senlinclient and senlin-dashboard02:41
QimingLiuqing, I'm not sure if we are missing something in the 'run_tests.sh' file related to translations02:44
QimingAs I was checking the 'run_tests.sh' file in horizon, there are commands like these:02:45
Qiming  echo "  --makemessages           Create/Update English translation files."02:45
Qiming  echo "  --compilemessages        Compile all translation files."02:45
Qiming  echo "  --check-only             Do not update translation files (--makemessages only)."02:45
Qiming  echo "  --pseudo                 Pseudo translate a language."02:45
Qimingmaybe that is the way for horizon (plugins) to do translations? they are not doing it through the setup.cfg file?02:46
LiuqingHi Qiming, i found a similar patch in murano-dashboard  for translations03:00
Qimingokay03:01
openstackgerritQiming Teng proposed openstack/senlin-dashboard: Enable translation jobs  https://review.openstack.org/28282403:02
QimingLiuqing, we need to get this up quickly so that we can propose a patch to project-config where we claim we support translations03:03
QimingLiuqing, feel free to grab this patch and fix it03:03
LiuqingOK  will fix the bug now03:04
Yanyanhuhi, Qiming, R_lixh, a rebased patch has been proposed https://review.openstack.org/18793403:04
Yanyanhuand I added a note at the end of commit msg03:05
Qimingokay03:07
Qimingjust wondering why we have to parse the base_path to figure out path_args?03:07
Qimingcouldn't we pass in the 'path_args' from the 'create_by_id' function?03:08
Qimingthat parsing is very very ugly, :(03:08
Yanyanhuyes, we can, but that will change the existing interfaces03:08
YanyanhuI hoped this workaround won't influence the definition and usage of existing methods, so choosed this way03:09
Yanyanhuit just worked at the last step where req body is constructed03:09
QimingI mean we make the function something like 'def _remove_path_args_from_attrs(cls, path_args, attrs)'03:10
Qimingwhat's the interface that will be impacted?03:10
Yanyanhuoh, you mean this way03:10
Qiming[11:07] <Qiming> just wondering why we have to parse the base_path to figure out path_args?03:11
Yanyanhuthis is better03:11
Qiming[11:08] <Qiming> couldn't we pass in the 'path_args' from the 'create_by_id' function?03:11
YanyanhuI misunderstood your question :003:11
Qimingok03:11
*** yuanying has quit IRC03:20
Yanyanhuhi, Qiming03:25
YanyanhuI found that way won't work...03:25
Yanyanhusince the path_args passed to create_by_id is actually the resource itself03:26
Yanyanhuhttp://git.openstack.org/cgit/openstack/python-openstacksdk/tree/openstack/resource.py#n58203:26
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Enable translation jobs  https://review.openstack.org/28282403:26
Yanyanhuso all keys will be included there and we can tell which ones of them are real 'path argument'03:26
Yanyanhus/can/can't03:26
Qimingsigh03:27
Yanyanhuyes, another historical problem03:28
QimingI really dislike the interface where sdk allows passing an object into an interface function03:29
Yanyanhuyes, although flexible, but really makes thing complicated03:30
R_lixhYanyanhu, I saw current LB policy has implemented great automation work and wonder any plan to add healthmonitr and security group too?03:35
YanyanhuR_lixh, you mean the healthmonitor of lb and neutron security group?03:36
R_lixhyes03:36
R_lixhwithout healthmonitor, tyhe memebr status will not change03:37
YanyanhuR_lixh, yes, that's true03:37
R_lixhyes03:37
Yanyanhuactually I haven't spent time on healthmonitor before :)03:38
R_lixhAnd without security group, ssl to the member will be controlled03:38
Yanyanhulet me check the code, I think it won't very difficult to add it03:38
R_lixhOkay, Yanyanhu :)03:39
Yanyanhusecurity group should be part of nova profile I think03:39
R_lixhoh, also reasonable03:39
Yanyanhusince usually people will specify the security group if needed when creating a nova server03:40
Yanyanhuand the creation of security group itself is not in Senlin's scope :)03:40
R_lixhMaybe healthmonitor is more usefull for senlin lb+as scenario03:40
YanyanhuR_lixh, yes, agree03:40
R_lixhYes, I see. Yanyanhu03:40
Yanyanhuhi, R_lixh, healthmonitor related has been added to neutron driver. I think we just need to make a little extension of lb_policy to support healthmonitor.03:44
openstackgerritMerged openstack/senlin: Update unit test of profile for filters  https://review.openstack.org/28267403:44
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster node show  https://review.openstack.org/28259903:44
Yanyanhubut I think we need to test it to ensure it works as expected03:44
R_lixhOkay, Yanyanhu03:45
YanyanhuI don't have a complete environment for this kind of test in my local development env03:45
Yanyanhuso if you guys have this kind of environment, that will be great :)03:46
R_lixhDo not worry about testing part03:46
R_lixhYanyanhu03:46
R_lixhWe can do that part :)03:46
Yanyanhujust need a host that can create nova server that you can run some simple http workload in it03:46
R_lixhok03:47
R_lixhWe have tested through lbaas v1 functions but not v2 + senlin03:48
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster node create  https://review.openstack.org/28260803:49
YanyanhuR_lixh, I also have tested lbaas v1 before03:50
Yanyanhuabout a year ago03:50
Yanyanhubut for v2, I just made simplest test to ensure some basic functions work well03:50
Yanyanhulike whether loadbalancer/listener/pool can be created successfully03:51
R_lixhThanks for your sharing by email last time on ceilometer part :)03:51
R_lixhI see.03:51
Yanyanhuwhether the given nova server ip can be added to specific pool03:51
YanyanhuR_lixh, you're welcome :)03:51
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster node update  https://review.openstack.org/28264103:51
R_lixhSo far to the lisneter, I testes works well but03:51
R_lixhceilometer v2 montiroing seems still a problem03:52
R_lixhsome one submit a patch to support v2 meters03:52
Yanyanhuoh, I guess we may need to do extra extension on ceilometer to support it03:52
YanyanhuI doubt there is no builtin support yet03:52
R_lixhI am planning to use taht part but still need senlin to support healthmonitor.03:52
R_lixh...03:53
YanyanhuR_lixh, I'm not sure about that, but I guess so :)03:53
YanyanhuI will try to work on healthmonitor stuff in coming week if I have time and if you guys want to do some tests on it, please just test me03:53
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster node delete  https://review.openstack.org/28264403:53
R_lixhif no buildin support, there will be more works...03:53
R_lixhOkay, Yanyanhu03:54
YanyanhuR_lixh, that's true03:54
openstackgerritMerged openstack/senlin-dashboard: Enable translation jobs  https://review.openstack.org/28282403:55
*** elynn has quit IRC03:59
*** Liuqing has quit IRC04:03
*** yuanying has joined #senlin04:10
*** elynn has joined #senlin04:25
*** elynn_ has joined #senlin04:29
*** elynn has quit IRC04:30
*** Liuqing has joined #senlin05:44
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Add receiver detail page  https://review.openstack.org/28295405:51
*** Liuqing has quit IRC05:59
openstackgerritAyush Garg proposed openstack/senlin: Add check for bad parameter in profile-list  https://review.openstack.org/28288206:08
QimingYanyanhu, how many services/resources are suffering from the path_args problem?06:15
Yanyanhuas of now, only lb member create06:16
Yanyanhulb pool_member resource06:16
Qimingokay, can we solve that issue this way ...06:16
Yanyanhunova seems can tolerate this kind of unused args06:16
Qiminginstead of changing all resources behavior06:16
Qimingwe override the _get_create_body() function in pool_member06:17
*** Ayush_ has joined #senlin06:17
Qimingin the overriding function, we remove the path args from attrs before return the attrs06:17
Qimingsounds a better alternative?06:18
Yanyanhuyes, this can significant reduce the influence06:18
Qiminghopefully, we can somehow reduce the global impact and avoid the ugly string parsing logic06:19
Yanyanhujust a little worried that _get_creat_body() looks like a tool function of resource base class06:20
Yanyanhuso is it ok to override it?06:20
Qimingyes06:20
Yanyanhuok, I see06:20
QimingI inroduced that function when I was fixing nova server06:20
Yanyanhuwill try to fix using this way06:20
Qimingso far only nova server resource is overriding in order to pass the scheduler hints06:21
Qimingin the same way, you can manipulate the body06:21
Yanyanhunice, if it is designed for this purpose, it's much better to use this way to address path_arg problem06:22
Qimingyes06:22
openstackgerritMerged openstack/senlin: Fix an error in openstack_test driver  https://review.openstack.org/28223806:29
openstackgerritMerged openstack/senlin: Add functional test for cluster check recover  https://review.openstack.org/28226806:29
openstackgerritMerged openstack/senlin: Add check for bad parameter in profile-list  https://review.openstack.org/28288206:35
*** Liuqing has joined #senlin06:38
*** Liuqing has quit IRC06:45
*** zzxwill has joined #senlin07:45
*** dixiaoli__ has quit IRC07:50
openstackgerritQiming Teng proposed openstack/senlin-dashboard: Fix translation setup  https://review.openstack.org/28299408:01
*** dixiaoli__ has joined #senlin08:06
*** elynn__ has joined #senlin08:50
*** elynn_ has quit IRC08:52
*** elynn__ has quit IRC08:55
*** elynn__ has joined #senlin08:55
*** zzxwill has quit IRC09:05
openstackgerritEthan Lynn proposed openstack/senlin: Convert count to int in cluster scale_out/in action  https://review.openstack.org/28301609:20
*** elynn__ has quit IRC09:24
openstackgerritYanyan Hu proposed openstack/senlin: Allow user to define region_name when setting up senlin service  https://review.openstack.org/28302009:54
*** Yanyanhu has quit IRC10:10
*** Qiming has quit IRC10:11
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster policy list  https://review.openstack.org/28281610:13
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster policy show  https://review.openstack.org/28281710:15
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster policy create  https://review.openstack.org/28281810:16
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster policy update  https://review.openstack.org/28281910:17
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster policy delete  https://review.openstack.org/28282010:18
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: OSC plugin for openstack cluster policy type list  https://review.openstack.org/28286510:19
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OSC plugin for cluster policy type show  https://review.openstack.org/28286610:19
*** Qiming has joined #senlin11:26
*** zhenguo_ has quit IRC11:40
*** zigo has quit IRC11:40
*** zigo has joined #senlin11:41
*** zhenguo_ has joined #senlin11:43
openstackgerritMerged openstack/senlin-dashboard: Add receiver detail page  https://review.openstack.org/28295414:16
*** openstackgerrit has quit IRC14:17
*** openstackgerrit has joined #senlin14:18
*** sridhar_ram has joined #senlin14:53
*** Qiming has quit IRC15:51
*** sridhar_ram has quit IRC16:05
*** sridhar_ram1 has joined #senlin16:57
openstackgerritAyush Garg proposed openstack/python-senlinclient: Add filters option to policy-list command  https://review.openstack.org/28319618:09
openstackgerritAyush Garg proposed openstack/senlin: Add check for bad parameter in policy-list  https://review.openstack.org/28320418:26
*** sridhar_ram1 has quit IRC18:33
*** Ayush_ has quit IRC18:45
*** sridhar_ram has joined #senlin19:22
*** openstackgerrit has quit IRC20:47
*** openstackgerrit has joined #senlin20:48
*** Qiming has joined #senlin23:59

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