*** yuntongjin has joined #openstack-nimble | 01:35 | |
*** kevinz has joined #openstack-nimble | 01:40 | |
zhenguo | morning nimble! | 02:07 |
---|---|---|
*** yuntongjin has quit IRC | 02:29 | |
*** yuntongjin has joined #openstack-nimble | 02:32 | |
*** yuntongjin1 has joined #openstack-nimble | 02:44 | |
*** yuntongjin has quit IRC | 02:45 | |
*** yuntongjin1 has quit IRC | 02:48 | |
kong_ | good afternoon, guys | 02:53 |
zhenguo | kong_: o/ | 02:54 |
openstackgerrit | Zhenguo Niu proposed openstack/nimble: Add engine unit tests https://review.openstack.org/405740 | 02:56 |
*** yuntongjin has joined #openstack-nimble | 02:56 | |
*** yuntongjin has quit IRC | 03:17 | |
*** kevinz has quit IRC | 03:30 | |
*** kevinz has joined #openstack-nimble | 03:31 | |
openstackgerrit | liusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP) https://review.openstack.org/404552 | 03:40 |
openstackgerrit | Zhenguo Niu proposed openstack/nimble: Add engine unit tests https://review.openstack.org/405740 | 03:41 |
zhenguo | liusheng: the tempest gate passed, hah | 04:33 |
*** devlaps has joined #openstack-nimble | 04:58 | |
liusheng | zhenguo: I guess it is just looks like 'passed' ;-P\ | 06:20 |
zhenguo | liusheng: lol | 06:27 |
zhenguo | liusheng: do you think we should support deleting instances in any state, like when it's creating networking resources | 06:59 |
liusheng | zhenguo: In Nova, it is support deletion in any state | 07:00 |
liusheng | zhenguo: the deletion I think it is the highest priority action | 07:00 |
zhenguo | liusheng: yes, but for us, should we support that as well | 07:00 |
zhenguo | liusheng: and do you know what's force delete | 07:01 |
liusheng | zhenguo: I cannot remember it, let me ask others | 07:02 |
openstackgerrit | liusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP) https://review.openstack.org/404552 | 07:04 |
*** yuntongjin has joined #openstack-nimble | 07:13 | |
liusheng | zhenguo: just confirmed, it is almost same of deletion and force deletion in Nova | 07:22 |
*** shz has quit IRC | 07:24 | |
openstackgerrit | Merged openstack/nimble: Add engine unit tests https://review.openstack.org/405740 | 07:32 |
zhenguo | liusheng: ok, thanks! | 07:50 |
zhenguo | liusheng: have you successfully installed nimble env with our devstack plugin? | 07:59 |
liusheng | zhenguo: no, I didn't try again later | 08:00 |
zhenguo | liusheng: ok, I can try whether the latest code work for creating instance to make sure our tempest error is not related to nimble :P | 08:00 |
zhenguo | liusheng: currently it failed in waiting for ironic node acitve, right? | 08:01 |
liusheng | zhenguo: thanks, I am also try to find the issue | 08:01 |
* zhenguo brb | 08:03 | |
liusheng | zhenguo: the instance was created failed | 08:06 |
liusheng | zhenguo: in the tempest job | 08:06 |
*** shaohe_feng has joined #openstack-nimble | 08:07 | |
shaohe_feng | hi all | 08:08 |
shaohe_feng | ping | 08:08 |
shaohe_feng | zhenguo: ping | 08:09 |
zhenguo | shaohe_feng: hi | 08:14 |
shaohe_feng | zhenguo: hi. good. | 08:14 |
zhenguo | shaohe_feng: haha, | 08:14 |
shaohe_feng | zhenguo: good. something wrong with irc. | 08:15 |
shaohe_feng | zhenguo: I change the proxy. | 08:15 |
shaohe_feng | but this proxy is not stable. | 08:15 |
zhenguo | shaohe_feng: hope it can keep you here | 08:16 |
shaohe_feng | zhenguo: It can keep for a short time. | 08:17 |
*** shaohe_feng has quit IRC | 08:17 | |
*** shaohe_feng has joined #openstack-nimble | 08:18 | |
zhenguo | shaohe_feng: are you still around? | 08:20 |
shaohe_feng | zhenguo: yes. I'm here. | 08:21 |
zhenguo | shaohe_feng: nice | 08:21 |
*** yuntongjin has quit IRC | 08:21 | |
zhenguo | shaohe_feng: I just want to talk about deleting instances, do you think we should allow deleting in any state | 08:21 |
shaohe_feng | zhenguo: but it may failed in error state. | 08:22 |
shaohe_feng | the present code. | 08:23 |
zhenguo | shaohe_feng: yes, | 08:23 |
zhenguo | shaohe_feng: so I want to fix it | 08:23 |
liusheng | zhenguo: a quick question, why swift is needed in devstack installation ? | 08:23 |
shaohe_feng | zhenguo: do we allow to delete it in building/deploying state? | 08:23 |
zhenguo | liusheng: swift is required by agent driver | 08:23 |
liusheng | zhenguo: by Ironic ? | 08:24 |
zhenguo | liusheng: if we use agent_xxx dirver, the image will put to swift first | 08:24 |
zhenguo | liusheng: yes | 08:24 |
liusheng | zhenguo: get it, thanks. I am trying to re-install devstack | 08:24 |
zhenguo | liusheng: you can copy the guided local config from our dev-quickstart | 08:25 |
liusheng | zhenguo: the instance was created failed and in "error" state in tempest job | 08:25 |
liusheng | zhenguo: ok | 08:25 |
zhenguo | liusheng: yes, does it fail in wait ironic node active? | 08:25 |
zhenguo | liusheng: or some other reason | 08:26 |
shaohe_feng | liusheng: ref doc/source/dev/dev-quickstart.rst | 08:26 |
liusheng | zhenguo: not sure, I cannot get useful log in ironic-api's log | 08:26 |
zhenguo | liusheng: ok, I will dig | 08:26 |
liusheng | shaohe_feng: thanks, welcome back :) | 08:26 |
*** shaohe_feng has quit IRC | 08:27 | |
liusheng | zhenguo: the node is 'available' state, does that means the node didn't be allocated ? | 08:27 |
zhenguo | shaohe_feng: liusheng will be nearly full time dedicated in nimble, hah | 08:27 |
zhenguo | liusheng: you mean the node is still in available state with creating error in out tempest gate now | 08:28 |
liusheng | zhenguo: 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:221 | 08:28 |
liusheng | zhenguo: this is the resource cleanup action of tempest | 08:28 |
liusheng | zhenguo: his irc is broken again :( | 08:29 |
zhenguo | liusheng: hah | 08:29 |
zhenguo | liusheng: why tempest delete ironic node? | 08:29 |
*** shaohe_feng has joined #openstack-nimble | 08:30 | |
liusheng | zhenguo: tempest will clean resources after running all the tests | 08:30 |
shaohe_feng | liusheng: zhenguo: I'm back again. | 08:30 |
zhenguo | liusheng: including resources that doesn't created by tempest | 08:30 |
shaohe_feng | liusheng: thanks, someting wrong with my IRC. | 08:30 |
shaohe_feng | zhenguo: for building status, we need more details for the buiding | 08:30 |
zhenguo | shaohe_feng: welcome back again! | 08:30 |
shaohe_feng | zhenguo: for example, in building network or in building volume? | 08:30 |
shaohe_feng | zhenguo: maybe need more details for deploying. | 08:31 |
liusheng | shaohe_feng: welcome :) | 08:31 |
shaohe_feng | zhenguo: do you promote in bug smash? | 08:31 |
zhenguo | shaohe_feng: yes, a short presentation | 08:31 |
zhenguo | shaohe_feng: but no question after it :( | 08:31 |
liusheng | zhenguo: if the instance created sucessfully, what's the state of the ironic node ? | 08:31 |
zhenguo | liusheng: it should be active | 08:32 |
shaohe_feng | zhenguo: create and delete is the basic function, we should make works well. | 08:32 |
zhenguo | liusheng: available means it can be seen by scheduler | 08:32 |
liusheng | zhenguo: so the 'available' state is wrong ? | 08:32 |
liusheng | zhenguo: got it | 08:33 |
zhenguo | liusheng: no, after enrolled, it is available, | 08:33 |
zhenguo | shaohe_feng: sure, and liusheng is adding tempest for that now, to keep it work with new patches merged | 08:33 |
shaohe_feng | zhenguo: Good. | 08:34 |
liusheng | shaohe_feng: I am stucked in instance creation test :( | 08:34 |
shaohe_feng | liusheng: what's the problem? | 08:35 |
liusheng | shaohe_feng: seems the instance is created failed in Ironic | 08:35 |
zhenguo | liusheng: do we have other clues except console.og and testr results? | 08:36 |
shaohe_feng | liusheng: zhenguo: I have gone through the neutron full-stack test code. maybe nimble can ref it. | 08:36 |
liusheng | zhenguo: http://logs.openstack.org/52/404552/6/check/gate-nimble-dsvm-tempest-plugin/45aef8b/logs/screen-nimble-engine.txt.gz | 08:37 |
liusheng | zhenguo: http://logs.openstack.org/52/404552/6/check/gate-nimble-dsvm-tempest-plugin/45aef8b/logs/screen-ir-api.txt.gz | 08:37 |
*** shaohe_feng has quit IRC | 08:37 | |
*** shaohe_feng has joined #openstack-nimble | 08:39 | |
shaohe_feng | zhenguo: liusheng: I'm come back again. | 08:39 |
shaohe_feng | zhenguo: also for building/deploying status, how do you communicate with the create procedure, let is stop? | 08:39 |
shaohe_feng | zhenguo: ping | 08:40 |
liusheng | shaohe_feng: always welcome, :-P | 08:40 |
zhenguo | shaohe_feng, liusheng: lol | 08:42 |
liusheng | zhenguo: please ignore the NotFound error of "get_node_by_instance" in the log | 08:42 |
shaohe_feng | zhenguo: let it stop. | 08:43 |
zhenguo | liusheng: why? | 08:43 |
zhenguo | shaohe_feng: in nova, every step in creating instance will check whether the instance is not found | 08:43 |
zhenguo | shaohe_feng: to see whether it has been deleted | 08:44 |
zhenguo | liusheng: why we can't get the ironic node | 08:44 |
shaohe_feng | zhenguo: so this communication nova still by DB, | 08:45 |
zhenguo | shaohe_feng: seems like it is | 08:45 |
liusheng | zhenguo: 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_feng | zhenguo: any other good way? | 08:45 |
liusheng | zhenguo: may need to wait seconds to query after creating | 08:46 |
zhenguo | liusheng: you mean the instance uuid is not set to the node yet? | 08:47 |
liusheng | zhenguo: yes | 08:47 |
*** shaohe_feng has quit IRC | 08:47 | |
zhenguo | liusheng: oh, but we set instance info before really deploy the node | 08:48 |
liusheng | zhenguo: it can query the instance later, it show state in "building", and then to "error" | 08:48 |
zhenguo | liusheng: really weird | 08:48 |
zhenguo | liusheng: who will do the query api? | 08:49 |
*** shaohe_feng has joined #openstack-nimble | 08:50 | |
liusheng | zhenguo: the test need to periodically query the instance to wait it to "active" state | 08:51 |
zhenguo | liusheng: but before that, the instance uuid must be set to node | 08:51 |
zhenguo | liusheng: because we have validate and do_node_depoloy task between set_instance_info and wait_active | 08:52 |
zhenguo | liusheng: both need instance uuid, | 08:52 |
liusheng | zhenguo: I am not sure, just guess based on the timestamp. but the instance creation is an async call, right ? | 08:53 |
zhenguo | liusheng: the exception is raised at L262, the get_ironic_node method, so it should be another API call instead of create instance | 08:55 |
*** shaohe_feng has quit IRC | 08:56 | |
zhenguo | liusheng: maybe delete instance? seems like just after create instance post returned, it will delete the instance | 08:56 |
liusheng | zhenguo: which exception | 08:57 |
zhenguo | liusheng: NotFound | 08:57 |
zhenguo | liusheng: do we have a delete test now | 08:57 |
*** shaohe_feng has joined #openstack-nimble | 08:58 | |
liusheng | zhenguo: 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_347 | 09:04 |
liusheng | zhenguo: 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 |
liusheng | zhenguo: after its status become 'error', the test failed and then tempest will run resource_cleanup method | 09:07 |
openstackgerrit | liusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP) https://review.openstack.org/404552 | 09:09 |
zhenguo | liusheng: yes, but why the exception is raised in get_ironic_node? | 09:33 |
zhenguo | liusheng: I don't find anyone calling it except api, | 09:33 |
liusheng | zhenguo: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 yet | 09:35 |
liusheng | zhenguo: yes, it is because the GET api call | 09:36 |
zhenguo | liusheng: ok, the exception disappeared in the new patch set. | 09:36 |
liusheng | zhenguo: yes, it should be | 09:37 |
zhenguo | liusheng: maybe we can add more logs to help us debug it | 09:38 |
zhenguo | liusheng: and it should be | 09:38 |
liusheng | zhenguo: but I am afraid it need to debug in Ironic... | 09:39 |
zhenguo | liusheng: seems it not trigger deployment process in ironic at all, as the node is still in available state :( | 09:40 |
liusheng | zhenguo: :( | 09:42 |
zhenguo | liusheng: I have added some exceptions catch, but not sure whether the tempest patch will work with that, maybe need a rebase? | 09:43 |
liusheng | zhenguo: OK, I will try, it is time for dinner :) | 09:44 |
zhenguo | liusheng: it can present some logs at least with this https://review.openstack.org/#/c/404686/ | 09:44 |
zhenguo | liusheng: ok | 09:45 |
* zhenguo away for dinner | 09:51 | |
*** shaohe_feng has quit IRC | 10:17 | |
*** shaohe_feng has joined #openstack-nimble | 10:17 | |
*** kevinz has quit IRC | 10:50 | |
*** kevinz has joined #openstack-nimble | 11:23 | |
openstackgerrit | liusheng proposed openstack/nimble: Add tempest tests for instance creation(WIP) https://review.openstack.org/404552 | 12:27 |
*** Kevin_Zheng has quit IRC | 12:46 | |
*** Kevin_Zheng has joined #openstack-nimble | 12:47 | |
*** RuiChen has quit IRC | 12:56 | |
*** RuiChen has joined #openstack-nimble | 12:57 | |
*** devlaps has quit IRC | 14:21 | |
*** devlaps has joined #openstack-nimble | 16:08 | |
*** kevinz has quit IRC | 16:12 | |
*** devlaps has quit IRC | 19:16 | |
*** devlaps has joined #openstack-nimble | 19:17 | |
*** devlaps has quit IRC | 20:10 | |
*** devlaps has joined #openstack-nimble | 21:07 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!