Tuesday, 2016-04-05

*** Qiming has joined #senlin01:07
*** zzxwill has joined #senlin01:25
*** zzxwill has left #senlin01:36
*** zzxwill has joined #senlin01:36
*** yanyanhu has joined #senlin01:55
*** elynn has joined #senlin02:14
*** elynn has quit IRC02:19
*** elynn has joined #senlin02:24
yanyanhuhi, Qiming, around?02:49
Qimingyes02:49
yanyanhusince we are applying this patch to use new enginefacade, https://review.openstack.org/#/c/300089/02:49
yanyanhuinput parameter context looks like unnecessary for most DB api interfaces?02:50
Qimingit still needs some clean up02:50
yanyanhuyes02:50
Qimingneed some understandings about the context_manager thing and ...02:50
Qimingthere are functions not that interesting now ... e.g. model_query02:51
Qimingbut anyway, this is a very important step02:51
Qimingmaking things parallelisible02:51
yanyanhuI see02:52
openstackgerritMerged openstack/senlin: Use the new enginefacade from oslo.db  https://review.openstack.org/30008902:54
yanyanhuQiming, BTW, the first patch in rally side looks ready now, https://review.openstack.org/29810902:54
yanyanhubut I really didn't get what Roman means in the comment...02:54
yanyanhuI guess they need to do some tests to decide what will be the next step?02:55
yanyanhuto add plugin for senlin or adding some example test jobs of senlin02:55
Qimingguess so02:56
Qiminglooking at the patch02:56
yanyanhubut in my opinion, jobs don't work without plugin support...02:56
yanyanhuok, thx02:56
Qimingwhy senlinclient is in optional-requirements?02:56
yanyanhunot sure, I guess they don't want to have strict dependency on senlinclient02:57
yanyanhuso they suggested to add this requirement into optional-requirements rather than requirements02:57
Qimingokay, so Roman's comment03:01
Qimingseems the only thing we can do, at the moment, is waiting03:02
yanyanhuI guess so...03:03
yanyanhuanyway, I'm working on senlin plugin. Hope can make some basic tests locally after that jobs is done03:04
*** elynn_ has joined #senlin03:14
elynn_Morning03:31
*** elynn_ has quit IRC04:29
*** elynn_ has joined #senlin04:53
*** elynn_ has quit IRC04:59
*** elynn_ has joined #senlin04:59
openstackgerritMerged openstack/senlin: Remove duplicated keys in the dict  https://review.openstack.org/30093205:34
*** elynn__ has joined #senlin06:49
*** elynn_ has quit IRC06:49
xuhaiweihi Qiming07:07
Qimingyes07:12
xuhaiweiI have succeeded in /create/delete/list containers from a node using Senlin command, the next step should be auto-scaling the containers, but currently have no idea about it07:12
xuhaiweithe use case should be 1. auto-scale a node, 2. start a contianer in the node?07:13
Qimingyep, that would be very intuitive07:14
xuhaiweimake this workflow work automatically07:14
Qimingit has better be transparent to end users07:14
xuhaiweithe vm's auto-scale seems ok, how to scale-out the containers since there is no policies to support containers now07:16
*** elynn_ has joined #senlin07:16
Qimingscaling policies can be attached to any profile types, right?07:17
xuhaiweiyes07:17
xuhaiweibut I didn't create container type profile currently07:17
*** elynn__ has quit IRC07:18
Qimingokay?07:18
xuhaiweiI am not making containers as senlin's node07:18
Qiming...07:18
xuhaiweithis is the wrong way?07:18
Qimingso, what are you expecting from senlin then?07:19
Qimingif containers are not senlin cluster nodes, seems that senlin is irrelevant to the whole picture then07:20
xuhaiweiyes07:20
xuhaiweiI will change the implementation07:21
Qimingwe may need to look beyond just implementation07:22
Qimingit would be terrific if we can have some live show07:22
Qimingwhat is more imporant is that we have a clear idea what we are doing07:23
xuhaiweiyou mean the whole picture of the design?07:23
Qimingif it makes sense, we may get more help from other devs07:23
xuhaiweiyes07:24
Qimingif the whole idea is a shit, we had better drop it right now07:24
Qimingwhen continue working on your POC, I'd like to suggest you to keep the use case in minde07:24
Qimings/minde/mind07:25
QimingI mean, what are you expecting the end users to use the solution as a whole07:25
Qimingwhy we are not encouraging the exposure of a k8s or swarm interface to end users07:26
Qimingwhat, instead, are we trying to present to users?07:26
Qimingmaybe just a container image, with so cpu/mem/net requirements?07:27
Qimingthat container image is a wrapper of a micro-service07:27
Qimingwe may want to replace the backend of docker with lxc_container, for example07:28
Qimingbut all those changes should be the operator's concern, not the end user's07:28
xuhaiweithat makes sense to me07:29
*** elynn__ has joined #senlin07:29
*** elynn_ has quit IRC07:30
*** elynn__ has quit IRC07:36
*** elynn__ has joined #senlin07:36
*** EldonZhao has joined #senlin07:37
EldonZhaoWhen I post alarm_url, I got "Authentication required" message.07:39
EldonZhaohttp://paste.openstack.org/show/492951/07:40
EldonZhaoHow can i fix the problem?07:40
QimingEldonZhao, are you using the latest code base?07:46
QimingI mean, with https://review.openstack.org/300089 merged in?07:47
yanyanhuhi, Qiming, around?07:53
Qimingyes07:54
yanyanhuI found sdk exceptions are not parsed in client interfaces07:54
yanyanhuso I always get sdk exception rather than senlinclient exc when error happened during invoking senlinclient interfaces, e.g. 404 resource not found error07:55
Qimingyep, that is true07:55
yanyanhuI guess we may need to add a decorator for those methods defined in client module?07:55
yanyanhufor exception parsing07:55
Qimingwell, we may need to cut a version number before that07:56
yanyanhuyou mean the client version?07:56
Qimingyes07:56
Qimingadd function decorators means changing the invocation protocol07:56
yanyanhuis it possible to include this change into the release?07:56
yanyanhuI see07:57
Qiminglet me check how other client project bump their versions07:58
*** elynn has joined #senlin07:59
yanyanhuok, thanks a lot07:59
yanyanhuwe need this change on exception parsing, since now 3rd services rely on sdk package for importing its exc type07:59
elynnHi yanyanhu07:59
yanyanhuhi, elynn08:00
elynnyou can indirectly include idk exception like https://github.com/openstack/heat/blob/master/heat/engine/clients/os/senlin.py#L4708:00
elynnas a workaround08:00
*** elynn__ has quit IRC08:00
yanyanhunice08:01
yanyanhuit works08:08
elynnsure it will work :)08:09
yanyanhuyou dropped immediately after saying the truth :P08:09
elynnDon't know why I'm kicked off by the IBM network occasionly.08:11
EldonZhao@Qiming, I don't think the bug's same with my problem.08:11
elynn@EldonZhao, He just wanna make sure if your problem is caused by that patch...08:13
EldonZhaoI find the middleware func process_request goes to VersionNegotiationFilter rather than webhook08:13
EldonZhaoyes, maybe not~08:13
elynnIn mitaka, I test it, and it works fine.08:14
EldonZhaoIs there any problem with my senlin.conf?08:14
elynnmaybe related to micro version patches?08:14
elynnhttps://review.openstack.org/#/q/topic:bp/api-microversioning08:15
EldonZhaohttp://paste.openstack.org/show/492952/08:15
Qimingyanyanhu, just talked to ttx about versioning08:15
yanyanhuok08:16
Qimingwe'd better wait another week for bumping senlinclient version08:16
Qimingunless we are introducing some significant bug fixes, we'd better keep the stable version 0.4.1 there as is08:16
Qimingthen we can directly bump to 0.5.0 next week08:16
yanyanhuQiming, no problem. I didn't add region_name and interface type support into senlinclient implementation in Rally08:17
yanyanhuwill add them after the new version is released08:17
Qimingcurrent 0.4.1 is lagging behind master, by the following patches:08:18
Qiming02f5a76 Support more parameters for senlinclient creation08:18
Qiming9c261fd Rename cluster scaling command08:18
Qiming3bda3b9 Remove senlin CLI commands08:18
Qiming735b018 Refactor osc support08:18
Qiming80e0751 Merge "Add deprecation warnings for senlin commands"08:18
Qiming040dcc8 Add deprecation warnings for senlin commands08:18
Qimingdecbc7c Add OSC command for senlin node-check/recover08:18
Qiminged8c132 Spelling mistakes on 'Clustering service command-line client' page08:18
Qiming3bda3b9 has been reverted08:19
yanyanhuno critical change I think08:19
QimingI believe decbc7c has been backported08:19
yanyanhuok08:20
Qimingthe OSC command issue is annoying08:20
Qimingbut we won't encourage users to use OSC way today anyway, because it is broken due to OSC --profile parameter08:20
yanyanhuyes, without it, almost can't do anything08:21
QimingEldonZhao, I think the problem you encountered is about keystone08:22
Qiming2016-04-05 07:15:23.627 17 WARNING keystonemiddleware.auth_token [req-e8488d7a-98aa-4a6c-b4d0-86d003be9c82 - - - - -] Fetch revocation list failed, fallback to online validation.08:22
Qiming2016-04-05 07:15:23.630 17 ERROR keystonemiddleware.auth_token [req-e8488d7a-98aa-4a6c-b4d0-86d003be9c82 - - - - -] Bad response code while validating token: 40008:22
Qimingthe request has passed version_negotiation middleware and webhook middleware, but somehow, it wasn't able to grab a token using the trust_id08:22
*** Liuqing has joined #senlin08:54
openstackgerritEthan Lynn proposed openstack/senlin: Remove concurrency constraint for functional tests  https://review.openstack.org/30071908:56
*** EldonZhao has quit IRC08:56
yanyanhuhi, Qiming, the second patch to rally is proposed here https://review.openstack.org/301522. It's still in progress but the basic support for scenario test of cluster creation/deletion works now.09:10
yanyanhuhave added you to review list, thx09:11
*** elynn_ has joined #senlin09:11
Qimingokay09:12
*** elynn has quit IRC09:15
*** Liuqing has quit IRC09:21
*** yanyanhu has quit IRC09:22
*** elynn has joined #senlin09:24
*** elynn_ has quit IRC09:25
*** elynn_ has joined #senlin09:30
*** elynn has quit IRC09:30
*** Liuqing has joined #senlin09:57
*** Qiming has quit IRC10:09
*** elynn_ has quit IRC10:24
*** Qiming has joined #senlin11:34
LiuqingHI Qiming,cloud you review the bug: https://bugs.launchpad.net/senlin-dashboard/+bug/1564936, now the node/cluster event table is empty in senlin-dashboard12:17
openstackLaunchpad bug 1564936 in senlin-dashboard "Cluster/Node event table is empty" [Undecided,New]12:17
QimingLiuqing, looking12:39
Liuqing3Q12:40
openstackgerritzhangguoqing proposed openstack/senlin-dashboard: Add api test about cluster  https://review.openstack.org/30162112:41
*** Yanyanhu has joined #senlin12:50
openstackgerritMerged openstack/senlin-dashboard: Remove useless variable assignment  https://review.openstack.org/30050612:51
*** elynn has joined #senlin12:52
*** cschulz has joined #senlin12:58
*** shu-mutou has quit IRC13:21
*** xuhaiwei has quit IRC13:21
*** yuanying has quit IRC13:21
*** elynn has quit IRC13:21
*** Liuqing has quit IRC13:21
*** zzxwill has quit IRC13:21
*** R_lixh has quit IRC13:21
*** cschulz has quit IRC13:21
*** zhenguo_ has quit IRC13:21
*** ddeja has quit IRC13:21
*** Yanyanhu has quit IRC13:21
*** jdandrea has quit IRC13:21
*** openstackgerrit has quit IRC13:21
*** zigo has quit IRC13:21
*** gongysh has quit IRC13:22
*** Kennan has quit IRC13:22
*** Qiming has quit IRC13:22
*** cschulz has joined #senlin13:24
*** elynn has joined #senlin13:24
*** Yanyanhu has joined #senlin13:24
*** Qiming has joined #senlin13:24
*** Liuqing has joined #senlin13:24
*** zzxwill has joined #senlin13:24
*** jdandrea has joined #senlin13:24
*** openstackgerrit has joined #senlin13:24
*** shu-mutou has joined #senlin13:24
*** gongysh has joined #senlin13:24
*** yuanying has joined #senlin13:24
*** xuhaiwei has joined #senlin13:24
*** Kennan has joined #senlin13:24
*** R_lixh has joined #senlin13:24
*** ddeja has joined #senlin13:24
*** zhenguo_ has joined #senlin13:24
*** zigo has joined #senlin13:24
*** openstackstatus has quit IRC13:24
*** openstackstatus has joined #senlin13:28
*** ChanServ sets mode: +v openstackstatus13:28
*** Yanyanhu has quit IRC13:53
openstackgerritLiuqing Jing proposed openstack/senlin: Add senlin-dashboard in doc/source/overview.rst  https://review.openstack.org/30168313:55
*** elynn has quit IRC14:07
openstackgerritMerged openstack/senlin: Correct test case test_profile_create_with_bad_type  https://review.openstack.org/30127114:07
*** rebase has joined #senlin14:46
openstackgerritMerged openstack/senlin-dashboard: Remove policies which had attached to cluster while attaching policy  https://review.openstack.org/30051215:08
*** hua has joined #senlin15:14
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Fix empty Create/Update column in cluster/profile... tables  https://review.openstack.org/30175415:18
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Add cluster policies in cluster detail page  https://review.openstack.org/30053615:21
*** Qiming has quit IRC15:21
*** Liuqing has quit IRC15:38
*** hua has quit IRC16:53
*** hua has joined #senlin17:04
*** hua has quit IRC17:19
*** rebase has quit IRC18:40
*** rebase has joined #senlin18:41
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/30167518:52
*** hua has joined #senlin20:23
*** hua has quit IRC21:18
*** rebase_ has joined #senlin21:54
*** rebase has quit IRC21:57
*** rebase_ has quit IRC22:21
*** rebase has joined #senlin22:22
*** hua has joined #senlin22:45
*** hua has quit IRC23:15
*** rebase has quit IRC23:25
*** Qiming has joined #senlin23:53

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