16:01:25 #startmeeting blazar 16:01:26 Meeting started Thu Mar 26 16:01:25 2020 UTC and is due to finish in 60 minutes. The chair is priteau. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:27 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:29 The meeting name has been set to 'blazar' 16:01:33 #topic Roll call 16:01:49 Hi jakecoll 16:02:38 Hi priteau 16:02:38 #topic Ussuri priorities 16:02:54 One of the priorities for Ussuri is to implement network reservation 16:03:20 Thank you jakecoll for resubmitting an updated patch 16:03:22 #link https://review.opendev.org/#/c/668749/ 16:03:44 I've started to review but need more time on it to complete 16:04:10 No problem. I can update when you are done. 16:04:12 I have two pieces of advice when updating patches 16:04:52 1) use grep (or ripgrep/ack/ag) to find code that might be relevant to comments 16:05:22 for example I pointed out the vfc code a few days ago but noticed today that there are still a couple of vfc references in the latest one 16:05:55 and 2) check back to the spec to make sure it matches the API we agreed on 16:06:42 Yea, I see the vfc code in the models now. I'll fix that. 16:07:01 Are the differences in the spec API based on the allocations patch I added? 16:07:22 No, I think we just made some minor changes to the format 16:07:30 Like, using segmentation_id instead of segment_id 16:09:01 oh, I see 16:09:25 It would be really good if we could have a tempest scenario for this as well, but do you feel like you could write one? 16:10:01 I've never written one 16:10:18 Where are tempest scenarios for blazar? 16:10:55 https://opendev.org/openstack/blazar-tempest-plugin/src/branch/master/blazar_tempest_plugin/tests/scenario 16:11:23 Maybe if I can start a template for a new one with the right config, you could extend with some tests 16:12:25 It will need a custom config to enable the network plugin, plus make sure the neutron config is compatible 16:12:31 I could potentially. I get a lot of pushback from Kate these days on contributing upstream because of the time commitment. 16:13:09 What is tempest? 16:13:44 Testing framework for OpenStack 16:13:45 https://docs.openstack.org/tempest/latest/ 16:14:25 It's an integration tool. Maybe this is something we can add to our CI/CD pipeline on Chameleon in the future. 16:14:36 Then ignore it for now, I'll ping you if I get something started where you could contribute a few more tests 16:15:03 ok, thanks 16:15:05 Yes, you can run it against an OpenStack cloud. I would advise using Rally to manage it 16:15:20 Rally: https://docs.openstack.org/rally/latest/ 16:15:53 Though it might not play well with Chameleon because it wouldn't know that it needs reservations to launch instances 16:16:00 Anyway, that's getting off topic 16:16:30 Anything else that you would like to highlight? I know there are specs from Jason that I need to finish reviewing 16:16:56 I pushed a bug fix recently 16:17:11 A very good one indeed 16:17:31 Did you see tetsuro's comment? 16:17:38 > Is it difficult to reproduce the bug in the unit tests by mocking the exception? 16:18:12 Yes 16:19:22 Do you think that's feasible? 16:19:24 I imagine you could throw an exception with the unit test and then see if it fails. However, I haven't had time to play around with it. Not sure how the tests handle looping calls. 16:20:58 probs not actually 16:21:00 def test_start(self): # NOTE(starodubcevna): it's useless to test start() now, but may be in # future it become useful pass 16:21:44 We don't even test the start function where the fix is implemented. 16:22:03 That is some old code! 16:23:42 OK, more thought needed 16:24:08 Have you deployed the fix to prod? 16:24:45 Yep, we haven't run into the issue since 16:26:01 An alternative would be to make sure the exception is handled correctly 16:26:14 Did you figure out where the exception came from exactly? 16:29:01 It was a DBConnectionError 16:31:04 So something that could be thrown by any db code really 16:31:29 OK, thanks for the patch, I will check again with Tetsuro if he can allow it without tests 16:31:34 Anything else? 16:32:10 Nope. Did you get a chance to review Jason's specs? 16:32:16 He's back in office tomorrow 16:32:31 or... online 16:33:06 I reviewed one of them, left some comments 16:33:12 Still need to look at the other one 16:33:26 Good to know that he's back soon 16:34:52 I believe that is all on my end 16:35:19 Same for me. Thanks for your time! 16:35:39 :+1: 16:35:46 thanks for the comments 16:35:50 Bye 16:35:51 #endmeeting