Monday, 2017-08-14

*** wanghao has joined #openstack-mogan00:35
zhenguomorning mogan!01:08
*** litao__ has joined #openstack-mogan01:08
zhenguoliusheng: please have a look at this https://review.openstack.org/#/c/470927/ , the feature is landed, but the spec hasn't :(02:04
liushengzhenguo: ok02:05
*** wanghao_ has joined #openstack-mogan02:06
*** wanghao has quit IRC02:09
zhenguoliusheng: seems nova will not save flavor uuid with instance https://developer.openstack.org/api-ref/compute/#show-server-details02:11
zhenguoliusheng: save the whole flavor instead02:12
liushengzhenguo: nova instances also include the details of flavor02:13
zhenguoliusheng: yes02:13
openstackgerritliusheng proposed openstack/python-moganclient master: Add node aggregate commands support  https://review.openstack.org/49200202:28
openstackgerritliusheng proposed openstack/python-moganclient master: Add commands for aggregate node actions  https://review.openstack.org/49237002:29
openstackgerritZhenguo Niu proposed openstack/mogan master: Do not allow to remove flavor which is still in use.  https://review.openstack.org/49341203:24
*** wanghao_ has quit IRC03:36
*** wanghao has joined #openstack-mogan03:37
liushengzhenguo: http://mogan.readthedocs.io/en/latest/03:43
liushengzhenguo: ^03:43
zhenguoliusheng: wow03:45
liushengzhenguo: we can leverage the readthedocs to publish our docs :)03:46
zhenguoliusheng: cool03:46
zhenguoliusheng: how that's happen03:46
liushengzhenguo: just config in readthedocs make it link to our git repo. hah03:47
zhenguoliusheng: hah03:47
zhenguoliusheng: what about api?03:48
zhenguoliusheng: can we also leverage the readdocs03:49
liushengzhenguo: I am trying, hah03:49
zhenguoliusheng: thanks03:49
zhenguoliusheng: then you can update our readme to link there03:49
liushengzhenguo: ok, will update it03:50
zhenguoliusheng: thanks :D03:50
liushengzhenguo: np :)03:50
openstackgerritliusheng proposed openstack/python-moganclient master: Update the docs link to readthedocs  https://review.openstack.org/49341604:07
openstackgerritZhenguo Niu proposed openstack/mogan master: Trivial-Fix: Remove unused codes  https://review.openstack.org/49342405:06
*** wanghao_ has joined #openstack-mogan05:51
*** wanghao has quit IRC05:54
zhenguoliusheng: do you know why CI raises Placement service credentials do not work.: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-4a65fd9b-28a9-4e1a-8338-f73a5a1cb3b0)06:19
liushengzhenguo: didn't found that, does the case will certainly occur ?06:23
zhenguoliusheng: no sure, I will recheck to see06:24
zhenguoliusheng: it happened here https://review.openstack.org/#/c/493412/106:25
liushengzhenguo: the auth credentials in mogan.conf looks ok06:27
zhenguoliusheng:yes06:28
openstackgerritliusheng proposed openstack/mogan master: Present Mogan docs on readthedocs  https://review.openstack.org/49345607:06
*** wanghao_ has quit IRC07:28
*** wanghao has joined #openstack-mogan07:29
*** wanghao_ has joined #openstack-mogan07:29
openstackgerritZhenguo Niu proposed openstack/mogan master: Make disabled flavors not available for common users  https://review.openstack.org/49248807:31
openstackgerritZhenguo Niu proposed openstack/mogan master: Do not allow to remove flavor which is still in use.  https://review.openstack.org/49341207:31
*** wanghao has quit IRC07:33
zhenguoliusheng:  seems API doc on readthedocs doesn't work well07:34
zhenguoliusheng: I can't find the action before UIR over there07:35
zhenguoliusheng: and some buttons don't work07:36
liushengzhenguo: yes, I just found that, I don't know why, the action existed, but its color is white, you can see it by selecting it07:36
liushengzhenguo: which buttons ?07:36
zhenguoliusheng:yes07:37
zhenguoliusheng: Show All doesn't work07:37
liushengzhenguo: :(, actually the api-ref built failed, I have config it avoid to be compiled to PDF, then it can be built sucessfully07:40
liushengzhenguo: do you have a readthedocs account  ?\07:41
zhenguoliusheng: no I don't07:41
zhenguoliusheng: it's that built automatically?07:41
zhenguoliusheng: after configuration07:41
liushengzhenguo: yes07:41
liushengzhenguo: I can also add you as a maintainer07:42
zhenguoliusheng: hah, ok, but I need to learn how to play with ti07:42
liushengzhenguo: it is simple, only a few option can be configured07:43
liushengzhenguo: hah07:43
zhenguoliusheng: ok, I will try07:43
liushengzhenguo: https://readthedocs.org07:43
liushengzhenguo: you can register a account, I will add you as a maintainer of mogan docs07:44
zhenguoliusheng: my name is zhenguo there, hah07:45
liushengzhenguo: ok, I've added07:45
zhenguoliusheng: This repository doesn't have a valid webhook set up, commits won't trigger new builds for this project.07:46
zhenguoSee your project integrations for more information.07:46
liushengzhenguo: seems yes, we can add a hook07:47
zhenguoliusheng: how07:47
liushengzhenguo: seems, it can automatically triger07:47
liushengzhenguo: let me try07:47
liushengzhenguo: I have forked a mogan in my own git repo to test, after I commit a change, it can automatically triger the doc buding07:52
zhenguoliusheng: ok, so how do you hack to make it built successfuly07:53
zhenguoliusheng: you said if failed to bult at the beginning07:53
liushengzhenguo: just try in the "管理" lable, hah07:54
zhenguoliusheng: I already changed to English :D07:54
liushengzhenguo: I configured the requirement and the path of conf.py07:54
liushengzhenguo: the mogan doc and client doc is ok, but api-ref still failed07:55
liushengzhenguo: the "构建" will show the building steps07:57
zhenguoliusheng: seems you choose to install the env in docs but not in api-ref07:58
liushengzhenguo: oh, yes may don't choose that07:59
zhenguoliusheng: is that because something wrong with our doc config?07:59
zhenguoliusheng: can you please try other project to see07:59
liushengzhenguo: api-ref/source/v1/index.rst:707:59
liushengzhenguo: it cannot recorgnise the rest_expand_all07:59
zhenguoliusheng: I think that's Show All08:01
liushengzhenguo: https://readthedocs.org/projects/mogan-api-ref/builds/5830082/08:01
liushengzhenguo: I've tried again, it shows same error08:01
liushengzhenguo: but actually, the doc has been built sucessfully08:02
liushengzhenguo: when I don't select the two options under "Enable PDF build:" in advanced settings lab, it can build sucessfully08:06
zhenguoliusheng: it's ok, I dont' think we need a PDF version08:09
zhenguoliusheng: seems there's a warning entry '/home/docs/checkouts/readthedocs.org/readthedocs/templates/sphinx/_static' does not exist08:09
litao__liusheng: If we delete a server,  does it release the allocation at once?08:09
liushenglitao__: no, the periodic task will release the allocation, since after deleting, the node cannot be used immediately08:11
* zhenguo brb08:12
litao__liusheng: But the periodic task always logged the error message 'Unable to delete resource provider aacdbd78-d670-409e-95aa-ecfcfb94fee2: Resource provider has allocations.'08:13
litao__liusheng: It can't release the rp08:13
liushenglitao__: did you updated your code to latest ?08:14
litao__liusheng: Maybe not , I will try.08:14
liushenglitao__: ok08:14
zhenguoliusheng: seems the gate is broken08:29
zhenguoliusheng: https://review.openstack.org/#/c/492488/08:29
zhenguoliusheng: I rechecked angain and rebased another patch, both failed08:29
liushengzhenguo: let me check08:30
zhenguoliusheng: ok, thanks08:30
*** openstackgerrit has quit IRC08:48
*** openstackgerrit has joined #openstack-mogan08:49
openstackgerritliusheng proposed openstack/mogan master: Correct the placement auth credentials in devstack  https://review.openstack.org/49348308:49
openstackgerritliusheng proposed openstack/mogan master: Correct the placement auth credentials in devstack  https://review.openstack.org/49348308:52
*** wanghao_ has quit IRC08:53
*** wanghao has joined #openstack-mogan08:56
litao__zhenguo: what is the value of default_availability_zone in conf file?09:16
zhenguolitao__: there's no default_availability_zone anymore09:16
zhenguolitao__: changed to use default_scheduled_zone09:16
litao__zhenguo: I test manageable servers, It logged the messages '{"error_message": "{\"debuginfo\": null, \"faultcode\": \"Server\", \"faultstring\": \"no such option default_availability_zone in group [engine]\"}"}'09:18
zhenguolitao__: yes, we already delete it09:18
litao__zhenguo: OK, i check the codes09:19
zhenguolitao__: ok09:19
*** wanghao has quit IRC09:20
*** wanghao has joined #openstack-mogan09:21
*** wanghao has quit IRC09:30
*** wanghao has joined #openstack-mogan09:31
*** wanghao has quit IRC09:31
*** wanghao has joined #openstack-mogan09:32
*** wanghao has quit IRC09:32
*** wanghao has joined #openstack-mogan09:32
*** wanghao has quit IRC09:33
*** wanghao has joined #openstack-mogan09:33
*** wanghao has quit IRC09:33
*** wanghao has joined #openstack-mogan09:34
*** wanghao has quit IRC09:34
openstackgerritZhenguo Niu proposed openstack/mogan master: Add checks for aggregate affinity_zone  https://review.openstack.org/49349509:35
*** wanghao has joined #openstack-mogan09:35
*** wanghao has quit IRC09:35
*** wanghao has joined #openstack-mogan09:36
zhenguoshaohe_feng: please help to look at this https://review.openstack.org/#/c/470927/ when you got time09:38
zhenguoliusheng: you can rebase your filter_scheduler patch, I will add affinity_zone aware in scheuling soon09:43
zhenguoliusheng: scheudler_hints I mean :D09:43
liushengzhenguo: ok09:44
* zhenguo brb09:46
zhenguoliusheng: is this fixed the gate https://review.openstack.org/#/c/493483/ ?09:59
liushengzhenguo: not sure, I am waiting10:09
zhenguoliusheng: seems it's queued for a long time10:10
liushengzhenguo: ... yes, don't know why10:10
zhenguoliusheng: what we can do is just waiting :D10:10
liushengzhenguo: hah10:11
zhenguoliusheng: btw, you will pass scheduler_hints to scheduler with request_spec right?10:12
liushengzhenguo: yes10:15
zhenguoliusheng: ok10:15
liushengzhenguo: I am not sure, should we make the api request like Nova10:16
zhenguoliusheng: you mean scheduler_hints?10:16
liushengzhenguo: yes10:16
zhenguoliusheng: I think so, hah10:16
liushengzhenguo: use a dict wrapping the currect server body ?10:17
zhenguoliusheng: yes, it's ok10:17
liushengzhenguo: ok10:17
openstackgerritliusheng proposed openstack/mogan master: Add support for scheduler_hints  https://review.openstack.org/46353410:18
liushengzhenguo: just rebased, will work on scheduler side10:18
zhenguoliusheng: ok10:18
zhenguoliusheng: it failed https://review.openstack.org/#/c/493483/ :(11:44
liushengzhenguo: :(11:45
liushengzhenguo: it is strange, I copied the placement credentials from the Nova gate log11:46
zhenguoliusheng: maybe we need to build a new env for testing11:47
zhenguoliusheng: maybe the nova.conf is different?11:48
*** litao__ has quit IRC11:50
zhenguoliusheng: "GET /placement/resource_providers?resources=CUSTOM_BAREMETAL_1CPU_1024MBRAM_10GBDISK%3A1" status: 400 len: 334 microversion: 1.411:56
zhenguoliusheng: if authroized failed, why the above log existing in placement11:57
liushengzhenguo: is the CUSTOM_BAREMETAL_1CPU_1024MBRAM_10GBDISK resource class correct ?12:02
openstackgerritZhenguo Niu proposed openstack/mogan master: Correct placement start order in devstack  https://review.openstack.org/49352112:04
zhenguoliusheng: maybe I find out why12:04
zhenguoliusheng: https://review.openstack.org/49352112:04
liushengzhenguo: hah, find it12:05
zhenguoliusheng: let's wait for the result12:05
zhenguoliusheng: I have to go home, ttyl :D12:06
liushengzhenguo: ok, thanks, bye12:06
zhenguoliusheng: bye12:07
*** lin_yang has joined #openstack-mogan21:41
openstackgerritZhenguo Niu proposed openstack/mogan master: Correct placement start order in devstack  https://review.openstack.org/49352123:23
*** Jeffrey4l has quit IRC23:51
*** lin_yang has quit IRC23:51
*** kong has quit IRC23:51
*** zhuli has quit IRC23:51
*** dims has quit IRC23:51
*** Xinran has quit IRC23:51
*** openstackgerrit has quit IRC23:51
*** RuiChen has quit IRC23:51
*** zhangyang has quit IRC23:51
*** liusheng has quit IRC23:51
*** shaohe_feng has quit IRC23:51
*** wanghao has quit IRC23:51
*** ChanServ has quit IRC23:51
*** Kevin_Zheng has quit IRC23:51
*** zhenguo has quit IRC23:51
*** wxy has quit IRC23:51
*** wxy has joined #openstack-mogan23:55
*** lin_yang has joined #openstack-mogan23:55
*** Jeffrey4l has joined #openstack-mogan23:55
*** zhuli has joined #openstack-mogan23:55
*** liusheng has joined #openstack-mogan23:55
*** zhenguo has joined #openstack-mogan23:55
*** dims has joined #openstack-mogan23:55
*** shaohe_feng has joined #openstack-mogan23:55
*** Xinran has joined #openstack-mogan23:55
*** Kevin_Zheng has joined #openstack-mogan23:55
*** kong has joined #openstack-mogan23:55
*** zhangyang has joined #openstack-mogan23:55
*** ChanServ has joined #openstack-mogan23:56
*** tepper.freenode.net sets mode: +o ChanServ23:56
*** openstackgerrit has joined #openstack-mogan23:56
*** RuiChen has joined #openstack-mogan23:56
*** wanghao has joined #openstack-mogan23:56
*** ChanServ has quit IRC23:56
*** liusheng has quit IRC23:57
*** shaohe_feng has quit IRC23:57
*** wanghao has quit IRC23:57
*** openstackgerrit has quit IRC23:57
*** RuiChen has quit IRC23:57
*** wxy has quit IRC23:57
*** Jeffrey4l has quit IRC23:57
*** lin_yang has quit IRC23:57
*** kong has quit IRC23:57
*** zhuli has quit IRC23:57
*** dims has quit IRC23:57
*** Xinran has quit IRC23:57
*** zhangyang has quit IRC23:57
*** Kevin_Zheng has quit IRC23:57
*** zhenguo has quit IRC23:57
*** wanghao has joined #openstack-mogan23:59
*** RuiChen has joined #openstack-mogan23:59
*** openstackgerrit has joined #openstack-mogan23:59
*** wxy has joined #openstack-mogan23:59
*** lin_yang has joined #openstack-mogan23:59
*** Jeffrey4l has joined #openstack-mogan23:59
*** zhuli has joined #openstack-mogan23:59
*** liusheng has joined #openstack-mogan23:59
*** zhenguo has joined #openstack-mogan23:59
*** dims has joined #openstack-mogan23:59
*** shaohe_feng has joined #openstack-mogan23:59
*** Xinran has joined #openstack-mogan23:59
*** Kevin_Zheng has joined #openstack-mogan23:59
*** kong has joined #openstack-mogan23:59
*** zhangyang has joined #openstack-mogan23:59

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