*** wanghao has joined #openstack-mogan | 00:39 | |
*** fredli__ has joined #openstack-mogan | 01:02 | |
*** litao__ has joined #openstack-mogan | 01:05 | |
*** liujiong has joined #openstack-mogan | 01:36 | |
zhenguo | morning mogan! | 01:53 |
---|---|---|
liusheng | morning | 02:01 |
openstackgerrit | liusheng proposed openstack/mogan master: Reporting nodes resource to placement service https://review.openstack.org/476325 | 02:02 |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 02:02 |
openstackgerrit | liusheng proposed openstack/mogan master: Refactor the scheduler to use placement service https://review.openstack.org/477426 | 02:02 |
openstackgerrit | liusheng proposed openstack/mogan master: Reporting nodes resource to placement service https://review.openstack.org/476325 | 02:05 |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 02:05 |
openstackgerrit | liusheng proposed openstack/mogan master: Refactor the scheduler to use placement service https://review.openstack.org/477426 | 02:05 |
*** liujiong has quit IRC | 02:09 | |
*** liujiong has joined #openstack-mogan | 02:09 | |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 02:12 |
litao__ | morning | 02:36 |
*** wanghao has quit IRC | 03:17 | |
*** wanghao has joined #openstack-mogan | 03:18 | |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db https://review.openstack.org/478357 | 03:28 |
liusheng | zhenguo: we don't need node list api ? | 03:34 |
*** wanghao has quit IRC | 03:37 | |
*** wanghao has joined #openstack-mogan | 03:39 | |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 03:39 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan-specs master: Track resources using Placement https://review.openstack.org/475700 | 03:39 |
zhenguo | liusheng: yes, after moved to placement, I think we don't need that anymore | 03:40 |
liusheng | zhenguo: or redirect to query placement api ? lol | 03:41 |
zhenguo | liusheng: no need proxy API, | 03:41 |
zhenguo | liusheng: admins can call placement directly | 03:41 |
liusheng | zhenguo: hah, ok | 03:41 |
zhenguo | liusheng: I just added something to the placement spec based on you codes, lol | 03:41 |
liusheng | zhenguo: ok, thanks, will take a look | 03:42 |
zhenguo | liusheng: ok | 03:42 |
liusheng | zhenguo: how about az list api ? since, it currectly depends on the node objects in Mogan db | 03:43 |
zhenguo | liusheng: maybe just get rid of all of them... | 03:44 |
liusheng | zhenguo: lol | 03:44 |
liusheng | zhenguo: maybe report the node's az info to placement as traits in future | 03:45 |
zhenguo | liusheng: as aggregates traits | 03:45 |
liusheng | zhenguo: yes | 03:45 |
zhenguo | liusheng: sure | 03:46 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 03:48 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 03:53 |
*** Kevin_Zheng has quit IRC | 03:59 | |
*** fredli__ has quit IRC | 04:01 | |
*** liujiong has quit IRC | 05:35 | |
*** liujiong has joined #openstack-mogan | 06:01 | |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db https://review.openstack.org/478357 | 06:17 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 06:17 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code https://review.openstack.org/478403 | 06:39 |
openstackgerrit | liusheng proposed openstack/python-moganclient master: Remove the listing availability zone interface https://review.openstack.org/478405 | 06:44 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 06:51 |
openstackgerrit | liusheng proposed openstack/python-moganclient master: Remove the listing availability zone interface https://review.openstack.org/478405 | 06:56 |
*** wanghao has quit IRC | 07:03 | |
*** wanghao has joined #openstack-mogan | 07:05 | |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 07:39 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code https://review.openstack.org/478403 | 07:39 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 08:29 |
openstackgerrit | Merged openstack/mogan master: Updated from global requirements https://review.openstack.org/477958 | 08:33 |
Xinran | Hi, all. I got image not found when creating server after I update the lastest code, have you met this problem? | 08:50 |
zhenguo | Xinran: our gate is green, so that seems not a issue | 08:52 |
zhenguo | liusheng: have you got that problem? | 08:52 |
liusheng | zhenguo: did't found the problem | 08:54 |
*** liusheng has left #openstack-mogan | 08:54 | |
*** liusheng has joined #openstack-mogan | 08:55 | |
liusheng | Xinran: when you update your code ? | 08:55 |
zhenguo | liusheng: seems you got all the placement work done, awesome | 08:55 |
liusheng | zhenguo: yes, hah | 08:56 |
zhenguo | liusheng: hah | 08:56 |
Xinran | liusheng, Tuesday | 08:56 |
liusheng | Xinran: may you can try to update again ? | 08:57 |
zhenguo | liusheng: maybe because the uwsgi? | 08:57 |
liusheng | Xinran: Tuesday | 08:57 |
zhenguo | Xinran: can you paste the logs here | 08:57 |
liusheng | Xinran: https://review.openstack.org/#/c/477768/ | 08:57 |
liusheng | Xinran: you can confirm if this patch in your latest code | 08:58 |
Xinran | liusheng, i've update again today, it doesn't work | 08:58 |
Xinran | liusheng, yes | 08:58 |
liusheng | oh, seem it is not this issue you met | 08:59 |
Xinran | before i do updates, it was working... really strange | 09:00 |
liusheng | Xinran: I can boot server in my env with latest code, it is weird, may you can paste related logs | 09:01 |
Xinran | liusheng, openstack baremetal server create --image 6d3bce3e-2f0b-4801-b5d5-2f240b6fa210 --nic net-id=6bc1dc35-1dbf-4797-8f3a-32a98d7523c9 --flavor small server0 | 09:05 |
Xinran | Requested image 6d3bce3e-2f0b-4801-b5d5-2f240b6fa210 could not be found (HTTP 400) (Request-ID: req-7a541a4c-eb64-43e7-aeff-2b41ed0a3bf5) | 09:05 |
Xinran | this is command line | 09:05 |
Xinran | nothing in log shows an error.. | 09:05 |
Xinran | i also tried with the image's name as a parameter | 09:07 |
liusheng | Xinran: you can confirm if this image is belong to your current tenant, and check if the "visibility" of the image is "public" | 09:07 |
liusheng | Xinran: is the image the output of "openstack image list" in your env ? | 09:08 |
Xinran | yes | 09:08 |
Xinran | it's public | 09:09 |
liusheng | Xinran: you can add "--debug" in your command to see more details | 09:11 |
Xinran | liusheng, 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/image | 09:14 |
Xinran | http://10.238.158.163:9292 "GET /v2/schemas/image HTTP/1.1" 200 4137 | 09:14 |
Xinran | GET call to image for http://10.238.158.163:9292/v2/schemas/image used request id req-40fd59e3-f51f-42af-9041-dd240799d8f3 | 09:14 |
Xinran | HTTP/1.1 200 OK | 09:14 |
Xinran | Content-Type: application/json | 09:14 |
Xinran | Content-Length: 4137 | 09:14 |
Xinran | X-Openstack-Request-Id: req-40fd59e3-f51f-42af-9041-dd240799d8f3 | 09:14 |
Xinran | Date: Wed, 28 Jun 2017 09:10:10 GMT | 09:14 |
Xinran | Connection: keep-alive | 09:14 |
liusheng | Xinran: I mean add "--debug" in your server creation command | 09:15 |
Xinran | liusheng, hah I see. | 09:15 |
Xinran | it's part of the details | 09:16 |
liusheng | Xinran: oh, hah | 09:16 |
Xinran | from this part, i think it already get the image sucessfully | 09:17 |
Xinran | the 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-1db | 09:17 |
Xinran | f-4797-8f3a-32a98d7523c9"}]}' | 09:17 |
Xinran | http://10.238.158.163:6688 "POST /v1/servers HTTP/1.1" 400 163 | 09:17 |
Xinran | RESP: [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-alive | 09:17 |
Xinran | RESP BODY: {"error_message": "{\"debuginfo\": null, \"faultcode\": \"Client\", \"faultstring\": \"Requested image 6d3bce3e-2f0b-4801-b5d5-2f240b6fa210 could not be found\"}"} | 09:17 |
liusheng | Xinran: it is a bit weird, you can try to update moganclient, glanceclient, and openstackclient and try again | 09:19 |
Xinran | liusheng, ok will try thx | 09:23 |
*** wanghao has quit IRC | 09:35 | |
Xinran | liusheng, still doesn't work :( | 09:42 |
*** liujiong has quit IRC | 10:13 | |
*** litao__ has quit IRC | 11:57 | |
*** zhuli has quit IRC | 12:09 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!