Support Support Downloads Knowledge Base Case Manager My Juniper 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

[Contrail] Checking Contrail version in Contrail release 5.0 and later

1

0

Article ID: KB34170 KB Last Updated: 29 Apr 2019Version: 1.0
Summary:

This article describes how to check version information in Contrail release 5.0 and later, wherein the shell command contrail-version is not available unlike in earlier releases.

 

Symptoms:

In Contrail release 5.0 and later, the shell command contrail-version is not available, unlike in earlier Contrail releases such as Contrail 3.2, 4.0, and 4.1.

root@host:~# which contrail-version
root@host:~#

 

Solution:

In Contrail release 5.0 and later, docker container images are run. Therefore, we can check the image tag for version information. The CLI command to check the version in Contrail release 5.0 and later is docker images.

In the example shown below, the Contrail version is 5.0.1-0.214-ocata.

root@host:~# docker images | egrep -i "contrail|TAG"
REPOSITORY                                                       TAG                 IMAGE ID            CREATED             SIZE
opencontrailnightly/contrail-openstack-neutron-init              latest              d90d726babe7        6 months ago        897 MB
opencontrailnightly/contrail-openstack-heat-init                 latest              a8023e54a954        6 months ago        784 MB
opencontrailnightly/contrail-openstack-compute-init              latest              9318da60a6c6        6 months ago        784 MB
opencontrailnightly/contrail-external-rabbitmq                   latest              599d4c9a94fe        6 months ago        124 MB
hub.juniper.net/contrail/contrail-vrouter-kernel-build-init      5.0.1-0.214-ocata   436fc857ed0a        7 months ago        266 MB
hub.juniper.net/contrail/contrail-vrouter-agent                  5.0.1-0.214-ocata   a6941aad966d        7 months ago        1.09 GB
hub.juniper.net/contrail/contrail-nodemgr                        5.0.1-0.214-ocata   c00af0377d0f        7 months ago        760 MB
hub.juniper.net/contrail/contrail-node-init                      5.0.1-0.214-ocata   940832d5fb84        7 months ago        742 MB
hub.juniper.net/contrail/contrail-external-zookeeper             5.0.1-0.214-ocata   46423064cce0        7 months ago        144 MB
hub.juniper.net/contrail/contrail-external-kafka                 5.0.1-0.214-ocata   ab1537bc4590        7 months ago        734 MB
hub.juniper.net/contrail/contrail-external-cassandra             5.0.1-0.214-ocata   93eebf777860        7 months ago        323 MB
hub.juniper.net/contrail/contrail-controller-webui-web           5.0.1-0.214-ocata   946ba963ac54        7 months ago        965 MB
hub.juniper.net/contrail/contrail-controller-webui-job           5.0.1-0.214-ocata   9907e11103a0        7 months ago        965 MB
hub.juniper.net/contrail/contrail-controller-control-named       5.0.1-0.214-ocata   ef66964993a8        7 months ago        810 MB
hub.juniper.net/contrail/contrail-controller-control-dns         5.0.1-0.214-ocata   af45f0ec8b0e        7 months ago        810 MB
hub.juniper.net/contrail/contrail-controller-control-control     5.0.1-0.214-ocata   b9a34d066fdc        7 months ago        810 MB
hub.juniper.net/contrail/contrail-controller-config-svcmonitor   5.0.1-0.214-ocata   4f00f2099e69        7 months ago        1.05 GB
hub.juniper.net/contrail/contrail-controller-config-schema       5.0.1-0.214-ocata   b87dbf37d202        7 months ago        1.05 GB
hub.juniper.net/contrail/contrail-controller-config-devicemgr    5.0.1-0.214-ocata   62e64af89fe4        7 months ago        1.05 GB
hub.juniper.net/contrail/contrail-controller-config-api          5.0.1-0.214-ocata   cd44c147eccc        7 months ago        1.09 GB
hub.juniper.net/contrail/contrail-analytics-topology             5.0.1-0.214-ocata   cd2a42cf123a        7 months ago        824 MB
hub.juniper.net/contrail/contrail-analytics-snmp-collector       5.0.1-0.214-ocata   32615bc459a6        7 months ago        824 MB
hub.juniper.net/contrail/contrail-analytics-query-engine         5.0.1-0.214-ocata   a1c8459d81c6        7 months ago        824 MB
hub.juniper.net/contrail/contrail-analytics-collector            5.0.1-0.214-ocata   2ff63e5deef9        7 months ago        824 MB
hub.juniper.net/contrail/contrail-analytics-api                  5.0.1-0.214-ocata   0a7a6403ab9b        7 months ago        824 MB
hub.juniper.net/contrail/contrail-analytics-alarm-gen            5.0.1-0.214-ocata   79a4f5fecaa8        7 months ago        824 MB

 

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