zhenguo | morning mogan! | 01:05 |
---|---|---|
*** liujiong has joined #openstack-mogan | 01:13 | |
*** litao__ has joined #openstack-mogan | 01:23 | |
liusheng | morning | 01:50 |
liusheng | zhenguo, Xinran for your problem, can you confirm if the "host" and "port" options configured in your ironic.conf ? | 01:51 |
liusheng | zhenguo, Xinran just remove the two options, the problem will be solved | 01:52 |
liusheng | I am not sure if we restack the config file will be totally generate a new file | 01:53 |
zhenguo | liusheng: seems we will not | 01:53 |
zhenguo | liusheng: will try your suggestions | 01:53 |
liusheng | zhenguo: so that is the killer :D | 01:54 |
liusheng | zhenguo: ironic has change to get the glance endpoint from keystone catalog, but if there is host and port configured in config file, the endpoint will be constructed by the host and port | 01:54 |
zhenguo | liusheng: oh, but in fact, I didn't update ironic code | 01:55 |
liusheng | zhenguo: because glance-api now running in uwsgi, the "port" shouldn't be included in the glance endpoint | 01:55 |
liusheng | zhenguo: hah | 01:55 |
zhenguo | liusheng: maybe I should update the ironic code and then restack to see | 01:55 |
liusheng | zhenguo: yes, you can update ironic and remove the ironic.conf and restack to try | 01:56 |
zhenguo | liusheng: ok, will follow your suggestions | 01:56 |
zhenguo | thansk | 01:56 |
liusheng | zhenguo: np | 01:57 |
liusheng | zhenguo: or you can just update the code and restart ironic and modify the config file to try | 01:57 |
zhenguo | liusheng: ok | 01:57 |
liusheng | zhenguo: if you have tried previously and create failed, you may need to try to clean the ironic db, may the nodes have instance uuid associated | 01:59 |
liusheng | zhenguo: just delete instance uuid | 01:59 |
zhenguo | liusheng: I failed to install the devstack after pull the ironic master codes, maybe the devstack is too old to support that | 02:48 |
zhenguo | liusheng: will try to update it | 02:48 |
zhenguo | liusheng: btw, I just left some comments on the placement patches queue, thanks for the hard work | 02:49 |
zhenguo | zhangyang: hi, do you want to upstream the cloudboot driver codes before Pike? | 02:55 |
liusheng | zhenguo: thanks | 02:58 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Remove cloudboot driver directory https://review.openstack.org/479120 | 03:04 |
zhenguo | https://bugs.launchpad.net/mogan/+bug/1701428 | 03:13 |
openstack | Launchpad bug 1701428 in Mogan "cant's set user_data/keypair during rebuilding" [Undecided,New] | 03:13 |
zhenguo | not sure if someone wants to take this task | 03:14 |
*** wanghao has joined #openstack-mogan | 03:15 | |
zhangyang | zhenguo: i'm not sure whether we can make it done before this month, when does pike stop merging codes? | 03:40 |
zhenguo | zhangyang: I think it's less than two months | 03:41 |
zhenguo | zhangyang: I just add patch to remove the cloudboot dir, but you can push it back with your codes in, hah | 03:41 |
zhangyang | zhenguo: yeah, i find pike will release at the end of August. | 03:41 |
zhenguo | zhangyang: yes | 03:42 |
zhangyang | zhenguo: ok | 03:42 |
zhenguo | zhangyang: and the placement migration will also affect the driver interfaces, but not much. | 03:43 |
zhangyang | zhenguo: yes, i know. liudong and i are thinking about it. | 03:44 |
zhenguo | zhangyang: ok, and aggregates will also moved to placement | 03:44 |
openstackgerrit | Kiran Totad proposed openstack/python-moganclient master: Use 'project' instead of 'tenant' when switching to openstackclient command https://review.openstack.org/479141 | 04:48 |
openstackgerrit | wanghao proposed openstack/mogan-specs master: Manage existing nodes in Mogan https://review.openstack.org/459967 | 06:47 |
Xinran | liusheng, i changed ironic.conf still doestn't work :( | 06:55 |
liusheng | Xinran: what's the problem now ? | 06:56 |
liusheng | Xinran: oh, you need to restart ironic conductor | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code https://review.openstack.org/478403 | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Reporting nodes resource to placement service https://review.openstack.org/476325 | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db https://review.openstack.org/478357 | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 07:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Refactor the scheduler to use placement service https://review.openstack.org/477426 | 07:10 |
Xinran | liusheng, yes i did it | 07:13 |
Xinran | liusheng, its the same problem | 07:13 |
liusheng | Xinran: it fail after you typing the creating command ? | 07:15 |
liusheng | Xinran: or an error server ? | 07:16 |
Xinran | liusheng, just after i type | 07:16 |
liusheng | Xinran: that is strange, I update my env, don't have the problem | 07:16 |
Xinran | liusheng, image could not be found | 07:17 |
Xinran | liusheng, i found port in api section in ironic.conf, is that port you mentioned? | 07:17 |
liusheng | Xinran: no, in [glance] section | 07:18 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 07:18 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code https://review.openstack.org/478403 | 07:18 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db https://review.openstack.org/478357 | 07:18 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 07:18 |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 07:18 |
liusheng | Xinran: it shouldn't cannot find the image, no error server ? | 07:19 |
Xinran | liusheng, no... | 07:20 |
liusheng | Xinran: can you create a server with curl command ? | 07:21 |
Xinran | liusheng, [glance] | 07:22 |
Xinran | swift_temp_url_duration = 3600 | 07:22 |
Xinran | swift_container = glance | 07:22 |
Xinran | swift_account = AUTH_9f3e857720494bdb85595b3c96fc22ea | 07:22 |
Xinran | swift_api_version = v1 | 07:22 |
Xinran | swift_endpoint_url = http://10.238.158.163:8080 | 07:22 |
Xinran | swift_temp_url_key = 123 | 07:22 |
Xinran | cafile = /opt/stack/data/ca-bundle.pem | 07:22 |
Xinran | project_domain_id = default | 07:22 |
Xinran | user_domain_id = default | 07:22 |
Xinran | project_name = service | 07:22 |
Xinran | password = 123 | 07:22 |
liusheng | Xinran: this is ok | 07:22 |
Xinran | username = ironic | 07:22 |
Xinran | auth_url = http://10.238.158.163/identity | 07:22 |
Xinran | auth_type = password | 07:22 |
Xinran | liusheng, no cant create with curl | 07:25 |
liusheng | Xinran: same error ? | 07:25 |
Xinran | liusheng, yes same | 07:25 |
liusheng | Xinran: what's the error message of mogan-api ? | 07:26 |
Xinran | liusheng, 2017-06-30 15:26:26.344 DEBUG glanceclient.common.http [req-d75a2958-c343-4285-a0c6-8a28ff3162ff admin admin] Request returned failure status 404. from (pid=8367) _handle_response /usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py:97 | 07:31 |
Xinran | 2017-06-30 15:26:26.344 DEBUG wsme.api [req-d75a2958-c343-4285-a0c6-8a28ff3162ff admin admin] Client-side error: Requested image 1dbe3864-25e3-47c2-90ee-622fd2788a19 could not be found from (pid=8367) format_exception /usr/local/lib/python2.7/dist-packages/wsme/api.py:222 | 07:31 |
liusheng | Xinran: no request url ? | 07:32 |
Xinran | 2017-06-30 15:26:26.341 DEBUG glanceclient.common.http [req-d75a2958-c343-4285-a0c6-8a28ff3162ff admin admin] curl -g -i -X GET -H 'X-Roles: admin' -H 'Accept-Encoding: gzip, deflate' -H 'Connection: keep-alive' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}a347f8f759a0e22ea79b4bb784a4b921e4e15fb1' -H 'User-Agent: python-glanceclient' -H 'X-Tenant-Id: 408f5519b0f34b3c87cbd0588362a119' -H 'X-User-Id: 344187b688854d95bbaec0f0a941d931' -H 'X-Identity-Status | 07:33 |
Xinran | : Confirmed' -H 'Content-Type: application/octet-stream' http://10.238.158.163/image/v2/images/1dbe3864-25e3-47c2-90ee-622fd2788a19 from (pid=8367) log_curl_request /usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py:195 | 07:33 |
liusheng | Xinran: it is ok, so can you run curl command with this image request url ? | 07:34 |
liusheng | Xinran: and, any output of "ps -ef |grep glance-uswgi" in your env | 07:35 |
Xinran | liusheng, | 07:37 |
Xinran | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> | 07:37 |
Xinran | <html><head> | 07:37 |
Xinran | <title>404 Not Found</title> | 07:37 |
Xinran | </head><body> | 07:37 |
Xinran | <h1>Not Found</h1> | 07:37 |
Xinran | <p>The requested URL /image/v2/images/1dbe3864-25e3-47c2-90ee-622fd2788a19 was not found on this server.</p> | 07:37 |
Xinran | <hr> | 07:37 |
Xinran | <address>Apache/2.4.18 (Ubuntu) Server at 10.238.158.163 Port 80</address> | 07:37 |
Xinran | </body></html> | 07:38 |
Xinran | that's response of curl cmd | 07:38 |
liusheng | Xinran: how about ps -ef |grep glance-uswgi ? | 07:38 |
Xinran | liusheng, no output ... | 07:38 |
liusheng | Xinran: that because your glance api didn't running on uwsgi. | 07:38 |
liusheng | Xinran: did you update glance and devstack repo before restack ? | 07:39 |
Xinran | liusheng, yes I updated | 07:39 |
liusheng | Xinran: how aobut ps -ef |grep glance-api ? | 07:40 |
Xinran | liusheng, it's running | 07:41 |
*** wanghao has quit IRC | 07:42 | |
Xinran | liusheng, but there are serveral processes running should I kill them | 07:42 |
liusheng | Xinran: no | 07:42 |
*** wanghao has joined #openstack-mogan | 07:43 | |
*** dims has quit IRC | 07:45 | |
*** dims has joined #openstack-mogan | 07:48 | |
liusheng | Xinran: in /opt/devstack/lib/glance of you env | 07:48 |
liusheng | Xinran: can you find this: ps -ef |grep glance-uswgi | 07:48 |
liusheng | Xinran: if [[ "$WSGI_MODE" == "uwsgi" ]]; then | 07:48 |
liusheng | GLANCE_URL="$GLANCE_SERVICE_PROTOCOL://$GLANCE_SERVICE_HOST/image" | 07:48 |
liusheng | else | 07:48 |
liusheng | GLANCE_URL="$GLANCE_SERVICE_PROTOCOL://$GLANCE_HOSTPORT" | 07:48 |
liusheng | fi | 07:48 |
liusheng | Xinran: sorry, this statements | 07:48 |
liusheng | Xinran: L79 | 07:49 |
Xinran | liusheng, no... and no path /opt/devstack/lib/glance. I found is in home/wxr/devstack/lib/glance | 07:55 |
Xinran | s/is/it | 07:56 |
Xinran | but in the file not the code you said | 07:56 |
Xinran | in plugin.sh, there it is ... hah | 07:58 |
liusheng | Xinran: so you run stack.sh in home/wxr/devstack/ ? | 08:04 |
liusheng | Xinran: you need to update your devstack repo | 08:05 |
Xinran | liusheng, under /opt/ ? | 08:06 |
liusheng | Xinran: no if you run stack.sh in home/wxr/devstack/, you just need to run: git pull in that directory | 08:07 |
Xinran | liusheng, okay will try it. | 08:11 |
Xinran | liusheng, but my git log show it already included revert use uwsgi... | 08:11 |
liusheng | Xinran: there is revert of revert. hah | 08:13 |
Xinran | liusheng, hah okay I will try | 08:13 |
liusheng | Xinran: FYI: https://review.openstack.org/#/q/e6217a9719b88b550ccbbce7c9bc064cb746c1a3,n,z | 08:14 |
liusheng | https://review.openstack.org/#/c/477038/ | 08:15 |
Xinran | liusheng, hah thanks for your help | 08:16 |
liusheng | Xinran: np :) | 08:17 |
*** dims has quit IRC | 08:45 | |
*** dims has joined #openstack-mogan | 08:47 | |
openstackgerrit | Xinran WANG proposed openstack/mogan master: Update ironic.driver.plug_vif implementation https://review.openstack.org/469766 | 08:52 |
zhenguo | Xinran: btw, you can add yourself to the co-author of luyao's patch, as you already took it over | 09:07 |
Xinran | zhenguo, ok thanks | 09:14 |
*** Kevin_Zheng has joined #openstack-mogan | 09:22 | |
*** wanghao_ has joined #openstack-mogan | 09:26 | |
*** wanghao has quit IRC | 09:30 | |
*** wanghao_ has quit IRC | 09:31 | |
zhenguo | liusheng: if cloudboot driver landed, we should need a third party CI, wdyt? | 09:35 |
liusheng | zhenguo: maybe we need that | 09:35 |
liusheng | zhenguo: it may hard to deploy in current way | 09:36 |
zhenguo | liusheng: yes, as we can't add a gate for cloudboot driver | 09:36 |
liusheng | zhenguo: yes | 09:36 |
zhenguo | liusheng: yes, if they want to make sure the driver works well with our changes, they should provide a CI | 09:36 |
liusheng | zhenguo: unless cloudboot can be installed by devstack scripts | 09:37 |
zhenguo | liusheng: we will not push it to devstack, I think | 09:37 |
zhenguo | liusheng: it's a driver like vmware for nova | 09:37 |
zhenguo | liusheng: only a 3-party CI is OK | 09:37 |
zhenguo | zhangyang: hi, when you finished your code, I think we should add a third-party CI which runs on your server, but push every patch to run then report the result to gerrit to make sure the mogan changes not break cloudboot driver | 09:39 |
zhangyang | zhenguo: yeah, that's very nice | 09:40 |
zhenguo | zhangyang: hah | 09:41 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code https://review.openstack.org/478403 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Reporting nodes resource to placement service https://review.openstack.org/476325 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db https://review.openstack.org/478357 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Refactor the scheduler to use placement service https://review.openstack.org/477426 | 10:06 |
openstackgerrit | liusheng proposed openstack/mogan master: Refactor the scheduler to use placement service https://review.openstack.org/477426 | 10:09 |
openstackgerrit | liusheng proposed openstack/mogan master: Consume nodes resource in placement https://review.openstack.org/477826 | 10:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db https://review.openstack.org/478357 | 10:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of node listing api of Mogan https://review.openstack.org/478361 | 10:10 |
openstackgerrit | liusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code https://review.openstack.org/478403 | 10:11 |
openstackgerrit | liusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces https://review.openstack.org/478406 | 10:11 |
openstackgerrit | Xinran WANG proposed openstack/mogan master: Add filters to server list API https://review.openstack.org/473323 | 10:11 |
*** liujiong has quit IRC | 10:20 | |
openstackgerrit | bhavani proposed openstack/mogan master: Module docs are not being generated https://review.openstack.org/445333 | 10:22 |
*** Kevin_Zheng has quit IRC | 11:32 | |
*** litao__ has quit IRC | 11:52 | |
*** wanghao has joined #openstack-mogan | 23:14 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!