Schema transformer could crash after upgrading from 2.0 if there are any stale service chains

Bug #1535923 reported by Sachin Bansal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Sachin Bansal
R2.21.x
Fix Committed
High
Sachin Bansal
R2.22.x
Fix Committed
High
Sachin Bansal
Trunk
Fix Committed
High
Sachin Bansal

Bug Description

Schema transformer could crash after upgrading from 2.0 if there are any stale service chains. This happens because a new member variable partially_created was added to ServiceChain class. We store service chain data in cassandra after pickling. After schema transformer comes up, we should check for this new variable before accessing it.

Tags: config
Sachin Bansal (sbansal)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/16707
Submitter: Sachin Bansal (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/16709
Submitter: Sachin Bansal (<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/16710
Submitter: Sachin Bansal (<email address hidden>)

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

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

commit cd651414c210d6d43a1e4acd7efc19ed7743ec61
Author: Sachin Bansal <email address hidden>
Date: Fri Jan 29 16:22:56 2016 -0800

Add partially_created field if not set already

Change-Id: I2260fbe198f167b5027112c7d3e1f71b0c7950df
Closes-Bug: 1535923
(cherry picked from commit 9b2382fc1199caa14594e8bb3ea9d00244ba147a)

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

Reviewed: https://review.opencontrail.org/16707
Committed: http://github.org/Juniper/contrail-controller/commit/9b2382fc1199caa14594e8bb3ea9d00244ba147a
Submitter: Zuul
Branch: R2.21.x

commit 9b2382fc1199caa14594e8bb3ea9d00244ba147a
Author: Sachin Bansal <email address hidden>
Date: Tue Jan 19 14:36:48 2016 -0800

Add partially_created field if not set already

Change-Id: I2260fbe198f167b5027112c7d3e1f71b0c7950df
Closes-Bug: 1535923

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

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

commit ebd5873b85fa58cae4240ffef951c0672d56aaec
Author: Sachin Bansal <email address hidden>
Date: Tue Jan 19 14:36:48 2016 -0800

Add partially_created field if not set already

Change-Id: I2260fbe198f167b5027112c7d3e1f71b0c7950df
Closes-Bug: 1535923
(cherry picked from commit 9b2382fc1199caa14594e8bb3ea9d00244ba147a)

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

Review in progress for https://review.opencontrail.org/17105
Submitter: Sachin Bansal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17105
Committed: http://github.org/Juniper/contrail-controller/commit/f130b91cf7ff59315e0aaef57dfe6ca909ff21d9
Submitter: Zuul
Branch: R2.22.x

commit f130b91cf7ff59315e0aaef57dfe6ca909ff21d9
Author: Sachin Bansal <email address hidden>
Date: Tue Jan 19 14:36:48 2016 -0800

Add partially_created field if not set already

Change-Id: I2260fbe198f167b5027112c7d3e1f71b0c7950df
Closes-Bug: 1535923
(cherry picked from commit 9b2382fc1199caa14594e8bb3ea9d00244ba147a)

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.