Activity log for bug #1894169

Date Who What changed Old value New value Message
2020-09-04 00:48:41 LiangLu bug added bug
2020-09-04 00:48:59 LiangLu tacker: assignee LiangLu (lianglu)
2020-09-04 01:07:11 LiangLu description We found if we run vnf delete package command soon after upload command, delete command will return success however in database the vnf package still remains. Steps to reproduce: 1. run openstack vnf package upload 2. run openstack vnf package delete soon after upload command 3. use sql command to check vnf_packages table with uuid, the package is deleted (deleted=1) 4. use sql command to check vnf_package_vnfd with uuid, vnfd is not delete (deleted=0) Reason: we are assuming this bug may caused by delete and upload command is running simultaneously, thus delete command finished while upload is in progress, something will be remained if it's upload process started after delete command is finished. Thus, to add a delete lock for vnf_packages with PROCESSING or ONBOARDING state might be a solotion to this bug. (now the delete lock is only enabled for ENABLED and IN_USE vnf packages) We found if we run vnf delete package command soon after upload command, delete command will return success however in vnf_package_vnfd database the vnf package seems not deleted. Steps to reproduce: 1. run openstack vnf package upload 2. run openstack vnf package delete soon after upload command 3. use sql command to check vnf_packages table with uuid, the package is deleted (deleted=1) 4. use sql command to check vnf_package_vnfd with uuid, vnfd is not delete (deleted=0) Reason: we are assuming this bug may caused by delete and upload command is running simultaneously, thus delete command finished while upload is in progress, something will be remained if it's upload process started after delete command is finished. Thus, to add a delete lock for vnf_packages with PROCESSING or ONBOARDING state might be a solotion to this bug. (now the delete lock is only enabled for ENABLED and IN_USE vnf packages)
2020-09-23 15:56:45 Yasufumi Ogawa tacker: importance Undecided High
2020-10-06 00:47:04 Itsuro Oda bug added subscriber Itsuro Oda