Thursday, 2016-11-17

*** luyao has joined #openstack-nimble01:25
*** yuntongjin has joined #openstack-nimble01:27
*** luyao has quit IRC01:50
zhenguomorning nimble01:56
liushengmorning01:58
RuiChenhi, nimble folks :-)01:58
zhenguoliusheng, RuiChen: o/01:59
liushengwill the meeting be in IRC ?01:59
zhenguoyes02:00
liushengcool02:00
*** lei-zh has joined #openstack-nimble02:00
zhenguo#startmeeting nimble02:00
openstackMeeting started Thu Nov 17 02:00:15 2016 UTC and is due to finish in 60 minutes.  The chair is zhenguo. Information about MeetBot at http://wiki.debian.org/MeetBot.02:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.02:00
openstackThe meeting name has been set to 'nimble'02:00
liushengo/02:00
zhenguohi everyone02:00
shihanzhango/02:00
zhenguothe agenda:02:00
lei-zho/02:00
zhenguo#link  https://wiki.openstack.org/wiki/Meetings/Nimble#Agenda_for_next_meeting02:00
zhenguoshaohe_feng, yuntongjin: are you around?02:01
yuntongjinhi02:01
zhenguook, let's jump in02:01
zhenguo#topic announcements and reminders02:01
zhenguowe have added db/object/scheduler tests last week and new functional tests work well now, thanks everyone who contributed to the tests work02:02
shaohe_fenghi all02:02
shihanzhanggood work02:02
zhenguoliusheng will work on both functional tests and tempest, anyone who wants to help can contact with him :)02:03
zhenguoand a new project nimble-specs is ready now, we can use it in futue02:03
zhenguowe have a new contributor luyao who is very active recently, let's welcome luyao :P02:04
RuiCheno/02:04
yuntongjin:-D02:04
liushenghow much tests should be added before we announce the Nimble project? :P02:04
zhenguoliusheng: I'm not sure, but seems it's enough, we can continue to add tests after we are public02:05
RuiChengood to see new contributors02:05
liushengzhenguo: cool02:05
zhenguoshaohe_feng: do you think we need to add more tests before going public?02:06
RuiChenwhat about add a coverage jenkins job?02:06
liushengRuiChen: agree :)02:06
shaohe_fengmaybe, one exmaple test case for authorization?02:06
zhenguoshaohe_feng: agree02:07
zhenguoshaohe_feng: we still have two days this week :P02:07
shaohe_fengzhenguo: yes. let add it these two days.02:07
zhenguoshaohe_feng: ok02:08
zhenguonot much of announcement, anyone else have a thing here?02:08
zhenguowe can continue to discuss about tests in open discussion topic :)02:08
RuiChenso what's the plan that we publish nimble in community? which day and what action?02:08
zhenguoRuiChen: hah, let's move on to next topic02:09
zhenguo#topic our next plan02:09
yuntongjinthe plan is before hackthon?02:09
zhenguook, let's talk about our next plan :P02:09
zhenguomaybe next week?02:09
zhenguoor at the end of this week02:10
RuiChenyuntongjin and shaohe_feng will join bug smash in Shenzhen?02:10
yuntongjinwe won't02:10
liushenghope we can attract new comer in hackthon :)02:10
RuiChenand lei-zh?02:10
zhenguooh, that's a shame!02:10
yuntongjinlei-zh will02:10
lei-zhI will be there02:10
zhenguowhy you won't go?02:10
zhenguolei-zh: hah02:10
shaohe_fengRuiChen: no. no budget for me.02:11
liushengshaohe_feng: it is a pity02:11
zhenguoshaohe_feng, yuntongjin: oh, that's a pity02:11
yuntongjinsome time in next week, like wendsday02:11
yuntongjinto public Nimble02:11
zhenguoshaohe_feng, yuntongjin: I thought we can have a meetup in the hackthon02:11
yuntongjinhaha02:12
RuiChenthat's shame, we can pick Beijing for next Bug Smash :-)02:12
zhenguolol02:12
liushengthe next boss is Intel :P02:12
*** luyao has joined #openstack-nimble02:13
yuntongjinwe can do bug smash remotely02:13
shaohe_fengzhenguo: you need to pr欧模特02:13
RuiChenIt's great, yuntongjin, IRC connect us :-)02:14
shaohe_fengpromote nimble in bug smach02:14
shaohe_fengsmash02:14
zhenguoshaohe_feng: sure02:14
zhenguomaybe we will have a presentation there02:14
yuntongjinthere should be a presentation there02:14
zhenguobut you won't be there :(02:15
yuntongjini know it won;t be same, but i can almost hear it when you presenting02:15
yuntongjinlol02:15
zhenguolol02:16
RuiChenLive show for nimble presentation, hah02:16
zhenguohah, ok let's continue02:16
yuntongjinso, how about next Wendsday to public Nimble?02:16
zhenguoI think it should be ok02:16
zhenguoso we still have about a whole week02:17
zhenguowe can talk about the procedure of going public02:17
zhenguofirstly, I think we need a eamil to formally announce our project in the mailling list02:17
liushengshould the tempest plugin be added before going public ?02:18
zhenguoliusheng: if you can, that would be wonderful02:18
liushengzhenguo: I will try02:18
zhenguoliusheng: thanks very much02:18
RuiChenyeah, procedure and time are important, zhenguo02:18
zhenguoRuiChen: yes02:18
zhenguothen, we need to use launchpad to track our bug and features and maybe use psecs for bp02:19
zhenguos/psecs/specs02:19
RuiChenUT, funcational, Tempest, wiki, API doc, devref should be ready, anything else?02:19
liushengthat is way of big-tent, hah02:20
zhenguohah02:20
RuiChengood tips, we have a checklist for big-tent02:20
RuiChenliyongle draft it02:20
zhenguoand another important thing is review rules02:21
zhenguowe shouldn't merge directly after we are public :(02:21
yuntongjini like using specs to disuss new feature02:21
zhenguoyuntongjin: yes02:22
zhenguoall things should be changed, we should work like an official project02:22
zhenguochanges will be approved once 2 core +2 are posted02:23
liushengsome official projects don't like official projetcs now, :(02:23
zhenguoliusheng: hah,02:23
zhenguoas we will restrict our review rules, everyone should try to do more reviews02:24
zhenguoespecially core reviewers02:24
RuiChenagree, review should be match the community rules, even if It's slow02:24
zhenguoRuiChen: agree02:25
zhenguobut we can ping any core here for reviewing if needed02:25
zhenguoif our cores are all active enough, I think it will not be that slow02:25
liushengyeah we are in a same timezone02:25
RuiChengood point ^^02:26
zhenguoI will paste the contribution report link here at every meeting02:26
zhenguo#link http://stackalytics.com/report/contribution/nimble/9002:26
zhenguofrom the link above we can see that the activeties of every contributor02:27
zhenguowe will add/remove core reviewers according the contribution report there02:27
zhenguowdyt?02:27
zhenguothat's also what offical project do now02:27
liushengagree02:28
RuiChenyeah, that's reasonable02:28
zhenguooh, RuiChen mostly focuses on nimbleclinet, we should also paste the client contribution like here :P02:28
*** fredli has joined #openstack-nimble02:29
zhenguooh, welcome fredli02:29
fredliHi02:30
zhenguofredli: o/02:30
fredliGlad to join this amazing project02:30
liushengwelcome :)02:30
RuiChenhi, fredli we talk about your contribute for big-tent checklist, thank you02:30
zhenguofredli: we are talking about the procedure of going public now02:30
zhenguofredli: do you have some suggestion here?02:31
fredliPlease go ahead02:31
zhenguook02:31
zhenguoshaohe_feng, yuntongjin: do you have anything else here?02:31
yuntongjinnot much02:32
zhenguook,02:32
yuntongjinwe need prepare challenge from communit02:32
shaohe_fengz02:32
zhenguoyuntongjin: sure02:32
zhenguook, what's next02:32
zhenguo#topic Ocata priorities02:33
yuntongjinand think about some killer feature02:33
zhenguoyuntongjin: sure, we can talk about it in our O priorites02:33
zhenguoI listed many things to do on our trello board02:33
zhenguooh, do you think we should keep using our private trello board?02:34
zhenguoor track bugs and features using launchpad02:34
RuiChenI think RAID should one, and nova prepare to implement it, but it's difficult for nova02:34
zhenguoRuiChen: yes, but RAID depends on Ironic's RAID on deploy time feature02:35
zhenguowhich is not finished yet02:35
zhenguo#link https://trello.com/b/FBsIvUTp/ironic-nimble-plan02:36
RuiChenI think it's not conflicted, we can set the trello to public and link it in launchpad02:36
zhenguoRuiChen: agree02:36
liushengzhenguo: may we can paste this link in our wiki ?02:36
zhenguoliusheng, RuiChen: yes02:36
RuiChenyep, liusheng02:36
yuntongjinsure02:36
zhenguoliusheng, RuiChen: but should we create a new trello board?02:36
RuiChenlet me check it02:37
zhenguoa public trello board for Nimble instead of an old with all our histroy there seems it's better02:37
zhenguowdyt?02:37
liushengzhenguo: sure02:38
yuntongjinwiki and etherpad would be more community way02:38
RuiChenI think it should be ok, fredli, any suggestion?02:38
zhenguoyuntongjin: yes, etherpad should be used02:38
liushengzhenguo: wiki, lp, etherpad02:39
zhenguoyuntongjin: but Ironic have a trello board for it's priorities features02:39
zhenguowe can add a etherpad for our Ocata priorites02:39
yuntongjinlet's keep it internel02:39
zhenguoyuntongjin: lol02:40
yuntongjinmove the info to spec/wiki/etherpat02:40
zhenguoyuntongjin: and launchpad02:40
zhenguoliusheng: you can register a bp for tempest in our launchpad02:41
yuntongjinsounds good, that's task before annoucement02:41
liushengzhenguo: ok02:41
zhenguook, so after this meeting, we will try to use launchpad for bug or feature tracking02:41
zhenguoabout the detailed priorites, I can prepare a list then we need to discuss more02:42
zhenguodo you prefer to use a etherpad or on our trello board02:42
yuntongjin etherpad02:43
RuiChenagree02:43
zhenguook02:43
zhenguook, anything else here?02:43
zhenguo#topic open discussion02:44
zhenguoso do you have anything else want to talk about02:44
zhenguoopen discussion :P02:44
shaohe_fengzhenguo: I think we more exception test for nimble.02:44
zhenguoshaohe_feng: agree02:45
shaohe_fengzhenguo: luyao has find a issue.02:45
shaohe_fengzhenguo: not sure her patch is ready.02:45
zhenguoshaohe_feng: I reviewed luyao's patch yesterday02:45
zhenguoshaohe_feng: that's all because we don't have test cases for engine service02:45
zhenguoshaohe_feng: so I think we need a volunteer work on engine service tests next week02:46
shaohe_fengzhenguo:  agree.02:46
zhenguoshaohe_feng, liusheng: it should be in UT or functional tests?02:47
shaohe_fengzhenguo:  more exception handle is very useful for a project stable02:47
yuntongjinat least have some  UT for it02:47
liushengshaohe_feng: it is about the functionality of engine services ?02:47
zhenguoyes,02:48
RuiChenUT first, then funcational02:48
liushengso we can add a coverage jenkins job as RuiChen suggested02:48
zhenguoagree, and when adding tests, I think you can find many bugs in our codes, please also fix that02:49
liushengI am not fimilar with the coverage job02:49
zhenguoliusheng: I'm not familiar as well02:49
zhenguoliusheng, RuiChen: seems we can add coverage job later02:49
zhenguoI think currently we highly need an dsvm job in our gate :P02:50
shaohe_fengfimilar is not the issue. seems all of us are good learner. :P02:50
zhenguoshaohe_feng: hah,02:50
yuntongjinshaohe is a fast learner02:50
liushengzhenguo: that seems a part of tempest work02:50
zhenguoliusheng: oh sorry,02:51
RuiChenso, the proirity is ? UT > functional > dsvm > converage? zhenguo02:51
zhenguoRuiChen: I think so,02:51
zhenguodsvm is part of tempest, haha02:52
RuiChensame to me, let's do it02:52
zhenguook02:52
RuiChenI can try to add coverage for python-nimbleclient, because the UT02:53
zhenguoonly 8 minites left, do you have anything else want to discuss?02:53
RuiChen is ready for now, then do it for nimble02:53
RuiChennothing from me02:53
zhenguooh, I think everyone here can talk about what he wants to do after this meeting02:54
liushengnothing else02:54
RuiChengood start, we discuss in whole meeting time, thanks everybody02:55
zhenguohaha02:55
yuntongjindo more review, will push scheduler test to merged, migrate trallo info to wikil/spec...02:55
zhenguoyuntongjin: ok thanks02:55
zhenguoyuntongjin will focuse on scheduler tests02:56
zhenguoI will work on engine service tests02:56
RuiChenshihanzhang and I merge the instance resource CLI today02:57
zhenguoRuiChen, shihanzhang: thanks, that should be done before we are public :P02:57
RuiChenof course, :-)02:57
zhenguoliusheng is working on fuctional tests and tempests02:58
openstackgerritZhong Luyao proposed openstack/nimble: bug fix: delete instance correctly  https://review.openstack.org/39830602:58
liushengzhenguo: yeah02:58
zhenguoshaohe_feng, luyao: we can all help to add more tests02:58
RuiChenwork hard, luyao, hah02:58
*** kevin__ is now known as kevinz02:58
zhenguooh, luyao just updated a patch, what a good contributor:P02:58
yuntongjinnext time you are in GTC, you will meet her in person02:59
RuiChenon time, first IRC meeting \o/02:59
zhenguoyuntongjin: haha02:59
zhenguothanks y'all03:00
zhenguo#endmeeting03:00
openstackMeeting ended Thu Nov 17 03:00:25 2016 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)03:00
openstackMinutes:        http://eavesdrop.openstack.org/meetings/nimble/2016/nimble.2016-11-17-02.00.html03:00
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/nimble/2016/nimble.2016-11-17-02.00.txt03:00
openstackLog:            http://eavesdrop.openstack.org/meetings/nimble/2016/nimble.2016-11-17-02.00.log.html03:00
zhenguohaha03:01
shaohe_fengzhenguo: when will you go to GTC for the phy nimble evn?03:03
zhenguoshaohe_feng: haha03:03
zhenguoshaohe_feng: neary forgot it, sorry03:03
openstackgerritliusheng proposed openstack/nimble: Add support for updating instance type  https://review.openstack.org/38643903:03
zhenguos/neary/nearly03:03
zhenguoshaohe_feng: maybe after we are public or after hackthon?03:04
openstackgerritliusheng proposed openstack/nimble: Add support for updating instance type  https://review.openstack.org/38643903:12
* zhenguo brb03:15
zhenguokevinz: are you kevin from ARM?03:28
openstackgerritliusheng proposed openstack/nimble: Trival-fix: Correct an exception and a method definition  https://review.openstack.org/39872903:28
kevinzzhenguo: Yeah :-)03:29
zhenguokevinz: oh, welcome to nimble :P03:29
kevinzzhenguo: haha Interested about nimble03:29
kevinzThanks~03:29
zhenguokevinz: hah, please feel free to ping me if you have any question here03:30
*** yuntongjin has quit IRC03:30
kevinzkevinz: Cool~ I will get some knowledge about nimble first, and happy to contribute if I can help03:33
kevinzzhenguo:aha, send to myself, make a mistake...:D03:33
zhenguokevinz: hah,03:34
zhenguokevinz: thanks03:34
zhenguokevinz: maybe this is helpful https://wiki.openstack.org/wiki/Nimble03:34
zhenguokevinz: and you can use devstack to setup an development evn03:35
zhenguokevinz: https://github.com/openstack/nimble/blob/master/doc/source/dev/dev-quickstart.rst03:36
*** luyao has quit IRC03:36
kevinzzhenguo: WOw cool, I will try it first on X86 to see what has happened.03:37
kevinzzhenguo: Thanks~03:37
zhenguokevinz: np :)03:37
openstackgerritliusheng proposed openstack/nimble: Add instance deletion api reference  https://review.openstack.org/39873303:56
*** luyao has joined #openstack-nimble04:36
*** yuntongjin has joined #openstack-nimble04:45
*** luyao has quit IRC05:13
*** fredli has quit IRC05:15
openstackgerritMerged openstack/nimble: Add instance deletion api reference  https://review.openstack.org/39873305:23
openstackgerritZhenguo Niu proposed openstack/nimble: Correct some Error response codes in api-ref  https://review.openstack.org/39875105:28
*** yuntongjin has quit IRC05:50
*** luyao has joined #openstack-nimble05:51
*** yuntongjin has joined #openstack-nimble06:06
openstackgerritShaoHe Feng proposed openstack/nimble: add PolicyFixture for functional test.  https://review.openstack.org/39819806:44
*** luyao has quit IRC07:17
*** luyao has joined #openstack-nimble07:19
zhenguoshaohe_feng, liusheng: about the current create_instance, do you have any suggestion? we just casted the request to engine now07:41
zhenguoshaohe_feng, liusheng, yuntongjin: how about moving scheduling part to api and rpc call to engine only do some time consuming work07:42
zhenguootherwise, api request can't get anything returned07:43
liushengzhenguo: there will be only one nimble-engine in a deployment ?07:45
zhenguoliusheng: yes, currently it is07:45
zhenguoliusheng: but we should consider HA07:46
zhenguoliusheng: our scheduler is not to choose a engine but select one node from ironic node list07:46
openstackgerritShaoHe Feng proposed openstack/nimble: add PolicyFixture for functional test.  https://review.openstack.org/39819807:47
zhenguoliusheng: so I think in create_instance api, we can do the node selected work in api, and then cast the rpc request to engine with the selected node07:47
liushengzhenguo:hmm... sounds reasonable07:49
shaohe_fengzhenguo: you means a thread for to call engine?07:49
shaohe_fengzhenguo: yes. scheduling part to API sounds good.07:50
zhenguoshaohe_feng: seems every api reqeust will in a separte thread now, right?07:50
zhenguoshaohe_feng, liusheng: as our scheduling is not time consuming, just a select work, so we can move it to api, then engine only do ironic node deploy work07:52
liushengthe reason only because you want to return the selectd host info to api when creating an instance ?07:53
shaohe_fengzhenguo: Not sure a thread or a coroutine07:53
shaohe_fengzhenguo: seems eventlet will start coroutine pool. and a request in a coroutine.07:54
zhenguoliusheng: not only because that, I want to catch more exceptions for the procesure of creating an instance then we can give feedback to users07:55
zhenguoshaohe_feng: yes,  I think so07:55
zhenguoliusheng: if all things wil done in engine side, we can only find the status is error in db :(07:56
shaohe_fengzhenguo: but for end user, we can treat coroutine are same with thread.07:58
liushengit looks a bit strange :(07:58
zhenguoshaohe_feng: yes07:58
shaohe_fengzhenguo: about luyao's patch. I really think we need some refactor for create_instance07:59
zhenguoshaohe_feng: yes, I think so, that's why I ask suggestion from you here07:59
zhenguoliusheng, shaohe_feng: if scheduling work in api part, I think there's no need to create an instance object if NoValidHost exceptions raised08:01
zhenguooh s/NoValidHost/NoValidNode08:02
shaohe_fengzhenguo: a only error status is not help for user to find where the issue come out.08:02
zhenguoshaohe_feng: yes08:03
liushengzhenguo: a question, does the scheduler need to cache some data, that will make the api service stateful08:04
zhenguoliusheng: oh, yes.08:04
shaohe_fengzhenguo: maybe for create, we can just return 500(server error) and do not create instance, if no node find or we can not associate the node,08:05
zhenguoliusheng: if we split the work, I thing the current cache data should put into db08:05
shaohe_fengzhenguo: then users do not need to delete the instance.08:05
zhenguoshaohe_feng: agree, that should be better08:05
zhenguoshaohe_feng, liusheng: yes, currently we periodically fetch nodes infromation from ironic and cache it in engine service08:06
shaohe_fengzhenguo: the question is that, if error in the status. what should user do?  now we do not other api for them to fix the instance, that means this instance is invalide.08:06
zhenguoshaohe_feng, liusheng: but if we move scheduling work to api, that cache data need to put into db like nova08:06
liushengzhenguo: the stateless api service make the multiple deployments easy, but if not, the situation will be complex08:06
zhenguoliusheng: yes, we need to discuss this more08:07
shaohe_fengliusheng: yes. api is better to be stateless.08:08
zhenguoshaohe_feng: yes, if the instance is error, the only way is to delete it. the error information is for operators instead of end users08:08
zhenguoliusheng, shaohe_feng: but if our api only do something like a db query, it's still stateless, right?08:09
zhenguoliusheng, shaohe_feng: in nova, during the long creating instance procedure, seems we only cast the rpc call to compute at the last step, all others need to wait for return08:11
liushengzhenguo: if the api depends on db, the db will ensure the synchronous access08:13
liushengzhenguo: in Nova, it has sperated scheduler service08:14
zhenguoliusheng: yes, but a separete scheduler is not difference08:14
zhenguoliusheng: nova compute collect informations the put it into db08:15
zhenguoliusheng: a request from api to conductor, then conductor ask scheduler for a compute host, then scheduler select it from db and return it to conductor08:15
zhenguoliusheng: and if we use local conductor, seems conductor work is done in api side08:17
shaohe_fengzhenguo: conductor like a Housekeeper, it coordinate all kinds of tasks, and assign them to different component08:19
zhenguoshaohe_feng: yes08:20
liushengzhenguo: but the request from api to conductor is by rpc08:20
zhenguoliusheng, shaohe_feng: but if we use local conductor, it's not a separate service, right? not sure08:21
zhenguomaybe Kevin_Zheng and RuiChen can help here08:21
liushengzhenguo: yes, but the api service is not tied with conductor08:21
shaohe_fengzhenguo: what do you means local conductor?08:21
shaohe_fengzhenguo: local conductor are int the same host of API component?08:22
zhenguoshaohe_feng: seems you can configure to use local conductor08:22
zhenguoshaohe_feng: not sure08:22
zhenguoliusheng, shaohe_feng: so do we need a conductor service, lol08:23
shaohe_fengzhenguo: but it is still a seperated process, api still talk with it by RPC?08:23
zhenguoshaohe_feng: I'm not sure, as I understand, it's not a separate service08:24
shaohe_fengzhenguo: so Kevin_Zheng and RuiChen familar with it?08:27
zhenguoshaohe_feng: yes, they are Nova experts08:27
zhenguoshaohe_feng: but seems they are not around08:27
liushengif we choose to use local task API (local conductor), the request from api to conductor will not through RPC08:33
liushengzhenguo: but seems the use_local mode of conductor has been deprecated, FYI https://review.openstack.org/#/c/387996/108:38
luyaoCan we add a new api to allow user associate the instance to the node ?08:40
*** luyao has left #openstack-nimble08:40
*** luyao has joined #openstack-nimble08:40
shaohe_fengzhenguo: ^08:41
shaohe_fengluyao: maybe we can.08:41
liushengluyao: sounds like create instance with specific host, like nova does ?08:41
luyaoliusheng: yes08:41
zhenguoluyao, liusheng: we can use scheduler_hints for this08:42
shaohe_fengzhenguo: but firstly, we can retry other node if something wrong during create instance.08:42
zhenguoshaohe_feng: yes08:44
shaohe_fengI remeber nova retry in a recursive function.08:44
luyaoIf the instance is not associated to the node when created, users can do the association manually08:45
liushengzhenguo: I have confirmed with Kevin_Zheng, that the use_local mode of conductor has been deprecated08:45
zhenguoliusheng: yes, I just googled for that08:46
zhenguoluyao: you mean the whole create process or just communicate with ironic08:48
luyaozhenguo: I am not sure now08:49
zhenguoluyao: end users should not now the node information I think, it's hard to control if they can associate it manually08:49
zhenguos/now/know08:49
zhenguoluyao: end users could create instances, but there's somthing wrong with that, operators should come to help08:51
zhenguoluyao: and we need to add retry mechism to keep it works well. like rescheduling or retry to communicate with ironic or other services08:52
shaohe_fengzhenguo: associate can also let scheduler to find a new node. I think.08:52
zhenguoshaohe_feng: we can add retry logic here08:52
luyaozhenguo: I have a question, which the instance status can be save to db,if the status is error ,should we save the instance info to db?08:53
zhenguoluyao: currently we should save it to db08:53
zhenguoluyao: maybe with excepton information in future to help operators to debug why08:54
shaohe_fengzhenguo: yes, maybe we refactor the code, some error we do not need to save instance to db, just return 500 error.08:54
shaohe_fengluyao: we can discuss how to refactor the create code. you can give your comments.08:55
zhenguoshaohe_feng: yes, but I still confused about how to refactor it08:55
shaohe_fengzhenguo: yes. we do not need rush08:56
zhenguoshaohe_feng: yes, we need to discuss this more08:56
luyaozhenguo: if the instance's status is unassiociated and user can not do association manually, i think the instance is useless forever, right?08:57
shaohe_fengzhenguo: yes, need think over08:57
zhenguoluyao: I'm thinking a way to refactor our code, and maybe no need to add a new unassociated status08:58
zhenguoluyao: if we failed to set instance info to ironic node, we should reshceduling and destroy the current instance08:59
shaohe_fengzhenguo: unassociated status is just an expedient for the current code.09:00
zhenguoshaohe_feng, luyao: yes, thanks for that09:00
shaohe_fengluyao: you can give some comments for it, and note or Fixme  "a good solution will fix it."09:01
shaohe_fengzhenguo: Anthony also do it by this way, and I help to fix it, when I work with him.09:03
luyaoshaohe_feng: ok09:03
zhenguoshaohe_feng: Anthony?09:04
shaohe_fengzhenguo: yes, the former qemu maintainer, he said he know every thing except TCG.09:05
zhenguoshaohe_feng: oh, hah09:05
shaohe_fengzhenguo: he write a compiler front-end, write json parser by himself, do not use lib. also can write UI.09:07
zhenguoshaohe_feng: oh, a full stack developer09:08
shaohe_fengzhenguo: sure. full stack.09:08
* zhenguo brb09:17
openstackgerritZhong Luyao proposed openstack/nimble: (A good solution will fix it)bug fix: delete instance correctly  https://review.openstack.org/39830609:30
openstackgerritMerged openstack/nimble: add PolicyFixture for functional test.  https://review.openstack.org/39819809:34
*** yuntongjin has quit IRC09:34
zhenguoshaohe_feng: do you find there are some problems with our ironic client wrapper?09:37
*** luyao has quit IRC09:45
*** openstackgerrit has quit IRC09:48
*** openstackgerrit has joined #openstack-nimble09:49
shaohe_fengzhenguo: any problem do you find?09:50
shaohe_fengzhenguo: liusheng: neturon has a fullstack_testing09:50
zhenguoshaohe_feng: every call will construct a new client09:51
shaohe_fengit starts service and agent.09:51
zhenguoshaohe_feng: I'm trying to use a cached client as IronicClientWrapper have a _cached_client09:51
shaohe_fengzhenguo: Is this _cached_client a singleton?09:52
zhenguoshaohe_feng: yes09:53
shaohe_fengzhenguo: good.09:54
*** lei-zh has quit IRC09:56
shaohe_fengzhenguo: liusheng: http://docs.openstack.org/developer/neutron/devref/development.environment.html#testing-neutron09:58
shaohe_fengzhenguo: liusheng: some test rules of neutron.09:59
zhenguoshaohe_feng: seems the rules is very clear there10:00
shaohe_fengzhenguo: yes. for both unit and functional.10:01
zhenguoshaohe_feng: yes10:02
openstackgerritMerged openstack/nimble: Correct some Error response codes in api-ref  https://review.openstack.org/39875110:06
openstackgerritZhenguo Niu proposed openstack/nimble: Use ironic cached_client instead of constructing every time  https://review.openstack.org/39892411:02
openstackgerritMerged openstack/python-nimbleclient: Support Instance Resource  https://review.openstack.org/39239911:06
openstackgerritMerged openstack/nimble: Trival-fix: Correct an exception and a method definition  https://review.openstack.org/39872911:48
zhenguoshaohe_feng: seems we also need to add policy check for neutron related actions, like whether we can create port on the specified network12:01
shaohe_fengzhenguo: add policy in nimble or neutron?12:14
shaohe_fengzhenguo: we check the tenant can be authorized to create port?12:16
shaohe_fengzhenguo: but which kind of tenant can be?12:16
zhenguoshaohe_feng: sorry, I was away for smoking12:20
zhenguoshaohe_feng: in Nova, I find we also have a create:attach_network policy check12:21
zhenguoshaohe_feng: but seems it's not reasonable as create request always with a network specified12:25
zhenguoshaohe_feng, liusheng: I think we can list what nova api do for create_instance before the first rpc call issued12:33
* zhenguo away12:38
*** lei-zh has joined #openstack-nimble14:12
*** lei-zh has quit IRC16:41
*** openstackgerrit has quit IRC19:48
*** openstackgerrit has joined #openstack-nimble19:49

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