Accept unsupported Function 'Patch Individual VNFInstance'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Medium
|
kexuesheng |
Bug Description
When testing the unsupported function 'Patch Individual VNFInstance',the API request is accepted(http code 200) and also a vnfLcmOpOccId is returned in header Location.
Although the request is accepted, the vnfinstance's information isn't changed but the status of vnf instance turned error.
Thing is that, we can't find any information about this error status unless we do some other information with the vnf instance or check in the database.
What's more, Since a vnfLcmOpOccid in the header location, the operation is supposed to be rollbacked. However, we can't rollback because there's no record about this id in database
operation log:
root@ubuntu:~# curl -i -X PATCH http://
-H "X-Auth-
HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 0
Location: http://
X-Openstack-
Date: Thu, 28 Jan 2021 01:29:22 GMT
root@ubuntu:~# openstack vnflcm delete 2f5314e6-
Failed to delete vnf instance with ID '2f5314e6-
Failed to delete 1 of 1 vnf instances.
Changed in tacker: | |
assignee: | nobody → YaoYudie (yaoyudie) |
Changed in tacker: | |
assignee: | YaoYudie (yaoyudie) → nobody |
Changed in tacker: | |
importance: | Undecided → Medium |
Changed in tacker: | |
assignee: | nobody → kexuesheng (kexuesheng) |
Fix proposed to branch: master /review. opendev. org/c/openstack /tacker/ +/795021
Review: https:/