Wednesday, 2016-08-17

*** zhurong has quit IRC00:04
*** zzxwill has joined #senlin00:51
*** zzxwill has quit IRC00:52
*** zzxwill has joined #senlin00:56
*** zzxwill has quit IRC00:57
*** zzxwill has joined #senlin00:57
*** elynn has joined #senlin00:58
*** zzxwill has quit IRC01:08
*** zhurong has joined #senlin01:09
*** zzxwill has joined #senlin01:10
*** zzxwill has quit IRC01:23
*** zzxwill has joined #senlin01:23
*** elynn_ has joined #senlin01:34
*** elynn has quit IRC01:38
*** elynn_ has quit IRC01:42
*** elynn has joined #senlin01:42
*** yanyanhu has joined #senlin01:44
Qiminghi, elynn, if we are gonna land profile/policy validate APIs in Newton release, we should make sure the SDK support is done by Aug 22nd, I mean the next version bump of SDK02:16
Qimingthat week is the deadline for non-client libraries02:16
openstackgerritYanyan Hu proposed openstack/senlin: Add zaqar v2 driver interfaces for claim resource
elynnOh, I need to hurry.02:17
QimingI believe SDK should release a version by then and maybe no further releases before newton release02:17
Qimingthe senlin side patches do not have such an urgency because we can control its release version02:18
elynnokay, I need to figure out how much I rely on sdk this week.02:19
Qimingjust put the sdk side patches there and make sure 0.9.3 contains what we want, that would be okay02:19
Qimingyep, thx02:19
*** zhurong_ has joined #senlin02:19
*** zhurong has quit IRC02:23
yanyanhuhi, Qiming, just made a test and found senlinclient works correctly with 0.9.3-dev sdk02:33
yanyanhuI think I may didn't setup sdk installation correctly yesterday02:34
Qimingokay, if you are using the latest version, it has the latest code about api_version and updated requirements about keystoneauth1, so everything should be fine02:37
yanyanhuyes, it is02:38
*** zhurong_ has quit IRC02:39
*** zhurong has joined #senlin02:39
*** zzxwill has quit IRC02:47
*** yuanying has quit IRC02:50
*** zzxwill has joined #senlin02:50
openstackgerritQiming Teng proposed openstack/senlin: Fix DB setup for unit tests
openstackgerritMerged openstack/senlin: Fix service filtering when claiming clusters
*** eldon has joined #senlin03:12
eldondo you have any idea about this problem?03:15
yanyanhuhi, eldon, let me check it03:17
eldonWe use rally to create cluster with 40 concurrencies.03:19
yanyanhuhi, eldon, are you using the latest code of senlin?03:19
eldonnot yet.03:20
yanyanhuI found the code in the log is a little different from the one in master03:20
yanyanhuthe engine/ module03:20
eldonOur deadline is 20 oct. So we don't have enough time to test newest code.03:20
yanyanhuI see03:21
yanyanhujust want to confirm the scheduler is the old one or new one :)03:21
yanyanhusince we have a refactoring of senlin scheduler after austin summit03:21
eldonI think it is something about IMPL sessions.03:22
yanyanhueldon, looks so03:22
yanyanhuthis is the new one which enabled tickless scheduling and also batch control03:23
yanyanhueldon, looks like the error was caused by db concurrency issue?03:23
eldonI have newest code in our test zone. I will try again in this afternoon03:24
yanyanhueldon, great03:25
yanyanhuif the same issue happens, plz just ping me03:25
yanyanhuBTW, are you guys using the latest rally code :)03:25
yanyanhusince senlin's cluster creating deleting test support has been merged into rally03:26
eldonBut it only have three cpts, we can only test with no node in cluster.03:26
eldonrally is also a little old, but I think it doesn't matter:)03:27
yanyanhucpts compute nodes?03:27
yanyanhuI see03:27
yanyanhuthis is the example file of senlin cluster test job in rally03:28
yanyanhualso I'm now working on context support for profile. Hopefully it can be done in two weeks03:29
yanyanhuif you guys need any help on rally senlin plugin or test jobs, plz feel free to ping me as well :) eldon03:29
*** zhurong has quit IRC03:35
*** zhurong has joined #senlin03:36
*** elynn_ has joined #senlin03:37
*** zzxwill has quit IRC03:37
*** zzxwill has joined #senlin03:39
*** elynn has quit IRC03:41
*** zzxwill has quit IRC03:42
*** elynn_ has quit IRC03:47
*** yuanying has joined #senlin03:49
Qimingyanyanhu, I'm pushing a patch to the nova delete operation, hope this can fix the gate problem you saw03:50
yanyanhuQiming, great, will check it03:50
openstackgerritQiming Teng proposed openstack/senlin: Make server delete operation back compatible
Qimingyanyanhu, ^ this one03:51
yanyanhunice workaround :)03:52
*** yuanying has quit IRC03:55
Qimingthe goal is to preserve xinhui's hard work while make the gate happy03:55
openstackgerritMerged openstack/senlin: Fix health manager initialization
openstackgerritMerged openstack/senlin: Allow health check to be enabled/disabled
openstackgerritQiming Teng proposed openstack/senlin: Remove garbage parameters at db layer
*** zhurong has quit IRC04:14
*** zhurong has joined #senlin04:16
*** yuanying has joined #senlin04:16
*** eldon has quit IRC04:32
*** elynn_ has joined #senlin04:51
*** elynn__ has joined #senlin05:08
*** elynn_ has quit IRC05:12
yanyanhuhi, Qiming, about this patch, I think we may need to add corresponding fake driver interface for this new added "server_force_delete" method05:20
yanyanhuwill try to add it based on your patch05:20
*** zzxwill has joined #senlin05:24
yanyanhuhmm, looks like test env setting up at gate side failed05:26
yanyanhuwill wait for recheck result05:26
yanyanhufake interfaces may not be necessary05:27
*** yuanying_ has joined #senlin05:29
*** yuanying has quit IRC05:29
*** eldon has joined #senlin05:53
Qimingare we touching server_force_delete call in current test cases?06:08
QimingI'm not against adding that into the fake driver06:08
Qimingjust don't believe current failure has anything to do with force delete06:09
*** zzxwill has quit IRC06:15
*** zzxwill has joined #senlin06:17
elynn__I got some errors like openstack.exceptions.SDKException: Cannot connect to API service. when run cluster-show06:27
elynn__DEBUG (session) REQ: curl -g -i -X GET -H "openstack-api-version: clustering 1.2" -H "User-Agent: python-senlinclient openstacksdk/0.9.2 keystoneauth1/2.10.0 python-requests/206:28
elynn__.10.0 CPython/2.7.5" -H "X-Auth-Token: {SHA1}a5774b06badb28147fc2e234ccfbcc996871eade"06:28
elynn__Request like ^06:28
elynn__All API requests failed.06:29
elynn__I'm using sdk of 0.9.2 version, have you met before?06:29
openstackgerritXinhui Li proposed openstack/senlin: Support Fencing by Health Policy and Cluster Action
openstackgerritEthan Lynn proposed openstack/senlin: Fix do_validate in heat profile
Qimingelynn__, you are not using the master branch06:36
Qimingthe URI is incorrect:
Qimingit has been fixed yesterday06:37
Qimingthe bug was introduced when migrating micro-version support to the v1 endpoint06:37
Qimingthis one:
elynn__After pulling the latest codes, it works now, I need to rebase my codes.06:38
elynn__And another question, all the requests now should contain a header `openstack-api-version: clustering 1.2` now?06:39
openstackgerritMerged openstack/senlin: Make server delete operation back compatible
Qimingyes, that means our client supports the latest microversion of senlin api06:59
Qimingif we don't provide such a header when requesting an api such as profile-validate, policy-validate, cluster-collect, we will get an error message06:59
Qimingthe plan is to have 1.2 api support these three operations released in newton (2.0.0) version07:00
elynn__I see, I though if without this header, server will automatically choose the latest version. Looks I'm misunderstanding it.07:03
elynn__Hi Qiming , I got those errors after updating my codes
elynn__It seems only happened on profile validation, when sdk try to post request to stacks/preview07:48
Qimingaccording to api-wg spec, the default behavior should go to the lowest version07:48
elynn__I should really read this doc thoroughly...07:50
Qimingif you want to dump more info for debugging07:50
Qimingyou can add these to senlin/drivers/openstack/sdk.py07:50
Qimingimport sys07:52
Qimingfrom openstack import utils07:52
Qimingutils.enable_logging(debug=True, stream=sys.stdout)07:52
Qimingthen you can see more details during the interaction between sdk and the backend services07:53
elynn__Thanks! Let me try07:53
elynn__Should I put them on the top of other codes?07:54
elynn__Have you try to create a heat stack cluster with sdk 0.9.2?08:09
elynn__I got the errors I mentioned above Qiming yanyanhu08:09
Qimingyes, elynn__08:16
Qimingput them on top of the module08:16
Qimingthe key is about the not found exception08:18
openstackgerritQiming Teng proposed openstack/senlin: Fix node join behavior
openstackgerritQiming Teng proposed openstack/senlin: Improve server metadata format
openstackgerritQiming Teng proposed openstack/senlin: Close health manager loop
Qimingelynn__, I'm using the master branch of sdk, not 0.9.208:28
elynn__Does it works for you?08:29
elynn__Create node from a heat stack profile08:29
openstackgerritQiming Teng proposed openstack/senlin: Fix DB setup for unit tests
openstackgerritQiming Teng proposed openstack/senlin: Remove garbage parameters at db layer
Qimingthe same failure, investigating08:35
Qiminggot it08:37
Qimingheat stupidity08:38
elynn__Qiming, Just try 0.9.1, works for me08:38
Qimingsdk is trying to find out the latest version of a service api by doing a version discovery08:38
Qimingwhen it is checking heat, heat reports this:08:38
Qiming{"versions": [{"status": "CURRENT", "id": "v1.0", "links": [{"href": "", "rel": "self"}]}]}08:38
Qiminghowever, that is not a working endpoint url08:39
Qimingheat requires a 'project_id' in this href08:39
Qimingheat should report this:$(project_id)s08:40
elynn__oh, seems a but in heat08:44
Qimingsdk can solve it easily08:46
elynn__That would be the better way to solve it in sdk side.08:50
Qimingokay fixed08:52
elynn__Great, thanks!08:53
elynn__I'm thinking is it better to involve senlinclient in integration tests. Now we are using tempest client.08:54
Qimingit was my fault08:55
*** zzxwill has quit IRC09:01
openstackgerritQiming Teng proposed openstack/senlin: Fix stack status wait
Qimingelynn__, ^ this is the patch at senlin side09:02
Qimingit was my fault when introducing the wait_for_stack call09:02
Qimingshould have passed in stack object instead of stack id09:03
Qimingdidn't do integration test when working on that09:03
elynn__Is there any fix need to merge in sdk side?09:04
Qimingand the sdk side ...09:05
Qimingthis one09:05
Qiminggonna self approve it09:06
elynn__You are always so quick!09:06
Qimingsince the logic is simple and evident09:06
elynn__Richard this didn't sleep? he is so quick to +209:09
Qimingno idea, maybe an approval during sleep09:31
*** elynn__ has quit IRC09:31
*** shu-mutou is now known as shu-mutou-AFK09:38
*** openstack has joined #senlin10:19
openstackgerritQiming Teng proposed openstack/senlin: Improve server metadata format
*** eldon has joined #senlin10:46
*** yanyanhu has quit IRC10:54
*** eldon has quit IRC11:05
openstackgerritMerged openstack/senlin: Remove garbage parameters at db layer
*** zzxwill has joined #senlin12:56
*** syjulian has left #senlin12:58
*** zzxwill has quit IRC13:04
openstackgerritMerged openstack/senlin: Fix DB setup for unit tests
*** zhurong has joined #senlin13:05
*** zhurong has quit IRC13:07
*** zhurong has joined #senlin13:09
openstackgerritQiming Teng proposed openstack/senlin: Close health manager loop
openstackgerritMerged openstack/senlin: Fix stack status wait
openstackgerritQiming Teng proposed openstack/senlin: Close health manager loop
*** zhurong has quit IRC14:59
*** openstackgerrit has quit IRC15:03
*** openstackgerrit has joined #senlin15:05
*** ChanServ sets mode: +v openstackgerrit15:05
*** Drago has joined #senlin15:29
*** Drago has quit IRC15:29
*** Drago has joined #senlin15:29
*** Drago has quit IRC16:14
*** Drago has joined #senlin16:14
*** jdandrea has joined #senlin17:58
jdandreaAnyone know if a quiescent state been proposed for Senlin? Trying to find a way to let autoscaling victims go quiescent. I imagine this is tricky since it's very app-specific, there be dragons, etc.17:59
-openstackstatus- NOTICE: The volume for filled up rather suddenly, causing a number of jobs to fail with a POST_FAILURE result and no logs; we're manually expiring some logs now to buy breathing room, but any changes which hit that in the past few minutes will need to be rechecked and/or approved again19:46
*** zhurong has joined #senlin23:51

Generated by 2.14.0 by Marius Gedminas - find it at!