Duplicated instance-ip backrefs in DB

Bug #1743590 reported by eon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Édouard Thuleau
R4.0
Fix Committed
High
Édouard Thuleau
R4.1
Fix Committed
High
Édouard Thuleau
Trunk
Fix Committed
High
Édouard Thuleau
OpenContrail
New
High
Unassigned

Bug Description

Upgrading from a 2.21 DB to an newer version will result in duplicate backrefs for instance ips:

53003e80-865d-44d9-95b7-677ab5be086d | backref:instance-ip:6a4aefc1-12e6-4803-b8eb-7858b1163371 | {"is_weakref": false, "attr": null}
 53003e80-865d-44d9-95b7-677ab5be086d | backref:instance_ip:6a4aefc1-12e6-4803-b8eb-7858b1163371 | {"attr": null}

The new backref link uses the form 'instance-ip' instead of 'instance_ip'.

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

Review in progress for https://review.opencontrail.org/38927
Submitter: Jean-Philippe Braun (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38928
Submitter: Jean-Philippe Braun (<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/38927
Submitter: Jean-Philippe Braun (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38929
Submitter: Édouard Thuleau (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38928
Submitter: Jean-Philippe Braun (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38930
Submitter: Édouard Thuleau (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38931
Submitter: Édouard Thuleau (<email address hidden>)

Jeba Paulaiyan (jebap)
Changed in opencontrail:
importance: Undecided → High
assignee: nobody → Édouard Thuleau (ethuleau)
assignee: Édouard Thuleau (ethuleau) → nobody
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38931
Committed: http://github.com/Juniper/contrail-controller/commit/dae62a65da28ce9e50f2667f1c781a88ebe51441
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit dae62a65da28ce9e50f2667f1c781a88ebe51441
Author: Édouard Thuleau <email address hidden>
Date: Tue Jan 16 16:28:18 2018 +0100

[config] Fix resource type typo

In the config migration code, a typo on the Instance IP resource type
was introduced by patch Ic110de77fa1c030c33aea4596e1fc7b6a5d6a0c9
and results in creation of stale entries in DB.

Change-Id: Ia57625ae2007ad6ed741fec7fe592635fc4fad2e
Closes-Bug: #1743590
(cherry picked from commit 1322f1a091a907145914f9fba76c093254d11d57)

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

Reviewed: https://review.opencontrail.org/38930
Committed: http://github.com/Juniper/contrail-controller/commit/3199d15a3c4a481f8002014170fb6514246b7a8c
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 3199d15a3c4a481f8002014170fb6514246b7a8c
Author: Édouard Thuleau <email address hidden>
Date: Tue Jan 16 16:28:18 2018 +0100

[config] Fix resource type typo

In the config migration code, a typo on the Instance IP resource type
was introduced by patch Ic110de77fa1c030c33aea4596e1fc7b6a5d6a0c9
and results in creation of stale entries in DB.

Change-Id: Ia57625ae2007ad6ed741fec7fe592635fc4fad2e
Closes-Bug: #1743590
(cherry picked from commit 1322f1a091a907145914f9fba76c093254d11d57)

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

Reviewed: https://review.opencontrail.org/38929
Committed: http://github.com/Juniper/contrail-controller/commit/1322f1a091a907145914f9fba76c093254d11d57
Submitter: Zuul (<email address hidden>)
Branch: master

commit 1322f1a091a907145914f9fba76c093254d11d57
Author: Édouard Thuleau <email address hidden>
Date: Tue Jan 16 16:28:18 2018 +0100

[config] Fix resource type typo

In the config migration code, a typo on the Instance IP resource type
was introduced by patch Ic110de77fa1c030c33aea4596e1fc7b6a5d6a0c9
and results in creation of stale entries in DB.

Change-Id: Ia57625ae2007ad6ed741fec7fe592635fc4fad2e
Closes-Bug: #1743590

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

Reviewed: https://review.opencontrail.org/38928
Committed: http://github.com/Juniper/contrail-controller/commit/6ab10b781ddbca008cf91548b0126300b757a945
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 6ab10b781ddbca008cf91548b0126300b757a945
Author: Jean-Philippe Braun <email address hidden>
Date: Tue Jan 16 16:30:02 2018 +0100

Fix obj_type param for instance-ip updates

In the config migration code, a typo on the Instance IP resource type was
introduced by patch Ic110de77fa1c030c33aea4596e1fc7b6a5d6a0c9 and results
in creation of stale entries in DB.

Change-Id: I884f98ce0c69ac6637e2f10c861c7016575d875b
Closes-Bug: #1743590

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.