08:02:52 #startmeeting multisite 08:02:52 Meeting started Thu Dec 29 08:02:52 2016 UTC. The chair is joehuang_. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:02:52 Useful Commands: #action #agreed #help #info #idea #link #topic. 08:02:52 The meeting name has been set to 'multisite' 08:03:00 everything fine 08:03:09 how about you? 08:03:15 i am doing good :) 08:03:28 that's great 08:03:56 do you have topic to discuss in the meeting, we have some review offline for the patch 08:04:19 Yea nothing much working on the KB-client 08:04:32 and done with kingbird quota update as well. 08:05:12 good, do you mean this patch https://review.openstack.org/#/c/411375/ 08:06:14 and https://review.openstack.org/#/c/414921/ 08:06:25 no that was keypair-sync kingbird server i am talking about kingbird client https://hastebin.com/ayilonatac.sql attached is the result locally 08:07:03 https://review.openstack.org/#/c/414921/ -- this is kingbird quota list which lists the global limits 08:07:43 ok, one more patch which has not been submitted yet 08:07:50 if a tenant wants to view his global limits he can use kingbird quota list 08:08:04 I have lots of patch in the review queue 08:08:19 if a admin wants to view other tenant details he can use kingbird quota list --tenant 08:08:26 yes 08:08:52 yea i will update the patch once we merge that i am afraid we may land in merge conflicts :P 08:09:13 if i push that kingbird quota update :) 08:09:33 I have put +2 on this one https://review.openstack.org/#/c/415235/ 08:10:05 wait for Dimitri to confirm whether the patch is good enough to merge 08:10:06 yea that was a bug i am waiting for dimitri approval to merge it 08:10:12 yes.. 08:10:23 ok 08:10:37 and coming to kingbird quota sync 08:11:21 good job, more and more patches 08:12:03 we are just returning a string "triggered quota sync for " which is a bit tricky to show it from the KB-client side 08:12:16 so working on that as well. 08:12:46 not clear for the end user 08:13:12 so how should we tackle this? 08:14:09 should we follow the approach we have discussed for resource-sync?? 08:14:32 return a job-id and then tracking status with the job-id ?? 08:14:47 I think it'll be better 08:15:05 fine then i have to work on that as well.. 08:15:41 my concerns in the mail is that how to purge old jobs 08:15:58 which is alread finished 08:16:13 currently i have been working on the kb-client so once we are done with the lagging part (kb-commands) then we can work on the server side code.. 08:16:32 yea i would suggest to have the latest one . rather than having all the sync-job details.. 08:16:54 what say? 08:18:12 have you received the mail about that 08:18:30 we have to see how to delete the finished one's and have the latest one.. 08:18:56 http://paste.openstack.org/show/593579/ 08:19:25 if it's sync job, it's ok to wait until the result returns 08:19:40 yea i have recieved this.. 08:19:56 but if it's async job, we need job-id and feed status, and provide api to query the status 08:20:17 yes.. 08:20:36 currently keypair-sync and quota-sync are sync task, so wait for the result is ok 08:21:21 we may just need to improve the result content 08:21:56 Yes. 08:22:12 it should be a async job only 08:22:47 in our future release it must be async after the previous meeting we have to migrate to async.. 08:22:59 we have to discuss this with dimitri as well. 08:24:09 ok, let's discuss it in next weekly meeting, Dimitri should come back then 08:24:52 yea 08:25:04 in the mean while i m plannig to have it this way 08:25:54 it's up to the job's estimated duration 08:26:13 i mean my approach to handle the async job 08:26:28 for short job, like keypair-sync/quota-sync, sync job seems to be fine 08:26:44 but for long duration job, async. job should be 08:27:22 yess.. 08:27:31 even i feel the same .. 08:27:48 #info discuss aynch. job handling in next weekly meeting 08:28:24 #info short duration job, sync job seems to be fine 08:28:41 i will suggest my approach off how to handle the async job please correct me if iam wrong.. 08:28:59 #info long duration job should be async.job 08:29:07 ok 08:29:32 we create 2 tables say table-1 and table-2 --- 08:30:06 when User fires in a curl request we return a job-id and status as "Sync started" ---- this has to be stored in table-1. here job-id is the primary-key 08:30:34 when the control reaches the kb-Engine we change the status in table-1 to "Sync in progress" 08:31:16 when we create keypair in nova_v2.py we change the status based on the id (foreign key in table-2) "Region"(seperate-column which consists of all target_regions) 08:32:45 and the status (seperate-column of table ) where the status by default is "in progress" and once creation of keypair is done we update in table-2 as the synced 08:33:13 if fail we update the table-2 with sync-failed .. 08:34:24 while the sync job is running user can see the sync job status with the job-id just like we use "heat resource-list " 08:35:25 when the entire the job is completed we update the table-1 with job and status "synced or sync-failed" 08:35:57 when the entire the job is completed we update the table-1 with the help of jobid and status "synced or sync-failed" based upon the result. 08:36:50 good idea 08:36:55 please correct me if am wrong 08:37:29 i am visualizing it to be some what similiar to heat stack creation and heat resource list 08:37:31 no need to update the failed 08:37:58 just judge in the response for the job status query 08:38:04 ok 08:38:53 "synced or sync-failed" no need to update 08:39:03 just update each region should be enough 08:39:18 ohkk 08:40:38 let's discuss that with Dimitri 08:40:41 I will take these suggestions into consideration and proceed further,, 08:40:49 in next weekly meeting 08:40:54 sure.. 08:41:00 other topics? 08:41:09 i have nothing more discuss.. 08:41:35 i wish you and your family and friends a Happy and prosperous new Year ... 08:42:05 happy new year! 08:42:11 a better 2017 08:42:22 I hope you reach your milestones with ease 08:42:28 :() 08:42:30 thank you ! 08:42:31 :) ** 08:42:32 :) 08:42:41 #endmeeting