Tuesday, 2017-01-17

*** catintheroof has joined #senlin00:11
*** catintheroof has quit IRC01:09
*** yanyanhu has joined #senlin01:33
openstackgerritAaron Ding proposed openstack/senlin: Fix cluster-list failed of ResourceNotFound problem  https://review.openstack.org/42100801:35
*** zhurong has joined #senlin01:41
ruijiehi, Qiming, around?01:49
Qimingya01:49
ruijieDo you think we need to add some exception type into senlin01:50
ruijiehttps://review.openstack.org/gitweb?p=openstack/senlin.git;a=blob;f=senlin/engine/service.py;h=9e122a71c4491219ecb0b5934eecea0a340bde9c;hb=ed9f0887d4f9017897ac5236e969669286575cfa#l113501:50
Qiminghonestly I don't see such a need01:51
ruijieAgreed, but the exception message will contains "The request is malformed..."01:55
ruijiesince we raised a Badrequest in service layer01:56
Qimingyes, the reason string is verbose01:57
Qimingit can be simplified here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/common/exception.py#n8401:57
ruijiesorry , Qiming, just saw that01:57
QimingJust make it msg_fmt = _("%(msg)s") would be fine01:58
ruijieAnd another on is about the NotFound, when we operating cluster, we will raise BadRequest if we cannot find the node resource01:58
Qimingyes01:59
ruijiethe format is different with ResourceNotFound01:59
Qimingthat is true01:59
Qimingthey are different exception types, even from client perspective01:59
QimingResourceNotFound is 404, BadRequest is 40002:00
*** chohoor has joined #senlin02:00
ruijieSo, we just make the BadRequest exception's message as the same as ResourceNotFound?02:00
Qimingyes02:00
Qimingoh, no02:00
ruijie:(02:01
Qimingwhy the message should be the same?02:01
ruijieyou forgot your comment under the review :(02:01
Qimingwhen raising BadRequest, we are explicitly spelling out the complete message02:01
ruijiehttps://review.openstack.org/#/c/420526/02:01
Qimingsorry I didn't make it clear enough02:02
Qimingthe inconsistency I was referring to is about the use of () and ''02:02
Qimingideally, we should be consistent about this in any message02:03
Qimingeither we always use (), or we always use single quote ''02:03
Qimingit is a little bit ugly today02:03
ruijieyes Qiming, I see02:04
Qimingthere are two different topics: one is to remove the "The request is malformed: " part, so that BadRequest only accepts the message string without adding adding additional words02:05
Qimingthe other topic is about converge to either (foobar) or 'foobar' in all messages, avoid the mixture02:05
ruijiesingle quotes might be better?02:06
XueFeng+102:07
QimingI"m fine with either one02:13
XueFeng:)02:14
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907602:33
openstackgerritAaron Ding proposed openstack/senlin: Fix cluster-list failed of ResourceNotFound problem  https://review.openstack.org/42100802:36
wllabswhat do i need to do02:41
Qimingwllabs, you mean?02:42
wllabsI would like to participate in community work, I would like to coding02:45
wllabsI do openstack development of three or four years02:45
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/41994102:52
*** Drago has quit IRC02:56
Qimingokay, wllabs, thanks for your interests in senlin02:56
Qimingyou can start by helping write some unit tests, pick up whatever you want to work on from the TODO.rst file, ..02:57
Qimingyou can also help review patches committed by others02:58
*** yuanying has quit IRC03:01
*** yuanying has joined #senlin03:01
*** yuanying has quit IRC03:01
*** yuanying has joined #senlin03:02
openstackgerritMerged openstack/senlin: Fix _add_listener cannot get project  https://review.openstack.org/42063103:02
*** yuanying has quit IRC03:06
wllabshow to review code, I have not been involved in the community before03:08
yanyanhuhi, wllabs. you can open the following web page which is the list of patches to a project, e.g. senlin03:11
yanyanhuhttps://review.openstack.org/#/q/project:openstack/senlin03:11
yanyanhuand then check a patch which is still in "open" status03:11
yanyanhu and read its code and leave your comment03:11
wllabsok, thank you03:11
yanyanhumy pleasure. The entire code review workflow is supported by gerrit. You can try to get familiar with its web ui first.03:13
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise BadRequest exception message  https://review.openstack.org/42104503:17
Qimingwllabs, if you are willing to contribute by writing test cases, you can do this:03:19
Qimingtox -e cover03:19
Qimingyou will find 'cover' and 'cover-master' subdirectory03:20
Qimingopen the 'index.html' file under one of them, you will see the statistics about each module03:21
Qimingthe overall unit test coverage today is 91% for senlin03:21
wllabsI tried next03:21
Qimingwe can improve that to ensure the important paths are covered by unit tests03:21
*** zhurong has quit IRC03:40
*** shu-mutou-AWAY is now known as shu-mutou03:46
*** yuanying has joined #senlin04:02
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907604:07
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907604:24
*** Drago1 has joined #senlin04:42
*** yuanying has quit IRC04:55
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add details view into Policies panel  https://review.openstack.org/42107205:00
*** yuanying has joined #senlin05:03
openstackgerritMerged openstack/senlin: revise tempest api test for cluster-1  https://review.openstack.org/42060605:32
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add delete action for policies panel  https://review.openstack.org/42107805:34
openstackgerritMerged openstack/senlin: revise tempest api test for cluster policy  https://review.openstack.org/42052605:44
*** elynn has joined #senlin05:45
*** yuanying has quit IRC05:46
*** yuanying has joined #senlin05:47
*** yuanying has quit IRC05:51
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add delete action for policies panel  https://review.openstack.org/42107805:57
*** Jeffrey4l_ has joined #senlin06:30
*** Jeffrey4l has quit IRC06:34
*** Jeffrey4l_ is now known as Jeffrey4l06:34
*** zhurong has joined #senlin06:36
*** eandersson_ has joined #senlin06:48
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add delete action for policies panel  https://review.openstack.org/42107806:50
*** eandersson has quit IRC06:51
*** yuanying has joined #senlin07:23
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise BadRequest exception message  https://review.openstack.org/42104507:41
openstackgerritRUIJIE YUAN proposed openstack/senlin: unify exceptions' message  https://review.openstack.org/42110907:41
*** Drago1 has quit IRC07:54
*** Drago1 has joined #senlin08:05
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add create and update actions for policy  https://review.openstack.org/42111908:08
*** shu-mutou is now known as shu-mutou-AWAY08:15
wllabshow to generate senlin-wsgi-api08:20
openstackgerritMerged openstack/senlin: improve tempest test for action list  https://review.openstack.org/42046608:23
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise BadRequest exception message  https://review.openstack.org/42104508:25
Qimingwllabs, it is generated when you do pip install08:31
Qimingsee setup.cfg08:31
wllabsdoes python setup.py can generate wsgi-api ?08:32
Qimingnot sure08:45
Qimingit should do08:45
*** ruijie has quit IRC08:55
xuhaiweixuhaiweiHi Qiming, yanyanhu, there will be a discussion about senlin integration with Tacker in tomorrow's tacker meeting, can one of  you join?09:01
xuhaiweixuhaiwei13:30 beijing time09:01
xuhaiweixuhaiweioh, my name is strange09:02
yanyanhuyes, I can be there09:02
yanyanhuin #openstack-meeting channel?09:02
xuhaiweixuhaiweiyes09:03
yanyanhuwill add this item to the agenda of tonight's meeting09:03
yanyanhuI believe more people are interested to join it :)09:03
yanyanhue.g. xinhui and ethan09:03
xuhaiweixuhaiweithat will be great09:04
xuhaiweixuhaiweibecause Kanagaraj is still asking questions in the spec about how to auto-scalie some specific vms, for this function senlin should first make the vms to be nodes of a senlin cluster, and then auto-scale them09:05
xuhaiweixuhaiweiIt seems senlin will support this function soon, yanyanhu?09:06
yanyanhuxuhaiweixuhaiwei, you mean vm adoption?09:07
yanyanhuyes, we will. That work item is in the list and has high priority I think09:07
xuhaiweixuhaiweiyes09:07
xuhaiweixuhaiweiok, got it09:08
yanyanhuwe plan to work on it soon but not sure whether it can be done in ocata cycle since only 1 month left before final release09:08
yanyanhuand still some technical detail need to figure out09:08
Qiming"autoscaing specific VDU" means scaling to an existing node? or node adoption?09:09
xuhaiweixuhaiweitacker team want senlin integration feature to be merged in ocata cycle, it seems difficult too09:09
Qimingwhat is the exact requirement?09:09
xuhaiweixuhaiweiQiming, I think the exact requirement is writing a heat template, configure the necessary properties of some vms, and then deploy it, senlin will make these vms belong to a newly created cluster09:11
yanyanhuxuhaiweixuhaiwei, if so, why don't we use senlin to deploy those vms at the beginning?09:12
yanyanhuI mean for those new created VMs09:12
Qimingthat is the explanation of "autoscaling specific VDU"?09:12
xuhaiweixuhaiweiyes, I think it is09:12
xuhaiweixuhaiweiyanyanhu, that is the use case that user want to senlin to manage the vms which are not created by senlin09:13
yanyanhuI see09:13
yanyanhuif so, it makes sense09:13
Qimingbetter clarify this first09:14
QimingKM didn't explain his words09:14
xuhaiweixuhaiweiQiming, yes, I asked him in the last tacker meeting09:15
Qimingokay09:15
QimingI'm still feeing it more straightforward to get the VDU created as a single node senlin cluster if there is a scaling policy attached to it09:17
xuhaiweixuhaiweiyes, that is the main use case I think, KM just wants senlin to support both09:18
Qimingokay, for the latter one, we are working on it09:19
Qimingit is a little bit tricky how we are gonna manage the lifecycles of resources (VDUs, ports) we adopted as senlin nodes09:20
Qimingthis feature will be of high priority, but I am not very optimistic that it will land in Ocata09:21
xuhaiweixuhaiweitacker's ptl said I should add the life cycle manage api in tacker  by requesting senlin-api09:21
Qimingthis Ocata cycle is too short ....09:21
Qimingsay a VDU is adopted into senlin cluster as a node09:22
Qimingand senlin doesn't have to worry about whether and how that node will be changed or deleted?09:22
xuhaiweixuhaiweiI am also suspecting if they want this feature merged in tacker, they even dont review the spec09:22
QimingI believe sridahar has seen it09:23
xuhaiweixuhaiweiin ocata I mean09:23
xuhaiweixuhaiweithey want to merge it I think, but some cores may have different opinions09:24
xuhaiweixuhaiweiQiming, I think all the vdu changes or deletion will be done through senlin-api09:24
*** zhurong has quit IRC09:44
Qimingok09:49
*** yanyanhu has quit IRC10:24
*** chohoor has quit IRC10:52
*** ruijie_ has joined #senlin11:47
*** Drago1 has quit IRC12:22
*** catintheroof has joined #senlin12:32
*** elynn has quit IRC12:37
*** elynn has joined #senlin12:45
*** yanyanhu has joined #senlin12:52
yanyanhuhi, guys, meeting will start in minutes in openstack-meeting channel12:52
yanyanhuhi, guys, meeting have started13:01
*** XueFengLiu has joined #senlin13:11
wllabsSenlin can improve scale-out operation so that it can add existing nodes to13:25
wllabsa cluster when doing scale-out. We are not intended to scale to nodes not13:25
wllabscreated by Senlin.13:25
wllabsAdoption of Nodes13:25
wllabs-----------------13:25
wllabsThere have been requirements on adopting existing resources (e.g. nova13:25
wllabsservers) to be managed by Senlin.13:25
wllabsWill support nova vm added to the Senlin cluster?13:26
*** yanyanhu has quit IRC13:35
XueFengLiuYes13:39
wllabsWe are not intended to scale to nodes not created by Senlin.   There have been requirements on adopting existing resources (e.g. nova servers) to be managed by Senlin.13:40
wllabsThese two sentences seem contradictory13:41
ruijie_e.g. We already have a VM to provide service before we using Senlin.14:02
*** XueFengLiu has quit IRC14:04
*** XueFengLiu has joined #senlin14:06
*** elynn has quit IRC15:36
*** Drago has joined #senlin15:56
*** jslater has quit IRC18:11
*** XueFengLiu has quit IRC18:28
*** Drago has quit IRC21:07
*** Drago has joined #senlin21:16
*** Jeffrey4l has quit IRC21:35
*** Jeffrey4l has joined #senlin21:48
*** catintheroof has quit IRC22:20

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