Friday, 2017-06-30

zhenguomorning mogan!01:05
*** liujiong has joined #openstack-mogan01:13
*** litao__ has joined #openstack-mogan01:23
liushengmorning01:50
liushengzhenguo, Xinran for your problem, can you confirm if the "host" and "port" options configured in your ironic.conf ?01:51
liushengzhenguo, Xinran just remove the two options, the problem will be solved01:52
liushengI am not sure if we restack the config file will be totally generate a new file01:53
zhenguoliusheng: seems we will not01:53
zhenguoliusheng: will try your suggestions01:53
liushengzhenguo: so that is the killer :D01:54
liushengzhenguo: 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 port01:54
zhenguoliusheng: oh, but in fact, I didn't update ironic code01:55
liushengzhenguo: because glance-api now running in uwsgi, the "port" shouldn't be included in the glance endpoint01:55
liushengzhenguo: hah01:55
zhenguoliusheng: maybe I should update the ironic code and then restack to see01:55
liushengzhenguo: yes, you can update ironic and remove the ironic.conf and restack to try01:56
zhenguoliusheng: ok, will follow your suggestions01:56
zhenguothansk01:56
liushengzhenguo: np01:57
liushengzhenguo: or you can just update the code and restart ironic and modify the config file to try01:57
zhenguoliusheng: ok01:57
liushengzhenguo: if you have tried previously and create failed, you may need to try to clean the ironic db, may the nodes have instance uuid associated01:59
liushengzhenguo: just delete instance uuid01:59
zhenguoliusheng: I failed to install the devstack after pull the ironic master codes, maybe the devstack is too old to support that02:48
zhenguoliusheng: will try to update it02:48
zhenguoliusheng: btw, I just left some comments on the placement patches queue, thanks for the hard work02:49
zhenguozhangyang: hi, do you want to upstream the cloudboot driver codes before Pike?02:55
liushengzhenguo: thanks02:58
openstackgerritZhenguo Niu proposed openstack/mogan master: Remove cloudboot driver directory  https://review.openstack.org/47912003:04
zhenguohttps://bugs.launchpad.net/mogan/+bug/170142803:13
openstackLaunchpad bug 1701428 in Mogan "cant's set user_data/keypair during rebuilding" [Undecided,New]03:13
zhenguonot sure if someone wants to take this task03:14
*** wanghao has joined #openstack-mogan03:15
zhangyangzhenguo: i'm not sure whether we can make it done before this month, when does pike stop merging codes?03:40
zhenguozhangyang: I think it's less than two months03:41
zhenguozhangyang: I just add patch to remove the cloudboot dir, but you can push it back with your codes in, hah03:41
zhangyangzhenguo: yeah, i find pike will release at the end of August.03:41
zhenguozhangyang: yes03:42
zhangyangzhenguo: ok03:42
zhenguozhangyang: and the placement migration will also affect the driver interfaces, but not much.03:43
zhangyangzhenguo: yes, i know. liudong and i are thinking about it.03:44
zhenguozhangyang: ok, and aggregates will also moved to placement03:44
openstackgerritKiran Totad proposed openstack/python-moganclient master: Use 'project' instead of 'tenant' when switching to openstackclient command  https://review.openstack.org/47914104:48
openstackgerritwanghao proposed openstack/mogan-specs master: Manage existing nodes in Mogan  https://review.openstack.org/45996706:47
Xinranliusheng,  i changed ironic.conf still doestn't work :(06:55
liushengXinran: what's the problem now ?06:56
liushengXinran: oh, you need to restart ironic conductor07:10
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840607:10
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840307:10
openstackgerritliusheng proposed openstack/mogan master: Reporting nodes resource to placement service  https://review.openstack.org/47632507:10
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835707:10
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836107:10
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782607:10
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742607:10
Xinranliusheng,  yes i did it07:13
Xinranliusheng,  its the same problem07:13
liushengXinran: it fail after you typing the creating command ?07:15
liushengXinran: or an error server ?07:16
Xinranliusheng,  just after i type07:16
liushengXinran: that is strange, I update my env, don't have the problem07:16
Xinranliusheng,  image could not be found07:17
Xinranliusheng,  i found port in api section in ironic.conf, is that port you mentioned?07:17
liushengXinran: no, in [glance] section07:18
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840607:18
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840307:18
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835707:18
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836107:18
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782607:18
liushengXinran: it shouldn't cannot find the image, no error server ?07:19
Xinranliusheng,  no...07:20
liushengXinran: can you create a server with curl command ?07:21
Xinranliusheng,  [glance]07:22
Xinranswift_temp_url_duration = 360007:22
Xinranswift_container = glance07:22
Xinranswift_account = AUTH_9f3e857720494bdb85595b3c96fc22ea07:22
Xinranswift_api_version = v107:22
Xinranswift_endpoint_url = http://10.238.158.163:808007:22
Xinranswift_temp_url_key = 12307:22
Xinrancafile = /opt/stack/data/ca-bundle.pem07:22
Xinranproject_domain_id = default07:22
Xinranuser_domain_id = default07:22
Xinranproject_name = service07:22
Xinranpassword = 12307:22
liushengXinran: this is ok07:22
Xinranusername = ironic07:22
Xinranauth_url = http://10.238.158.163/identity07:22
Xinranauth_type = password07:22
Xinranliusheng,  no cant create with curl07:25
liushengXinran: same error ?07:25
Xinranliusheng,  yes  same07:25
liushengXinran: what's the error message of mogan-api ?07:26
Xinranliusheng,  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:9707:31
Xinran2017-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:22207:31
liushengXinran: no request url ?07:32
Xinran2017-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-Status07: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:19507:33
liushengXinran: it is ok, so can you run curl command with this image request url ?07:34
liushengXinran: and, any output of "ps -ef |grep glance-uswgi" in your env07:35
Xinranliusheng,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
Xinranthat's response of curl cmd07:38
liushengXinran: how about ps -ef |grep glance-uswgi ?07:38
Xinranliusheng,  no output ...07:38
liushengXinran: that because your glance api didn't running on uwsgi.07:38
liushengXinran: did you update glance and devstack repo before restack ?07:39
Xinranliusheng,   yes I updated07:39
liushengXinran: how aobut ps -ef |grep glance-api ?07:40
Xinranliusheng,  it's running07:41
*** wanghao has quit IRC07:42
Xinranliusheng,  but there are serveral processes running should I kill them07:42
liushengXinran: no07:42
*** wanghao has joined #openstack-mogan07:43
*** dims has quit IRC07:45
*** dims has joined #openstack-mogan07:48
liushengXinran: in /opt/devstack/lib/glance of you env07:48
liushengXinran: can you find this: ps -ef |grep glance-uswgi07:48
liushengXinran: if [[ "$WSGI_MODE" == "uwsgi" ]]; then07:48
liusheng    GLANCE_URL="$GLANCE_SERVICE_PROTOCOL://$GLANCE_SERVICE_HOST/image"07:48
liushengelse07:48
liusheng    GLANCE_URL="$GLANCE_SERVICE_PROTOCOL://$GLANCE_HOSTPORT"07:48
liushengfi07:48
liushengXinran: sorry, this statements07:48
liushengXinran: L7907:49
Xinranliusheng,  no...  and no path /opt/devstack/lib/glance. I found is in home/wxr/devstack/lib/glance07:55
Xinrans/is/it07:56
Xinranbut in the file not the code you said07:56
Xinranin plugin.sh, there it is ... hah07:58
liushengXinran: so you run stack.sh in home/wxr/devstack/ ?08:04
liushengXinran: you need to update your devstack repo08:05
Xinranliusheng,  under /opt/ ?08:06
liushengXinran: no if you run stack.sh in  home/wxr/devstack/, you just need to run: git pull in that directory08:07
Xinranliusheng,   okay will try it.08:11
Xinranliusheng, but my git log show it already included revert use uwsgi...08:11
liushengXinran: there is revert of revert. hah08:13
Xinranliusheng,  hah okay I will try08:13
liushengXinran: FYI: https://review.openstack.org/#/q/e6217a9719b88b550ccbbce7c9bc064cb746c1a3,n,z08:14
liushenghttps://review.openstack.org/#/c/477038/08:15
Xinranliusheng,  hah thanks for your help08:16
liushengXinran: np :)08:17
*** dims has quit IRC08:45
*** dims has joined #openstack-mogan08:47
openstackgerritXinran WANG proposed openstack/mogan master: Update ironic.driver.plug_vif implementation  https://review.openstack.org/46976608:52
zhenguoXinran: btw, you can add yourself to the co-author of luyao's patch, as you already took it over09:07
Xinranzhenguo, ok thanks09:14
*** Kevin_Zheng has joined #openstack-mogan09:22
*** wanghao_ has joined #openstack-mogan09:26
*** wanghao has quit IRC09:30
*** wanghao_ has quit IRC09:31
zhenguoliusheng: if cloudboot driver landed, we should need a third party CI, wdyt?09:35
liushengzhenguo: maybe we need that09:35
liushengzhenguo: it may hard to deploy in current way09:36
zhenguoliusheng: yes, as we can't add a gate for cloudboot driver09:36
liushengzhenguo: yes09:36
zhenguoliusheng: yes, if they want to make sure the driver works well with our changes, they should provide a CI09:36
liushengzhenguo: unless cloudboot can be installed by devstack scripts09:37
zhenguoliusheng: we will not push it to devstack, I think09:37
zhenguoliusheng: it's a driver like vmware for nova09:37
zhenguoliusheng: only a 3-party CI is OK09:37
zhenguozhangyang: 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 driver09:39
zhangyangzhenguo: yeah, that's very nice09:40
zhenguozhangyang: hah09:41
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840610:06
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840310:06
openstackgerritliusheng proposed openstack/mogan master: Reporting nodes resource to placement service  https://review.openstack.org/47632510:06
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835710:06
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836110:06
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782610:06
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742610:06
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742610:09
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782610:10
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835710:10
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836110:10
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840310:11
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840610:11
openstackgerritXinran WANG proposed openstack/mogan master: Add filters to server list API  https://review.openstack.org/47332310:11
*** liujiong has quit IRC10:20
openstackgerritbhavani proposed openstack/mogan master: Module docs are not being generated  https://review.openstack.org/44533310:22
*** Kevin_Zheng has quit IRC11:32
*** litao__ has quit IRC11:52
*** wanghao has joined #openstack-mogan23:14

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