03:01:40 #startmeeting openstack-cyborg 03:01:41 Hi Sundar 03:01:42 Meeting started Thu Sep 5 03:01:40 2019 UTC and is due to finish in 60 minutes. The chair is Sundar. Information about MeetBot at http://wiki.debian.org/MeetBot. 03:01:43 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 03:01:44 Hi chenke 03:01:45 The meeting name has been set to 'openstack_cyborg' 03:01:56 #topic Who's here 03:02:05 o/ 03:02:06 #info xinranwang 03:02:11 #info s_shogo 03:02:12 o/ 03:02:15 #info chenke 03:02:18 o/ 03:02:20 o/ 03:02:25 o/ 03:02:25 Hi all 03:02:31 \0/ 03:02:46 zhurong: Welcome 03:03:10 The main item on the agenda is, of course, the reviews 03:04:06 Please focus on the P5-P9 patches. They and Nova notifn patch need to merge soon, before we get reviews of Nova patches. Also, they are needed for tempest to work, and that is a prereq too. 03:05:14 yikun and all: Would you be able to review it? (Sorry for calling you out, yikun :)) 03:05:34 Sure, I will review it today 03:05:40 Thanks :) 03:06:32 and one detail question about db migrations on P5.5 03:06:34 https://review.opendev.org/#/c/677115/12/cyborg/db/sqlalchemy/alembic/versions/c1b5abada09c_update_for_nova_integ.py 03:06:51 We had a bit of a wrinkle on the Nova side too. The Cyborg's notification event would come too soon after we start the bind and would get lost. I think we have a way to solve it which (a) should hopefully be acceptable to Nova and (b) does not involve change to Nova objects or db 03:06:53 Can we append the change on existing migration script? 03:07:16 and most of other patches are okay to me 03:08:01 yikun: There is one migration script for v2 API, so that we can show people exactly what we did. Once we releaseTrain, of course, previous migration scripts cannot be edited. 03:08:35 As long as we don't change the migration script for Stein, I think we should be ok. Any concerns? 03:10:41 it will break upgrade from existing to now, but as you said if we still think the train relaase it's a start version, if other people have no question, I have no objection 03:12:01 I understand the existing practice but (a) too many migration scripts slows down upgrade for operators and (b) it is good to show onw script for all v2 API IMHO. Thanks for your understanding. 03:12:13 Agree with yikun. It's better to append a migration script. And other patch is fine with me. 03:12:37 *patches are 03:13:16 wangzhh: Given the reasons above, would you still ask for a separate migration script? 03:14:30 #info Coco_gao 03:15:07 Hi Coco_gao 03:15:16 We are discussing the patch review 03:15:50 So, we 'll consider T as a start version? 03:17:00 Stein is the starting version -- v1 API. We should not modify or change the Stein migration script. We introduced a new migration script in Train, for v2 API. Anything unrelated to it can be in a separate script. But, so far, everything we did has been for v2 and Nova integ, I think. 03:18:16 From operators' point of view, the migration scripts that are part of a release should not be changed. Within a release, we usually introduce separate scripts for developers' convenience, I think. 03:19:10 Uh, Okay. I have no objection. 03:19:33 Anyways, that is just my view. Thank you, wangzhh, yikun and all. 03:19:43 Any other concerns or thoughts on P5-P9? 03:21:19 why are you put -2 on P5? 03:23:06 chenke: It is only a procedure, so that the patch series does not merge piece by piece. Once we get +2 on all patches, I will remove -2, so that it will all merge together. Nova guys are following this practice for my patch series too: 03:23:09 https://review.opendev.org/#/c/631242/ 03:23:30 I should have done that right at the beginning. 03:24:05 So, even P5 can be reviewed fully. 03:24:05 Okay. I understand it. 03:25:07 Can we hope it to merge them by tomorrow? I don't want to rush you :) but till P5-P9 and notificaiton patch merge, we cannot even ask Nova folks for review 03:25:31 And Sep 9 deadline is just few days away 03:26:52 One question: https://review.opendev.org/#/c/678177/1..2/cyborg/common/policy.py Related comment in this patch. I did't find program in update ARQ. 03:28:02 update refers to bind/unbind here, and that would involve programming. 03:28:17 Are you saying the term 'update' should be changed? 03:29:13 No. Just check if it is admin or not before program. As I replied. 03:30:18 Hmm, it could be owner or admin, right? Whoever created the ARQ should be allowed to bind it, otherwise they should not be able to create it. 03:32:23 Yep. Owner or admin should be allowed to Bind and Unbind. But when involve programming, we should check if it is admin or not. 03:32:50 Only admin can program? Right? 03:33:54 Binding involves programming for FPGAs. A tenant who has the privilege to create ARQs for an FPGA should also be able to program it, right? That's why I raised the question about 'create' privileges. 03:34:04 program had better have sudo privilege no node 03:34:28 Yes, we do sudo fpgaconf today, and have a patch to move to oslo privsep. 03:34:28 s/no/on 03:34:55 yes. let's from simple 03:35:05 Firstly it can work. 03:35:17 and let nova can call cyborg 03:35:21 then improve cyborg 03:35:28 wangzhh: I understand your concern. However, if only admins can create/bind ARQs for FPGAs, that will be very restrictive, right? 03:35:35 Yes. Firstly make it work. 03:36:21 Yep. Sundar. 03:36:44 So, Just make it work first. 03:37:17 Ok, I agree with wangzhh that security is important and with others that we should first get it to work by Train-3. I'll bring RBAC on the agenda for the next IRC meeting. Hopefully, other things will be working by then. :) 03:37:35 Cool. 03:37:36 Agreee. 03:37:54 #topic Python 3 03:38:29 the admin or tenant own the bit steam image, can download the image and to do program. 03:38:42 There is a Train goal to enable Py3 by Train-3 milestone, which is next week. Thanks to s_shogo (and Ikuo) for the patch. Hope we can merge that too by next week. 03:39:00 we should challenge the tenant 03:39:46 shaohe_feng: Sure, let's take it up next week. 03:39:56 I'll check again that soon, after P5-P9 merged. (latest patch seems to be no problem) 03:40:20 Thanks, s_shogo. 03:40:49 #topic AoB 03:41:08 About cyborg client. 03:41:38 Hi all, I have to drop now. Thanks for your reviews for placement patch, it is merged finally :) And please review https://review.opendev.org/#/c/667231/ tempest code and notify patch https://review.opendev.org/#/c/674520/ too. 03:41:41 Outside of patches and Py3, I don't have much for today. As i said, I think I have a way to avoid the race in Nova, and will work on getting it out. Anything else for today? 03:41:55 s_shogo: Yes 03:42:05 I saw your patch -- thanks. 03:42:09 I have posted a patch for OpenStack SDK, and request review to SDK team. https://review.opendev.org/#/c/679914/ 03:42:37 Subsequently ,I'll post cyborg-python client patch ,please review that > All 03:42:56 Cool. 03:42:59 Great, sure, will do. 03:43:24 one thing. 03:43:36 we may start several asyn jobs 03:44:03 only all jobs are finished, the bind is successful 03:44:18 one of the jobs failed, then the bind should be failed 03:44:24 right? 03:45:10 Yes. 03:45:44 so how to sync all the state of jobs? 03:46:20 Wait for all of them to finish. I think eventlet has a wait() method, IIUC 03:46:35 yes. 03:46:53 but wait is block 03:47:04 so it can not in main thread. 03:47:18 also another, if one jobs failed, we should cancel others, right? 03:47:28 where should we put the wait? 03:48:18 It can't be in main thread, I agree. We don't need to cancel the rest if one fails, at least in Train. As we discussed, if the job has already started flashing the card, we shouldn't cancel it then 03:49:03 Just a thought: May be we have one eventlet whichis a master and it launches other eventlets, and the master does the wait. 03:50:00 yes, we need a such mechanism 03:50:14 I'm thinking it. 03:50:44 the master thread should not be from a thread pool, right? 03:50:58 for example, there a 2 pools. 03:51:01 Sure. My suggestion is to do something super-simple for Train-3 milestone -- may be just one eventlet for all ARQs, because we won't have too many ARQs anyway 03:51:45 we create 2 jobs, so no pool for the master thread to monitor these 2 jobs. 03:51:59 Simplcity and reliability are more important, IMHO. It will also reduce your work :) 03:52:20 yes, agree. 03:52:34 async is more complex than sync. 03:53:26 Yes. IMHO, we can even leave unbind as sync in the worst case, for now, because we don't do anything there today 03:53:46 yes. agree 03:53:58 We just want some patch in the works by Sep 3, so that we can kickstart the review 03:54:18 I mean, Sep 9 03:55:43 Anything else, anybody? 03:55:59 No 03:56:37 Cool. Thank you, all. Please review the patches. Have a good day! Bye. 03:56:41 #endmeeting