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  https://review.openstack.org/29511401:55
openstackgerritMerged openstack/python-senlinclient: Add deprecation warnings for senlin commands  https://review.openstack.org/29511501:55
*** 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  https://review.openstack.org/29749202:33
*** zzxwill has quit IRC02:33
*** zzxwill has joined #senlin02:41
*** yanyanhu has joined #senlin02:54
openstackgerritQiming Teng proposed openstack/python-senlinclient: Refactor osc support  https://review.openstack.org/29749203:09
*** 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  https://review.openstack.org/29751405:10
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
Qimingzzxwill, http://specs.openstack.org/openstack/openstack-specs/specs/deprecate-cli.html05:23
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+105:27
zzxwill:)05: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
Qimingyes06:38
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
yanyanhuyes06: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
yanyanhuyea06: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
Qimingideally06: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
yanyanhuyes06: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
yanyanhuyes06:48
Qimingwe can help 'supervise' those changes, and yell out if they don't make any senses06:49
yanyanhuok06: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
Qimingyes06:50
Qimingthat would be preferred06:50
yanyanhuunderstand06:51
*** 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  https://review.openstack.org/29755207:11
*** 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, https://blueprints.launchpad.net/rally/+spec/add-support-for-clustering-service-senlin07:39
yanyanhuplease help to review it, thanks07:39
Qiminglooking07:39
Qimingso this will be committed to rally repo?07:40
yanyanhuyes07:40
Qimingok07: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
Qimingokay07: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
yanyanhuok08:00
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
Qimingyes08:01
yanyanhuI see08:01
Qiminglet me find some references for you08:02
Qiminghttps://review.openstack.org/#/c/243414/08:02
Qiminghttps://review.openstack.org/#/c/243429/08:02
Qiminghttps://review.openstack.org/#/c/243041/08:02
yanyanhunice08:03
yanyanhuthanks08:03
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
yanyanhuok08:07
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
yanyanhuok08: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  https://review.openstack.org/29749208:30
openstackgerritMerged openstack/python-senlinclient: Remove senlin CLI commands  https://review.openstack.org/29751408:30
openstackgerritQiming Teng proposed openstack/python-senlinclient: Rename cluster scaling command  https://review.openstack.org/29757208:35
*** 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
yanyanhuoh08: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
Qimingyep08:46
Qiminglet me try some other dictionaries08:52
Qimingmaybe expand is better08:56
openstackgerritQiming Teng proposed openstack/python-senlinclient: Rename cluster scaling command  https://review.openstack.org/29757208:58
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
yanyanhus/net/netyi09:01
Qimingit depends on context09:02
yanyanhuhi Qiming , the commit message need to be updated as well09:02
Qimingokay09:02
*** zzxwill has joined #senlin09:02
openstackgerritQiming Teng proposed openstack/python-senlinclient: Rename cluster scaling command  https://review.openstack.org/29757209:02
*** 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
Qimingbb09:23
*** yanyanhu has quit IRC09:23
*** lixinhui_ has joined #senlin09:24
openstackgerritMerged openstack/python-senlinclient: Rename cluster scaling command  https://review.openstack.org/29757209:26
*** 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  https://review.openstack.org/29755209:43
*** 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  https://review.openstack.org/29763911:48
*** 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 irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!