Tuesday, 2016-11-15

*** guoshan has joined #senlin00:41
*** guoshan has quit IRC00:45
*** catintheroof has quit IRC00:47
*** catintheroof has joined #senlin00:48
*** catintheroof has quit IRC00:52
*** ruijie has joined #senlin00:54
openstackgerritlvdongbing proposed openstack/senlin: API support for profile-list2  https://review.openstack.org/39705100:58
*** gongysh2 has quit IRC01:06
*** guoshan has joined #senlin01:21
*** yanyanhu has joined #senlin01:29
*** gongysh2 has joined #senlin01:29
*** zhurong has joined #senlin01:40
*** elynn has joined #senlin01:40
*** elynn has quit IRC01:45
*** elynn has joined #senlin01:45
Qiminghi, check this: https://review.openstack.org/#/c/39708201:46
Qimingif you are using latest version of openstacksdk and you are seeing JSONDecodeError, you may want to dump the e.response at line 77 in session.py01:46
Qimingwe need to know what was returned and why it is not a JSON01:47
elynnI revert back to 0.9.7 and now it works01:47
elynnJust curious why neutron error will impact cluster-list.01:48
Qimingno, it is not neutron error ...01:58
Qimingit is the patch01:59
Qimingread the logic of the patch I'm trying to revert, any exception other than 404 will be treated as an exception that contains a JSON body, which is untru01:59
Qimings/untru/untrue02:00
Qimingso I need your help to dump the e.response content and let us know the exact case where the reponse is not a JSON02:00
Qimingsee brian's comment to that patch: "Do you have any specific examples of how and where it's breaking things so that it can be redone properly?"02:01
Qimingwe need to be specific about the problem, why that change breaks senlin, and how we can improve/redo that patch02:01
openstackgerritMerged openstack/senlin: versioned obj support policy type get v2  https://review.openstack.org/39697602:05
elynnQiming, I will try to use the latest version and see what's going on.02:05
Qimingthanks!!02:06
*** zhurong has joined #senlin02:08
*** zhurong has quit IRC02:08
openstackgerritMerged openstack/senlin: engine service support policy-type-get2  https://review.openstack.org/39698002:13
openstackgerritMerged openstack/senlin: Fix unit test for policy_validate  https://review.openstack.org/39699502:13
openstackgerritMerged openstack/senlin: api layer support policy-type-get2  https://review.openstack.org/39699902:13
openstackgerritQiming Teng proposed openstack/senlin: Move approved spec into the 'approved dir  https://review.openstack.org/39747502:21
openstackgerritMerged openstack/senlin: API support for receiver_get2  https://review.openstack.org/39699102:25
openstackgerritMerged openstack/senlin: Engine support for profile-get2  https://review.openstack.org/39706802:25
openstackgerritMerged openstack/senlin: remove dead code about policy-type-get  https://review.openstack.org/39700002:25
openstackgerritMerged openstack/senlin: Use receiver_get2 in webhook middleware  https://review.openstack.org/39700902:25
openstackgerritMerged openstack/senlin: Remove dead code about receiver_get2  https://review.openstack.org/39699202:25
guoshan@XueFeng, thanks, following your temp solution, it works02:32
elynnQiming, when try to run e.response.json(), and then it breaks and show the trace.02:34
elynnseems ipdb didn't work at my env, it breaks but didn't accept inputs..02:34
Qimingelynn, a simple debugging could be just dump e.response.text ?02:36
elynnI will try02:36
Qimingusing a print statement would be okay02:36
*** Drago has quit IRC02:39
openstackgerritlvdongbing proposed openstack/senlin: Engine support for profile-list2  https://review.openstack.org/39700602:39
*** Drago has joined #senlin02:40
elynnQiming, I insert some print to openstacksdk/session.py02:41
elynnhttp://paste.openstack.org/show/589209/02:41
elynnAnd I got this http://paste.openstack.org/show/589207/ Qiming02:42
elynnSeems it return a web html02:42
Qimingyes, it is apache home page02:44
elynnIt's definitely not a json so calling json() will return decoded error.02:44
QimingThe message is 'Forbidden', so the text is meaningless02:44
Qimingit is already in an exception context ...02:45
Qimingwhat is the ex.http_status ?02:45
elynnlet me see02:46
Qimingforbidden is a 403 exception ...02:47
elynnyes, it's a 40302:47
elynnNot sure why I got this error when running cluster-list but it cause the failure.02:47
elynnIf I comment e.response.json() and let it pass02:49
elynnI can list cluster.02:49
*** yuanying has quit IRC02:51
Qimingem ...02:51
Qimingso ... seems this e.response.json() thing is breaking the version negotiation02:52
Qimingelynn, I think I know the reason now02:53
Qiminghttp://paste.openstack.org/show/589129/02:53
Qimingthis is the log dumped ...02:54
Qimingwhen sdk session was trying to GET different path for a guess of version support, it is expecting some exceptions if the version info is not there02:54
Qiminghowever, the exception handling logic must be robust enough for this to work, it cannot naively suppose that the response contains a JSON02:55
elynnoh..02:55
elynnI see...02:55
Qimingit is causing an exception inside an exception, where the original exception (403) was supposed to be handled here: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/openstack/session.py#n16702:56
elynnseems they call ison() too early.02:58
Qimingyes02:58
Qimingthat is a bad patch02:59
Qimingshould be reverted02:59
Qimingself approved03:00
elynn: D03:01
Qimingadded log trace and analysis, won't be a problem now03:01
Qiminghowever ...03:02
Qimingcheck this: http://git.openstack.org/cgit/openstack/python-openstacksdk/log/03:02
openstackgerritlvdongbing proposed openstack/senlin: API support for profile-get2  https://review.openstack.org/39749303:02
Qimingit means 0.9.9 is not usable ...03:03
Qimingwe can propose a !=0.9.9 to global requirements03:03
Qimingbut that would mean the patches since 0.9.8 would all become not usable03:03
elynnmaybe ping brian and release new one ?03:04
Qimingthe best thing we can try would be 0.9.803:05
Qimingpinging03:05
Qimingseems he is not online03:05
elynnLong term we need to figure out a way to add senlin tests into openstacksdk... at least for api tests03:05
Qimingyes, sdk does have functional tests03:06
Qimingbut we don't have any there03:06
Qiminghttp://git.openstack.org/cgit/openstack/python-openstacksdk/tree/openstack/tests/functional03:06
Qimingand ... we have something not yet completed here: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/doc/source/users/guides/cluster03:07
elynntotal 4 tests in it : ) too few to cover all cases03:07
elynnLong way to go.. wish I could have more time03:08
Qiming3203:08
Qimingbrian is online, :)03:12
Qiminghe is helping create a new release03:12
Qiming\o/03:12
elynnNice!03:12
*** zzxwill has joined #senlin03:22
Qimingpatch proposed to global requirements: https://review.openstack.org/39751003:26
Qiminghopefully it will be approved soon03:26
*** yuanying has joined #senlin03:39
*** yuanying has quit IRC03:45
*** yuanying has joined #senlin03:49
openstackgerritMerged openstack/senlin: Engine support for profile-list2  https://review.openstack.org/39700603:50
*** guoshan has quit IRC03:54
*** elynn_ has joined #senlin03:54
*** elynn has quit IRC03:57
*** elynn_ has quit IRC03:59
*** elynn_ has joined #senlin03:59
*** zzxwill has quit IRC03:59
*** Drago has quit IRC04:03
*** elynn__ has joined #senlin04:05
*** zzxwill has joined #senlin04:06
*** elynn_ has quit IRC04:06
*** elynn_ has joined #senlin04:10
*** zzxwill has quit IRC04:11
*** elynn__ has quit IRC04:14
*** elynn_ has quit IRC04:38
*** guoshan has joined #senlin04:45
*** guoshan has quit IRC04:49
*** elynn_ has joined #senlin05:18
*** elynn_ has quit IRC05:22
*** elynn_ has joined #senlin05:23
*** guoshan has joined #senlin05:39
*** elynn has joined #senlin05:42
*** elynn_ has quit IRC05:43
*** guoshan has quit IRC05:44
*** guoshan has joined #senlin06:22
*** elynn has quit IRC06:27
*** yanyanhu has quit IRC06:33
*** yanyanhu has joined #senlin06:35
openstackgerritQiming Teng proposed openstack/senlin: Fix environment unit test  https://review.openstack.org/39755507:37
openstackgerritRUIJIE YUAN proposed openstack/senlin: fields support policy-type-list2  https://review.openstack.org/39756508:07
openstackgerritRUIJIE YUAN proposed openstack/senlin: engine service support policy-type-list2  https://review.openstack.org/39756908:22
*** elynn has joined #senlin08:24
openstackgerritMerged openstack/senlin: Add support to have Senlin API run under Apache  https://review.openstack.org/39550008:24
*** shu-mutou is now known as shu-mutou-AWAY08:27
openstackgerritlvdongbing proposed openstack/senlin: Use common function 'configure_auth_token_middleware'  https://review.openstack.org/39757508:37
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758308:45
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758308:46
openstackgerritxu-haiwei proposed openstack/senlin: Add container profile infor to cluster dependents  https://review.openstack.org/39601608:46
openstackgerritRUIJIE YUAN proposed openstack/senlin: api support policy-type-list2  https://review.openstack.org/39759109:00
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove dead code about policy-type-list  https://review.openstack.org/39759509:07
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove some useless rpc code  https://review.openstack.org/39759709:10
guoshanthe doc http://docs.openstack.org/developer/senlin/user/scenarios/autoscaling_heat.html, there is url heat_template returns 40409:16
*** openstackgerrit has quit IRC09:18
*** openstackgerrit has joined #senlin09:19
*** ChanServ sets mode: +v openstackgerrit09:19
openstackgerritMerged openstack/python-senlinclient: Add filters "policy_type" and "policy_name" for policy binding list  https://review.openstack.org/38850909:35
ruijieI can open that page, guoshan09:35
*** elynn has quit IRC09:39
*** elynn has joined #senlin09:39
*** elynn has quit IRC09:44
*** elynn has joined #senlin09:44
guoshanyes, this page is reachable, in this page there is a link inside( heat template) returns 40409:47
guoshanyou can search for "heat template" in this page09:47
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39537709:48
openstackgerritRUIJIE YUAN proposed openstack/senlin: fix policy-list2 error  https://review.openstack.org/39762609:50
*** elynn_ has joined #senlin09:55
*** elynn has quit IRC09:56
*** yanyanhu has quit IRC10:13
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39537710:14
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/39765010:15
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Add "cluster_id" column to  `openstack cluster event list`  https://review.openstack.org/39765510:24
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758310:37
XueFeng@guoshan, you mean this page? http://docs.openstack.org/developer/senlin/user/scenarios/ex_lbas.yaml10:47
XueFengMaybe we should change tfile name to "ex_lbas.rst"10:49
XueFengs/tfile/file10:50
*** elynn_ has quit IRC10:51
*** guoshan has quit IRC10:52
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Add "cluster_id" column to  `openstack cluster event list`  https://review.openstack.org/39765511:12
*** miaohb has joined #senlin11:12
miaohbhelp11:15
*** guoshan has joined #senlin11:21
*** guoshan has quit IRC11:26
miaohbXueFeng hi11:31
*** ruijie has quit IRC11:40
XueFenghi, it's ok:)11:43
*** zhurong has joined #senlin11:51
*** zhurong has quit IRC11:59
miaohb+112:01
*** miaohb has quit IRC12:03
*** zhurong has joined #senlin12:04
*** zhurong has quit IRC12:14
*** zhurong has joined #senlin12:15
*** guoshan has joined #senlin12:16
*** guoshan has quit IRC12:20
*** catintheroof has joined #senlin12:28
*** XueFeng has quit IRC12:44
*** lvdongbing has joined #senlin12:52
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/39765012:54
*** yanyanhu has joined #senlin12:55
*** lixinhui has joined #senlin12:57
openstackgerritKenji Ishii proposed openstack/senlin-dashboard: angularize cluster tables  https://review.openstack.org/39773012:59
yanyanhuhi, guys, meeting will start soon12:59
*** elynn has joined #senlin13:01
*** XueFeng has joined #senlin13:02
*** lvdongbing has quit IRC13:07
*** guoshan has joined #senlin13:10
*** zhurong has quit IRC13:14
*** guoshan has quit IRC13:14
*** lixinhui has quit IRC13:28
*** Ruijie has joined #senlin13:58
*** guoshan has joined #senlin14:04
*** elynn has quit IRC14:05
*** guoshan has quit IRC14:08
*** yanyanhu has quit IRC14:14
openstackgerritXueFeng Liu proposed openstack/senlin: Add request object for event-list  https://review.openstack.org/39758314:50
*** Drago1 has joined #senlin14:51
*** Drago1 has quit IRC14:55
*** guoshan has joined #senlin14:58
*** Drago1 has joined #senlin15:01
*** Ruijie has quit IRC15:01
*** guoshan has quit IRC15:02
*** openstackgerrit has quit IRC15:48
*** openstackgerrit has joined #senlin15:49
*** ChanServ sets mode: +v openstackgerrit15:49
*** guoshan has joined #senlin15:52
*** guoshan has quit IRC15:57
*** Drago1 is now known as Drago16:02
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Support  "global_project" arguments for action-list  https://review.openstack.org/39780516:12
*** XueFeng has quit IRC16:30
*** guoshan has joined #senlin16:46
*** guoshan has quit IRC16:50
*** guoshan has joined #senlin17:40
*** guoshan has quit IRC17:45
*** guoshan has joined #senlin18:34
*** guoshan has quit IRC18:38
*** guoshan has joined #senlin19:28
*** guoshan has quit IRC19:33
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/39792019:59
*** Drago has quit IRC20:17
*** Drago has joined #senlin20:18
*** Drago has quit IRC20:22
*** guoshan has joined #senlin20:23
*** guoshan has quit IRC20:27
*** Drago has joined #senlin20:31
*** guoshan has joined #senlin21:17
*** guoshan has quit IRC21:21
*** guoshan has joined #senlin22:11
*** guoshan has quit IRC22:15
*** catinthe_ has joined #senlin22:18
*** catintheroof has quit IRC22:21
*** catintheroof has joined #senlin22:35
*** catinthe_ has quit IRC22:36
*** guoshan has joined #senlin23:05
*** guoshan has quit IRC23:09
*** catintheroof has quit IRC23:52
*** catintheroof has joined #senlin23:54
*** catintheroof has quit IRC23:58
*** guoshan has joined #senlin23:59

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