05:33:19 #startmeeting taas 05:33:20 Meeting started Wed Jun 1 05:33:19 2016 UTC and is due to finish in 60 minutes. The chair is yamamoto. Information about MeetBot at http://wiki.debian.org/MeetBot. 05:33:21 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 05:33:23 The meeting name has been set to 'taas' 05:33:48 #topic Agenda 05:33:57 #link https://wiki.openstack.org/wiki/Meetings/taas 05:34:17 #topic Provide Asynchronous API 05:34:31 kaz: yours? 05:34:33 I am adding a status field in API. 05:34:43 kaz 05:34:58 Kaz: that will be good 05:35:00 kaz: great 05:35:03 I will submit a patch set in a few days. 05:35:39 we'd like to ask your review. 05:35:46 Kaz: Are enabling a communication path from Agents to Plugin to report status? 05:36:07 Not yet. 05:37:05 Kaz: Ok, I am also going to create a launch pad bug to remove Tap flow objects when the VM is deleted... cleanup 05:37:34 so for that may be it will be good to have a RPC from agents to plugin... what do you guys things 05:37:36 think 05:38:31 Kaz: so is there a plan to have the RPC from agent to Plugin in the future? 05:38:32 +1 05:38:59 vnyyad: yes, i think so. 05:39:21 in the first step, "success" is set as default value 05:39:50 ok 05:40:35 vnyyad: do you mean to remove tap-flow on port removal? 05:40:46 yamamoto: yes 05:41:07 and also tap-service removal when the tap-service port goes missing 05:41:40 vnyyad: "tap-service port goes missing"? 05:42:07 removal of the destination port? 05:42:14 yes 05:43:14 vnyyad: all of them are server-side events, right? i'm not sure how rpc is related to that. 05:44:34 Yamamoto: i was more thinking of checking in the port on the compute node to see if they are still there and if they go missing then to inform the plugin to delete tap-flows related to that port 05:45:56 but if we could monitor the events on the plugin directly... that is listen to the events related to port deletion then we can do away with the rpc 05:46:30 vnyyad: it sounds rather confusing than useful to me. i guess marking objects error/offline/etc makes more sense than deleting them. 05:47:14 yamamoto: why so? 05:48:23 if we remove a tap-service when the tap-service port goes missing, i wonder tap-flows associated with the tap-service need to be removed too. 05:48:40 soichi: yes it will be a cascade delete 05:48:57 okay 05:50:50 Yamamoto: the idea is to have unnecessary flows from the switches when the ports associated with tap-flow or tap-service go missing 05:52:02 vnyyad: well, cleanup flows in switches is fine. removing rest-api level objects sounds unusual. 05:53:22 Yamaamoto: ok... i get it... i suppose then we can mark it as inactive or some other error in the status 05:53:41 and latter the admin and check on them and delete them 05:55:46 about the method to do it... any inputs? 05:56:16 should we do the detection of port being deleted from the agent or in the plugin 05:58:01 vnyyad: i'm not sure if unbound ports should be considered as error at all. eg. vm for the port might have not been launched yet. 05:58:45 yamomoto: yes that consideration will be made 05:59:27 unbound port should/will not be deleted 06:00:24 after all, if an admin is interested in the condition, he can check the status of port. i'm not sure if reflecting the status to taas objects is so useful. 06:01:33 i'm not sure, but 06:01:51 if a port is removed implicitly when a VM is deleted explicitly, i think tap-service and tap-flow (rest-api level object) can be removed implicitly with the port. 06:02:02 yamamoto: i guess its still good to report the status... 06:02:55 soichi: yes... the proposal is for cases related to the scenario you mentioned 06:03:28 well, we are talking about agent-level port-unbound event, rather than rest-api level port removal, right? 06:05:02 yamamoto: agent-level port-unbound event for sure 06:05:33 but should we not delete the flow if it is a case of rest-api level port removal 06:05:34 ? 06:06:44 rest-api level taas objects removal on rest-api level port removal sounds ok to me 06:08:49 but as soichi said implicit port removal when VM is deleted also should be a case for removing the flows related to taas 06:09:47 vnyyad: yes, but it doen't need to be tied to agent-level events. 06:10:48 yamamoto: are you refering to not having the need to do port deletion detection on the agen? 06:11:29 the idea is the clean up the flows when a port is explicitly or implicitly deleted 06:14:22 vnyyad: well, we probably need to handle the agent level events for switch flow cleanup. but no need to remove taas objects for the events. 06:15:36 yamamoto: sure, we need not delete the taas objects but clean up the flows associated.... but i also think we should change the status on the taas objects 06:16:15 kaz: will you have the status for both the tap-service as well as for tap-flow? 06:16:29 yes 06:16:37 kaz: great 06:17:06 so, my understand is: 06:17:14 1) tap-service and tap-flow object will be removed in case of port deletion 06:17:31 2) tap-service and tap-flow object should be remained in case of agent-level port-unbound event and an appropriate staus should be set 06:18:40 soichi: +1, this is better, as in explicit case the is no need to keep taas objects 06:19:47 FYI, lbaas has two kinds of status; operating_status and provisioning_status. 06:20:31 thank you for your information 06:20:38 one for PENDING_CREATE etc and the other for ONLINE/DEGRADED etc. 06:20:41 yamamoto: interesting will have a look 06:21:36 i thought our "status" thing was about PENDING_CREATE etc but what vnyyad is thinking sounds like the other one. 06:22:38 yamamoto: yes ONLINE/DEGRADED is kind of stuff i am looking at to update 06:23:03 but cannot the two status be represented by the same field 06:23:43 vnyyad: maybe. we need to define the set of possible statuses anyway. 06:23:58 yamamoto: +1 06:24:08 +1 06:24:15 +1 06:24:34 a state machine of sort need to be defined for the status field 06:25:17 vnyyad: +1 06:25:24 agree 06:25:39 i will submit it by next meeting then so that it can be reviewed 06:25:50 vnyyad: thank you 06:25:58 and we can have it in the agenda next time 06:26:36 sounds great 06:27:06 vnyyad: +1 06:28:02 #topic Open Discussion 06:28:07 2 mins left 06:28:28 vnyyad: any progress on LP permission update? 06:29:11 yamamoto: no 06:29:51 vnyyad: any obstacles? 06:30:20 not rerally i havent worked on it yet ... so i guess i am the obstacle 06:30:34 heh 06:31:06 no time left. thank you for attending! 06:31:13 #endmeeting