Inconsistancy with PENDING_DELETE VNFs

Bug #1775373 reported by dharmendra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
In Progress
Medium
dharmendra

Bug Description

While deleting a VNF, when VNF state set to PENDING_DELETE and VDUs deletion request initiated but the meanwhile service got restarted, and due to this VNF state stuck in PENDING_DELETE and now when trying to delete that VNF, it showing not found message.

vagrant@dk:/opt/stack/tacker$ openstack vnf list
+--------------------------------------+--------+----------+----------------+--------------------------------------+--------------------------------------+
| ID | Name | Mgmt Url | Status | VIM ID | VNFD ID |
+--------------------------------------+--------+----------+----------------+--------------------------------------+--------------------------------------+
| 779c3b77-e33c-4a5b-adf0-97ddb62ca5ce | test-x | None | PENDING_DELETE | 39f41d08-41a9-4ded-933d-fb9e4aa463e4 | efae04cf-a7ff-4851-924b-6cb20b95c835 |
+--------------------------------------+--------+----------+----------------+--------------------------------------+--------------------------------------+
vagrant@dk:/opt/stack/tacker$ openstack vnf delete test-x

Unable to delete the below vnf(s):
 Cannot delete test-x: VNF 779c3b77-e33c-4a5b-adf0-97ddb62ca5ce could not be found
vagrant@dk:/opt/stack/tacker$

Changed in tacker:
assignee: nobody → dharmendra (dharmendra-kushwaha)
Revision history for this message
dharmendra (dharmendra-kushwaha) wrote :

This case can be also be occurred when multiple parallel requests will be initiated for same VNF, and we can not handle these cases.
But instead of VNF not found error correct error message should be there.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/572728

Changed in tacker:
status: New → In Progress
Changed in tacker:
milestone: none → rocky-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/572728
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=a7ba6d02aae23c66e9aa0b3853ff07ebe72f38cd
Submitter: Zuul
Branch: master

commit a7ba6d02aae23c66e9aa0b3853ff07ebe72f38cd
Author: dharmendra <email address hidden>
Date: Tue Jul 10 08:50:15 2018 +0000

    Correct error handling for PENDING_DELETE VNFs.

    Partial-Bug: #1775373

    Change-Id: I82e3dc0531c1b9e702fe41d0dcf244dc514c53ac

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.