Wednesday, 2017-06-28

*** wanghao has joined #openstack-mogan00:39
*** fredli__ has joined #openstack-mogan01:02
*** litao__ has joined #openstack-mogan01:05
*** liujiong has joined #openstack-mogan01:36
zhenguomorning mogan!01:53
liushengmorning02:01
openstackgerritliusheng proposed openstack/mogan master: Reporting nodes resource to placement service  https://review.openstack.org/47632502:02
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782602:02
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742602:02
openstackgerritliusheng proposed openstack/mogan master: Reporting nodes resource to placement service  https://review.openstack.org/47632502:05
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782602:05
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742602:05
*** liujiong has quit IRC02:09
*** liujiong has joined #openstack-mogan02:09
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782602:12
litao__morning02:36
*** wanghao has quit IRC03:17
*** wanghao has joined #openstack-mogan03:18
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835703:28
liushengzhenguo: we don't need node list api ?03:34
*** wanghao has quit IRC03:37
*** wanghao has joined #openstack-mogan03:39
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836103:39
openstackgerritZhenguo Niu proposed openstack/mogan-specs master: Track resources using Placement  https://review.openstack.org/47570003:39
zhenguoliusheng: yes, after moved to placement, I think we don't need that anymore03:40
liushengzhenguo: or redirect to query placement api ? lol03:41
zhenguoliusheng: no need proxy API,03:41
zhenguoliusheng: admins can call placement directly03:41
liushengzhenguo: hah, ok03:41
zhenguoliusheng: I just added something to the placement spec based on you codes, lol03:41
liushengzhenguo: ok, thanks, will take a look03:42
zhenguoliusheng: ok03:42
liushengzhenguo: how about az list api ? since, it currectly depends on the node objects in Mogan db03:43
zhenguoliusheng: maybe just get rid of all of them...03:44
liushengzhenguo: lol03:44
liushengzhenguo: maybe report the node's az info to placement as traits in future03:45
zhenguoliusheng: as aggregates traits03:45
liushengzhenguo: yes03:45
zhenguoliusheng: sure03:46
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836103:48
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836103:53
*** Kevin_Zheng has quit IRC03:59
*** fredli__ has quit IRC04:01
*** liujiong has quit IRC05:35
*** liujiong has joined #openstack-mogan06:01
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835706:17
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836106:17
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840306:39
openstackgerritliusheng proposed openstack/python-moganclient master: Remove the listing availability zone interface  https://review.openstack.org/47840506:44
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840606:51
openstackgerritliusheng proposed openstack/python-moganclient master: Remove the listing availability zone interface  https://review.openstack.org/47840506:56
*** wanghao has quit IRC07:03
*** wanghao has joined #openstack-mogan07:05
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840607:39
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840307:39
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840608:29
openstackgerritMerged openstack/mogan master: Updated from global requirements  https://review.openstack.org/47795808:33
XinranHi, all. I got image not found when creating server after I update the lastest code, have you met this problem?08:50
zhenguoXinran: our gate is green, so that seems not a issue08:52
zhenguoliusheng: have you got that problem?08:52
liushengzhenguo: did't found the problem08:54
*** liusheng has left #openstack-mogan08:54
*** liusheng has joined #openstack-mogan08:55
liushengXinran: when you update your code ?08:55
zhenguoliusheng: seems you got all the placement work done, awesome08:55
liushengzhenguo: yes, hah08:56
zhenguoliusheng: hah08:56
Xinranliusheng,  Tuesday08:56
liushengXinran: may you can try to update again ?08:57
zhenguoliusheng: maybe because the uwsgi?08:57
liushengXinran: Tuesday08:57
zhenguoXinran: can you paste  the logs here08:57
liushengXinran: https://review.openstack.org/#/c/477768/08:57
liushengXinran: you can confirm if this patch in your latest code08:58
Xinranliusheng,  i've update again today, it doesn't work08:58
Xinranliusheng,  yes08:58
liushengoh, seem it is not this issue you met08:59
Xinranbefore i do updates, it was working... really strange09:00
liushengXinran: I can boot server in my env with latest code, it is weird, may you can paste related logs09:01
Xinranliusheng,   openstack baremetal server create --image 6d3bce3e-2f0b-4801-b5d5-2f240b6fa210 --nic net-id=6bc1dc35-1dbf-4797-8f3a-32a98d7523c9 --flavor small server009:05
XinranRequested image 6d3bce3e-2f0b-4801-b5d5-2f240b6fa210 could not be found (HTTP 400) (Request-ID: req-7a541a4c-eb64-43e7-aeff-2b41ed0a3bf5)09:05
Xinranthis is command line09:05
Xinrannothing in log shows an error..09:05
Xinrani also tried with the image's name as a parameter09:07
liushengXinran: you can confirm if this image is belong to your current tenant, and check if the "visibility" of the image is "public"09:07
liushengXinran: is the image the output of "openstack image list" in your env ?09:08
Xinranyes09:08
Xinranit's public09:09
liushengXinran: you can add "--debug" in your command to see more details09:11
Xinranliusheng,  curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}23b2d86a65e66a20ee99bd937d072794e94722ee' -H 'Content-Type: application/octet-stream' http://10.238.158.163:9292/v2/schemas/image09:14
Xinranhttp://10.238.158.163:9292 "GET /v2/schemas/image HTTP/1.1" 200 413709:14
XinranGET call to image for http://10.238.158.163:9292/v2/schemas/image used request id req-40fd59e3-f51f-42af-9041-dd240799d8f309:14
XinranHTTP/1.1 200 OK09:14
XinranContent-Type: application/json09:14
XinranContent-Length: 413709:14
XinranX-Openstack-Request-Id: req-40fd59e3-f51f-42af-9041-dd240799d8f309:14
XinranDate: Wed, 28 Jun 2017 09:10:10 GMT09:14
XinranConnection: keep-alive09:14
liushengXinran: I mean add "--debug" in your server creation command09:15
Xinranliusheng,  hah I see.09:15
Xinranit's part of the details09:16
liushengXinran: oh, hah09:16
Xinranfrom this part, i think it already get the image sucessfully09:17
Xinranthe problem occurs here : curl -g -i -X POST http://10.238.158.163:6688/v1/servers -H "User-Agent: python-moganclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}23b2d86a65e66a20ee99bd937d072794e94722ee" -d '{"name": "server0", "max_count": 1, "flavor_uuid": "6edad57b-ce07-4c10-adb4-eeaed1c0ff7e", "min_count": 1, "image_uuid": "6d3bce3e-2f0b-4801-b5d5-2f240b6fa210", "networks": [{"net_id": "6bc1dc35-1db09:17
Xinranf-4797-8f3a-32a98d7523c9"}]}'09:17
Xinranhttp://10.238.158.163:6688 "POST /v1/servers HTTP/1.1" 400 16309:17
XinranRESP: [400] Openstack-Request-Id: req-d02e4322-2c3e-4e30-ad97-61912593c0cb Content-Type: application/json Content-Length: 163 Date: Wed, 28 Jun 2017 09:10:10 GMT Connection: keep-alive09:17
XinranRESP BODY: {"error_message": "{\"debuginfo\": null, \"faultcode\": \"Client\", \"faultstring\": \"Requested image 6d3bce3e-2f0b-4801-b5d5-2f240b6fa210 could not be found\"}"}09:17
liushengXinran: it is a bit weird, you can try to update moganclient, glanceclient, and openstackclient and try again09:19
Xinranliusheng, ok will try thx09:23
*** wanghao has quit IRC09:35
Xinranliusheng,  still doesn't work :(09:42
*** liujiong has quit IRC10:13
*** litao__ has quit IRC11:57
*** zhuli has quit IRC12:09

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