Monday, 2015-11-16

*** lvdongbing has joined #senlin00:31
openstackgerritxu-haiwei proposed openstack/senlin: Fix SDK exception message parse  https://review.openstack.org/24395900:42
openstackgerritMerged openstack/senlin: Correct set the default value for min_size/max_size  https://review.openstack.org/24501100:47
*** pm90_ has quit IRC01:03
*** pm90_ has joined #senlin01:27
*** zhenguo has quit IRC01:36
*** pm90_ has quit IRC01:41
*** zhenguo has joined #senlin01:43
*** shu has joined #senlin01:48
*** Yanyanhu has joined #senlin01:59
*** elynn has joined #senlin02:01
openstackgerritxu-haiwei proposed openstack/senlin: Fix SDK exception message parse  https://review.openstack.org/24395902:04
openstackgerritMerged openstack/senlin: Fix SDK exception message parse  https://review.openstack.org/24395902:47
*** Qiming has joined #senlin02:55
Qimingmorning03:01
Yanyanhumorning03:01
Yanyanhuin NYC now  :)03:01
xuhaiweia happy journey03:02
Qimingyes03:04
Yanyanhuhave you got the chance to talk with Julio03:05
Yanyanhuhe was expecting your visit :)03:05
Qimingeverything was ... cursory03:07
Qimingyep, we met, also with Matt and Sandy03:07
Yanyanhuyea, most time in travel or in the progress of preparation for travel03:09
Yanyanhuso you will stay in ny for 2 days?03:09
*** lvdongbing has quit IRC03:31
*** lvdongbing has joined #senlin03:34
*** Qiming has quit IRC03:40
*** Qiming has joined #senlin03:40
*** Qiming has quit IRC03:42
*** Qiming has joined #senlin03:44
*** Qiming_ has joined #senlin03:54
*** gongysh has joined #senlin03:55
*** Qiming has quit IRC03:57
Qiming_very hungry, but got nothing to eat04:07
Qiming_sigh ...04:07
Qiming_should not chose this place to stay, it is in the middle of nowhere04:08
xuhaiweiyou should take some bread with you when you are outside of China04:08
xuhaiweinot including Japan04:09
xuhaiweiQiming, about sending mail to api-wg, is there already a thread about the API response format? I didn't find it04:15
Qiming_one minute04:16
Qiming_https://review.openstack.org/#/c/167793/04:17
elynno/04:23
*** Qiming_ has quit IRC04:31
*** shu has quit IRC04:44
*** shu has joined #senlin04:45
*** xuhaiwei has quit IRC04:58
*** elynn has quit IRC05:20
openstackgerritEthan Lynn proposed openstack/senlin: Pick up Lock Break from TODO items  https://review.openstack.org/24447105:38
openstackgerritEthan Lynn proposed openstack/senlin: Pick up Lock Breaker from TODO items  https://review.openstack.org/24447105:40
*** xuhaiwei has joined #senlin05:41
openstackgerritYanyan Hu proposed openstack/senlin: [WIP]Enable initiative action selecting in start_action  https://review.openstack.org/24402605:59
*** elynn has joined #senlin06:10
*** lvdongbing has quit IRC06:36
*** hightall has joined #senlin06:43
*** elynn_ has joined #senlin06:53
*** elynn_ has quit IRC07:09
*** elynn_ has joined #senlin07:11
*** zhenguo has quit IRC07:15
*** zhenguo has joined #senlin07:19
*** Qiming_ has joined #senlin07:49
openstackgerritYanyan Hu proposed openstack/senlin: Import correct DB api model for unit test  https://review.openstack.org/24565307:52
Qiming_got up07:52
Qiming_cannot sleep07:52
xuhaiweiwhat about answering a question? Qiming_08:00
Yanyanhuhi, Qiming_08:00
Qiming_ok08:00
elynn_morning Qiming_08:01
xuhaiweistill remember this patch? https://review.openstack.org/#/c/225560/208:01
Qiming_yes08:01
Qiming_yes, very morning, 3:02 am08:02
YanyanhuQiming_, tough day...08:03
Qiming_yip08:04
xuhaiweiwe want to change response code, so when 202 is returned, the body becomes {}08:04
xuhaiweibut after 'create' action, we still want to show the object08:05
Qiming_we want to change response code?08:05
xuhaiweiyes, as we discussed, we want to change 200 to 202 for 'create' action08:05
Qiming_that patch was because Heat is returning 20208:05
Qiming_so you are not talking about that patch08:06
xuhaiweiheat stack update?08:06
Qiming_it is about senlin's return code?08:06
xuhaiweiyes08:06
xuhaiweithe line 269   if resp.status_code == 202:   will make the body empty08:08
Qiming_... which file are you talking about?08:10
xuhaiweisorry08:10
Qiming_you were pointing me to the heat stack update code in sdk08:10
xuhaiweiopenstack/transport.py08:10
*** hightall has quit IRC08:11
xuhaiweihttps://github.com/openstack/python-openstacksdk/blob/master/openstack/transport.py#L26908:11
Qiming_okay08:12
Qiming_see what you are saying08:12
Qiming_if the resp.status_code is 202, the client side can choose to issue a GET call08:12
Qiming_in that GET call, it will get the object representation08:12
Qiming_in an ideal implementation, the 202 response should carry a location field (as api-wg suggested) in header08:13
openstackgerritMerged openstack/senlin: Pick up Lock Breaker from TODO items  https://review.openstack.org/24447108:13
Qiming_using that header, the client side would be able to get the latest object status08:14
Qiming_it is a "stupid" process, but it is the only correct way to handle async object operations08:15
xuhaiweicurrently, when I changed 200 to 202 in 'create' action, the next 'get' action will fail, because it can't get the object's id08:16
xuhaiweitake cluster_create action for an example08:17
Qiming_that is because the previous 202 didn't return a location for you08:17
xuhaiweiI think so08:17
xuhaiweithe location is in the body ,right?08:17
Qiming_please read the spec08:17
Qiming_we want to be conformant to the spec, which means we have to check it through08:18
Qiming_http://git.openstack.org/cgit/openstack/api-wg/tree/guidelines/http.rst#n10508:18
Qiming_got what I mean?08:19
xuhaiweigot it I think08:19
xuhaiweiso the header change should be done in SDK?08:20
Qiming_no, the server should do it08:20
xuhaiweiok, I will try it08:20
Qiming_SDK is not supposed to manipulate the response header08:20
Qiming_yep, please08:20
elynn_Hi Qiming_, do you have time to bump senlinclient version?08:37
*** lvdongbing has joined #senlin08:38
Qiming_need a vnc access to do that08:42
elynn_ok...08:43
elynn_do you need any jump machine?08:43
Qiming_no08:43
Qiming_[tengqm@node1 python-senlinclient]$ git push gerrit 0.1.508:53
Qiming_Counting objects: 1, done.08:53
Qiming_Writing objects: 100% (1/1), 540 bytes | 0 bytes/s, done.08:53
Qiming_Total 1 (delta 0), reused 0 (delta 0)08:53
Qiming_remote: Processing changes: refs: 1, done08:53
Qiming_To https://tengqm:ZcK4qjpWkuIY@review.openstack.org/openstack/python-senlinclient.git08:53
Qiming_ * [new tag]         0.1.5 -> 0.1.508:53
Qiming_just bumped08:53
Qiming_will appear some time later on pypi08:53
Qiming_then you can propose a version bump on global requirements08:53
elynn_cool, thanks!08:53
elynn_yes, I will.08:53
openstackgerritYanyan Hu proposed openstack/senlin: Move action status definition to consts module  https://review.openstack.org/24566709:13
*** Qiming_ has quit IRC09:14
*** lvdongbing has quit IRC09:36
openstackgerritEthan Lynn proposed openstack/senlin: Add engine_alive for engine status check  https://review.openstack.org/24348309:47
openstackgerritYanyan Hu proposed openstack/senlin: Move action status definition to consts module  https://review.openstack.org/24566709:55
*** zhenguo has quit IRC09:58
*** Yanyanhu has quit IRC10:07
*** openstackgerrit has quit IRC10:16
*** openstackgerrit has joined #senlin10:17
*** elynn has quit IRC10:45
*** Liuqing has joined #senlin11:23
*** gongysh has quit IRC11:26
*** elynn_ has quit IRC11:27
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/24525511:50
*** Qiming_ has joined #senlin12:04
*** Qiming_ has quit IRC12:14
*** Qiming_ has joined #senlin12:15
*** zhenguo has joined #senlin12:22
*** Qiming_ has quit IRC12:30
*** elynn_ has joined #senlin12:47
*** openstack has joined #senlin12:51
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: The profile spec should be readonly while updating profile  https://review.openstack.org/24575313:06
*** lvdongbing has joined #senlin13:08
*** lvdongbing has quit IRC13:10
*** lvdongbing has joined #senlin13:10
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Add link for physical id  https://review.openstack.org/24575613:15
*** pm90_ has joined #senlin13:15
*** lvdongbing has quit IRC13:19
*** lvdongbing has joined #senlin13:20
*** lvdongbing has quit IRC13:21
*** Liuqing has quit IRC13:29
*** Liuqing has joined #senlin13:29
*** lkarm has joined #senlin13:51
*** Qiming_ has joined #senlin14:02
*** Qiming_ has quit IRC14:07
*** zhenguo has quit IRC14:08
*** Qiming_ has joined #senlin14:11
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/24525514:19
*** pm90__ has joined #senlin14:42
*** pm90_ has quit IRC14:44
*** jdandrea has joined #senlin14:45
*** Qiming_ has quit IRC15:09
*** Qiming_ has joined #senlin15:20
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Support creating policy  https://review.openstack.org/24582415:24
*** Qiming_ has quit IRC15:24
*** pm90__ is now known as pratikmallya15:26
*** Liuqing has quit IRC15:29
*** pratikmallya has quit IRC15:34
*** pratikmallya has joined #senlin15:41
*** pratikmallya has quit IRC16:05
*** Qiming_ has joined #senlin16:16
*** Qiming_ has quit IRC16:21
*** pratikmallya has joined #senlin16:31
*** pratikma_ has joined #senlin16:33
*** pratikmallya has quit IRC16:36
*** Qiming_ has joined #senlin16:45
*** Qiming_ has quit IRC16:58
*** elynn_ has quit IRC16:59
*** lkarm has quit IRC17:27
*** lkarm has joined #senlin17:28
*** lkarm has quit IRC17:32
*** Qiming has joined #senlin18:29
*** lkarm has joined #senlin18:36
*** lkarm has quit IRC18:40
*** Qiming has quit IRC18:41
*** Qiming has joined #senlin18:49
*** Qiming has quit IRC18:54
*** pratikma_ is now known as pratikmallya19:00
*** Qiming has joined #senlin19:59
*** lkarm has joined #senlin20:05
*** Qiming has quit IRC20:05
*** pratikmallya has quit IRC21:25
*** Qiming has joined #senlin21:37
*** pratikmallya has joined #senlin21:38
*** pratikma_ has joined #senlin21:39
*** pratikmallya has quit IRC21:43
*** pratikma_ has quit IRC21:45
*** Qiming has quit IRC21:45
*** pratikmallya has joined #senlin22:17
*** pratikma_ has joined #senlin22:18
*** pratikmallya has quit IRC22:18
*** pratikmallya has joined #senlin22:19
*** pratikma_ has quit IRC22:22
*** lkarm has quit IRC23:06
*** lkarm has joined #senlin23:07
*** lkarm has quit IRC23:11
*** Qiming has joined #senlin23:27

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