Monday, 2017-07-03

*** wanghao has joined #openstack-mogan00:58
zhenguomorning mogan!00:59
*** wanghao has quit IRC01:07
*** litao__ has joined #openstack-mogan01:11
*** wanghao has joined #openstack-mogan01:11
*** liujiong has joined #openstack-mogan01:22
wanghaomorning!01:33
openstackgerritwanghao proposed openstack/mogan-specs master: Manage existing nodes in Mogan  https://review.openstack.org/45996701:35
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840601:40
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840301:40
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835701:40
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836101:40
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782601:40
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742601:40
litao__morning patches01:44
*** wanghao has quit IRC01:53
*** wanghao has joined #openstack-mogan02:14
openstackgerritZhenguo Niu proposed openstack/mogan master: Update ironic.driver.plug_vif implementation  https://review.openstack.org/46976602:18
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840602:28
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840302:28
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835702:28
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836102:28
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782602:28
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742602:28
zhenguoXinran: I added you as a co-author to luyao's patch of refactoring vif attaching.02:31
zhenguoXinran: and just filed a bug in ironic https://bugs.launchpad.net/ironic/+bug/170199102:32
openstackLaunchpad bug 1701991 in Ironic "Unable to specify ironic port/portgroup id to use when attaching vif" [Undecided,New]02:32
zhenguolitao__: I found you also contribute to ironic community, not sure if you are interested in this bug :D02:33
Xinranzhenguo, okay thanks02:39
zhenguoXinran: np, will test that soon when my env is ready02:40
Xinranzhenguo, do you mean add port_type in ironic like what I deleted in mogan02:40
zhenguoXinran: not port type02:41
zhenguoXinran: I would like to add port_id support when attaching vif02:41
zhenguoXinran: ironic.vif_attach(neutron_port_id, ironic_port_id)02:41
zhenguoliusheng: https://review.openstack.org/#/c/476325/ , how about also moving the query.py to the following up patches which really uses it.02:48
liushengzhenguo: no, it is used in this patch02:49
liushengzhenguo: manager.py02:49
zhenguoliusheng: let me check02:50
Xinranzhenguo, so I think about adding another func like vif_attach_by_port_id(neutron_port_id, ironic_port_id), and we can call it in vif_attach.02:50
zhenguoliusheng: queryclient?02:51
zhenguoXinran: not currently, we can just remove port type now02:51
liushengzhenguo:oh, the queryclient can be moved to following patches02:52
zhenguoXinran: let's wait for ironic guys to see whether they accept this proposal02:52
zhenguoliusheng: hah, yes, the queryclient02:52
Xinranzhenguo, hah okay.02:52
liushengzhenguo: my mistake02:52
zhenguoliusheng: really a huge work, hah02:53
liushengzhenguo: hah, just some copying and removing02:53
openstackgerritXinran WANG proposed openstack/mogan master: Update ironic.driver.plug_vif implementation  https://review.openstack.org/46976602:53
zhenguoliusheng: seems most of the work have been done,02:54
liushengzhenguo: yes02:54
zhenguoliusheng: ok, let's try to land them before the weekly meeting02:54
liushengzhenguo: ok, sir :D02:55
zhenguoliusheng: lol02:55
zhenguoliusheng: this https://review.openstack.org/#/c/479120/ removes the cloudboot driver dir as it's empty for now02:56
liushengzhenguo: ok02:57
zhenguoliusheng: a quick question, if power action failed, should we set the server status to fail?02:59
liushengzhenguo: what's your meaning of the failure, the server's power status didn't changed ?03:01
liushengzhenguo: if so, I don't think so03:01
zhenguoliusheng: https://review.openstack.org/#/c/476862/03:01
zhenguoliusheng: I found if we soft power off the server it will be stuck in *ing03:02
zhenguoliusheng: if the ironic driver doesn't support htat03:02
liushengzhenguo: I don't prefer to change the status of server to error03:02
zhenguoliusheng: that's also my concern03:03
zhenguoliusheng: as it's not really a server fail03:03
liushengzhenguo: how about add a timeout, if power action failed, just abort the action03:03
liushengzhenguo: and record a warning log03:03
liushengzhenguo: yes03:03
zhenguoliusheng: as power action is a cast instead of call03:04
zhenguoliusheng: so the API will return with the server is powering now03:04
liushengzhenguo: I mean in engine side03:04
zhenguoliusheng: you mean just change the *ing status to active?03:04
liushengzhenguo: yes03:04
zhenguoliusheng: or off03:04
liushengzhenguo: I think so03:04
liushengzhenguo: and record some info in log03:05
zhenguoliusheng: seems ok03:05
zhenguolitao__: wdyt?03:05
litao__zhenguo: ok, I will try03:07
zhenguolitao__: thanks03:08
litao__zhenguo: np 😀03:08
*** Kevin_Zheng has joined #openstack-mogan03:14
openstackgerritTao Li proposed openstack/mogan master: Fix reverting the network when plug vif failed  https://review.openstack.org/47744003:20
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840603:22
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840303:22
openstackgerritliusheng proposed openstack/mogan master: Reporting nodes resource to placement service  https://review.openstack.org/47632503:22
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835703:22
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836103:22
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782603:22
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742603:22
openstackgerritMerged openstack/mogan master: Remove cloudboot driver directory  https://review.openstack.org/47912003:36
openstackgerritXinran WANG proposed openstack/mogan master: Update ironic.driver.plug_vif implementation  https://review.openstack.org/46976603:51
*** liujiong has quit IRC03:58
openstackgerritXinran WANG proposed openstack/mogan master: Detach interface for server  https://review.openstack.org/46176705:49
*** liujiong has joined #openstack-mogan06:04
openstackgerritliusheng proposed openstack/mogan master: Clean the compute_node and compute_port objects and db interfaces  https://review.openstack.org/47840606:19
openstackgerritliusheng proposed openstack/mogan master: Get rid of listing availability zone api and clean some legacy code  https://review.openstack.org/47840306:19
openstackgerritliusheng proposed openstack/mogan master: Reporting nodes resource to placement service  https://review.openstack.org/47632506:19
openstackgerritliusheng proposed openstack/mogan master: Clean the methods about updating node resources to Mogan db  https://review.openstack.org/47835706:19
openstackgerritliusheng proposed openstack/mogan master: Get rid of node listing api of Mogan  https://review.openstack.org/47836106:19
openstackgerritliusheng proposed openstack/mogan master: Consume nodes resource in placement  https://review.openstack.org/47782606:19
openstackgerritliusheng proposed openstack/mogan master: Refactor the scheduler to use placement service  https://review.openstack.org/47742606:19
openstackgerritwanghao proposed openstack/mogan master: [WIP]Manage existing BMs: Part-1  https://review.openstack.org/47966006:30
wanghaozhenguo: ping06:32
zhenguowanghao: pong06:32
wanghaozhenguo: litao__ and I will start to code the manage existing patch this week, I will finish the part-1: list adoptable nodes and litao__ will finish the part-2: manage API.06:33
zhenguowanghao: awesome!06:33
wanghaozhenguo: As I think we didn't have much issue in spec,  so let it begin to land. :)06:34
zhenguowanghao: yes, I also don't find big issues with the spec06:34
zhenguowanghao: will try to let others review it as well06:34
wanghaozhenguo: yeah, that we can update spec even if we merged the code if it's necessary06:35
zhenguowanghao: yes06:35
wanghaozhenguo: well, so I will add our patch into review list and we can review it too, thanks.06:35
zhenguowanghao: sure, thanks for the efforts06:36
wanghaozhenguo: you're welcome06:36
wanghaozhenguo: BTW,  I found a thing,  that we pass a lot of context to driver, but not use it.  Do you think will to remove them?06:36
zhenguowanghao: that's also happen in nova drivers, I think we don't need it, but seems no rush to clean up it06:38
zhenguowanghao: also in DB api06:39
wanghaozhenguo: sure, I will do it later before we release.06:39
zhenguowanghao: ok, thanks06:39
wanghaozhenguo: np06:39
*** wanghao_ has joined #openstack-mogan07:01
*** wanghao has quit IRC07:01
zhenguoliusheng: have you ever seen this 'Unable to locate package libsystemd-dev' when installing devstack?07:01
liushengzhenguo: didn't found that, can you install that package manually ?07:02
zhenguoliusheng: no,07:02
zhenguoliusheng: in ubuntu 14.0407:03
liushengzhenguo: oh, i always use 16.0407:03
zhenguoliusheng: hah07:03
zhenguoliusheng: you have upgraded your vm in blue zone?07:03
liushengzhenguo: openstack now recommend to use 16.04 than 14.0407:04
liushengzhenguo: yes07:04
zhenguoliusheng: yes, that's the problem07:04
liushengzhenguo: may you need to pugrade your system :D07:04
zhenguoliusheng: ok, I will try to upgrade it07:04
liushengzhenguo: ok07:05
zhenguoliusheng: what's the review hour etherpad url is?07:06
liushengzhenguo: https://etherpad.openstack.org/p/MoganReviewHour07:08
zhenguoliusheng: ok, thanks07:08
*** wanghao has joined #openstack-mogan07:16
*** wanghao_ has quit IRC07:19
zhenguoliusheng, Xinran: wrt https://review.openstack.org/#/c/469766/ , placement patches need to update to solve conflicts if this is landed first07:26
liushengyes, I found this patch have changed the compute_port object definition, but I will remove compute_port and compute_node objects07:28
liushengwe won't have dependency  on node info in Mogan'db07:28
zhenguoliusheng: yes, but there's no dependences, so from the patch's view it's ok, hah07:28
liushengzhenguo: ok,yes07:29
Xinranzhenguo, liusheng thanks07:35
zhenguoXinran: np07:35
XinranBtw, can you run python -m testtools.run mogan.tests.tempest.api.test_servers in your env?07:39
zhenguoliusheng: ^^07:40
zhenguoliusheng: seems Xinran's problem is still the glance_api_servers config options07:41
liushengXinran, zhenguo I didn07:43
Xinranzhenguo, liusheng cant stop struggling  with that...07:43
liushengXinran, zhenguo I didn't use testtools to run tempest07:43
liushengtempest run -t --regex "^mogan\.tests\.tempest\.api\.test_servers\.BaremetalComputeAPIServersTest\.test_server_attach_interface"07:43
liushengI use "tempest run" command07:44
liushengXinran: still, you need to confirm your glance running on uwsgi07:45
liushengXinran: if not, you need to config the port number in your glance_api_servers option07:45
*** openstackgerrit has quit IRC07:48
Xinranliusheng,  glance is running on uwsgi07:48
liushengXinran: so you just need to config like this: glance_api_servers = http://10.229.40.107/image07:49
*** openstackgerrit has joined #openstack-mogan07:49
openstackgerritwanghao proposed openstack/mogan master: Manage existing BMs: Part-1  https://review.openstack.org/47966007:49
Xinranliusheng,  ok I will try. Thanks a lot07:59
liushengXinran: np :D07:59
zhenguoliusheng: seems there will be collisions with placement, as before setting allocation, many requests may get a same node, right?08:11
liushengzhenguo: but scheduler will set allocation08:12
zhenguoliusheng: when to set that08:13
liushengzhenguo: after a node selected08:13
zhenguoliusheng: many parallel requests will get a same node with select destinations08:13
zhenguoliusheng: it's two REST API calls08:14
zhenguoliusheng: not atomic08:14
liushengzhenguo: but I found there is a lock in scheduler08:14
zhenguoliusheng: hah, yes08:14
zhenguoliusheng: I mean, should we get rid of it or is there some good solutions08:15
liushengzhenguo: seems nova also cannot  support multiple-deployment of scheduler08:17
*** wanghao has quit IRC08:17
zhenguoliusheng: you mean nova also lock the whole process?08:17
* zhenguo brb08:19
liushengzhenguo: not very sure, but there is a old problem that Nova cannot suuport multi-worker of scheduler service, since scheduling cannot handle parallel requests08:20
*** wanghao has joined #openstack-mogan08:28
*** Xinran has quit IRC08:31
zhenguoliusheng: ok08:31
zhenguohi all, please help to review https://etherpad.openstack.org/p/MoganReviewHour08:34
zhenguoshaohe_feng: are you around? if so, please help to review the patches list, thanks!08:43
wanghaoterrible network....08:51
shaohe_fengzhenguo: yes.08:59
shaohe_fengzhenguo: OK.08:59
zhenguoshaohe_feng: thanks09:03
zhenguoshaohe_feng: especially the manage nodes spec and the placement patches list09:04
shaohe_fengzhenguo: OK.09:04
*** openstackgerrit has quit IRC09:18
*** Xinran_ has joined #openstack-mogan09:24
*** openstackgerrit has joined #openstack-mogan09:30
openstackgerritTao Li proposed openstack/mogan master: Fix reverting the network when plug vif failed  https://review.openstack.org/47744009:30
openstackgerritZhenguo Niu proposed openstack/mogan-specs master: Track resources using Placement  https://review.openstack.org/47570009:36
*** wanghao has quit IRC09:38
Xinran_liusheng,  hi, are you around? still doesn't work....I need your help...09:48
liushengXinran_: what's the error now ?>09:50
Xinran_liusheng, the same09:50
liushengXinran_: cannot find the image ?09:50
Xinran_liusheng, value required for option glance_api_servers in group [glance]09:50
Xinran_liusheng,  no , now I can create server. The error occurs when I run tempest test09:51
liushengXinran_: did you config glance_api_servers under [glance] in tempest.conf ?09:54
Xinran_liusheng,  I didn't found tempest.conf09:56
liushengXinran_: /etc/tempest/tempest.conf ?09:56
liushengXinran_: or you can edit in /opt/stack/tempest/etc/tempest.conf09:57
Xinran_liusheng,  no there is no folder named tempest09:57
liushengXinran_: did you install tempest with stack.sh ?09:58
Xinran_liusheng,  yes, in local.conf09:59
Xinran_liusheng,  i didn't install it manually09:59
liushengXinran_: does this exist ? /opt/stack/tempest/etc/tempest.conf09:59
Xinran_liusheng,  no ...10:00
liushengXinran_: no etc/tempest.conf in your local tempest repo ?10:00
liushengXinran_: that is strange10:00
Xinran_liusheng,  no...10:01
liushengXinran_: can you find tempest.conf in your system10:02
Xinran_liusheng,  if not ,  can I install tempest manually ?10:02
Xinran_liusheng, no there's nothing about tempest10:02
Xinran_liusheng,  But before there were no tempest.conf either but it worked10:03
liusheng Xinran_ no, devstack will install tempest and config it10:04
Xinran_liusheng,  really strange10:11
Xinran_liusheng,  let me restack10:11
*** dims has quit IRC10:14
*** dims has joined #openstack-mogan10:15
*** liujiong has quit IRC10:15
*** Xinran_ has quit IRC11:02
openstackgerritMerged openstack/mogan master: Update ironic.driver.plug_vif implementation  https://review.openstack.org/46976611:31
openstackgerritMerged openstack/mogan master: Stop using deprecated 'message' attribute in Exception  https://review.openstack.org/47562711:54
*** litao__ has quit IRC11:56
*** wanghao has joined #openstack-mogan12:45
*** wanghao has quit IRC13:35
*** wanghao has joined #openstack-mogan13:35
*** wanghao has quit IRC13:35
*** wanghao has joined #openstack-mogan13:36
*** wanghao has quit IRC13:36
*** wanghao has joined #openstack-mogan13:36
*** wanghao has quit IRC13:37
*** wanghao has joined #openstack-mogan13:37
*** wanghao has quit IRC13:38
*** wanghao has joined #openstack-mogan13:38
*** wanghao has quit IRC13:39
*** wanghao has joined #openstack-mogan13:39
*** wanghao has quit IRC13:39
*** wanghao has joined #openstack-mogan13:40
*** wanghao has quit IRC13:40
*** wanghao has joined #openstack-mogan13:41
-openstackstatus- NOTICE: We have switched now all docs publishing jobs to new documentation builds. For details see dhellmann's email http://lists.openstack.org/pipermail/openstack-dev/2017-July/119221.html . For problems, join us on #openstack-doc14:38
-openstackstatus- NOTICE: "We're experiencing a few problems with the reorg on docs.openstack.org and are looking into these..."15:18
*** ChanServ changes topic to ""We're experiencing a few problems with the reorg on docs.openstack.org and are looking into these...""15:18
*** ChanServ changes topic to "Bugs: bugs.launchpad.net/mogan | Review: https://review.openstack.org/#/q/project:openstack/mogan,n,z"15:37
-openstackstatus- NOTICE: "docs.openstack.org is working fine again, due to move of new location, each repo needs to merge one change to appear on docs.o.o"15:37

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