config-openstack: Log exceptions in resource list

Bug #1459670 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.1
Won't Fix
High
Hampapur Ajay
R2.20
Fix Committed
High
Hampapur Ajay
R3.0
Won't Fix
High
Hampapur Ajay
Trunk
Fix Committed
High
Hampapur Ajay

Bug Description

There was a case where:

"nova list —all-tenants” wouldn’t work because nova would send a device id to neutron and ask for its port information. This device id (vm uuid) exists in Nova and the vm was in Error state. The vm UUID is not present in /virtual-machine/<vm-uuid> in contrail db (due to unknown reasons - potentially due to issues in db cluster grow) but there are ports in neutron with this device id. "

In general, during a list operation if there is an error in <resource>_vnc_to_neutron in the list context, for service resiliency it is better to succeed the list op but og the exception for analysis.

Tags: config
Hampapur Ajay (hajay)
Changed in juniperopenstack:
milestone: none → r2.02
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.0

Review in progress for https://review.opencontrail.org/11009
Submitter: Hampapur Ajay (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11009
Committed: http://github.org/Juniper/contrail-controller/commit/6b6d315b5aa5c480e4fcae0272418d42fd177973
Submitter: Zuul
Branch: R2.0

commit 6b6d315b5aa5c480e4fcae0272418d42fd177973
Author: Hampapur Ajay <email address hidden>
Date: Thu May 28 15:23:52 2015 -0700

config-errhdl: In list operations, ignore(with log) inconsistent members

Implement catchall exception (that logs the exception) in contrail-to-neutron
transformation in list operations so that any inconsistent entry does not
impact entire operation.

Change-Id: I4f126662c1ea740f88776d33197b1430f798525c
Closes-Bug: #1459670

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

Review in progress for https://review.opencontrail.org/11207
Submitter: Hampapur Ajay (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11207
Committed: http://github.org/Juniper/contrail-controller/commit/1e65c9a90f226a519395ace0ab4dafe2ad7f0ce4
Submitter: Zuul
Branch: master

commit 1e65c9a90f226a519395ace0ab4dafe2ad7f0ce4
Author: Hampapur Ajay <email address hidden>
Date: Tue Jun 2 16:21:42 2015 -0700

config-errhdl: In list operations, ignore(with log) inconsistent members

Implement catchall exception (that logs the exception) in contrail-to-neutron
transformation in list operations so that any inconsistent entry does not
impact entire operation along with unit-tests.

Change-Id: I4f126662c1ea740f88776d33197b1430f798525c
Closes-Bug: #1459670

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

Review in progress for https://review.opencontrail.org/11282
Submitter: Hampapur Ajay (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/11283
Submitter: Hampapur Ajay (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/11282
Submitter: Hampapur Ajay (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/11283
Submitter: Hampapur Ajay (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11282
Committed: http://github.org/Juniper/contrail-controller/commit/98f0bb376b1ad35ba4a87c9ed5ecc3ad5d8c530a
Submitter: Zuul
Branch: R2.20

commit 98f0bb376b1ad35ba4a87c9ed5ecc3ad5d8c530a
Author: Hampapur Ajay <email address hidden>
Date: Tue Jun 2 16:21:42 2015 -0700

config-errhdl: In list operations, ignore(with log) inconsistent members

Implement catchall exception (that logs the exception) in contrail-to-neutron
transformation in list operations so that any inconsistent entry does not
impact entire operation along with unit-tests.

Change-Id: I4f126662c1ea740f88776d33197b1430f798525c
Closes-Bug: #1459670
(cherry picked from commit 1e65c9a90f226a519395ace0ab4dafe2ad7f0ce4)

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.