Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Archive] [Contrail] Backward compatibilty issue with db_manage tool v1.15 to v1.17



Article ID: KB34970 KB Last Updated: 26 May 2020Version: 2.0

The db_manage python script is Juniper's recommended Contrail config DB maintenance tool for detecting and fixing database inconsistencies in a Contrail deployment. 

The following public link is available to find the latest

There is a known compatibility issue with versions v1.15, v1.16, and v1.17. When applying these versions on a 3.2.x or 3.0.x Contrail setup, the script fails to execute. This article discusses the error and fix in the most recent versions. 

Symptoms: (v1.15 - v1.17) fails to execute on 3.2.x or 3.0.x Contrail clusters with the following library import error:

root@CFTSVM133:/usr/lib/python2.7/dist-packages/vnc_cfg_api_server# python check

Traceback (most recent call last):
File "", line 12, in <module>
from cfgm_common import BGP_RTGT_ALLOC_PATH_TYPE0
ImportError: cannot import name BGP_RTGT_ALLOC_PATH_TYPE0

This backward compatibility issue was introduced due to the 4 Byte ASN support in Schema Transformer change.


Do not use the aforementioned versions to perform database maintenance on a version 3.2 or 3.0 Contrail setup. Instead, version 1.18 is recommended.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search