08:02:59 #startmeeting tacker 08:02:59 Meeting started Tue Sep 13 08:02:59 2022 UTC and is due to finish in 60 minutes. The chair is yasufum. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:02:59 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 08:02:59 The meeting name has been set to 'tacker' 08:03:34 #link https://etherpad.opendev.org/p/tacker-meeting 08:04:02 There are two items on the etherpad 08:04:27 from ma-ooyama for both. 08:04:55 So, can we start from the first item? 08:05:02 Sure, first topic is about the review request for a db migration tool . 08:05:02 #topic review request for a db migration tool 08:05:34 sorry for being late, but we would like you to review it. 08:05:53 It is in WIP state now, but is going to be done today. we would be grateful if you check the tool. 08:07:02 Is there any reason why WIP is still remained? 08:08:10 Some test patterns are left. 08:09:46 Do you mean some more tests will be added to current WIP patch? 08:11:33 No. We are going to test some case in our environment. If some problems occurs, the patch may be fixed. 08:15:17 I'd like to know how many line of codes can be changed from the current patch. 08:15:36 in the next update 08:16:35 Each UT works, so there will be not so many changes, I guess. 08:19:06 OK, I understand it's not clear for now. 08:19:28 Any other comment? 08:19:46 Yes. Sorry for not being clear. 08:24:32 As you may know, it's just three days left for the end of R-3 08:24:35 #link https://releases.openstack.org/zed/schedule.html 08:25:48 The size of your patch is about 2500 lines, and it's more than I've expected actually... 08:27:44 It might not be able to complete possibly in this release 08:28:58 I know... sorry for being late 08:29:16 Anyway, please update your patch asap, thanks. 08:29:49 Sure. Thanks. 08:31:24 OK, move on to the next item. 08:31:46 #topic About stack_name compatibility 08:31:50 sure, second topic is about stack_name compatibility. 08:32:02 While implementing a db migration tool, we found that lcm operataion for v2 instance migrated by the tool doesn't work, because the stack names are different between v1 api and v2 api 08:32:19 In v2 api, the get_stack_name function in heat_utils.py returns stack name as "vnf-". 08:32:29 https://opendev.org/openstack/tacker/src/branch/master/tacker/sol_refactored/infra_drivers/openstack/heat_utils.py#L196 08:32:41 But stack name used in v1 api is like "vnflcm_" or "_". 08:32:51 Refering to the heat document, stack name can't be renamed after it has been launched. 08:33:02 https://docs.openstack.org/heat/latest/getting_started/create_a_stack.html#launching-a-stack 08:33:11 Considering future api refactoring, we think the get_stack_name function should be fixed to be compatible with v1 api. 08:33:32 I would like to know your opinion. 08:35:36 thanks 08:36:44 I'd like to confirm about your suggestion. 08:38:55 Do you want to change which of behavior of API if it's needed? Or any other way to keep the compatibility? 08:39:46 I'm not sure about your concern exactly. 08:42:25 I proposed the get_stack_name function should search the correct name. Because the name of "vnf-" doesn't match in v1 api. 08:43:29 If the function get correct stack name, I think other process in v2 will work. 08:44:29 Is get_stack_name function in Tacker implementation? 08:44:53 Yes. 08:44:54 https://opendev.org/openstack/tacker/src/branch/master/tacker/sol_refactored/infra_drivers/openstack/heat_utils.py#L196 08:45:19 You mean some Tacker's functions regarding to get the vnf instance information needs to be modified. 08:45:26 Is my understanding correct? 08:46:03 Yes. 08:46:16 Thanks, I got it. 08:47:36 I agree with your suggestion because as you mentioned, the stack-name cannot be changed by Heat specification. 08:48:26 Tacker has to handle difference between the v1 and v2 stack-name. 08:50:40 Now, I have no other idea. If someone have another ideas. please share. 08:53:24 I think the function should be changed to search both v2 and v1 stack name patterns to heat, and return the hit name. 08:57:00 Thanks. 08:58:04 ma-ooyama: Could you make a request on our launchpad? We can continue to discussion how we fix the issue on that. 08:58:23 Sure. 08:58:25 And a patch for the fix will be uploaded then hopefully. 08:59:02 Just information, the following patch changes `stack_id` to be stored in VnfInstantiatedInfo.metadata. 08:59:06 https://review.opendev.org/c/openstack/tacker/+/855444/12/tacker/sol_refactored/infra_drivers/openstack/heat_utils.py#204 09:00:02 Similarly, if you have `stack_name` in it during db migration, I think you can use it. It's just an idea, so it may not go well.. 09:01:22 I hope it helps you. thanks. 09:01:27 It looks useful. I'll confirm the patch later. Thanks! 09:01:34 :) 09:04:26 OK 09:05:13 It seems enough for the topic. 09:05:30 Yes, thanks. 09:06:29 So, let's close this meeting if there're no comments or topics. 09:07:15 Regarding the releasenote coverage of topic last week, we (FJ) have posted all the releasenote patches for the ones that need releasenote. 09:07:36 Thanks. 09:07:55 thanks for your reviewing too. :) 09:09:38 OK, thanks for joining, bye! 09:09:47 Thanks, bye 09:09:50 Bye 09:09:53 thanks, bye 09:10:01 bye 09:10:03 bye 09:10:11 bye 09:10:14 #endmeeting