03:06:39 #startmeeting openstack-cyborg 03:06:40 Meeting started Thu Jul 23 03:06:39 2020 UTC and is due to finish in 60 minutes. The chair is Yumeng. Information about MeetBot at http://wiki.debian.org/MeetBot. 03:06:41 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 03:06:43 The meeting name has been set to 'openstack_cyborg' 03:06:45 #topic Roll call 03:06:52 #info Yumeng 03:07:00 #info xinranwang__ 03:07:01 #info brinzhang_ 03:07:05 #info chenke 03:07:19 #topic Agenda 03:07:32 #info songwenping__ 03:07:49 #topic policy default refresh 03:08:27 I updated this morning https://review.opendev.org/#/c/740542/ 03:08:59 now this patch submmited the basic policies and device_profile policies, and basic framwork 03:10:18 Yumeng: I was reviewed just now, but I am sorry not looked into. in general, LGTM, but that need to add the UT, I left comment inline. 03:11:05 both the old and new policies will both work during development process 03:11:20 Yumeng: after I compeleted thing in my hands, I will check again about the implemention details. 03:11:51 sound good. 03:12:42 we should keep old policies and new policies are all run good, thanks 03:12:46 brinzhang_: yes we need test. but not as easy as a unit test update in current API tests. that should be another tests for only policies, we should add new policy test framwork, that would be a big work. 03:13:34 Yumeng: I know, but in the patch if you dont add the UT, I dont think it's good to go. 03:13:39 I will submit the policy test in another patch, I just don't want to make the first patch too big. 03:14:24 you can splite the UT for add new policies, another patch is to add the new policies to the interface 03:15:04 for this patch, I have tested the function by current unit test, the test_create case of device_profile, I have pasted the detailed debug info to the commit message: http://paste.openstack.org/show/796229/ 03:15:09 Policy test framework is a big work. We can just add test in API test first 03:16:21 For example, add test in device_profile API, test create dp by non admin user, and it fails 03:16:32 xinranwang__: yeah, we can. But the better way is add as the same time. 03:16:39 Do you think this make sense 03:17:17 It make sense to me. But I also hope that it is not a TODO. 03:18:32 We can add api test in this patch. Policy test framwork can be in a new patch. 03:18:42 What do you think Yumeng 03:19:50 xinranwang__: yes! agree, current API tests will go through the policy check in each test. I will start in the next patch very soon to submit policy test for device_profile 03:20:49 thanks 03:21:44 but for this patch, I think the detailed debug info has shown the policy check process, which can show that this patch basically works, so we can start review. 03:23:26 this patch can be merged after the next policy test patch is passed and submitted, but can start review now. what do you think? 03:24:05 Yumeng, do you test the older policies? I saw you deprecated the old policies, I am not sure it's ok for all apis 03:24:06 https://review.opendev.org/#/c/740542/10/cyborg/policies/base.py@95 03:25:20 Yumeng: this patch I think we (xinranwang__) dont reviewed into, after checked again, we can decide whether let it to go, do you think so? 03:25:48 is there a milestone? 03:27:10 the old policies are "not actually" deprecated, they won't actually deprecated until we set [oslo_policy] enforce_policy=True in cyborg.conf 03:27:53 the old policies work for now, they just marked as deprecated, not actually deprecated. 03:28:54 emmm. I think we should add tests for new policies, for the old policies, we will deprecate them after all the new policies are implemented 03:29:36 agree, so I think this change should have UT to cover the old policies and the new policies, and checked the enforce_policy config (of course you can do in another patch, but it will be not easy to review). 03:30:15 no, after you completed the new policies, we also need to keep the old policies run until W or X release 03:30:46 To ensure backward compatibility, we should not remove it so quickly. 03:31:05 What do you think? Yumeng, xinranwang__, songwenping__ 03:31:20 Yumeng: you can fix the ut and pep8 first, ths. 03:32:05 brinzhang_: yes, that's what I planed. I have NOTE them in the code. deprecate_since W 03:32:25 Sorry, I am back 03:32:39 brinzhang_: yes, agree 03:33:08 xinranwang__: oPS, will see the pep8 error. don't know why. works fine in my env. 03:35:32 ok. I have nothing to say of this patch now 03:35:45 I have two patches need to go, it was submited for a looong time. https://review.opendev.org/#/c/734406/ and https://review.opendev.org/#/c/734403/ 03:35:59 brinzhang_: anyway. this patch defines the overall framwork, I wanna you guys help to review it. 03:36:07 Yumeng, xinranwang__, and all: Hope you can review all, thanks 03:36:42 Yumeng: of course ^^, it's my pleasure 03:36:48 bingzhang_: will look into this patch. 03:36:52 brinzhang_: about the milestone, that was set to milestone-2, but we will see if we need postpone 03:36:55 https://www.irccloud.com/pastebin/z94K8fNV/ 03:37:32 brinzhang_: yse, will review 03:37:40 thanks 03:38:25 brinzhang_: sorry for error spell. 03:38:45 xinranwang__: IRC cloud need to be jump the firewall, otherwise we cannot connect to it 03:39:07 xinranwang__: aha. thanks xinran. I will fix it. 03:39:47 Oh, I thought is works for PRC, never mind 03:40:30 Inspur FPGA driver spec: https://review.opendev.org/#/c/730760/ 03:40:32 songwenping__: just reviewed this morning. pls see my reply. 03:40:56 we can merge this before milestone-2 03:40:57 Yumeng: yeah, i see it. 03:41:12 also Intel QAT driver ready for review:https://review.opendev.org/#/c/728014/ 03:41:20 I will review again today. 03:41:32 thanks a lot 03:41:33 thanks for review, i will check again. 03:42:05 And shogo's is also milestone-2. Programming support ready for review: https://review.opendev.org/#/c/698190/ 03:42:17 a big work. 03:42:26 songwenping__, xinranwang__:will review later 03:42:39 thanks brinzhang_ 03:43:24 xinranwang__: can you also ask haibing to help review this, I'm not expert in programming. 03:43:30 thanks brinzhang__ 03:43:45 Yes, sure 03:45:08 thanks! 03:45:22 I have nothing else to mention for today. 03:45:50 Do you guys want to bring up anything else? 03:46:44 nothings by me 03:46:44 Just noticed that cyborg-tempest-plugins has no doc 03:47:08 shall we add some docs for it? 03:48:08 if necessagr we can 03:48:26 not sure if we need. 03:48:35 May there will be add in the future 03:48:48 I can take a look, we can decide later.:) 03:48:58 yeah 03:49:18 ok. sounds good. 03:49:41 let's wrap up thisĀ meetingĀ and have a good lunch. 03:49:46 Ok, it's not urgent. Just mention it here.lol 03:50:20 Ok, thanks. Bye 03:50:22 see you next week. Thank you for attending! bye 03:50:43 bye 03:51:00 #endmeeting