03:01:46 #startmeeting openstack-cyborg 03:01:47 Meeting started Wed Jun 19 03:01:46 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:48 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 03:01:50 The meeting name has been set to 'openstack_cyborg' 03:01:58 #topic Roll call 03:02:16 #info Sundar 03:02:19 #info Biwei 03:02:28 #info Coco_gao 03:02:49 Hi Biwei, Coco_gao 03:02:57 Hi Sundar 03:03:30 Let's wait a minute for folks to join 03:03:35 Hi wangzhh 03:03:41 I am sorry that I may miss two week's meeting 03:03:47 Hi Sundar. :) 03:04:14 Coco_gao: You will miss next 2 weeks? 03:04:31 Nope 03:04:34 I missed 03:04:55 Ah, got it. NP. 03:04:58 last two week's meeting. 03:05:02 Agenda: https://wiki.openstack.org/wiki/Meetings/CyborgTeamMeeting#Agenda 03:05:49 Please take a look. 03:05:55 #info ikuo_o 03:06:10 Anything to be added to the agenda? 03:06:45 #topic Device profile names 03:07:16 One question that has come up, esp. in the review of https://review.opendev.org/#/c/626057/, is whether device profiles are unique, or should be unique 03:07:56 My answer is in the response to the comment in Line 466 of https://review.opendev.org/#/c/626057/10/cyborg/db/sqlalchemy/api.py 03:08:06 Please take a look first. Then, we'll discuss. 03:09:06 Can you all see it? 03:09:48 Yep. 03:11:17 As my comment in line. The name should be unique. 03:11:35 In the db, it was unique 03:12:24 I see Li posted that the name should not be used to identify. 03:12:59 wangzhh: https://review.opendev.org/gitweb?p=openstack/cyborg.git;f=cyborg/db/sqlalchemy/models.py;hb=refs/changes/57/626057/10#l183 03:13:04 It is unique in the db 03:13:51 Coco_gao: given my response, do you agree that names must be unique and should be used to identify DPs? I am ok with using UUIDs also, if there is a need 03:15:43 Cool. I think it's better to identify DP with UUID. 03:15:49 For other projects, we usually use UUIDs not the names. 03:16:52 +1 better to use UUID 03:17:27 Yes. But, if we use UUIDs in all APIs, the operator would have to embed DP uuids in flavors, instead of names. 03:18:26 We just use UUIDs in internal API. For the rest api, name is more friendly. 03:18:50 Can we find UUIDs from name by using APIs? 03:19:14 Just like nova. We can support nova show VM_UUID/VN_NAME. 03:19:17 ikuo_o: Yes, at the cost of a db access 03:19:38 thanks. 03:20:08 wangzhh: Internal APIs -- e.g. from API layer to object layer -- can use UUIDs. The problem then is that the API layer needs to do a db lookup to get the uuid from the name, right? 03:20:26 Yes. 03:20:58 So the name should also be unique? 03:21:22 one uuid corrosponds to one name? 03:21:47 Coco_gao: The name has to be unique anyway. If not, when the operator puts a dp name in a flavor, it would be ambiguous. 03:21:56 Yes, one uuid == one name 03:22:40 I think an API to rename a device profile would have to use UUIDs. We don't have that today. 03:23:00 We can do that in the future once Cyborg is is use 03:23:05 *in use 03:23:10 Agree 03:23:28 +1 Great. 03:23:38 UUIDs is not urgent before Cyborg is in use 03:24:23 If we have time, better to add that, but that's not urgent so far. 03:25:21 One caveat: we have /v2/device_profiles/{name} as a valid URL 03:25:46 So, if we want a specific UUID, it would have to be a query like: /v2/device_profiles?uuid={uuid} 03:26:35 But Nova does not use the former: it only does /v2/device_profiles?nam={name} 03:26:48 So, we have some flexibility to change the former 03:29:57 Any thoughts? 03:31:10 You mean we should focus on the name API then see if we need UUID API? 03:31:19 Yes 03:31:25 I'm sorry I have to leave now... if any question to NTT, yuki_t will answer. 03:31:34 seems good for me 03:31:51 Take care, ikuo_o. 03:32:00 Emmm, fine. 03:32:01 Thanks, Coco_gao. 03:32:33 wangzhh: Thanks 03:32:48 #topic Format for controlpath_id and attach_handles 03:33:37 Pleasee line 79 https://review.opendev.org/#/c/626057/10/cyborg/accelerator/drivers/fpga/intel/driver.py 03:34:17 The intended usage of controlpathid_info and attach_handle_info, IMHO, are like {domain: 0, bus: ... } 03:34:33 But apparently it got encoded as a string '0000:05...' 03:34:59 IMHO, that is not good because it is an implcit syntax. That may possibly vary among systems? 03:35:13 It is better to make it an explicit dictionary or JSOn string 03:36:36 Thoughts? 03:37:55 Agree to use JSON string and change the related patches. 03:38:15 Good, thanks 03:38:58 All look good to me. Just effort. 03:39:27 wangzhh: Yes. Hopefully, only the driver report needs to be changed? 03:39:37 It is a string either way 03:40:02 Dose the json string have the specific keys? 03:40:02 Yes. I think so. 03:40:08 Cool 03:40:11 #topic Need to close specs 03:40:21 only domain and bus? 03:40:24 Train release schedule: https://releases.openstack.org/train/schedule.html 03:40:30 or it varies? 03:40:34 Coco_gao: No, all 4. 03:40:53 I had "..." for other 2 03:41:07 We are past Milestone 1 of Train 03:41:23 Maybe we add a ovo for that? 03:41:24 I am a little concerned that the core specs are not still not reviewed. 03:41:25 ShaoHe Feng proposed openstack/cyborg master: bug fix: deploy every cyborg components correctly https://review.opendev.org/659292 03:41:49 Nova-Cyborg spec got two +2s and singificant +1s. So, that is on track 03:42:10 the workflow is not +1? 03:43:19 OK, I will review the specs as soon as possible. 03:43:32 and update related pathes. 03:43:35 Well, one reviewer posed a question. So, it was decided not to merge the spec till I answered the question. I did that today and updated the spec. 03:43:56 Thanks, Coco_gao 03:43:58 I see 03:44:06 Thank you for you efforts 03:44:12 In the list https://review.opendev.org/#/q/status:open+project:openstack/cyborg-specs+owner:Sundar, please review just the top 3 03:44:35 It always not easy to merge nova code. 03:44:54 Or Nova specs :) 03:45:39 I suggest we use the Zoom meeting time tomorrow to review the Cyborg specs. 03:45:45 OK. 03:45:49 I will join then 03:45:59 Great 03:46:08 OK. Got it. 03:46:28 what's the time? 03:46:38 Cool. Hope Li_Liu and others can join. Can one of you please ping them? 03:46:58 UTC 0130 (China @9:30 am Thu; US West Coast @6:30 pm Wed) 03:47:03 I will ping Li to see if he has time. 03:47:53 We can ping others in the wechat group. @ everyone. 03:48:17 yes 03:48:17 Sure 03:48:33 #topic AoB 03:48:37 BTW, NTT guys... 03:48:49 Yes, will NTT jion? 03:49:12 yuki_t: Can you join and ask ikuo_o too? 03:49:16 They can't access wechat, may miss the message. 03:49:34 Sundar maybe you can send the meeting invitation? 03:49:58 I will email ikuo_o. I can resend the Zoom meeting invitation to all of you. 03:50:10 that's good 03:50:19 OK 03:50:39 Bye, Sundar, have a good night~ 03:50:54 Sent now 03:51:06 Thanks, all. Have a good day. 03:51:13 #endmeeting