Wednesday, 2016-08-24

*** zhurong has quit IRC00:05
*** elynn_ has quit IRC00:21
*** zhurong has joined #senlin01:13
*** yanyanhu has joined #senlin01:19
openstackgerritzzxwill proposed openstack/senlin: Modify PolicyBindingNotFound exception  https://review.openstack.org/35950201:20
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/35952901:39
*** elynn has joined #senlin01:52
yanyanhuhi, Qiming, I'm still working on zaqar claim patch for sdk. There is a new issue about claim id need to fix. Plz just tell me if brian starts to make the cut01:56
yanyanhucould need a while it fix it01:56
Qimingokay, 0.9.3 was out last night01:56
Qimingwe can propose a new cut if necessary01:57
yanyanhuok01:57
Qiming0.9.3 didn't include zaqar v201:57
yanyanhuyes01:57
Qimingmaybe that is a rightful argument for the proposal01:57
yanyanhuYes,  from senlin perspective, really another cut01:58
QimingI mean from sdk's perspective, it could be a strong argument01:58
yanyanhuoh, I see01:59
*** elynn_ has joined #senlin01:59
*** elynn has quit IRC02:02
*** yuanying_ has joined #senlin02:51
*** yuanying has quit IRC02:52
*** yuanying has joined #senlin02:53
*** yuanying has quit IRC02:55
*** yuanying has joined #senlin02:56
*** yuanying_ has quit IRC02:57
openstackgerritYanyan Hu proposed openstack/senlin: Release note for Zaqar resource support  https://review.openstack.org/35955603:01
*** haiwei has quit IRC03:08
openstackgerritQiming Teng proposed openstack/senlin: Add eval_status operation to cluster  https://review.openstack.org/35917703:28
*** yuanying has quit IRC03:48
*** yuanying has joined #senlin03:51
*** elynn_ has quit IRC04:31
yanyanhuhi, Qiming, around?05:21
Qimingy05:21
yanyanhuin last meeting, you mentioned we'd better avoid introducing new middleware for message nofication05:21
yanyanhuI think maybe we can extend webhook middleware and reuse it05:22
yanyanhus/nofication/notification05:22
Qimingyes05:25
Qimingthat would be desirable05:26
yanyanhuyes, and I think we may need zaqar to have the ability to idenfity itself when sending notification to an subscriber05:29
yanyanhubut this could need enhancement on zaqar's notifying mechanism05:29
yanyanhuwill talk with feilong about this issue05:29
Qimingokay05:29
Qimingthat differentiation is import because we want to leverage whatever advantages we get when using zaqar05:30
yanyanhuyes05:33
*** elynn_ has joined #senlin05:45
*** elynn_ has quit IRC05:50
*** elynn_ has joined #senlin05:50
openstackgerritLu lei proposed openstack/python-senlinclient: py3:Rmove six.iteritems/iterkeys in python-senlinclient  https://review.openstack.org/35892606:12
*** lulei has joined #senlin06:20
openstackgerritLu lei proposed openstack/python-senlinclient: Remove mox3 in test-requirement.txt of senlinclient  https://review.openstack.org/35961706:31
*** xuhaiwei has joined #senlin06:41
openstackgerritYanyan Hu proposed openstack/senlin: [WIP]Minor tweak webhook receiver  https://review.openstack.org/35963607:12
openstackgerritzhangyanxian proposed openstack/senlin: Some new typos need to be fixed  https://review.openstack.org/35892107:15
elynn_Hi Qiming Yanyanhu07:20
yanyanhuhi07:20
Qimingyes07:20
elynn_I just try node-create07:20
elynn_and I found that location is None in my env07:20
elynn_Do you noticing anything bugs related to it?07:21
yanyanhuelynn_, you mean location in resp?07:22
elynn_Oh, I use senlinclient, and resp.location is none.07:22
elynn_let me try rest api.07:22
Qimingoh, API is fine07:23
QimingDEBUG (session) REQ: curl -g -i -X POST http://192.168.42.11:8778/v1/nodes -H "openstack-api-version: clustering 1.2" -H "User-Agent: python-senlinclient openstacksdk/0.9.4 keystoneauth1/2.11.0 python-requests/2.11.0 CPython/2.7.5" -H "Content-Type: application/json" -H "X-Auth-Token: {SHA1}0561fb1e576546f7e98e577729afb5845848fb90" -d '{"node": {"cluster_id": null, "profile_id": "pstack", "role": null, "name": "node-test", "tags": {}}}'07:23
QimingDEBUG (connectionpool) "POST /v1/nodes HTTP/1.1" 202 48407:23
QimingDEBUG (session) RESP: [202] Location: http://192.168.42.11:8778/v1/actions/90bb2c2e-5a48-4027-8964-4c8aa95fa8bb Openstack-Api-Version: clustering 1.2 Vary: OpenStack-API-Version Content-Type: application/json; charset=UTF-8 Content-Length: 484 X-Openstack-Request-Id: req-fdbe0749-2a4f-4ee5-b022-4990efcd3133 Date: Wed, 24 Aug 2016 07:22:10 GMT Connection: keep-alive07:23
QimingRESP BODY: {"node": {"cluster_id": "", "created_at": null, "data": {}, "domain": null, "id": "56224cb9-e615-4812-9ec5-dc7fea9c888a", "index": -1, "init_at": "2016-08-24T07:22:10Z", "metadata": {}, "name": "node-test", "physical_id": null, "profile_id": "f8d01b01-ce1a-4477-a379-a83e18eaf956", "profile_name": "pstack", "project": "369166a68a3a49b78b4e138531556e55", "role": null, "status": "INIT", "status_reason": "Initializing", "updated_at": null, "user": "00207:23
Qimingc509b7587463b90603617b7cdd704"}}07:23
elynn_okay, let me update my sdk and try again.07:24
yanyanhuit works fine in my env as well07:25
elynn_seems client or sdk didn't set 'location'07:29
yanyanhuelynn_, you mean the location property of cluster object was not set correctly?07:33
elynn_yanyanhu, yes.07:35
yanyanhumaybe bugs there? but when I made test on zaqar claim resource, I found location property of claim resource object can be set correctly to the location value included in resp body07:37
Qimingsdk side the 'location' property has been abstracted into resource2.Resource class07:39
Qiminghere ... http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/openstack/resource2.py#n22207:40
Qimingso that should not happen07:40
elynn_I just wanna figure if it's a bug or my env problem...07:42
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Fix _show_node error  https://review.openstack.org/35966007:53
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Fix _show_node error  https://review.openstack.org/35966007:58
openstackgerritYanyan Hu proposed openstack/senlin: Minor tweak webhook receiver  https://review.openstack.org/35963608:09
elynn_http://paste.openstack.org/show/562897/08:09
elynn_'Location' in response.headers08:11
elynn_while _filter_component looking for 'location' ...08:11
elynn_with 'l' for first letter ...08:12
elynn_Two ways to fix this, 1. lowercase the response headers for filter, 2. add location=Header('Location') to senlin resources, which one would you prefer?08:15
Qimingoh?08:31
Qimingaccording to RFC2616, 'Location' is the right header name08:36
Qimingso ... I'll fix the sdk08:37
elynn_:) That's great08:38
Qiminghttps://review.openstack.org/35969208:42
Qimingwill let brian know about this08:43
Qimingit could be a chance for the zaqar v2 resources to get in08:44
elynn_many thanks!08:44
Qimingyanyan, are the subscription and claim apis ready, i.e. working?08:45
elynn_Hi Qiming , I'm still got resource not found error when creating a heat.stack node.08:47
elynn_http://paste.openstack.org/show/562904/08:47
Qimingem ...08:48
Qimingadd sdk debug option?08:48
elynn_I will look into it later.08:49
Qiminghttps://review.openstack.org/#/c/356302/6/senlin/drivers/openstack/sdk.py08:52
Qimingthis is how to enable sdk logging08:52
elynn_Great, thanks, will try !08:53
*** shu-mutou is now known as shu-mutou-AFK09:04
Qimingever tried this?09:11
Qiming nova --debug ssh --network private --login cirros --address-type fixed --extra-opts "-C ls /" 420124b0-1162-4d25-ac77-205ef99e0d3809:11
elynn_!! nova provide a ssh command?09:32
openstackelynn_: Error: "!" is not a valid command.09:32
elynn_First time saw this09:32
xuhaiweihi guys, why am I still sufferring this error, I have reinstalled my devstack env http://paste.openstack.org/show/562909/09:39
elynn_xuhaiwei, what version of sdk are you using?09:40
xuhaiwei0.9.209:40
xuhaiweiI know 0.9.3 is the latest, but by default 0.9.2 is installed09:41
xuhaiweieven if I changed to 0.9.3, it still doesn't work, senlin-api even can't be started09:42
yanyanhuhi, xuhaiwei, what error was raised when you started senlin-api service09:43
elynn_are you using the latest codes?09:43
xuhaiweiyes, the latest codes09:43
elynn_1. upgrade to sdk 0.9.3 by: pip install -U openstacksdk09:44
elynn_2. install senlin requirement: pip install -r requirements.txt09:44
elynn_3. update senlin db: senlin-manage db_sync09:44
elynn_4. Try  to start senlin-api09:45
elynn_That's all I know to update senlin codes.09:46
xuhaiweiyanyanhu, elynn_, thanks, it works09:46
xuhaiwei0.9.3 is required09:46
xuhaiweithe reason it failed may due to my env problems09:47
xuhaiweilast time09:47
elynn_That's great! no you can continue your work :)09:48
elynn_s/no/now09:48
xuhaiweiI think it is necessary to update requirements.txt  to make sure openstacksdk>=0.9.309:48
*** lulei has quit IRC09:48
xuhaiwei0.9.2 does not work, but will be installed by default09:48
elynn_yes, latest codes needs sdk 0.9.309:50
*** yanyanhu has quit IRC09:51
elynn_https://review.openstack.org/#/c/359486/09:51
elynn_this patch still under review.09:52
xuhaiweiok09:52
xuhaiweithanks09:52
elynn_yw09:52
openstackgerritMerged openstack/python-senlinclient: Fix _show_node error  https://review.openstack.org/35966009:54
*** zhurong has quit IRC09:59
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Fix get_node  https://review.openstack.org/35977210:29
*** elynn_ has quit IRC10:43
Qiming0.9.3 is broken as well10:51
Qimingthe location header is incorrect10:51
QimingI have blocked the version bumping request: https://review.openstack.org/35948610:52
*** elynn_ has joined #senlin13:05
*** openstackgerrit has quit IRC13:26
*** openstackgerrit has joined #senlin13:27
*** ChanServ sets mode: +v openstackgerrit13:27
*** zhurong has joined #senlin13:38
*** zhurong has quit IRC13:41
*** zhurong has joined #senlin13:43
*** elynn_ has quit IRC14:05
*** elynn_ has joined #senlin14:23
*** Drago has joined #senlin14:52
*** Drago has quit IRC14:52
*** Drago has joined #senlin14:53
*** elynn_ has quit IRC14:54
*** zhurong has quit IRC15:08
*** elynn_ has joined #senlin15:12
*** elynn_ has quit IRC16:01
openstackgerritMerged openstack/python-senlinclient: Fix get_node  https://review.openstack.org/35977216:57
openstackgerritMerged openstack/python-senlinclient: Remove mox3 in test-requirement.txt of senlinclient  https://review.openstack.org/35961716:57
*** Drago has quit IRC18:14
*** Drago has joined #senlin18:53
*** Drago has quit IRC20:41
*** Drago has joined #senlin20:42
*** zigo has quit IRC22:56
*** zigo has joined #senlin22:57
*** elynn_ has joined #senlin23:14
*** Drago has quit IRC23:39
*** zhurong has joined #senlin23:54
*** shu-mutou-AFK is now known as shu-mutou23:55

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