Tuesday, 2016-12-06

*** yuntongjin has joined #openstack-nimble01:35
*** kevinz has joined #openstack-nimble01:40
zhenguomorning nimble!02:07
*** yuntongjin has quit IRC02:29
*** yuntongjin has joined #openstack-nimble02:32
*** yuntongjin1 has joined #openstack-nimble02:44
*** yuntongjin has quit IRC02:45
*** yuntongjin1 has quit IRC02:48
kong_good afternoon, guys02:53
zhenguokong_: o/02:54
openstackgerritZhenguo Niu proposed openstack/nimble: Add engine unit tests  https://review.openstack.org/40574002:56
*** yuntongjin has joined #openstack-nimble02:56
*** yuntongjin has quit IRC03:17
*** kevinz has quit IRC03:30
*** kevinz has joined #openstack-nimble03:31
openstackgerritliusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP)  https://review.openstack.org/40455203:40
openstackgerritZhenguo Niu proposed openstack/nimble: Add engine unit tests  https://review.openstack.org/40574003:41
zhenguoliusheng: the tempest gate passed, hah04:33
*** devlaps has joined #openstack-nimble04:58
liushengzhenguo: I guess it is just looks like 'passed' ;-P\06:20
zhenguoliusheng: lol06:27
zhenguoliusheng: do you think we should support deleting instances in any state, like when it's creating networking resources06:59
liushengzhenguo: In Nova, it is support deletion in any state07:00
liushengzhenguo: the deletion I think it is the highest priority action07:00
zhenguoliusheng: yes, but for us, should we support that as well07:00
zhenguoliusheng: and do you know what's force delete07:01
liushengzhenguo: I cannot remember it, let me ask others07:02
openstackgerritliusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP)  https://review.openstack.org/40455207:04
*** yuntongjin has joined #openstack-nimble07:13
liushengzhenguo: just confirmed, it is almost same of deletion and force deletion in Nova07:22
*** shz has quit IRC07:24
openstackgerritMerged openstack/nimble: Add engine unit tests  https://review.openstack.org/40574007:32
zhenguoliusheng: ok, thanks!07:50
zhenguoliusheng: have you successfully installed nimble env with our devstack plugin?07:59
liushengzhenguo: no, I didn't try again later08:00
zhenguoliusheng: ok, I can try whether the latest code work for creating instance to make sure our tempest error is not related to nimble :P08:00
zhenguoliusheng: currently it failed in waiting for ironic node acitve, right?08:01
liushengzhenguo: thanks, I am also try to find the issue08:01
* zhenguo brb08:03
liushengzhenguo: the instance was created failed08:06
liushengzhenguo:  in the tempest job08:06
*** shaohe_feng has joined #openstack-nimble08:07
shaohe_fenghi all08:08
shaohe_fengping08:08
shaohe_fengzhenguo: ping08:09
zhenguoshaohe_feng: hi08:14
shaohe_fengzhenguo: hi. good.08:14
zhenguoshaohe_feng: haha,08:14
shaohe_fengzhenguo: good. something wrong with irc.08:15
shaohe_fengzhenguo: I change the proxy.08:15
shaohe_fengbut this proxy is not stable.08:15
zhenguoshaohe_feng: hope it can keep you here08:16
shaohe_fengzhenguo: It can keep for a short time.08:17
*** shaohe_feng has quit IRC08:17
*** shaohe_feng has joined #openstack-nimble08:18
zhenguoshaohe_feng: are you still around?08:20
shaohe_fengzhenguo: yes. I'm here.08:21
zhenguoshaohe_feng: nice08:21
*** yuntongjin has quit IRC08:21
zhenguoshaohe_feng: I just want to talk about deleting instances, do you think we should allow deleting in any state08:21
shaohe_fengzhenguo: but it may failed in error state.08:22
shaohe_fengthe present code.08:23
zhenguoshaohe_feng: yes,08:23
zhenguoshaohe_feng: so I want to fix it08:23
liushengzhenguo: a quick question, why swift is needed in devstack installation ?08:23
shaohe_fengzhenguo: do we allow to delete it in building/deploying state?08:23
zhenguoliusheng: swift is required by agent driver08:23
liushengzhenguo: by Ironic ?08:24
zhenguoliusheng: if we use agent_xxx dirver, the image will put to swift first08:24
zhenguoliusheng: yes08:24
liushengzhenguo: get it, thanks. I am trying to re-install devstack08:24
zhenguoliusheng: you can copy the guided local config from our dev-quickstart08:25
liushengzhenguo: the instance was created failed and in "error" state in tempest job08:25
liushengzhenguo: ok08:25
zhenguoliusheng: yes, does it fail in wait ironic node active?08:25
zhenguoliusheng: or some other reason08:26
shaohe_fengliusheng: ref doc/source/dev/dev-quickstart.rst08:26
liushengzhenguo: not sure, I cannot get useful log in ironic-api's log08:26
zhenguoliusheng: ok, I will dig08:26
liushengshaohe_feng: thanks, welcome back :)08:26
*** shaohe_feng has quit IRC08:27
liushengzhenguo: the node is 'available' state, does that means the node didn't be allocated ?08:27
zhenguoshaohe_feng: liusheng will be nearly full time dedicated in nimble, hah08:27
zhenguoliusheng: you mean the node is still in available state with creating error in out tempest gate now08:28
liushengzhenguo: 2016-12-06 07:37:16.912 19641 DEBUG wsme.api [req-95c6c3c2-f250-4902-b4df-f906586fad1b 1d7866ef837b4b74a1c0f6139f4f787d 2525e4d1e856400596dd53339854f827 - default default] Client-side error: The requested action "deleted" can not be performed on node "ac4451a8-e0e6-4840-864c-e633ab8dd23f" while it is in state "available". format_exception /usr/local/lib/python2.7/dist-packages/wsme/api.py:22108:28
liushengzhenguo: this is the resource cleanup action of tempest08:28
liushengzhenguo: his irc is broken again :(08:29
zhenguoliusheng: hah08:29
zhenguoliusheng: why tempest delete ironic node?08:29
*** shaohe_feng has joined #openstack-nimble08:30
liushengzhenguo: tempest will clean resources after running all the tests08:30
shaohe_fengliusheng: zhenguo: I'm back again.08:30
zhenguoliusheng: including resources that doesn't created by tempest08:30
shaohe_fengliusheng: thanks, someting wrong with my IRC.08:30
shaohe_feng zhenguo: for building status, we need more details for the buiding08:30
zhenguoshaohe_feng: welcome back again!08:30
shaohe_fengzhenguo: for example, in building network  or in building volume?08:30
shaohe_fengzhenguo: maybe need more details for deploying.08:31
liushengshaohe_feng: welcome :)08:31
shaohe_fengzhenguo: do you promote in bug smash?08:31
zhenguoshaohe_feng: yes, a short presentation08:31
zhenguoshaohe_feng: but no question after it :(08:31
liushengzhenguo: if the instance created sucessfully, what's the state of the ironic node ?08:31
zhenguoliusheng: it should be active08:32
shaohe_fengzhenguo: create and delete is the basic function, we should make works well.08:32
zhenguoliusheng: available means it can be seen by scheduler08:32
liushengzhenguo: so the 'available' state is wrong ?08:32
liushengzhenguo: got it08:33
zhenguoliusheng: no, after enrolled, it is available,08:33
zhenguoshaohe_feng: sure, and liusheng is adding tempest for that now, to keep it work with new patches merged08:33
shaohe_fengzhenguo: Good.08:34
liushengshaohe_feng: I am stucked in instance creation test :(08:34
shaohe_fengliusheng: what's the problem?08:35
liushengshaohe_feng: seems the instance is created failed in Ironic08:35
zhenguoliusheng: do we have other clues except console.og and testr results?08:36
shaohe_fengliusheng: zhenguo: I have gone through the neutron full-stack test code. maybe nimble can ref it.08:36
liushengzhenguo: http://logs.openstack.org/52/404552/6/check/gate-nimble-dsvm-tempest-plugin/45aef8b/logs/screen-nimble-engine.txt.gz08:37
liushengzhenguo: http://logs.openstack.org/52/404552/6/check/gate-nimble-dsvm-tempest-plugin/45aef8b/logs/screen-ir-api.txt.gz08:37
*** shaohe_feng has quit IRC08:37
*** shaohe_feng has joined #openstack-nimble08:39
shaohe_fengzhenguo: liusheng: I'm come back again.08:39
shaohe_fengzhenguo: also for building/deploying status, how do you  communicate with the create procedure, let is stop?08:39
shaohe_fengzhenguo: ping08:40
liushengshaohe_feng: always welcome,  :-P08:40
zhenguoshaohe_feng, liusheng: lol08:42
liushengzhenguo: please ignore the NotFound error of  "get_node_by_instance" in the log08:42
shaohe_fengzhenguo: let it stop.08:43
zhenguoliusheng: why?08:43
zhenguoshaohe_feng: in nova, every step in creating instance will check whether the instance is not found08:43
zhenguoshaohe_feng: to see whether it has been deleted08:44
zhenguoliusheng: why we can't get the ironic node08:44
shaohe_fengzhenguo: so this communication nova still  by DB,08:45
zhenguoshaohe_feng: seems like it is08:45
liushengzhenguo: I guess it is because the request is just passed to Ironic API, and we have a periodic call to query the instance state,08:45
shaohe_fengzhenguo: any other good way?08:45
liushengzhenguo: may need to wait seconds to query after creating08:46
zhenguoliusheng: you mean the instance uuid is not set to the node yet?08:47
liushengzhenguo: yes08:47
*** shaohe_feng has quit IRC08:47
zhenguoliusheng: oh, but we set instance info before really deploy the node08:48
liushengzhenguo: it can query the instance later, it show state in "building", and then to "error"08:48
zhenguoliusheng: really weird08:48
zhenguoliusheng: who will do the query api?08:49
*** shaohe_feng has joined #openstack-nimble08:50
liushengzhenguo: the test need to periodically query the instance to wait it to "active" state08:51
zhenguoliusheng: but before that, the instance uuid must be set to node08:51
zhenguoliusheng: because we have validate and do_node_depoloy task between set_instance_info and wait_active08:52
zhenguoliusheng: both need instance uuid,08:52
liushengzhenguo: I am not sure, just guess based on the timestamp. but the instance creation is an async call, right ?08:53
zhenguoliusheng: the exception is raised at L262, the get_ironic_node method, so it should be another API call instead of create instance08:55
*** shaohe_feng has quit IRC08:56
zhenguoliusheng: maybe delete instance? seems like just after create instance post returned, it will delete the instance08:56
liushengzhenguo: which exception08:57
zhenguoliusheng: NotFound08:57
zhenguoliusheng: do we have a delete test now08:57
*** shaohe_feng has joined #openstack-nimble08:58
liushengzhenguo: no it is unrelated, you can see log after the line of :http://logs.openstack.org/52/404552/6/check/gate-nimble-dsvm-tempest-plugin/45aef8b/logs/tempest.txt.gz#_2016-12-06_07_37_12_34709:04
liushengzhenguo: it show all the api requestes, after POST, the GET requests are called by every 2 seconds, and the status is 'building' firstly, and then "error"09:05
liushengzhenguo: after its status become 'error', the test failed and then tempest will run resource_cleanup method09:07
openstackgerritliusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP)  https://review.openstack.org/40455209:09
zhenguoliusheng: yes, but why the exception is raised in get_ironic_node?09:33
zhenguoliusheng: I don't find anyone calling it except api,09:33
liushengzhenguo:I guess it is because the request is just passed to Ironic API, and we have a periodic call to query the instance state, while the instance_id was not set to ironic node yet09:35
liushengzhenguo: yes, it is because the GET api call09:36
zhenguoliusheng: ok, the exception disappeared in the new patch set.09:36
liushengzhenguo: yes, it should be09:37
zhenguoliusheng: maybe we can add more logs to help us debug it09:38
zhenguoliusheng: and it should be09:38
liushengzhenguo: but I am afraid it need to debug in Ironic...09:39
zhenguoliusheng: seems it not trigger deployment process in ironic at all, as the node is still in available state :(09:40
liushengzhenguo: :(09:42
zhenguoliusheng: I have added some exceptions catch, but not sure whether the tempest patch will work with that, maybe need a rebase?09:43
liushengzhenguo: OK, I will try, it is time for dinner :)09:44
zhenguoliusheng: it can present some logs at least with this https://review.openstack.org/#/c/404686/09:44
zhenguoliusheng: ok09:45
* zhenguo away for dinner09:51
*** shaohe_feng has quit IRC10:17
*** shaohe_feng has joined #openstack-nimble10:17
*** kevinz has quit IRC10:50
*** kevinz has joined #openstack-nimble11:23
openstackgerritliusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP)  https://review.openstack.org/40455212:27
*** Kevin_Zheng has quit IRC12:46
*** Kevin_Zheng has joined #openstack-nimble12:47
*** RuiChen has quit IRC12:56
*** RuiChen has joined #openstack-nimble12:57
*** devlaps has quit IRC14:21
*** devlaps has joined #openstack-nimble16:08
*** kevinz has quit IRC16:12
*** devlaps has quit IRC19:16
*** devlaps has joined #openstack-nimble19:17
*** devlaps has quit IRC20:10
*** devlaps has joined #openstack-nimble21:07

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