Tuesday, 2016-11-22

*** yuntongjin has joined #openstack-nimble01:29
zhenguomorning nimble01:50
yuntongjinmorning nimblers01:57
*** luyao has quit IRC02:10
*** luyao has joined #openstack-nimble02:11
openstackgerritMerged openstack/nimble: update api-ref for admin tenant filter.  https://review.openstack.org/40010702:20
openstackgerritMerged openstack/nimble: Import ironicclient directly  https://review.openstack.org/40013902:23
openstackgerritZhenguo Niu proposed openstack/nimble: Add engine api interfaces  https://review.openstack.org/39947603:25
*** yuntongjin has quit IRC03:31
zhenguoshaohe_feng, liusheng: I would like to introduce image in nimble, do you think we need to support both v1 and v2 api or just v2?03:42
liushengyou mean glance  ?03:42
zhenguoliusheng: yes03:42
liushengzhenguo: the glance v1 APIs isn't maintained any more03:43
zhenguoliusheng: oh, so we don't need it03:43
liushengzhenguo: yes03:43
zhenguoliusheng: thanks03:43
*** kong has quit IRC04:30
*** yuntongjin has joined #openstack-nimble04:43
openstackgerritliusheng proposed openstack/nimble: Add tempest plugin for Nimble(part1)  https://review.openstack.org/40051705:02
openstackgerritliusheng proposed openstack/nimble: Add tempest plugin for Nimble(part1)  https://review.openstack.org/40051705:04
openstackgerritliusheng proposed openstack/nimble: Add tempest plugin for Nimble(part1)  https://review.openstack.org/40051705:07
*** yuntongjin has quit IRC06:06
*** yuntongjin has joined #openstack-nimble06:23
openstackgerrityuntongjin proposed openstack/nimble: Add unittest test_filter_scheduler.  https://review.openstack.org/38781406:32
openstackgerritliusheng proposed openstack/nimble: Add tempest plugin for Nimble(part1)  https://review.openstack.org/40051706:40
shaohe_fengzhenguo: https://docs.python.org/3/library/unittest.mock.html#autospeccing06:43
shaohe_fengzhenguo: this docs is Interesting. not only introduce mock, but also something tests.06:44
shaohe_fengsuch as:06:44
shaohe_fengThe second issue is more general to mocking. If you refactor some of your code, rename members and so on, any tests for code that is still using the old api but uses mocks instead of the real objects will still pass. This means your tests can all pass even though your code is broken.06:44
shaohe_fengNote that this is another reason why you need integration tests as well as unit tests. Testing everything in isolation is all fine and dandy, but if you don’t test how your units are “wired together” there is still lots of room for bugs that tests might have caugh.t06:44
zhenguoshaohe_feng:yes, thanks for shareing the link :P06:46
openstackgerritliusheng proposed openstack/nimble: Add tempest plugin for Nimble(part1)  https://review.openstack.org/40051706:58
liushengzhenguo: the part 1 (basic frame) of tempest plugin has been locally tested ok, and the infra job patch has been uploaded, https://review.openstack.org/#/c/400539/ ^^07:06
zhenguoliusheng: oh, thanks a lot, hah07:07
liushengzhenguo: np:)07:08
shaohe_fengliusheng: awesome.07:14
liushengshaohe_feng: thanks :)07:14
zhenguoshaohe_feng: please help to review the tempest patch, if there's no big issues I would like to land the codes as soon as possible, as the related infra patch depends on this, we need to get approved from infra guys to enable this gate.07:18
shaohe_fengzhenguo: OK.07:19
zhenguoshaohe_feng: thanks07:19
shaohe_fengliusheng: zhenguo: where can I get devstack-vm-gate-wrap.sh ?07:35
zhenguoshaohe_feng: it's not related to us07:35
zhenguoshaohe_feng: it's infras thing, which used to setup devstack I think07:36
liushengshaohe_feng: devstack-gate repo07:36
shaohe_fengliusheng: Andreas Jaeger give comments07:39
liushengshaohe_feng: thanks07:40
liushengshaohe_feng: seems, it need the definition in project.yaml...08:56
*** yuntongjin has quit IRC09:12
openstackgerritMerged openstack/nimble: Add engine api interfaces  https://review.openstack.org/39947609:16
zhenguoliusheng: I searched all tempest job in projects file, seem they use a pattern like {pipeline} and {suffix} and specify pipline to 'gate' instead of directly using gate-tempest-xxx09:26
zhenguoliusheng: not sure what's the difference, but they all don't directly use the job name09:27
liushengzhenguo: hmmm, I guess it is just a template, but we dont need template. but I am also not sure..09:28
zhenguoliusheng: or maybe you don't need a trailing ':'09:28
liushengzhenguo: maybe, I have to leave now because something of my family. you can help re-submit the patch if you have time. thanks09:30
zhenguoliusheng: ok09:30
openstackgerritZhenguo Niu proposed openstack/nimble: Introduce image service  https://review.openstack.org/40065209:54
zhenguoshaohe_feng: as we discussed, ironic related operations should be moved from api to engine, right?11:02
zhenguoshaohe_feng: after ironicclient refactored, seems api ironic api call will failed currently.11:03
openstackgerritZhenguo Niu proposed openstack/nimble: Move all rpc call to engine api  https://review.openstack.org/40073612:57
openstackgerritZhenguo Niu proposed openstack/nimble: Move all rpc call to engine api  https://review.openstack.org/40073617:11
openstackgerritMerged openstack/nimble: Introduce image service  https://review.openstack.org/40065217:18
openstackgerritZhenguo Niu proposed openstack/nimble: Move all rpc call to engine api  https://review.openstack.org/40073617:28
openstackgerritMerged openstack/nimble: Move all rpc call to engine api  https://review.openstack.org/40073617:45
-openstackstatus- NOTICE: Gerrit is offline until 21:30 UTC for scheduled maintenance: http://lists.openstack.org/pipermail/openstack-dev/2016-November/107379.html21:09
*** ChanServ changes topic to "Gerrit is offline until 21:30 UTC for scheduled maintenance: http://lists.openstack.org/pipermail/openstack-dev/2016-November/107379.html"21:09
*** ChanServ changes topic to "Bugs: bugs.launchpad.net/nimble | Review: https://review.openstack.org/#/q/project:openstack/nimble,n,z"21:40

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