Looks like contrail-vrouter-agent is failing during initialization.
Can you share,

1.       Config file /etc/contrail/contrail-vrouter-agent.conf

2.       Log file /var/log/contrail/contrail-vrouter-agent.log

Regards,
Praveen

From: Users <users-boun...@lists.opencontrail.org> on behalf of Eric Yang 
<ey...@technicacorp.com>
Date: Thursday, March 30, 2017 at 3:54 AM
To: Jakub Pavlik <jpav...@mirantis.com>
Cc: "Users@lists.opencontrail.org" <Users@lists.opencontrail.org>
Subject: Re: [Users] vrouter-agent not running on compute node

Jakub,

Thanks for the response. Here is part of listings, packages selected because 
they are either part of Contrail or only present on the ‘bad’ compute node:

ii  apache2                             2.4.7-1ubuntu4.9       amd64            
      Apache HTTP Server
ii  apache2-bin                         2.4.7-1ubuntu4.9       amd64            
      Apache HTTP Server (binary files and modules)
ii  apache2-data                        2.4.7-1ubuntu4.9       all              
      Apache HTTP Server (common files)
…
ii  dbconfig-common                     1.8.47+nmu1            all              
      common framework for packaging database applications
…
ii  contrail-lib                        3.0.2.0-51             amd64            
      OpenContrail libraries
ii  contrail-nodemgr                    3.0.2.0-51             amd64            
      OpenContrail nodemgr implementation
ii  contrail-nova-vif                   3.0.2.0-51             all              
      OpenContrail interface driver for nova-compute
ii  contrail-openstack-vrouter          3.0.2.0-51             all              
      Contrail Openstack vRouter composite debian package
ii  contrail-setup                      3.0.2.0-51             all              
      Contrail Setup package with scripts for provisioning
ii  contrail-utils                      3.0.2.0-51             amd64            
      OpenContrail tools and utilities
ii  contrail-vrouter-agent              3.0.2.0-51             amd64            
      OpenContrail vrouter agent
ii  contrail-vrouter-common             3.0.2.0-51             all              
      Contrail vRouter composite debian package
ii  contrail-vrouter-dkms               3.0.2.0-51             amd64            
      OpenContrail VRouter - DKMS version
ii  contrail-vrouter-init               3.0.2.0-51             all              
      OpenContrail compute-node startup and monitoring scripts.
ii  contrail-vrouter-utils              3.0.2.0-51             amd64            
      OpenContrail VRouter - Utilities
…
ii  gnocchi-api                         3.0.3-ase1             all              
      Metric as a Service - API daemon
ii  gnocchi-common                      3.0.3-ase1             all              
      Metric as a Service - common files
ii  gnocchi-metricd                     3.0.3-ase1             all              
      Metric as a Service - metric daemon
ii  gnocchi-statsd                      3.0.3-ase1             all              
      Metric as a Service - stats daemon
…
ii  libapache2-mod-wsgi                 3.4-4ubuntu2.1.14.04.2 amd64            
      Python WSGI adapter module for Apache
ii  libapparmor-perl                    2.10.95-0ubuntu2.5~14. amd64            
      AppArmor library Perl bindings
ii  libapparmor1:amd64                  2.10.95-0ubuntu2.5~14. amd64            
      changehat AppArmor library
ii  libapr1:amd64                       1.5.0-1                amd64            
      Apache Portable Runtime Library
ii  libaprutil1:amd64                   1.5.3-1                amd64            
      Apache Portable Runtime Utility Library
ii  libaprutil1-dbd-sqlite3:amd64       1.5.3-1                amd64            
      Apache Portable Runtime Utility Library - SQLite3 Driver
ii  libaprutil1-ldap:amd64              1.5.3-1                amd64            
      Apache Portable Runtime Utility Library - LDAP Driver
…
ii  libjemalloc1                        3.5.1-2                amd64            
      general-purpose scalable concurrent malloc(3) implementation
…
ii  python-appdirs                      1.4.0-2~cloud0         all              
      determining appropriate platform-specific directories (Python 2)
…
ii  python-gnocchi-venv                 3.0.3-ase1             amd64            
      Metric as a Service
…
ii  python-openstackclient              1.7.0-1~cloud0         all              
      OpenStack Command-line Client
ii  python-os-brick                     0.5.0-0ubuntu2~cloud0  all              
      Library for managing local volume attaches - Python 2.x
ii  python-os-client-config             1.6.1-0ubuntu1~cloud0  all              
      OpenStack client configuation library - Python 2.x
…
ii  redis-server                        2:2.8.4-2              amd64            
      Persistent key-value database with network interface
ii  redis-tools                         2:2.8.4-2              amd64            
      Persistent key-value database with network interface (client)

Thanks,
Eric

From: Jakub Pavlik [mailto:jpav...@mirantis.com]
Sent: Wednesday, March 29, 2017 5:03 PM
To: Eric Yang
Cc: Users@lists.opencontrail.org
Subject: Re: [Users] vrouter-agent not running on compute node

Hi Eric,

what is the package versions "dpkg -l" ?

Jakub

On Wed, Mar 29, 2017 at 5:09 PM, Eric Yang 
<ey...@technicacorp.com<mailto:ey...@technicacorp.com>> wrote:
I am running contrail 3.0.2 on Ubuntu 14.04 in a multiple nodes configuration, 
and was noticing on one of the two compute nodes network functions handled by 
contrail do not work. Looking a bit closer, it appears the vrouter-agent is not 
running. Running /usr/bin/contrail-vrouter-agent manually gives me:

Config file </etc/contrail/contrail-vrouter-agent.conf> parsing completed.
log4cplus:ERROR No appenders could be found for logger (SANDESH).
log4cplus:ERROR Please initialize the log4cplus system properly.
contrail-vrouter-agent: controller/src/base/task.cc:291: virtual tbb::task* 
TaskImpl::execute(): Assertion `0' failed.
Aborted

My other compute node works fine, and the two nodes were configured mostly the 
same, except that the bad node also runs gnocchi in its own venv.

Has anybody seen anything like this, or has suggestions on what might be the 
cause?

Eric Yang
Senior Solutions Architect

[id:image003.jpg@01D1AB68.B3283440]<http://technicacorp.com/>
Technica Corporation
22970 Indian Creek Drive, Suite 500, Dulles, VA 20166
Direct: 703.662.2068<tel:(703)%20662-2068>
Cell: 703.608.0845<tel:(703)%20608-0845>

technicacorp.com<http://technicacorp.com/>


_______________________________________________
Users mailing list
Users@lists.opencontrail.org<mailto:Users@lists.opencontrail.org>
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org



--
Jakub Pavlik
+420 602 177 027
jpav...@mirantis.com<mailto:jpav...@mirantis.com>
_______________________________________________
Users mailing list
Users@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to