Friday, 2016-03-25

*** gongysh has quit IRC00:13
*** gongysh has joined #senlin00:19
*** Qiming has joined #senlin00:46
*** gongysh has quit IRC01:02
*** zzxwill has joined #senlin01:42
*** zzxwill has quit IRC01:49
*** zzxwill has joined #senlin01:52
openstackgerritMerged openstack/python-senlinclient: Add OSC command for senlin node-check/recover
openstackgerritMerged openstack/python-senlinclient: Add deprecation warnings for senlin commands
*** zzxwill_ has joined #senlin01:56
*** zzxwill has quit IRC01:57
*** zzxwill_ has quit IRC02:02
*** zzxwill has joined #senlin02:03
*** jdandrea has quit IRC02:23
openstackgerritQiming Teng proposed openstack/python-senlinclient: Refactor osc support
*** zzxwill has quit IRC02:33
*** zzxwill has joined #senlin02:41
*** yanyanhu has joined #senlin02:54
openstackgerritQiming Teng proposed openstack/python-senlinclient: Refactor osc support
*** yuanying_ has joined #senlin03:35
*** yuanying has quit IRC03:37
*** yuanying has joined #senlin03:38
*** yuanyin__ has joined #senlin03:40
*** yuanying_ has quit IRC03:40
*** yuanying has quit IRC03:43
*** yuanyin__ has quit IRC03:49
*** yuanying has joined #senlin03:51
*** yuanying has quit IRC03:59
*** zzxwill has quit IRC03:59
*** zzxwill has joined #senlin04:00
*** yuanying has joined #senlin04:02
*** shu-mutou is now known as shu-mutou-AFK04:05
*** yuanying has quit IRC04:07
*** zzxwill has quit IRC04:14
*** zzxwill has joined #senlin04:55
openstackgerritQiming Teng proposed openstack/python-senlinclient: Remove senlin CLI commands
Qiminghi, we are saying goodbye to senlin command line ...05:10
Qimingwith the patch above ^05:10
zzxwillWhy do we remove CLI?05:21
zzxwillSorry, I didn't get the reason from your comments of the patch.05:22
zzxwillThanks for the link:)05:25
Qimingit was just approved a few weeks ago05:25
Qimingsince this is the very first release of senlinclient05:26
Qimingwe don't want to still include the 'senlin' command line as deprecated and leave them there for two cycles for deprecation05:26
Qimingwe'd better off remove them since the very beginning05:27
*** zzxwill has quit IRC05:40
*** zzxwill has joined #senlin05:43
*** zzxwill has quit IRC05:54
*** zzxwill has joined #senlin06:09
*** zzxwill has quit IRC06:27
yanyanhuhi, Qiming around?06:36
*** zzxwill has joined #senlin06:37
yanyanhuopenstack-client is a cmd tool and it relies on the library provided by other python-**client projects, right?06:37
yanyanhuI found rally now uses clients rather than pure http API request to talk with other services06:38
yanyanhuok, I see06:39
Qimingit is still a stevedore thing06:39
yanyanhugot it06:39
Qimingrally is doing that?06:39
Qimingthat is different from tempest06:39
Qimingthe design philosophy of tempest, iirc, is to avoid using a per-project client06:39
Qimingbecause those per-project clients may hide some bugs06:40
Qimingthat is one of the reason they have tempest-lib plugin model06:40
yanyanhuok, in that case, I guess the only choice is openstack-sdk06:40
Qimingso ... seems to me, api test really should go tempest06:40
yanyanhusince openstacklient doesn't provide lib?06:40
Qimingbut scenario tests can go either way06:40
Qimingopenstackclient goes to per-project client also06:41
yanyanhuyes, rally is more for scenario/performance test I feel06:41
Qimingit WAS implemented that way06:41
yanyanhuit's not designed for API test06:41
Qimingthere have been some efforts migrating the code to use openstacksdk06:41
Qimingso, more accurate answer to your question would be ... openstackclient today is a mix06:42
yanyanhuso, ideally, openstacksdk should be the lib used by rally or tempest to talk with openstack services06:42
yanyanhulike what we are doing now in senlinclient06:42
yanyanhuok, I see06:42
Qimingthen the senlinclient's only purpose is to provide OSC plugins06:42
Qimingthose plugins use SDK06:43
yanyanhubut after openstackclient switch to openstack-sdk completely, we don't need senlinclient project :)06:43
Qimingsenlinclient doesn't have to expose a senlinclient.v1.client06:43
Qimingsenlinclient's only purpose is to provide OSC plugins06:43
yanyanhuok, but if so, we may not be able to implement senlin plugin for rally06:44
yanyanhuor we can use openstack-sdk06:44
Qimingeither way should work06:44
Qimingideally, all xxxclient should be deprecated except for the openstackclient which will talk to services via openstacksdk06:45
yanyanhuthat's the final goal06:45
Qimingbut: 1) openstacksdk still lacks a lot of resources ...06:45
Qiming2) some xxxclient is very dirty ... they have too much client side logics06:45
Qiminge.g. heatclient, doing 'get_file' parsing06:46
Qiminge.g. novaclient, doing imageref flavorref parsing ...06:46
*** yuanying has joined #senlin06:46
yanyanhuok. So now people are encouraged to use openstackclient CLI since the CLI in each individual xxxclients will be deprecated, e.g. those warnings thrower by keystone client06:47
Qimingit was a cross-project specs approved06:47
yanyanhubut for lib, we still don't have better choice rather than the ones provided by each xxxclient06:47
Qimingbut ... as always, there is a looooooooong way to go06:48
yanyanhusince sdk is not mature enough06:48
yanyanhuyes, that's true...06:48
Qimingsdk is still introducing some disruptive changes, that concerns me a lot06:48
Qimingwe can help 'supervise' those changes, and yell out if they don't make any senses06:49
yanyanhuso if we want to add rally plugin for senlin, the current choice is still python-senlinclient06:49
yanyanhujust as you said, 'senlinclient.v1.client'06:50
Qimingthat would be preferred06:50
*** zzxwill has quit IRC06:55
*** zzxwill has joined #senlin06:57
*** zzxwill has quit IRC07:03
openstackgerritQiming Teng proposed openstack/senlin: Rework senlin docs based on CLI changes
*** zzxwill has joined #senlin07:14
*** zzxwill has quit IRC07:24
*** zzxwill has joined #senlin07:26
*** zzxwill has quit IRC07:29
*** zzxwill has joined #senlin07:31
yanyanhuhi, Qiming, just added a blueprint for senlin support in rally,
yanyanhuplease help to review it, thanks07:39
Qimingso this will be committed to rally repo?07:40
yanyanhuto make it recognize senlin service and allow user to use rally to make some basic tests for senlin07:41
yanyanhue.g. cluster creating/deleting07:41
*** zzxwill has quit IRC07:55
yanyanhuhi, Qiming, about the API micro version support in Senlin, will the API requesting way change as well?07:59
Qimingno, there will be a openstack-api-version header in any request07:59
yanyanhuthat header is added by client?08:00
Qimingserver will check them08:00
Qimingsuch a header will be used if present08:00
yanyanhuok, so if this header is not provided, a default version API interface will be used08:01
yanyanhuI see08:01
Qiminglet me find some references for you08:02
Qimingstill struggling on the wsgi side changes08:04
Qimingthe nova way of wsgi implementation is not the same as senlin, a lot of hacks needed08:04
Qimingbtw, please everyone help review our changes to senlinclient08:06
Qimingjust talked to ttx about rebranching senlinclient08:06
Qiminghe is not very supportive, for good reasons, because they are the guardians of library releases08:06
QimingI'm gonna write an email to him and doug to explain the necessity to rebase senlinclient stable release08:07
yanyanhumaybe we postpone it to next cycle?08:07
Qimingthat means we will have to keep 'deprecated' warning for at least two cycles08:07
yanyanhuyes, that's terrible...08:07
Qimingit will bring us more troubles than any conveniences08:08
Qimingsince we already have OSC fully supported08:08
Qiminglet's strive to drop our own shell asap08:08
Qimingmy heart is bleeding ... when deleting those modules ...08:09
yanyanhuUnderstand, sorry for your lost. But it's good for people :P08:11
*** zzxwill has joined #senlin08:13
yanyanhujust like words in movie...  "this sacrifice is for entire human being"08:14
* Qiming is feeling speechless08:17
*** zzxwill has quit IRC08:27
openstackgerritMerged openstack/python-senlinclient: Refactor osc support
openstackgerritMerged openstack/python-senlinclient: Remove senlin CLI commands
openstackgerritQiming Teng proposed openstack/python-senlinclient: Rename cluster scaling command
*** zzxwill has joined #senlin08:35
Qimingyanyanhu, dixiaoli, please help review this ^08:35
Qimingthe command 'openstack cluster scale in --count 2' is weird08:36
QimingI'm proposing to rename it as 'openstack cluster shrink --count 2'08:36
yanyanhudirectly using 'openstack cluster scale-in --count 2'?08:37
Qimingno, openstackclient will substitute any '-' or '_' in the command08:37
QimingI tried 'openstack --help', there is no such a command containing '_' or '-'08:38
yanyanhuor maybe just scalein08:38
Qimingso having an 'in' in a command is very annoying, it can be interpreted as a shell reserved word, for example08:38
yanyanhuoh, the cli of senlinclient will be deprecated08:39
yanyanhuso user will not be aware of it in future08:39
yanyanhuforgot this08:39
yanyanhushrink is ok for me08:39
Qimingneither 'scalein' nor 'scaleout' is an English word08:39
QimingI'd like scale-in better, if it is supported08:40
yanyanhushrink looks look. but I'm not sure whether there is better choice than grow :)08:42
yanyanhumaybe we can get suggestion from cschulz :)08:43
Qimingtried search google and bing08:44
Qiminggrow seems the best choice to my knowledge08:44
QimingI also considered 'expand', 'increase', 'inflate' (vs. 'deflate') ...08:44
yanyanhuhow about enlarge?08:46
yanyanhubut it is similar to inflate?08:46
Qiminglet me try some other dictionaries08:52
Qimingmaybe expand is better08:56
openstackgerritQiming Teng proposed openstack/python-senlinclient: Rename cluster scaling command
Qimingenlarge is a transitive verb, rarely mentioned in any dicts08:59
*** zzxwill has quit IRC09:00
yanyanhuok, actually I just used youdao dict which is from net :)09:00
yanyanhunot that professinal09:00
Qimingit depends on context09:02
yanyanhuhi Qiming , the commit message need to be updated as well09:02
*** zzxwill has joined #senlin09:02
openstackgerritQiming Teng proposed openstack/python-senlinclient: Rename cluster scaling command
*** openstackstatus has joined #senlin09:09
*** ChanServ sets mode: +v openstackstatus09:09
*** zzxwill has quit IRC09:17
*** zzxwill has joined #senlin09:20
yanyanhuwill leave a little earlier today, ttyl09:23
*** yanyanhu has quit IRC09:23
*** lixinhui_ has joined #senlin09:24
openstackgerritMerged openstack/python-senlinclient: Rename cluster scaling command
*** zzxwill has quit IRC09:27
*** zzxwill has joined #senlin09:39
*** zzxwill has quit IRC09:39
openstackgerritQiming Teng proposed openstack/senlin: Rework senlin docs based on CLI changes
*** ddeja has quit IRC09:44
*** ddeja has joined #senlin09:44
*** Qiming has quit IRC10:03
*** Qiming has joined #senlin11:02
*** lixinhui_ has quit IRC11:47
openstackgerritQiming Teng proposed openstack/senlin: Add versioned method support
*** lixinhui_ has joined #senlin13:29
*** lixinhui_ has quit IRC14:08
*** jdandrea has joined #senlin15:41
*** Qiming has quit IRC16:20
*** dhellmann has quit IRC23:24

Generated by 2.14.0 by Marius Gedminas - find it at!