Contrail 2.21-14: Heat stack-delete failure due to "global name LOG not is not defined"

Bug #1537926 reported by Deepak Jeyaraman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Undecided
Unassigned

Bug Description

Build:
======

Contrail 2.21-14

Logs:
======

Problem:
========

heat stack is not getting deleted - due to the following reason.

Steps to recreate:

1. create 30-60 heat stacks
2. delete them using a script (with 5 secs between each deletes)

root@ccra-15:~# heat stack-list
+--------------------------------------+------------------------------------------+---------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------------------------------------+---------------+----------------------+
| e22763a7-f08b-41f3-b9b5-647c05a43f49 | jsm-73e55aef-d143-46a4-a70e-e22504fb1963 | DELETE_FAILED | 2016-01-25T21:16:21Z |
+--------------------------------------+------------------------------------------+---------------+----------------------+
root@ccra-15:~# heat stack-show e22763a7-f08b-41f3-b9b5-647c05a43f49
+----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| capabilities | [] |
| creation_time | 2016-01-25T21:16:21Z |
| description | HOT template to create network service |
| disable_rollback | True |
| id | e22763a7-f08b-41f3-b9b5-647c05a43f49 |
| links | http://10.102.28.148:8004/v1/7459eae2bd9449dd928ee70f0c98dd06/stacks/jsm-73e55aef-d143-46a4-a70e-e22504fb1963/e22763a7-f08b-41f3-b9b5-647c05a43f49 |
| notification_topics | [] |
| parameters | { |
| | "right-net-id": "edb8569a-a3da-4d80-b1da-003679024738", |
| | "OS::stack_name": "jsm-73e55aef-d143-46a4-a70e-e22504fb1963", |
| | "nsid": "73e55aef-d143-46a4-a70e-e22504fb1963", |
| | "mgmt-net-id": "05d94019-145e-46ab-a01c-9e40005fbdd7", |
| | "OS::stack_id": "e22763a7-f08b-41f3-b9b5-647c05a43f49", |
| | "left-net-rt": "[u'64512:67133']", |
| | "left-subnet-cidr": "67.19.133.0/24" |
| | } |
| stack_name | jsm-73e55aef-d143-46a4-a70e-e22504fb1963 |
| stack_status | DELETE_FAILED |
| stack_status_reason | Resource DELETE failed: NameError: global name 'LOG' is |
| | not defined |
| template_description | HOT template to create network service |
| timeout_mins | None |
| updated_time | 2016-01-25T21:47:25Z |
+----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+

root@ccra-15:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-analytics 2.21.1-14 14
contrail-config 2.21.1-14 14
contrail-config-openstack 2.21.1-14 14
contrail-control 2.21.1-14 14
contrail-dns 2.21.1-14 14
contrail-f5 2.21.1-14 14
contrail-fabric-utils 2.21.1-14 14
contrail-heat 2.21.1-14 14
contrail-install-packages 2.21.1-14~icehouse 14
contrail-lib 2.21.1-14 14
contrail-nodemgr 2.21.1-14 14
contrail-nova-networkapi 2.21.1-14 14

information type: Proprietary → Public
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.