05:30:22 #startmeeting tacker 05:30:24 Meeting started Wed Apr 26 05:30:22 2017 UTC and is due to finish in 60 minutes. The chair is gongysh. Information about MeetBot at http://wiki.debian.org/MeetBot. 05:30:25 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 05:30:27 The meeting name has been set to 'tacker' 05:30:40 hi everyone 05:30:47 o/ 05:30:50 hi gongysh 05:30:54 o/ 05:31:02 #topic roll call 05:31:03 o/ 05:31:06 o/ 05:31:11 o/ 05:31:30 o/ 05:32:17 sridhar_ram, tung_doan trinaths1 janki Zhou_Zhihong YanXing_an hi 05:32:30 so we have 7 at meeting 05:32:42 #topic BP 05:32:47 gongysh: hi 05:33:10 first BP is the VIM reacheability monitor 05:33:37 I have tried to implement it in two mistral ways. 05:33:52 1 is a loop workflow 05:34:17 but it will create thousands of task execution in mistral db. 05:34:41 I am trying to modify mistral not to save task executions. 05:34:55 2. is a loop task action 05:35:00 gongysh: ideally we shd have one workflow per vim 05:35:26 a loop task action in a workflow. 05:35:53 but even if we deregister the vim, with the workflow is deleted, the action itself is still running. 05:36:12 mistral does not stop the action even with the task execution is deleted. 05:36:41 sridhar_ram, yes , the two ways are using just a workflow. 05:36:48 gongysh: I heard that you need to delete workflow first? 05:37:11 gongysh: understood, for (1) can't we delete the task-executions once it moved to completion 05:37:12 ? 05:37:48 gongysh: but that would be bad.. lots of chatter between tacker & mistral .. it will beat the whole point 05:37:59 .. of introducing this feature 05:38:48 sridhar_ram, 1's problem is: the loop workflow will create thousands of task executions in mistral db. 05:39:35 2's problem is we will leave a loop action in mistral executor. 05:39:38 o/ 05:40:14 #link https://bugs.launchpad.net/mistral/+bug/1685583 05:40:15 Launchpad bug 1685583 in Mistral "action does not be deleted when workflow execution is delete" [Undecided,New] 05:41:30 so we have to modify mistral to allow us to use loop workflow or loop action. 05:42:41 our spec is at https://review.openstack.org/#/c/459520/ 05:43:35 the code is at https://review.openstack.org/#/c/457140/ 05:43:49 gongysh: (1) can we have the delay between loops? By this way, mistral db could be decreased 05:45:17 but with the 'for ever' properties of loop workflow, the decreased does not make much difference. 05:47:07 I will ask for mistral guys to look at how to let mistral not to save task executions. 05:47:26 ask for -> ask 05:48:03 gongysh: is task executions removed by the "user" ? 05:49:06 basically, i'm curious how mistral cleans up / garbage collects finished executions 05:49:24 sridhar_ram, in (1) one loop workflow will be created after one vim is registered, and the workflow related executrions ( include workflow execution, its tasks executions) will be removed if the vim is de-registered. 05:50:28 but during execution, the loop workflow's task executions will be saved in mistral db. 05:50:52 since we are a loop workflow, it will have many many task executions in mistral db. 05:51:05 which will crash mistral in a long run. 05:51:24 gongysh: looking at https://review.openstack.org/#/c/457140/5/tacker/mistral/mistralactions/ping_workflow.yaml .. one task execution per "action: tacker.pingaction" 05:51:30 ? 05:51:48 .. and this accumulates overtime ? 05:51:56 yes. 05:52:07 got it.. sorry i'm slow today ;-) 05:52:30 the reason i'm asking this.. looks this is by design (from mistral perspective) 05:52:52 sridhar_ram, seems to be. 05:53:05 .. they are leaving the executions for the user to get the status .. ERROR, SUCCESS, etc 05:53:25 sridhar_ram, right. 05:53:53 how abt your option (2) ? 05:54:20 one action with loop (implemented in python action code) ? 05:54:36 sridhar_ram, I think to modify the mistral for (1) is easier than for (2). 05:55:02 gongysh: okay 05:55:07 sridhar_ram, class PingVimAction(base.Action): 05:55:08 ... 05:55:08 def run(self): 05:55:08 while True: 05:55:10 status = self._ping() 05:55:10 if self.current_status != status: 05:55:12 self.current_status = self._update(status) 05:55:16 this is loop action for (2). 05:55:54 it is running for every in mistral executor even if we delete our vim workflow and its executions. 05:56:03 every -> ever. 05:56:50 gongysh: ouch.. first they need to support such "indefinite" action before we can leverage it 05:58:05 ok that is for mistral actions to implement tack vim monitoring. 05:58:17 second bp spec 05:58:31 YanXing_an, do you have update for barbican integration? 05:58:56 gongysh, yes. I am writing the code 05:59:15 YanXing_an, great. 05:59:30 third spec block storage 05:59:36 Zhou_Zhihong, hi 05:59:38 do you have any update? 05:59:47 I got the review opinions. I'll use model2 and continue update the spec. 06:00:14 add new features of 'boot from volume' and 'volume delete' 06:00:17 * gongysh has to speed up to avoid sridhar_ram to blabber 06:00:24 :) 06:00:34 you've been warned ! 06:00:47 Zhou_Zhihong, ok, thanks 06:01:22 seems the NS with vnffg team is not here. 06:01:52 so the OSC commands 06:01:57 hi 06:02:07 https://review.openstack.org/#/c/455188/ 06:02:35 openstack vim create/delete/list/show 06:02:36 openstack ns create/delete/list/show 06:02:37 openstack ns descriptor create/delete/list/show 06:02:37 openstack ns descriptor template show 06:02:40 openstack vnf create/delete/list/show 06:02:41 openstack vnf descriptor create/delete/list/show 06:02:41 openstack vnf descriptor template show 06:02:41 openstack vnf graph create/delete/list/show 06:02:42 openstack vnf graph descriptor create/delete/list/show 06:02:42 openstack vnf graph descriptor template show 06:02:44 openstack vnf chain/classifier show/list 06:02:44 openstack vnf network forwarding path list 06:02:46 openstack nfv event list 06:02:46 openstack nfv extension list 06:02:48 this is my list of commands 06:03:30 this list looks good to me. Any other suggestions. 06:03:59 let's proceed with this .. 06:04:45 .. we might get pulled for using acronyms "vnf" and "ns" .. we can blame ETSI NFV for that 06:04:59 okay. I will update the spec. 06:05:06 sridhar_ram: ;) 06:05:22 sridhar_ram, that's our root. we can blame ETSI NFV. 06:05:46 ok. lets go with this list. 06:05:48 gongysh: we can easily get way for vnf .. ns will be little tough .. let's see 06:06:06 #topic bug 06:06:26 * sridhar_ram is bailing as promised ... 06:06:42 sorry folks, need to leave .. 06:06:50 sridhar_ram: also promised a party 06:07:03 * gongysh is worrying about sridhar_ram into blabber mode. 06:07:03 trinaths1: in syndey 06:07:15 sridhar_ram: :( 06:07:21 gongysh: i won't.. pls continue 06:07:31 https://review.openstack.org/#/c/451827/ 06:07:47 vnffg paramters 06:08:07 gongysh: I have 2 issues/bugs to discuss with you regarding deep_update 06:08:20 gongysh: I'm okay after this meeting too 06:08:22 trinaths1, are you interested in testing https://review.openstack.org/#/c/451827/ 06:09:02 gongysh: yes. I need testing steps the author followed.' 06:09:47 trinaths1, ok, please ask on the review site. 06:10:01 gongysh: as per dharmendra comment, the fix failed. I will re-verify. 06:10:22 trinaths1, now it is your update-vim bug 06:10:31 I cannot see any update on that. 06:10:52 https://review.openstack.org/#/c/449956/ 06:10:52 gongysh: was working on this. will post a fresh commit today EOD> 06:11:06 gongysh: was also waiting for any other reviewer comments 06:11:16 #topic open discussion 06:11:28 one is boston meeting 06:11:41 we will have a on-boarding forum 06:11:59 to introduce tacker for openstack developers 06:12:23 I will be on boston summit. 06:12:32 sridhar_ram, will you be there? 06:13:09 hi all 06:13:28 sridhar_ram, are you awake? 06:14:16 ok 06:14:29 do you have any items to talk about? 06:14:29 gongysh: regarding deep_update, http://git.openstack.org/cgit/openstack/tacker/tree/tacker/common/utils.py#n206 , it was used at 2 places http://git.openstack.org/cgit/openstack/tacker/tree/tacker/nfvo/nfvo_plugin.py#n144  and http://git.openstack.org/cgit/openstack/tacker/tree/tacker/vnfm/infra_drivers/openstack/openstack.py#n213  and redefined at another place. http://git.openstack.org/cgit/openstack/tacker/tree/tac 06:14:30 ker/vnfm/infra_d 06:14:53 gongysh: de we need to remove it or do we need to have it ? 06:15:19 gongysh:  two implementations for deep_update 06:15:28 gongysh:  1 at http://git.openstack.org/cgit/openstack/tacker/tree/tacker/common/utils.py#n206 06:15:34 gongysh:  2 at http://git.openstack.org/cgit/openstack/tacker/tree/tacker/vnfm/infra_drivers/openstack/openstack.py#n213 06:15:36 trinaths1, it is not a must to remove it. you can see if it will make your code cleaner if we don't use it. 06:15:41 gongysh: do we require 2 implemtation for 1 function ? 06:16:06 gongysh: there are 2 places where deep_update is used in overall code. 06:16:19 gongysh: also, its defined completely two times? 06:16:39 trinaths1, you can try first on vim update feature, if it will make your code cleaner, you can remove it in later refactor codes. 06:16:46 if not, we can still use it. 06:17:49 gongysh: okay I agree. but still deep_update is defined two times. 06:18:06 gongysh: we use one implemenation from utils.py 06:18:13 gongysh: rather than re-defining them 06:18:47 trinaths1, you even can do refactor first to merge the two definition. 06:19:08 gongysh: confused. :( 06:19:48 trinaths1, you said 'its defined completely two times' 06:20:14 trinaths1, let's move this to tacker channel. 06:20:27 gongysh: okay. 06:20:49 what else to discuss? 06:21:16 gongysh: I hope your suggestion in this patch: https://review.openstack.org/#/c/453964/ 06:21:48 tung_doan, ok 06:21:57 gongysh: what option to replace "policy_driver"? it is "action_driver"? I hope to wrap it soon. thanks 06:22:30 anyone can help on aodh here ? 06:22:44 tung_doan, Let me think it again 06:22:52 ballu_, this a tacker meeting. thanks 06:23:01 oh ok 06:23:02 gongysh: sure. thanks :) 06:23:04 thanks 06:23:48 if nothing else, we will end meeting earlier. 06:24:01 thanks everyone 06:24:07 #endmeeting