*** zhurong has quit IRC | 00:05 | |
*** elynn_ has quit IRC | 00:21 | |
*** zhurong has joined #senlin | 01:13 | |
*** yanyanhu has joined #senlin | 01:19 | |
openstackgerrit | zzxwill proposed openstack/senlin: Modify PolicyBindingNotFound exception https://review.openstack.org/359502 | 01:20 |
---|---|---|
openstackgerrit | OpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements https://review.openstack.org/359529 | 01:39 |
*** elynn has joined #senlin | 01:52 | |
yanyanhu | hi, 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 cut | 01:56 |
yanyanhu | could need a while it fix it | 01:56 |
Qiming | okay, 0.9.3 was out last night | 01:56 |
Qiming | we can propose a new cut if necessary | 01:57 |
yanyanhu | ok | 01:57 |
Qiming | 0.9.3 didn't include zaqar v2 | 01:57 |
yanyanhu | yes | 01:57 |
Qiming | maybe that is a rightful argument for the proposal | 01:57 |
yanyanhu | Yes, from senlin perspective, really another cut | 01:58 |
Qiming | I mean from sdk's perspective, it could be a strong argument | 01:58 |
yanyanhu | oh, I see | 01:59 |
*** elynn_ has joined #senlin | 01:59 | |
*** elynn has quit IRC | 02:02 | |
*** yuanying_ has joined #senlin | 02:51 | |
*** yuanying has quit IRC | 02:52 | |
*** yuanying has joined #senlin | 02:53 | |
*** yuanying has quit IRC | 02:55 | |
*** yuanying has joined #senlin | 02:56 | |
*** yuanying_ has quit IRC | 02:57 | |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Release note for Zaqar resource support https://review.openstack.org/359556 | 03:01 |
*** haiwei has quit IRC | 03:08 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Add eval_status operation to cluster https://review.openstack.org/359177 | 03:28 |
*** yuanying has quit IRC | 03:48 | |
*** yuanying has joined #senlin | 03:51 | |
*** elynn_ has quit IRC | 04:31 | |
yanyanhu | hi, Qiming, around? | 05:21 |
Qiming | y | 05:21 |
yanyanhu | in last meeting, you mentioned we'd better avoid introducing new middleware for message nofication | 05:21 |
yanyanhu | I think maybe we can extend webhook middleware and reuse it | 05:22 |
yanyanhu | s/nofication/notification | 05:22 |
Qiming | yes | 05:25 |
Qiming | that would be desirable | 05:26 |
yanyanhu | yes, and I think we may need zaqar to have the ability to idenfity itself when sending notification to an subscriber | 05:29 |
yanyanhu | but this could need enhancement on zaqar's notifying mechanism | 05:29 |
yanyanhu | will talk with feilong about this issue | 05:29 |
Qiming | okay | 05:29 |
Qiming | that differentiation is import because we want to leverage whatever advantages we get when using zaqar | 05:30 |
yanyanhu | yes | 05:33 |
*** elynn_ has joined #senlin | 05:45 | |
*** elynn_ has quit IRC | 05:50 | |
*** elynn_ has joined #senlin | 05:50 | |
openstackgerrit | Lu lei proposed openstack/python-senlinclient: py3:Rmove six.iteritems/iterkeys in python-senlinclient https://review.openstack.org/358926 | 06:12 |
*** lulei has joined #senlin | 06:20 | |
openstackgerrit | Lu lei proposed openstack/python-senlinclient: Remove mox3 in test-requirement.txt of senlinclient https://review.openstack.org/359617 | 06:31 |
*** xuhaiwei has joined #senlin | 06:41 | |
openstackgerrit | Yanyan Hu proposed openstack/senlin: [WIP]Minor tweak webhook receiver https://review.openstack.org/359636 | 07:12 |
openstackgerrit | zhangyanxian proposed openstack/senlin: Some new typos need to be fixed https://review.openstack.org/358921 | 07:15 |
elynn_ | Hi Qiming Yanyanhu | 07:20 |
yanyanhu | hi | 07:20 |
Qiming | yes | 07:20 |
elynn_ | I just try node-create | 07:20 |
elynn_ | and I found that location is None in my env | 07:20 |
elynn_ | Do you noticing anything bugs related to it? | 07:21 |
yanyanhu | elynn_, 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 |
Qiming | oh, API is fine | 07:23 |
Qiming | DEBUG (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 |
Qiming | DEBUG (connectionpool) "POST /v1/nodes HTTP/1.1" 202 484 | 07:23 |
Qiming | DEBUG (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-alive | 07:23 |
Qiming | RESP 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": "002 | 07:23 |
Qiming | c509b7587463b90603617b7cdd704"}} | 07:23 |
elynn_ | okay, let me update my sdk and try again. | 07:24 |
yanyanhu | it works fine in my env as well | 07:25 |
elynn_ | seems client or sdk didn't set 'location' | 07:29 |
yanyanhu | elynn_, you mean the location property of cluster object was not set correctly? | 07:33 |
elynn_ | yanyanhu, yes. | 07:35 |
yanyanhu | maybe 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 body | 07:37 |
Qiming | sdk side the 'location' property has been abstracted into resource2.Resource class | 07:39 |
Qiming | here ... http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/openstack/resource2.py#n222 | 07:40 |
Qiming | so that should not happen | 07:40 |
elynn_ | I just wanna figure if it's a bug or my env problem... | 07:42 |
openstackgerrit | Ethan Lynn proposed openstack/python-senlinclient: Fix _show_node error https://review.openstack.org/359660 | 07:53 |
openstackgerrit | Ethan Lynn proposed openstack/python-senlinclient: Fix _show_node error https://review.openstack.org/359660 | 07:58 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Minor tweak webhook receiver https://review.openstack.org/359636 | 08:09 |
elynn_ | http://paste.openstack.org/show/562897/ | 08:09 |
elynn_ | 'Location' in response.headers | 08: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 |
Qiming | oh? | 08:31 |
Qiming | according to RFC2616, 'Location' is the right header name | 08:36 |
Qiming | so ... I'll fix the sdk | 08:37 |
elynn_ | :) That's great | 08:38 |
Qiming | https://review.openstack.org/359692 | 08:42 |
Qiming | will let brian know about this | 08:43 |
Qiming | it could be a chance for the zaqar v2 resources to get in | 08:44 |
elynn_ | many thanks! | 08:44 |
Qiming | yanyan, 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 |
Qiming | em ... | 08:48 |
Qiming | add sdk debug option? | 08:48 |
elynn_ | I will look into it later. | 08:49 |
Qiming | https://review.openstack.org/#/c/356302/6/senlin/drivers/openstack/sdk.py | 08:52 |
Qiming | this is how to enable sdk logging | 08:52 |
elynn_ | Great, thanks, will try ! | 08:53 |
*** shu-mutou is now known as shu-mutou-AFK | 09:04 | |
Qiming | ever tried this? | 09:11 |
Qiming | nova --debug ssh --network private --login cirros --address-type fixed --extra-opts "-C ls /" 420124b0-1162-4d25-ac77-205ef99e0d38 | 09:11 |
elynn_ | !! nova provide a ssh command? | 09:32 |
openstack | elynn_: Error: "!" is not a valid command. | 09:32 |
elynn_ | First time saw this | 09:32 |
xuhaiwei | hi 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 |
xuhaiwei | 0.9.2 | 09:40 |
xuhaiwei | I know 0.9.3 is the latest, but by default 0.9.2 is installed | 09:41 |
xuhaiwei | even if I changed to 0.9.3, it still doesn't work, senlin-api even can't be started | 09:42 |
yanyanhu | hi, xuhaiwei, what error was raised when you started senlin-api service | 09:43 |
elynn_ | are you using the latest codes? | 09:43 |
xuhaiwei | yes, the latest codes | 09:43 |
elynn_ | 1. upgrade to sdk 0.9.3 by: pip install -U openstacksdk | 09:44 |
elynn_ | 2. install senlin requirement: pip install -r requirements.txt | 09:44 |
elynn_ | 3. update senlin db: senlin-manage db_sync | 09:44 |
elynn_ | 4. Try to start senlin-api | 09:45 |
elynn_ | That's all I know to update senlin codes. | 09:46 |
xuhaiwei | yanyanhu, elynn_, thanks, it works | 09:46 |
xuhaiwei | 0.9.3 is required | 09:46 |
xuhaiwei | the reason it failed may due to my env problems | 09:47 |
xuhaiwei | last time | 09:47 |
elynn_ | That's great! no you can continue your work :) | 09:48 |
elynn_ | s/no/now | 09:48 |
xuhaiwei | I think it is necessary to update requirements.txt to make sure openstacksdk>=0.9.3 | 09:48 |
*** lulei has quit IRC | 09:48 | |
xuhaiwei | 0.9.2 does not work, but will be installed by default | 09:48 |
elynn_ | yes, latest codes needs sdk 0.9.3 | 09:50 |
*** yanyanhu has quit IRC | 09:51 | |
elynn_ | https://review.openstack.org/#/c/359486/ | 09:51 |
elynn_ | this patch still under review. | 09:52 |
xuhaiwei | ok | 09:52 |
xuhaiwei | thanks | 09:52 |
elynn_ | yw | 09:52 |
openstackgerrit | Merged openstack/python-senlinclient: Fix _show_node error https://review.openstack.org/359660 | 09:54 |
*** zhurong has quit IRC | 09:59 | |
openstackgerrit | Ethan Lynn proposed openstack/python-senlinclient: Fix get_node https://review.openstack.org/359772 | 10:29 |
*** elynn_ has quit IRC | 10:43 | |
Qiming | 0.9.3 is broken as well | 10:51 |
Qiming | the location header is incorrect | 10:51 |
Qiming | I have blocked the version bumping request: https://review.openstack.org/359486 | 10:52 |
*** elynn_ has joined #senlin | 13:05 | |
*** openstackgerrit has quit IRC | 13:26 | |
*** openstackgerrit has joined #senlin | 13:27 | |
*** ChanServ sets mode: +v openstackgerrit | 13:27 | |
*** zhurong has joined #senlin | 13:38 | |
*** zhurong has quit IRC | 13:41 | |
*** zhurong has joined #senlin | 13:43 | |
*** elynn_ has quit IRC | 14:05 | |
*** elynn_ has joined #senlin | 14:23 | |
*** Drago has joined #senlin | 14:52 | |
*** Drago has quit IRC | 14:52 | |
*** Drago has joined #senlin | 14:53 | |
*** elynn_ has quit IRC | 14:54 | |
*** zhurong has quit IRC | 15:08 | |
*** elynn_ has joined #senlin | 15:12 | |
*** elynn_ has quit IRC | 16:01 | |
openstackgerrit | Merged openstack/python-senlinclient: Fix get_node https://review.openstack.org/359772 | 16:57 |
openstackgerrit | Merged openstack/python-senlinclient: Remove mox3 in test-requirement.txt of senlinclient https://review.openstack.org/359617 | 16:57 |
*** Drago has quit IRC | 18:14 | |
*** Drago has joined #senlin | 18:53 | |
*** Drago has quit IRC | 20:41 | |
*** Drago has joined #senlin | 20:42 | |
*** zigo has quit IRC | 22:56 | |
*** zigo has joined #senlin | 22:57 | |
*** elynn_ has joined #senlin | 23:14 | |
*** Drago has quit IRC | 23:39 | |
*** zhurong has joined #senlin | 23:54 | |
*** shu-mutou-AFK is now known as shu-mutou | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!