*** shu-mutou has joined #senlin | 00:27 | |
*** zhurong has joined #senlin | 01:05 | |
*** guoshan has joined #senlin | 01:17 | |
*** XueFeng has quit IRC | 01:49 | |
*** ruijie has quit IRC | 02:06 | |
*** ruijie has joined #senlin | 02:11 | |
*** ruijie_ has joined #senlin | 02:13 | |
*** ruijie has quit IRC | 02:16 | |
*** guoshan has quit IRC | 02:42 | |
openstackgerrit | Merged openstack/senlin master: Revise receiver user doc https://review.openstack.org/441783 | 02:48 |
---|---|---|
*** yuanying_ has joined #senlin | 02:49 | |
*** yuanying has quit IRC | 02:49 | |
*** guoshan has joined #senlin | 03:15 | |
*** guoshan has quit IRC | 04:02 | |
*** XueFeng has joined #senlin | 04:54 | |
*** guoshan has joined #senlin | 05:03 | |
*** guoshan has quit IRC | 05:08 | |
*** XueFeng has quit IRC | 05:22 | |
*** XueFeng has joined #senlin | 05:22 | |
*** Jeffrey4l has quit IRC | 05:52 | |
*** Jeffrey4l has joined #senlin | 05:56 | |
*** guoshan has joined #senlin | 06:03 | |
*** guoshan has quit IRC | 06:08 | |
*** guoshan has joined #senlin | 06:10 | |
openstackgerrit | AlexYang proposed openstack/senlin master: Fix a command error in doc, profile name missed https://review.openstack.org/442284 | 06:22 |
ruijie_ | Hi Qiming, around ? | 06:46 |
*** XueFeng has quit IRC | 06:51 | |
Qiming | yes | 07:02 |
ruijie_ | http://git.openstack.org/cgit/openstack/senlin/tree/senlin/objects/base.py#n106 | 07:05 |
ruijie_ | the data in payload will be senlin_object.name or senlin_object.data | 07:05 |
ruijie_ | is it possible to change it to senlin_object_name or something? | 07:06 |
Qiming | no | 07:06 |
ruijie_ | okay .. | 07:06 |
Qiming | it is senlin_object.data | 07:06 |
Qiming | actually, it should be 'versioned_object.data' | 07:06 |
Qiming | we found a bug in oslo.versioned_objects | 07:07 |
Qiming | but ... no a lot projects are using it, so no complaints received | 07:07 |
ruijie_ | just it is really to deserialize it ... | 07:07 |
ruijie_ | hard | 07:08 |
Qiming | right | 07:08 |
Qiming | it is too verbose, a lot of garbage could be cleansed | 07:09 |
ruijie_ | http://paste.openstack.org/show/601699/ | 07:09 |
Qiming | it is for this reason, kubernetes invented their own protobuf protocol, they are abandoning JSON | 07:09 |
ruijie_ | this is the data we dumped .. it's hard to deserialize it to a POJO | 07:09 |
Qiming | I know nothing about POJO | 07:10 |
Qiming | the first thing you will lookat is payload | 07:10 |
Qiming | then the senlin_object.namespace and senlin_object.version for verification | 07:10 |
Qiming | then senlin_object.name for the actual payload | 07:11 |
Qiming | then you parse the senlin_object.data using the name you obtained | 07:11 |
ruijie_ | yes Qiming. And another thing is about the exception payload | 07:13 |
ruijie_ | we are not using it now | 07:13 |
Qiming | yep | 07:14 |
Qiming | Not quite sure we should remove it or not | 07:16 |
Qiming | for downstream consumers, exceptions are not that interesting I guess, unless they are doing some problem analysis | 07:16 |
ruijie_ | agreed Qiming. that may not that important | 07:17 |
ruijie_ | But we may need to parse SDK exceptions better .. | 07:18 |
Qiming | we have tried our best to parse those exceptions | 07:19 |
Qiming | we were doing some exception type conversions when propogating them to upper layers | 07:19 |
Qiming | but we are not losing the original error message | 07:19 |
Qiming | have you found any leaking cases? | 07:20 |
ruijie_ | I killed heat .. | 07:23 |
ruijie_ | I saw the wrap for translating exceptions | 07:23 |
Qiming | em ... if heat is killed | 07:25 |
Qiming | sdk cannot figure out it was killed | 07:25 |
Qiming | it can only tell you it is not found | 07:26 |
Qiming | we can improve that from SDK side | 07:26 |
Qiming | if it is about a service endpoint, we emit some custom message | 07:26 |
Qiming | or if it is really about a resource (e.g. stack) from a service (say heat), we emit resource not found message | 07:27 |
ruijie_ | yes Qiming. that makes sense :) | 07:30 |
ruijie_ | thanks Qiming, will keep looking at it | 07:31 |
Qiming | np | 07:31 |
Qiming | it would be very helpful if you file a bug at sdk side and paste the current exception message you get | 07:33 |
Qiming | let me know the bug number, I'll try if I can fix it | 07:33 |
*** Jeffrey4l_ has joined #senlin | 08:30 | |
*** Jeffrey4l has quit IRC | 08:34 | |
*** Jeffrey4l_ has quit IRC | 08:37 | |
*** Jeffrey4l_ has joined #senlin | 08:38 | |
*** XueFeng has joined #senlin | 08:56 | |
ruijie_ | em.. Qiming, I checked that, actually the SDK raised an SDKException. We do handle that. my bad :( | 09:44 |
wllabs | i want a new job | 09:45 |
wllabs | i am free now | 09:46 |
*** shu-mutou is now known as shu-mutou-AWAY | 09:49 | |
Qiming | okay, ruijie_ | 10:00 |
Qiming | wllabs, did you try easystack, 99cloud, awcloud, ucloud etc ? | 10:00 |
Jeffrey4l_ | wllabs, you are welcome to join 99cloud ;) | 10:01 |
wllabs | Tomorrow from home to Beijing, looking for work | 10:02 |
wllabs | how is the salary on 99cloud? | 10:03 |
wllabs | lost jobs status | 10:03 |
Jeffrey4l_ | it depends on your skill. | 10:03 |
Jeffrey4l_ | if you wanna try, i can forward your resume to my boss ;) | 10:04 |
*** guoshan has quit IRC | 10:05 | |
wllabs | A few days to find you | 10:05 |
Jeffrey4l_ | wllabs, np. you can send email to me: zhang.lei.fly@gmail.com | 10:06 |
wllabs | manager? | 10:06 |
wllabs | you | 10:06 |
Jeffrey4l_ | me | 10:06 |
Jeffrey4l_ | this mail is mine. and i am not manager. | 10:07 |
wllabs | Do other companies want me? | 10:10 |
*** wllabs has quit IRC | 10:24 | |
*** openstackgerrit has quit IRC | 10:33 | |
ruijie_ | - -... | 12:23 |
*** catintheroof has joined #senlin | 12:24 | |
*** elynn has joined #senlin | 12:37 | |
*** zhurong has quit IRC | 12:45 | |
*** elynn has quit IRC | 12:55 | |
*** openstackgerrit has joined #senlin | 13:05 | |
*** ChanServ sets mode: +v openstackgerrit | 13:05 | |
openstackgerrit | Merged openstack/senlin master: Fix a command error in doc, profile name missed https://review.openstack.org/442284 | 13:05 |
*** elynn_ has joined #senlin | 13:06 | |
*** elynn_ has quit IRC | 13:20 | |
*** zhurong has joined #senlin | 13:36 | |
*** zhurong has quit IRC | 14:16 | |
*** ruijie__ has joined #senlin | 14:55 | |
*** ruijie_ has quit IRC | 14:58 | |
*** ruijie_ has joined #senlin | 15:22 | |
*** ruijie__ has quit IRC | 15:26 | |
*** Jeffrey4l_ has quit IRC | 21:34 | |
*** Jeffrey4l_ has joined #senlin | 21:37 | |
*** catintheroof has quit IRC | 22:41 | |
*** catintheroof has joined #senlin | 22:42 | |
*** catintheroof has quit IRC | 22:47 | |
*** catintheroof has joined #senlin | 23:32 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!