Translation of exception messages in neutron plugin results in raising of wrong exception

Bug #1700622 reported by Petr Jediný
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.21.x
Fix Committed
Undecided
Unassigned
R3.1
Fix Committed
Undecided
Unassigned
R3.1.1.x
Fix Committed
Undecided
Unassigned
R3.2
Fix Committed
Undecided
Unassigned
R3.2.3.x
Fix Committed
Undecided
Unassigned
R4.0
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
Fix Committed
Undecided
Unassigned

Bug Description

Translation of exception messages in neutron plugin results in raising of wrong exception.

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

Review in progress for https://review.opencontrail.org/33175
Submitter: Petr Jedin? (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33176
Submitter: Petr Jedin? (<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/33180
Submitter: Petr Jedin? (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33206
Submitter: Petr Jedin? (<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/33207
Submitter: Petr Jedin? (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33208
Submitter: Petr Jedin? (<email address hidden>)

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

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

commit ca501c8a940f8f4a0fa0e6404ffbd11195d46334
Author: Petr Jediný <email address hidden>
Date: Mon Jun 26 19:42:55 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: I2aa610116b2abc52b9952a510579fc5c29b9d12e
Partial-Bug: #1700622

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

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

commit b81fce7121c63423436b58b9cfba4fe676852c54
Author: Petr Jediný <email address hidden>
Date: Mon Jun 26 19:42:55 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: I2aa610116b2abc52b9952a510579fc5c29b9d12e
Closes-Bug: #1700622

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

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

commit 7ff3037c3496717240d5db124a1cc4702d6010b8
Author: Petr Jediný <email address hidden>
Date: Mon Jun 26 20:20:24 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: If27d3ea0978d64e88df3e8406ab62cc21e208822
Partial-Bug: #1700622

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

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

commit 5a59f76c9514d25ebcae1a7b4c64d63d41fdf7c5
Author: Petr Jediný <email address hidden>
Date: Mon Jun 26 19:42:55 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: I2aa610116b2abc52b9952a510579fc5c29b9d12e
Partial-Bug: #1700622

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

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

commit 6a73386dcda70f9ae8cb780e7e23bc7501bbc362
Author: Petr Jediný <email address hidden>
Date: Tue Jun 27 10:17:31 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: I07a20c66980deda0b053beaa691d9ea8e4c75d9b
Partial-Bug: #1700622

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

Reviewed: https://review.opencontrail.org/33176
Committed: http://github.com/Juniper/contrail-controller/commit/73a81e11c30d728755d02cb4799653f0737a1200
Submitter: Zuul (<email address hidden>)
Branch: R3.1.1.x

commit 73a81e11c30d728755d02cb4799653f0737a1200
Author: Petr Jediný <email address hidden>
Date: Mon Jun 26 20:20:24 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: If27d3ea0978d64e88df3e8406ab62cc21e208822
Partial-Bug: #1700622

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

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

Sachin Bansal (sbansal)
Changed in opencontrail:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/33720
Committed: http://github.com/Juniper/contrail-controller/commit/69d1c0fde07976ebf8cfc89cf7bf5850e9eee491
Submitter: Zuul (<email address hidden>)
Branch: R2.21.x

commit 69d1c0fde07976ebf8cfc89cf7bf5850e9eee491
Author: Petr Jediný <email address hidden>
Date: Mon Jun 26 20:20:24 2017 +0200

Fix messages for contrail exceptions

_() was wrongly used for contrail exception messages in neutron_plugin_db.
It is not imported nor the translations are available, so it was raising
different exception without meaningful message.

Change-Id: If27d3ea0978d64e88df3e8406ab62cc21e208822
Partial-Bug: #1700622
(cherry picked from commit 73a81e11c30d728755d02cb4799653f0737a1200)

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.