Friday, 2017-06-16

*** liujiong has joined #openstack-mogan00:11
*** wanghao has joined #openstack-mogan00:46
zhenguomorning mogan!00:47
openstackgerritwanghao proposed openstack/mogan master: Specify neutron port when creating servers  https://review.openstack.org/47082401:05
wanghaomorning01:05
zhenguoshaohe_feng: around?01:22
*** liusheng has joined #openstack-mogan01:23
openstackgerritliusheng proposed openstack/mogan master: Tempest: add tempest test cases for console  https://review.openstack.org/47449801:28
openstackgerritMerged openstack/mogan master: Updated from global requirements  https://review.openstack.org/47465601:28
openstackgerritZhenguo Niu proposed openstack/mogan master: Adds `disabled` field for flavors.  https://review.openstack.org/47444101:33
zhenguoliusheng: maybe I can +2 my revert patch, as it's `revert`01:35
liushengzhenguo: sure01:35
zhenguoliusheng: hah01:35
wanghaozhenguo: of course you can01:35
zhenguowanghao: lol01:36
liushengzhenguo: please ping me if you need another +2, lol01:36
zhenguoliusheng: sure01:36
* zhenguo brb01:38
wanghaoshaohe_feng: I need your +2 again for specifying neutron port patch, since I rebase it to slove merge confilct.01:38
liushengzhenguo: may you can help give a +A for https://review.openstack.org/#/c/473204/, it merged failed and I just rebased it.01:44
liushengwanghao: will test your patch01:45
wanghaoliusheng: thanks01:45
zhenguoliusheng: sure01:48
liushengzhenguo: thanks01:48
zhenguoliusheng: just a quick look through the placement API, we can list all resouce providers and can PUT/GET aggregates info, seems well fit for us01:56
liushengzhenguo: great, can we set the resource_class and filter query by the field ?01:57
zhenguoliusheng: not sure, seems it is01:57
liushengzhenguo: ok, will learn it01:58
zhenguoliusheng: on our env, there's nothing in inventory table, not sure how to enable it01:58
liushengzhenguo: hah,may need to report resources to it01:59
zhenguoliusheng: as I understand, nova resouce tracker will report resouces to inventories01:59
liushengzhenguo: werid, I cannot create flaovr after updating code and run dbsync01:59
liushengzhenguo: seems yes01:59
zhenguoliusheng: really? we do have a flavor tempest gate02:00
liushengzhenguo: yes, so it is weird02:00
zhenguoliusheng: maybe because the client, there's also a patch to revert client stuff02:00
liushengzhenguo: oh, forgot that, hah02:01
zhenguoliusheng: this one https://review.openstack.org/#/c/474496/02:01
openstackgerritMerged openstack/mogan master: Revert "Add requested neworks check with the specified flavor"  https://review.openstack.org/47440502:04
liushengwanghao: you patch conflicted :)02:08
wanghaoliusheng: okay, again02:09
wanghaowill update it02:09
openstackgerritZhenguo Niu proposed openstack/mogan master: Revert "New flavor"  https://review.openstack.org/47443302:20
openstackgerritwanghao proposed openstack/mogan master: Specify neutron port when creating servers  https://review.openstack.org/47082402:23
openstackgerritMerged openstack/mogan master: Tempest: Add test for node listing api  https://review.openstack.org/47320402:25
zhenguowanghao: FYI ironic will support boot from volume soon, we may need to interact with cinder as well, please keep an eye on that, thanks!02:32
wanghaozhenguo: okay02:32
wanghaoneed to create volume in CInder.02:33
zhenguowanghao: yes02:33
zhenguowanghao: with new v3 api?02:33
wanghaoyes02:33
wanghaocurrent API is V302:33
zhenguowanghao: hah02:33
zhenguowanghao: just pretend I'm familiar with Cinder :D02:34
openstackgerritliusheng proposed openstack/mogan master: Tempest: add tempest test cases for console  https://review.openstack.org/47449802:34
openstackgerritliusheng proposed openstack/mogan master: Tempest: add tempest test cases for server networks API  https://review.openstack.org/47482902:34
wanghaozhenguo: propably could consider to add cinder client in Mogan02:34
zhenguowanghao: sure, but not in this release, hah02:35
wanghaozhenguo: yes, agree02:35
openstackgerritZhenguo Niu proposed openstack/mogan master: Revert "New flavor"  https://review.openstack.org/47443302:39
*** litao__ has joined #openstack-mogan02:44
openstackgerritliusheng proposed openstack/mogan master: Tempest: add tempest test cases for server networks API  https://review.openstack.org/47482902:44
openstackgerritZhenguo Niu proposed openstack/mogan master: Revert "Add more properties to default flavor"  https://review.openstack.org/47449503:11
openstackgerritliusheng proposed openstack/mogan master: Tempest: add tempest test cases for server networks API  https://review.openstack.org/47482903:13
openstackgerritliusheng proposed openstack/mogan master: Tempest: add tempest test cases for server interface attaching  https://review.openstack.org/47483503:13
zhenguoliusheng: this one https://review.openstack.org/#/c/474495/ needs to land first03:13
liushengzhenguo: ok03:14
openstackgerritMerged openstack/python-moganclient master: Revert "Add support for specifying new properties for flavor"  https://review.openstack.org/47449604:50
openstackgerritOpenStack Proposal Bot proposed openstack/python-moganclient master: Updated from global requirements  https://review.openstack.org/47291705:33
openstackgerritwanghao proposed openstack/mogan master: Specify neutron port when creating servers  https://review.openstack.org/47082405:42
zhenguogates broken?06:45
openstackgerritMerged openstack/mogan master: Revert "Add more properties to default flavor"  https://review.openstack.org/47449506:47
openstackgerritZhenguo Niu proposed openstack/mogan master: Revert "New flavor"  https://review.openstack.org/47443307:15
zhenguoliusheng: the gate seems broken with get_nodes_list07:57
zhenguoliusheng: https://review.openstack.org/#/c/473204/4/mogan/tests/tempest/api/test_nodes.py08:00
zhenguoliusheng: #L30 nodes[0] raise IndexError: list index out of range08:00
zhenguoliusheng: as nodes could be []08:01
liushengzhenguo: I just found patch run cannot pass the gate, but I am not sure if it because this08:01
liushengzhenguo: oh, I see08:02
zhenguoliusheng: so can you add a quick fix like check before perfom nodes[0] or do we need to revert the patch :D08:03
liushengzhenguo: don't need to revert, fix coming :D08:03
zhenguoliusheng: thanks08:04
openstackgerritliusheng proposed openstack/mogan master: Fix gate broken by test_nodes_list  https://review.openstack.org/47488608:07
openstackgerritwanghao proposed openstack/mogan master: Specify neutron port when creating servers  https://review.openstack.org/47082408:22
zhenguoliusheng: please have a look at this https://review.openstack.org/#/c/474433/08:39
openstackgerritMerged openstack/mogan master: Remove unneeded *encoding: utf-8*  https://review.openstack.org/47402808:39
liushengzhenguo: +2ed08:42
zhenguoliusheng: thanks08:42
zhenguoshaohe_feng: mind to +A this https://review.openstack.org/#/c/474433/ , or I will do it myself, lol08:43
*** liujiong has quit IRC08:59
zhenguoliusheng: all placement stuff in nova_api databases;09:25
liushengzhenguo: may placement will be separated out in the comming cycles09:26
zhenguoliusheng: seems not09:27
liushengzhenguo: really ?09:27
zhenguoliusheng: but it's a separated service and with separated api stack09:27
liushengzhenguo: yes09:27
zhenguoliusheng: even it's in nova repo, we can treat it as a separated service09:27
liushengzhenguo: hah, yes09:28
zhenguoliusheng: not sure if we can only enable placement-api servcie09:28
liushengzhenguo: that is a problem...09:28
zhenguoliusheng: seems they still track baremetal resouces as  like other generic resouces not using node resource class09:29
zhenguoliusheng: but we can do it09:29
liushengzhenguo: will try, the console tempest can pass in my env, but cannot pass the gate :(09:30
zhenguoliusheng: also found the resource_provider_aggregates table, for us, every node is a resouce provider09:30
zhenguoliusheng: hah09:30
liushengzhenguo: so it can help to implementation node aggregates ?09:30
zhenguoliusheng: yes, I think so09:31
zhenguoliusheng: as I understand, we can move to placement09:31
liushengzhenguo: hah, that is great!09:31
zhenguoliusheng: hah09:32
zhenguoliusheng: the node aggregates spec need to be rebased after placement get in, so time is tight09:32
liushengzhenguo: hmm, yes, so many things need to do09:34
zhenguoliusheng: yes, hah09:34
liushengzhenguo: your patch didn't pass py23, it is veird09:35
liushengzhenguo: py2709:35
openstackgerritMerged openstack/mogan master: Fix gate broken by test_nodes_list  https://review.openstack.org/47488609:35
zhenguoliusheng: will update, as many reverts the obj version changed again and again :D09:36
liushengzhenguo: lol09:36
zhenguoliusheng: for disabled flavors, I will just add a check when creating server and raise NotFound, but both common and admin users can list or show it, wdyt?09:40
zhenguoliusheng: maybe need filter for disabled later09:40
liushengzhenguo: yes, make sense09:40
zhenguoliusheng: ok, so after the last revert patch landed, I will continue09:41
liushengzhenguo: hah, go ahead09:41
zhenguoliusheng: sure, hah09:41
zhenguoliusheng: aha, just checked the flavor reverted patch, not because obj version but this mogan.tests.unit.db.test_compute_nodes.DbComputeNodeTestCase.test_compute_node_get_all09:44
zhenguoliusheng: I find it occationally failed, but not sure why09:44
liushengzhenguo: yes, may need to check more09:45
zhenguoliusheng: yes, will dig09:46
* zhenguo away09:51
*** wanghao has quit IRC12:43
*** luyao has quit IRC15:02
*** wanghao has joined #openstack-mogan15:56
*** wanghao has quit IRC19:00
*** wanghao has joined #openstack-mogan19:01
*** litao__ has quit IRC19:12
*** liusheng has quit IRC19:21
*** liusheng has joined #openstack-mogan19:22
*** wanghao_ has joined #openstack-mogan19:47
*** wanghao has quit IRC19:47
*** wanghao_ has quit IRC20:01
*** wanghao has joined #openstack-mogan20:02
*** wanghao has quit IRC20:16
*** wanghao has joined #openstack-mogan20:17
*** wanghao_ has joined #openstack-mogan20:44
*** wanghao has quit IRC20:48
*** wanghao_ has quit IRC20:49
openstackgerritZhenguo Niu proposed openstack/mogan master: Revert "New flavor"  https://review.openstack.org/47443323:09
*** luyao has joined #openstack-mogan23:29

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