RFE: support force delete for VNFs in PENDING_DELETE

Bug #1626723 reported by Sridhar Ramaswamy
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tacker
Confirmed
Medium
lijiale

Bug Description

When VNF delete fails due to underlying system or software error, those VNFs transitions to PENDING_DELETE state. Now, vnf-delete on these PENDING_DELETE VNFs doesn't work and these VNFs are stuck for ever. We need to expose a API / CLI option for an admin to "force" the deletion of VNFs in PENDING_DELETE state.

$ tacker vnf-list -f csv
"id","name","description","mgmt_url","status","vim_id","placement_attr","error_reason"
"8d580075-e257-452b-9a15-acb8991a2fd1","my-vnf2","Demo example","{""VDU1"": ""192.168.120.5""}","PENDING_DELETE","ae91e663-27fa-4512-9b53-06c489ffd584","{u'vim_name': u'VIM0'}",""
"8ee1fa0f-b986-4a99-9b15-fafc32010ec6","my-vnf1","Demo example","{""VDU1"": ""192.168.120.11""}","PENDING_DELETE","ae91e663-27fa-4512-9b53-06c489ffd584","{u'vim_name': u'VIM0'}",""

$ tacker vnf-delete my-vnf1
VNF 8ee1fa0f-b986-4a99-9b15-fafc32010ec6 could not be found

Tags: rfe
Changed in tacker:
assignee: nobody → Manikantha Srinivas Tadi (manikantha-tadi)
Revision history for this message
venkatamahesh (venkatamaheshkotha) wrote :

It's nice one and it should be there.

Changed in tacker:
status: New → Triaged
Changed in tacker:
status: Triaged → Confirmed
Revision history for this message
Bryan Sullivan (bryan-att) wrote :

This is still a problem in stable/newton. Any ideas how to to work around it? Deleting the tacker service and redeploying seems a pretty heavy solution.

Revision history for this message
Alam (alamf) wrote :

I tried with Tacker 0.9.0 and the issue is till there. Adding some details.

I had an error (network name) in the VNFD and the deployment got stuck, then I tried to delete and it's pending forever.

vnf-list shows the VNF with status PENDING_DELETE
But, vnf-delete results in error - VNF couldn't be found.

Revision history for this message
wangchenglong (wangchenglong) wrote :

 Hi Manikantha Srinivas Tadi,

may i ask what's the delivery plan for this bug?

Revision history for this message
Xiaowei Zhang (edwardzxw) wrote :

Issue exists in stable/pike as well.

Revision history for this message
lijiale (lijiale) wrote :

 Hi Manikantha Srinivas Tadi,

may i ask what's the delivery plan for this bug?

Changed in tacker:
assignee: Manikantha Srinivas Tadi (manikantha-tadi) → lijiale (lijiale)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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