heat stack-delete failures - Neutron exception
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
Praneet Bachheti | |||
R2.20.x |
Fix Committed
|
Medium
|
Praneet Bachheti | |||
R2.21.x |
Fix Committed
|
Medium
|
Praneet Bachheti | |||
Trunk |
Fix Committed
|
Medium
|
Praneet Bachheti |
Bug Description
Praneet debugged the following issue on 2.21-14
heat stack-deletes were failing:
root cause:
Deepak,
The latest stack-delete points to a bug. A subnet get happened after the subnet delete. We should handle it as “Subnet not found” instead of just bailing out. Here is the diff. Please file a bug and we will put the fix in.
>> root@ccra-15:~# heat stack-list
>> +------
>> | id | stack_name | stack_status | creation_time |
>> +------
>> | 28be9b35-
>> | abf6ba58-
>> | 27e2d7be-
>> | c45f1fc5-
>> | fa42cebc-
>> | 4963f771-
>> | e28304c1-
>> | 14427269-
>> | 939dfe41-
>> +------
>> root@ccra-15:~#
>> root@ccra-15:~#
>> root@ccra-15:~# heat stack-show 28be9b35-
>> +------
>> | Property | Value |
>> +------
>> | capabilities | [] |
>> | creation_time | 2015-12-
>> | description | HOT template to create network service |
>> | disable_rollback | True |
>> | id | 28be9b35-
>> | links | http://
>> | notification_topics | [] |
>> | parameters | { |
>> | | "right-net-id": "920deddc-
>> | | "OS::stack_name": "jsm-575cec1a-
>> | | "nsid": "575cec1a-
>> | | "mgmt-net-id": "eb6705d9-
>> | | "OS::stack_id": "28be9b35-
>> | | "left-net-rt": "[u'64512:3101']", |
>> | | "left-subnet-cidr": "17.23.1.0/24" |
>> | | } |
>> | stack_name | jsm-575cec1a-
>> | stack_status | DELETE_FAILED |
>> | stack_status_reason | Resource DELETE failed: NeutronClientEx
>> | | 500-{u'
>> | | exception occurred.', u'type': u'NeutronExcept
>> | | u'detail': u''}} |
>> | template_
>> | timeout_mins | None |
>> | updated_time | 2015-12-
>> +------
>>
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
assignee: | nobody → Praneet Bachheti (praneetb) |
importance: | Undecided → Medium |
status: | New → In Progress |
Review in progress for https:/ /review. opencontrail. org/15751
Submitter: Praneet Bachheti (<email address hidden>)