heat: undefined LOG keyword during stack delete with AttachPolicy resource

Bug #1597882 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Undecided
Unassigned
R2.22.x
Fix Committed
Undecided
Unassigned
R3.0
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned

Bug Description

during attach_policy and update of network_policy the stack may fail due to LOG keyword undefined.

diff --git a/contrail_heat/resources/attach_policy.py b/contrail_heat/resources/attach_policy.py
index 5f5e737..8611493 100644
--- a/contrail_heat/resources/attach_policy.py
+++ b/contrail_heat/resources/attach_policy.py
@@ -6,7 +6,7 @@ from contrail_heat.resources.contrail import ContrailResource

 from heat.openstack.common import log as logging

-logger = logging.getLogger(__name__)
+LOG = logging.getLogger(__name__)

 class AttachPolicy(ContrailResource):
diff --git a/contrail_heat/resources/network_policy.py b/contrail_heat/resources/network_policy.py
index 4f7fd9a..a48d1c4 100644
--- a/contrail_heat/resources/network_policy.py
+++ b/contrail_heat/resources/network_policy.py
@@ -8,7 +8,7 @@ from heat.openstack.common import log as logging
 import uuid
 import copy

-logger = logging.getLogger(__name__)
+LOG = logging.getLogger(__name__)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/21599
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22.x

Review in progress for https://review.opencontrail.org/21596
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/21597
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/21598
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/21597
Committed: http://github.org/Juniper/contrail-heat/commit/ab50c6b26de688be9ca34031cc486c268f14d21a
Submitter: Zuul
Branch: master

commit ab50c6b26de688be9ca34031cc486c268f14d21a
Author: msenthil <email address hidden>
Date: Thu Jun 30 12:04:19 2016 -0700

stack delete with AttachPolicy resource may fail due to undefined LOG keyword

Change-Id: I1cc6d6657eb6c2449bc6e9d174312a5c14fde43f
Closes-Bug:#1597882

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/21599
Committed: http://github.org/Juniper/contrail-heat/commit/ce18c05f13f3191d2a2d288cf5cf791813b2c864
Submitter: Zuul
Branch: R2.20

commit ce18c05f13f3191d2a2d288cf5cf791813b2c864
Author: msenthil <email address hidden>
Date: Thu Jun 30 12:04:19 2016 -0700

stack delete with AttachPolicy resource may fail due to undefined LOG keyword

Change-Id: I1cc6d6657eb6c2449bc6e9d174312a5c14fde43f
Closes-Bug:#1597882

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/21598
Committed: http://github.org/Juniper/contrail-heat/commit/ae57231e490eafbdd7d65e7d1e2076d0cd3700d4
Submitter: Zuul
Branch: R3.0

commit ae57231e490eafbdd7d65e7d1e2076d0cd3700d4
Author: msenthil <email address hidden>
Date: Thu Jun 30 12:04:19 2016 -0700

stack delete with AttachPolicy resource may fail due to undefined LOG keyword

Change-Id: I1cc6d6657eb6c2449bc6e9d174312a5c14fde43f
Closes-Bug:#1597882

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/21596
Committed: http://github.org/Juniper/contrail-heat/commit/cfd316b730f9546dc167d6895f9f4b9c6572ef58
Submitter: Zuul
Branch: R2.22.x

commit cfd316b730f9546dc167d6895f9f4b9c6572ef58
Author: msenthil <email address hidden>
Date: Thu Jun 30 12:04:19 2016 -0700

stack delete with AttachPolicy resource may fail due to undefined LOG keyword

Change-Id: I1cc6d6657eb6c2449bc6e9d174312a5c14fde43f
Closes-Bug:#1597882

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.