Tuesday, 2015-12-08

*** shu-mutou has quit IRC00:05
openstackgerritxu-haiwei proposed openstack/senlin: Make node-update return a location header and body  https://review.openstack.org/25403200:07
openstackgerritMerged openstack/senlin: Fix service setup script for new endpoints  https://review.openstack.org/25407400:12
openstackgerritMerged openstack/senlin: Fix policy json file to delete project checking  https://review.openstack.org/25407500:23
openstackgerritMerged openstack/senlin: Make node-update return a location header and body  https://review.openstack.org/25403200:36
*** jdandrea has quit IRC00:39
*** jdandrea has joined #senlin00:40
*** Qiming has joined #senlin00:48
openstackgerritQiming Teng proposed openstack/senlin: Delete tenant_id from location header  https://review.openstack.org/25445801:12
*** zhenguo has joined #senlin01:23
*** Yanyanhu has joined #senlin01:26
openstackgerritQiming Teng proposed openstack/senlin: Fix user documentation for schema changes  https://review.openstack.org/25386201:35
QimingYanyanhu, regarding the functional test broken01:36
Yanyanhuyes01:36
QimingI spent some time looking into the logs01:37
Qimingand I also tried to do tox -e functional in my local environment01:37
Qimingduring that experiment, I found something need fixes -- already proposed01:37
Qimingbut the fixes are not targeting why the test was still not passing01:38
Qimingwhen I look back at the changes we have made, I'm suspecting maybe the recent changes to the scheduler is no good01:38
QimingI'm doubting if that change has bring in some race conditions01:39
Yanyanhuyou mean the change about supporting initiative action scheduling01:39
Qimingyep01:39
Yanyanhuhmm, that's possible01:39
Qimingother than that, we were not changing action scheduling and dependency thing01:39
Yanyanhuyes, we didn't change any other part01:40
Yanyanhuok, will recheck that change to find possible issue01:40
Yanyanhuand will also spend some time on DB transaction problem01:41
Qimingright, maybe the new db function is seeing cached data? maybe the change it made was not written back?01:41
Yanyanhuyes01:41
Qiminganyway, solving db transaction problem using oslo_concurrency is bad01:42
Yanyanhuwill work it today. hope can find some clue01:42
Yanyanhuyep01:42
Qimingthey work at different layers01:42
Yanyanhuagree with this01:42
Qiminggreat01:42
Qimingby the way, you don't have to push code to gate for functional tests01:46
Qimingit can be checked in your local environment01:46
Yanyanhuyes, now I can reproduce this error locally01:47
Qimingjust apply https://review.openstack.org/254273 and the tenant_id related changes01:47
Qimingchange cloud_backend in conf and restart services01:47
Yanyanhuyes01:48
xuhaiweiQiming, about cluster/node delete api, should engine return action_id to API?01:52
xuhaiweihttps://review.openstack.org/#/c/253980/01:52
xuhaiweiyanyan has reviewed it, also need your opinion about it01:53
Qimingxuhaiwei, I'd suggest we remove action_id from engine return01:54
Qimingit is not used for these operations01:54
Qimingwe will need action_id somewhere else01:54
Qimingfor example, the 'action' handler for clusters01:55
Qimingall those handlers should return a location pointing to the action01:55
openstackgerritMerged openstack/senlin: Delete tenant_id from location header  https://review.openstack.org/25445801:55
xuhaiweiok, I will remove it01:56
*** elynn has joined #senlin02:04
Yanyanhuhi, Qiming, need I update openstackclient before using the latest setup-service tools to regenerate senlin service and endpoint?02:09
Yanyanhusince I got this error when running the tool02:09
elynnmorning02:09
Yanyanhuopenstack endpoint create: error: argument --publicurl is required02:09
Yanyanhumorning, elynn02:09
QimingYanyanhu, I think so02:09
Yanyanhuok02:09
QimingI think I'm using 1.7.102:10
Yanyanhuok, its version is 1.5 in my local env02:10
Yanyanhuit's not a pip package?02:10
Yanyanhuweird, it is02:11
Yanyanhuit is not shown using pip list02:11
openstackgerritxu-haiwei proposed openstack/senlin: Make cluster-delete retuan a location header  https://review.openstack.org/25398002:19
Yanyanhuhi, Qiming, after upgrading openstackclient version, that error still happened02:23
Yanyanhuthe help msg from openstack cmd is:02:23
Yanyanhuusage: openstack endpoint create [-h]02:23
Yanyanhu                                 [-f {html,json,json,shell,table,value,yaml,yaml}]02:23
Yanyanhu                                 [-c COLUMN] [--max-width <integer>]02:23
Yanyanhu                                 [--noindent] [--prefix PREFIX] --publicurl02:23
Yanyanhu                                 <url> [--adminurl <url>]02:23
Yanyanhu                                 [--internalurl <url>] [--region <region-id>]02:23
Yanyanhu                                 <service>02:23
xuhaiweiyes, got the same error02:27
elynnMaybe the commads are not correct?02:27
Qiminglooks like the help message is not correct?02:28
Qimingyou can try openstack endpoint create for real02:28
xuhaiweiit seems '--publicurl --adminurl -- internalurl' options are required02:28
Yanyanhuhmm, the running of cmd also gave this error02:29
Qimingthat is weird02:29
Qimingafter I removed tenant_id02:29
QimingI was recreating the endpoint02:29
Qimingbut the --publicurl ... all doesn't work02:29
QimingI see, you have to use keystone v302:30
Qimingkv3 endpoint create02:30
Qimingusage: openstack endpoint create [-h]02:30
Qiming                                 [-f {html,json,json,shell,table,value,yaml,yaml}]02:30
Qiming                                 [-c COLUMN] [--max-width <integer>]02:30
Qiming                                 [--noindent] [--prefix PREFIX]02:30
Qiming                                 [--region <region-id>] [--enable | --disable]02:30
Qiming                                 <service> <interface> <url>02:30
*** Qiming has quit IRC02:31
Yanyanhuoh, so by default, openstackclient will talk with keystone v202:31
*** Qiming has joined #senlin02:32
Qimingkv3 here is my local alias to 'openstack --os-username=$OS_USERNAME --os-password=$OS_PASSWORD --os-url=$KEYSTONE_V3 --os-identity-api-version=3'02:32
Qimingthen it means the script needs a fix again ...02:33
Yanyanhuyes, seems the default env setting of devstack is still for keystone v202:33
Qimingyep02:37
Qimingso we have two choices here02:39
Qiminguse v3 command in setup-service02:39
Qimingor we stick to v202:39
xuhaiweiin setup_service, are we trying to create 3 senlin endpoint?02:39
Qimingyes02:39
xuhaiweiwhy need 3 endpoint?02:40
xuhaiweiI think the command it wrong02:40
Qimingbecause you need at least 302:41
xuhaiweibut changing the command to 'openstack endpoint create --region RegionOne senlin --adminurl xxx --publicurl xxx --internalurl xxx ', it works for me now02:44
openstackgerritQiming Teng proposed openstack/senlin: Revert to use keystone v2 based OSC  https://review.openstack.org/25451002:45
openstackgerritxu-haiwei proposed openstack/senlin: Make cluster-delete return a location header  https://review.openstack.org/25398002:46
Qimingxuhaiwei, because you are using keystone v2 authentication02:46
Qimingkeystone v3 command line is different02:46
xuhaiweiohh, I see02:46
Qiming<Qiming> use v3 command in setup-service02:46
Qiming<Qiming> or we stick to v202:46
QimingI'm reverting back to v2 now02:46
openstackgerritxu-haiwei proposed openstack/senlin: Make cluster-delete return a location header  https://review.openstack.org/25398002:55
openstackgerritlvdongbing proposed openstack/python-senlinclient: Make desired_capacity default to min_size if min_size specified  https://review.openstack.org/25451202:56
openstackgerritxu-haiwei proposed openstack/senlin: Make cluster-delete return a location header  https://review.openstack.org/25398003:06
openstackgerritxu-haiwei proposed openstack/senlin: Make node-delete return a location header  https://review.openstack.org/25398403:18
*** elynn has quit IRC03:48
openstackgerritMerged openstack/senlin: Revert to use keystone v2 based OSC  https://review.openstack.org/25451003:49
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/25448103:49
*** elynn has joined #senlin03:56
*** elynn has quit IRC04:00
openstackgerritMerged openstack/python-senlinclient: Make desired_capacity default to min_size if min_size specified  https://review.openstack.org/25451204:19
*** zhangguoqing has joined #senlin04:22
openstackgerritMerged openstack/senlin: Make cluster-delete return a location header  https://review.openstack.org/25398004:40
*** elynn has joined #senlin04:40
openstackgerritMerged openstack/senlin: Make node-delete return a location header  https://review.openstack.org/25398404:41
*** pratikmallya has joined #senlin04:43
*** elynn has quit IRC04:49
*** elynn has joined #senlin05:02
Yanyanhuhi, Qiming, I noticed the version number has been removed from endpoint url, is that intended?05:11
*** elynn_ has joined #senlin05:11
*** elynn_ has quit IRC05:11
*** elynn_ has joined #senlin05:11
Qimingyes05:11
Qimingan endpoint is not supposed to be bound to a specific version number05:12
Yanyanhuso I guess we don't need version_negotiation middleware anymore?05:12
Qimingin future, we will need to add version negotiation05:12
Qimingno, that middleware is not doing useful work today, because we only have one api version05:13
Qiminghowever, it doesn't hurt05:13
Yanyanhuok05:13
Yanyanhuit now gives an error like following when handling webhook trigger request05:13
*** elynn has quit IRC05:13
Yanyanhu senlin.api.middleware.version_negotiation [-] Returning HTTP 404 due to unknown Accept header: application/json05:13
Qimingyou haven't applied my patch05:13
Yanyanhualso the webhook middleware need to be reworked for endpoint url change05:14
Qimingwebhook has to change, right05:14
YanyanhuI just pull the code about 30min ago05:14
Yanyanhuyes, will try to fix it05:14
Qimingthis one is not merged05:15
Qiminghttps://review.openstack.org/#/c/254273/05:15
Qimingsenlin/tests/functional/common/client.py line 14705:15
Qimingyou need to explicitly specify the api version you want to talk to05:16
YanyanhuI made the test manually without using functional test05:16
Yanyanhuok. so if I want to trigger a webhook using curl, which part should I add to specify the version?05:17
Qimingif it is coming in from a v1 api call, we should add v1 into the url05:18
Yanyanhuoh, you mean add the version number behind the endpoint url?05:18
Yanyanhulike endpointurl/v1/05:18
Qimingcertainly05:18
Yanyanhuok. so for webhook, I think we should add this part to webhook_url when creating it?05:19
Qimingjust heads up, http://lists.openstack.org/pipermail/openstack-dev/2015-December/081612.html05:19
Qimingthis is solving your previous concern that bugs are not automatically closed05:19
QimingI wasn't closing them because I know this is coming05:19
YanyanhuI see05:20
YanyanhuQiming, actually, I ran the functional test without change senlin/tests/functional/common/client.py line 147 by adding version number. So that is also because we have only one API version now, right?05:21
Qimingyes, we have only one05:23
Yanyanhuok, understand05:24
Yanyanhuwill fix the webhook issue05:24
Qiminghttp://git.openstack.org/cgit/openstack/senlin/tree/senlin/api/openstack/versions.py05:25
Qimingthe version controller today only support v105:26
Yanyanhuok, just felt a little weird since all other API requests except webhook trigger request can pass version_negotiation middleware05:27
Yanyanhugo downstairs, back soon05:28
Qiminghttp://docs-draft.openstack.org/45/252245/7/check/gate-api-site-tox-doc-publish-checkbuild/16a9e4d//publish-docs/api-ref/api-ref-clustering-v1.html05:31
Qimingthis is how the API docs will look like05:31
Qimingguys please browse through it and see if there are bugs05:31
Yanyanhuwonderful05:32
Qimingstill wondering why it is not generating pdf for me05:33
Qiminghttp://docs-draft.openstack.org/45/252245/8/check/gate-api-site-tox-doc-publish-checkbuild/8ec6078//publish-docs/05:33
openstackgerritMerged openstack/senlin: Misc fix to functional tests  https://review.openstack.org/25427305:34
openstackgerritMerged openstack/senlin: Fix user documentation for schema changes  https://review.openstack.org/25386205:34
Qimingokay, got it05:34
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Update related attributes after policy_create/profile_create  https://review.openstack.org/25425405:54
openstackgerritYanyan Hu proposed openstack/senlin: Rework webhook to adapt to latest API change  https://review.openstack.org/25455405:59
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Update related attributes after policy_create/profile_create  https://review.openstack.org/25425406:00
*** pratikmallya has quit IRC06:18
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Update related attributes after policy_create/profile_create  https://review.openstack.org/25425406:26
Qimingfighting with the api doc for almost a whole day now07:16
Yanyanhualmost done?07:17
Qimingdebugging is very difficult07:17
Qimingthe output only tells you there are errors07:17
Yanyanhuyes, since the xml is very very difficult to read...07:17
Qimingthere is no useful information about line number or the error itself07:18
Qimingthe only thing you get is a full screen of Java exceptions07:18
Yanyanhusigh...07:18
Qimingthis is the most useful line: Failed to execute goal com.rackspace.cloud.api:clouddocs-maven-plugin:2.1.4:generate-pdf (os-api-ref-clustering-v1) on project openstack-api-ref-guides: Execution os-api-ref-clustering-v1 of goal com.rackspace.cloud.api:clouddocs-maven-plugin:2.1.4:generate-pdf failed: net.sf.saxon.s9api.SaxonApiException: Processing terminated by xsl:message at line -1 in null -> [Help 1]07:19
Yanyanhu-_-!07:19
QimingI don't have line -107:20
Yanyanhuwhat the hell is this...07:20
Qimingthen you go back to the doc, try recall which line you changed ...07:21
Yanyanhu...07:22
Qiminglessons learnt07:22
Qimingmaybe we should provide a profile-validate and a policy-validate api07:22
*** zhangguoqing has quit IRC07:22
Qimingif something goes wrong, we should tell users the exact line number07:23
Yanyanhuyes07:23
Yanyanhuthat will be very helpful for enduser07:23
Qimingheat had such an intent a long time ago, but no one is working on that07:23
Qimingpeople tend to fix whatever bugs they want to fix, not features that would be useful for users07:23
Yanyanhuthis is an useful feature obviously07:24
Qimingthe contributors don't care, they care only about their core status, their number of patches ...07:25
Yanyanhuyea, this is a problem that could happen when a project become very big07:26
openstackgerritlvdongbing proposed openstack/python-senlinclient: Cluster's timeout is in seconds not minutes  https://review.openstack.org/25460108:04
*** shu-mutou has joined #senlin08:11
*** elynn_ has quit IRC08:33
*** elynn_ has joined #senlin08:40
*** elynn__ has joined #senlin08:44
*** elynn_ has quit IRC08:44
openstackgerritxu-haiwei proposed openstack/senlin: Make cluster-resize return a location header  https://review.openstack.org/25461608:47
*** elynn__ has quit IRC08:56
*** elynn__ has joined #senlin08:56
openstackgerritYanyan Hu proposed openstack/senlin: [WIP]Fix DB sync issue happened during action dependency updating  https://review.openstack.org/25223109:26
openstackgerritYanyan Hu proposed openstack/senlin: [WIP]Fix DB sync issue happened during action dependency updating  https://review.openstack.org/25223109:28
openstackgerritxu-haiwei proposed openstack/senlin: Make cluster actions API return a location header  https://review.openstack.org/25463609:29
QimingYanyanhu, I'm looking at the code about concurrency fix09:29
Qimingsuddenly I noticed that there are locations we are not saving the changed object09:30
YanyanhuQiming, thanks. I think it still has some problems. I will test it to see whether deadlock could happen09:30
Qimingfor example, in function action_marke_succeeded09:30
Qimingwe are changing some properties of an action09:30
Qimingbut we did not store it09:31
Yanyanhuoh, that's true09:31
Yanyanhujust noticed it09:31
Qimingthe should be an equivalent call to action.save(...) as in function action_create()09:31
Qimingmaybe this is the route cause09:31
Yanyanhuright09:32
Qimingit looks like a stupid error09:32
Yanyanhuwill revise related it code to check the result09:32
Qimingyes, maybe it could be just a simple fix by adding one line09:32
Qimingsigh ...09:33
Yanyanhu...09:33
*** pratikmallya has joined #senlin09:34
Yanyanhuoh, I remeber I checked the status of those node actions which are dependent by cluster action. their status are set to SUCCEEDED correctly09:34
Yanyanhudoes that mean those updated action attributes are actually stored back to DB?09:34
Qimingwe were doing some .refresh() calls previously09:35
Qimingyou will never know09:35
Yanyanhuoh, yes09:35
Qimingwe are raising a challenging question to sqlalchemy and I don't think it will have an answer09:35
YanyanhuQiming, yes, I think this is a tradeoff between consistency and performance...09:39
Yanyanhuhi, Qiming, just added action.save(), problem is still there... Will add it to patch 252231 to see what will happen09:46
*** shu-mutou has quit IRC09:46
openstackgerritxu-haiwei proposed openstack/senlin: Make node join/leave return a location header  https://review.openstack.org/25464109:48
*** pratikmallya has quit IRC09:54
lixinhui /join ##openstack-meeting09:59
elynn__?10:00
Yanyanhulixinhui :P10:01
lixinhui:P10:02
Yanyanhumeeting night tonight10:02
Yanyanhuprepare to go back home10:02
lixinhuiyeah, see you then10:02
Yanyanhusee U10:02
YanyanhuQiming, plz leave comment on 252231 if any. Thanks10:03
*** zhenguo has quit IRC10:03
Qimingokay, I'm still feeling that we are not saving changes to actions10:04
Qimingsome refresh() calls were removed10:05
QimingI'm not sure if the execution_option params will help10:05
*** elynn__ has quit IRC10:07
*** Yanyanhu has quit IRC10:07
openstackgerritMerged openstack/python-senlinclient: Specify keystoneauth1 exception more  https://review.openstack.org/25330310:36
openstackgerritMerged openstack/senlin: Make cluster-resize return a location header  https://review.openstack.org/25461610:49
*** openstackgerrit has quit IRC11:02
*** openstackgerrit has joined #senlin11:03
*** Qiming has quit IRC11:39
*** pratikmallya has joined #senlin11:57
*** Liuqing has joined #senlin12:22
*** Yanyanhu has joined #senlin12:25
*** elynn__ has joined #senlin12:29
*** Qiming has joined #senlin12:30
openstackgerritYanyan Hu proposed openstack/senlin: Rework webhook to adapt to latest API change  https://review.openstack.org/25455412:59
QimingYanyanhu, I think we don't need a '+' in generating location13:00
openstackgerritYanyan Hu proposed openstack/senlin: Rework webhook to adapt to latest API change  https://review.openstack.org/25455413:00
openstackgerritYanyan Hu proposed openstack/senlin: [WIP]Fix DB sync issue happened during action dependency updating  https://review.openstack.org/25223113:00
Qimingwhat do you think?13:00
Yanyanhuyes, there is a typo in current code13:00
Yanyanhuhave change it13:01
Yanyanhudon't know how it passed pep8 check...13:01
QimingI mean line 200 https://review.openstack.org/#/c/254554/2/senlin/engine/webhook.py13:01
YanyanhuQiming, I see13:02
Yanyanhuwill change it13:02
*** cschulz has joined #senlin13:13
*** lkarm has joined #senlin13:14
openstackgerritYanyan Hu proposed openstack/senlin: Rework webhook to adapt to latest API change  https://review.openstack.org/25455413:15
openstackgerritYanyan Hu proposed openstack/senlin: [WIP]Fix DB sync issue happened during action dependency updating  https://review.openstack.org/25223113:15
*** Mayur_ has joined #senlin13:17
*** Qiming has quit IRC13:18
*** Qiming has joined #senlin13:18
*** Shruti_ has joined #senlin13:19
*** Mayur_ has quit IRC13:21
*** Shruti_ has quit IRC13:22
*** Qiming has quit IRC13:25
*** Liuqing has quit IRC13:36
*** pratikmallya has quit IRC13:48
*** Liuqing has joined #senlin13:56
Yanyanhuhi, guys, will leave a little earlier. ttyl13:57
*** Qiming has joined #senlin13:59
Qimingso .. it is some code maintained in senlinclient ?14:00
*** haiwei_ has joined #senlin14:00
elynn__Yes, let me find them...14:01
haiwei_ok I will go to bed14:01
haiwei_see you tomorrow14:02
*** Yanyanhu has quit IRC14:02
elynn__Qiming: https://github.com/openstack/python-senlinclient/blob/master/senlinclient/common/sdk.py#L94-L9614:02
Qimingokay, I see14:02
elynn__See U haiwei14:02
Qimingthat is from a previous patch we used to support webhook14:02
Qimingwhen creating webhooks, the first response will contain some secrets that you will never see in future, :)14:03
elynn__ok, I see14:03
Qimingneed to revisit that if it still makes sense14:03
Qiminghowever, using this function is really discouraged14:03
elynn__maybe patchset 1 is the best way.14:03
cschulzQiming: Got Senlin up on my Liberty devstack.  Testing now14:04
elynn__Just retrieve it again after create14:04
Qimingcschulz, great!14:04
Qimingelynn__, yep, tend to agree14:04
elynn__ok, will change it back tomorrow~14:04
Qimingthx14:05
Qimingwell14:05
elynn__Need to take a shower now~ ttyl14:05
Qimingif it makes sense to have SDK return the *very first* response in the resource rather than doing another retrieval14:05
Qimingwe can do that14:05
Qimingbye, elynn__14:05
*** lixinhui has quit IRC14:06
*** haiwei_ has quit IRC14:06
cschulz Getting errors while trying to resize random_string_stack.14:06
cschulz[stack@autoscale2 profiles]$ senlin cluster-resize -a 1 cos-cluster14:07
cschulzUnknown exception: Not Found (HTTP 404) (Request-ID: req-172f7532-ce9e-4978-8025-9bc548564a12)14:07
cschulz'NoneType' object has no attribute '__getitem__'14:07
cschulz[stack@autoscale2 profiles]$ senlin cluster-resize -c 2 cos-cluster14:07
cschulzUnknown exception: Not Found (HTTP 404) (Request-ID: req-1b6a7b0d-ccd9-4695-93a6-f03566644854)14:07
cschulz'NoneType' object has no attribute '__getitem__'14:07
cschulz[stack@autoscale2 profiles]$14:07
Qimingcschulz, I think you just jumped in the middle14:08
Qimingkeystone endpoint list | grep senlin14:08
Qimingwhat does it say?14:08
QimingI mean you have already have a cluster created?14:09
*** pratikmallya has joined #senlin14:10
cschulzYes, have a cluster14:10
Qimingcan you do senlin cluster-show ?14:10
*** Liuqing has quit IRC14:11
Qimingand when you are doing a 'resize', can you add the '-d' option to see where the exception was thrown?14:11
cschulz[stack@autoscale2 profiles]$ senlin cluster-show cos-cluster14:11
cschulz+------------------+--------------------------------------+14:11
cschulz| Property         | Value                                |14:11
cschulz+------------------+--------------------------------------+14:11
cschulz| created_time     | 2015-12-08T13:49:02                  |14:11
cschulz| data             | {}                                   |14:11
cschulz| deleted_time     | None                                 |14:11
cschulz| desired_capacity | 1                                    |14:11
cschulz| domain           | None                                 |14:11
cschulz| id               | 733eeaca-c526-4208-b89e-6b1d06015cdb |14:11
cschulz| max_size         | 3                                    |14:11
cschulz| metadata         | {}                                   |14:11
cschulz| min_size         | 0                                    |14:11
cschulz| name             | cos-cluster                          |14:11
cschulz| nodes            | b54da470-99b8-4d9c-8a43-093a79942ab4 |14:11
cschulz| parent           | None                                 |14:12
cschulz| profile_id       | 9a25dd16-a591-4e56-8151-1bd7deb986f4 |14:12
cschulz| profile_name     | cos-stack                            |14:12
cschulz| project          | 91e1117d33a24536be8e8f4cfb167db9     |14:12
cschulz| status           | ACTIVE                               |14:12
cschulz| status_reason    | Cluster creation succeeded.          |14:12
cschulz| timeout          | 3600                                 |14:12
cschulz| updated_time     | None                                 |14:12
cschulz| user             | b0d7b45503cb4d86b742107d91e4347d     |14:12
cschulz+------------------+--------------------------------------+14:12
Qimingem, you have a cluster with a heat stack node, cool!14:12
cschulzINFO (shell) 114:13
cschulzDEBUG (extension) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')14:13
cschulzDEBUG (extension) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')14:13
cschulzDEBUG (extension) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')14:13
cschulzDEBUG (extension) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')14:13
cschulzDEBUG (extension) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')14:13
cschulzDEBUG (extension) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')14:13
cschulzDEBUG (extension) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')14:14
cschulzDEBUG (extension) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')14:14
cschulzDEBUG (extension) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')14:14
cschulzDEBUG (session) REQ: curl -g -i -X GET http://10.114.223.72:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-senlinclient"14:14
cschulzINFO (connectionpool) Starting new HTTP connection (1): 10.114.223.7214:14
cschulzDEBUG (connectionpool) "GET /v2.0 HTTP/1.1" 200 33914:14
cschulzDEBUG (session) RESP: [200] Content-Length: 339 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 Connection: Keep-Alive Date: Tue, 08 Dec 2015 14:12:46 GMT Content-Type: application/json x-openstack-request-id: req-b8883581-e007-405a-af82-b11800881a1314:14
cschulzRESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.114.223.72:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "descr14:14
cschulzYes everything was working fine until I tried to do a scaling action.14:15
Qiminggood news is that keystone v3 works on liberty, keystoneauth1 works also14:16
Qimingliberty is pretty new14:16
Qimingthe trace you pasted was not complete14:16
cschulzYes the Liberty seems to be working fine.  I see the stack and resource created in Heat14:17
QimingI'm not sure you have successfully got a token or not14:17
Qimingyou can check the sl-api screen session and see if something happened there14:18
cschulzThat's everything I got back on the console.  The command was just above the INFO line14:18
cschulzOops! maybe the copy didn't work completely14:19
Qimingcan you help paste the whole trace into paste.openstack.org?14:19
cschulzDEBUG (session) Request returned failure status: 40414:19
cschulzUnknown exception: Not Found (HTTP 404) (Request-ID: req-9dab3b95-f330-48ab-b21a-326b66be1b0a)14:19
cschulzTraceback (most recent call last):14:19
cschulz  File "/usr/bin/senlin", line 11, in <module>14:19
cschulz    sys.exit(main())14:19
cschulz  File "/usr/lib/python2.7/site-packages/senlinclient/shell.py", line 308, in main14:19
cschulz    SenlinShell().main(args)14:19
cschulz  File "/usr/lib/python2.7/site-packages/senlinclient/shell.py", line 294, in main14:19
cschulz    args.func(sc, args)14:19
cschulz  File "/usr/lib/python2.7/site-packages/senlinclient/v1/shell.py", line 825, in do_cluster_resize14:19
cschulz    print('Request accepted by action: %s' % resp['action'])14:19
cschulzTypeError: 'NoneType' object has no attribute '__getitem__'14:19
cschulzThat's what was after the RESP BODY14:19
Qimingokay, ...14:20
Qimingthat is a new bug, cschulz14:20
Qiming:)14:20
Qiminglet me try explain this to you14:20
Qimingwe are revising the senlin api design, you can get a look and feel of it here: http://docs-draft.openstack.org/45/252245/10/check/gate-api-site-tox-doc-publish-checkbuild/d1f26a1//publish-docs/api-ref-guides/bk-api-ref-clustering-v1.pdf14:21
Qimingone of the big changes we are making recently is to have all request that are performed asynchronously return a 202 status code14:22
Qimingthis is a requirement from the api-wg project (which is trying to uniform how apis behave across projects)14:22
Qimingthe server side changes have just landed14:23
Qimingwe have not yet finished the client side change14:23
openstackgerritlvdongbing proposed openstack/python-senlinclient: Make policy-create show result policy correctly  https://review.openstack.org/25477714:23
Qimingin the case of 202 return code, SDK is now setting the response body to {}14:23
Qimingthat is why we are no longer getting the 'action' key from the response body14:24
Qiminganyway, if the resize logic was correct, you may have your cluster already resized, :)14:24
cschulzOh let me check14:25
cschulzNope, resize didn't happen.14:27
*** elynn__ has quit IRC14:27
cschulzShould I open a bug report?14:29
Qimingthat would help14:29
cschulzHow do I do that?14:30
Qiminghttps://bugs.launchpad.net/senlin/14:30
Qimingupper right corner, "Report a bug"14:30
Qimingin the bug report, please paste the trace you got14:31
cschulzOK14:31
Qimingbed time14:33
Qimingsee you, guys14:34
cschulzGood night.  Thanks.14:34
*** Qiming has quit IRC14:34
*** pratikmallya has quit IRC15:05
openstackgerritlvdongbing proposed openstack/senlin: Format time to cut microsecond  https://review.openstack.org/25481415:09
*** pratikmallya has joined #senlin15:44
*** pratikmallya has quit IRC16:19
*** pratikmallya has joined #senlin16:30
*** openstackgerrit has quit IRC16:47
*** openstackgerrit has joined #senlin16:48
*** pratikmallya has quit IRC17:36
*** lkarm has quit IRC17:42
*** pratikmallya has joined #senlin18:07
*** lkarm has joined #senlin18:41
*** openstackgerrit has quit IRC19:02
*** openstackgerrit has joined #senlin19:03
*** pratikmallya has quit IRC19:33
*** pratikmallya has joined #senlin19:36
*** pratikma_ has joined #senlin22:10
*** pratikmallya has quit IRC22:14
*** pratikma_ has quit IRC22:15
*** pratikmallya has joined #senlin22:43
*** yuanying has joined #senlin23:00
*** lkarm has quit IRC23:02
openstackgerritxu-haiwei proposed openstack/senlin: Make node join/leave return a location header  https://review.openstack.org/25464123:57

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