You may ignore those errors. "service supervisor-vrouter start/restart/stop" to start/restart/stop the group of services. "supervisorctl -s unix:///tmp/supervisord_vrouter.sock <command>" to manage details.
Is vrouter actually working? Thanks! Tony > -----Original Message----- > From: Ludovic Hazard [mailto:[email protected]] > Sent: Tuesday, January 19, 2016 1:51 AM > To: [email protected] > Cc: Alain Siles <[email protected]>; Antoine Sibout <[email protected]>; > Alfredo Mendoza <[email protected]>; Michael Henkel <[email protected]>; > Nasser Momtaheni <[email protected]>; Pedro Marques <[email protected]>; Tao Liu > <[email protected]> > Subject: RE: opencontrail vrouter on P8 > > Hi, > > I am working on compiling and installing opencontrail on power 8 with ubuntu > 14.04. > > The vrouter mod is enabled: > > > > -- > > root@p8kvmbis:~/sandbox# lsmod | grep vrouter > > vrouter 328681 0 > > root@p8kvmbis:~/sandbox# > > -- > > > > vhost0 interface is enabled with this configuration: > > > > -- > > root@p8kvmbis:~/sandbox# more /etc/network/interfaces > > # This file describes the network interfaces available on your system > > # and how to activate them. For more information, see interfaces(5). > > > > # The loopback network interface > > auto lo > > iface lo inet loopback > > > > # The primary network interface > > > > auto eth0 > > iface eth0 inet manual > > > > auto vhost0 > > iface vhost0 inet static > > pre-up /etc/contrail/if-vhost0 > > address 192.168.60.6 > > netmask 255.255.255.0 > > network 192.168.60.0 > > broadcast 192.168.60.255 > > gateway 192.168.60.1 > > # dns-* options are implemented by the resolvconf package, if > installed > > dns-nameservers 192.168.100.128 192.168.100.129 > > dns-search qfabric.ibm.com > > -- > > > > the contrail-vrouter-agent has been setup and installed successfully: > > > > -- > > root@p8kvmbis:~/sandbox# scons agent:contrail-vrouter-agent > > scons: Reading SConscript files ... > > scons: done reading SConscript files. > > scons: Building targets ... > > scons: `agent:contrail-vrouter-agent' is up to date. > > scons: done building targets. > > root@p8kvmbis:~/sandbox# > > root@p8kvmbis:~/sandbox# scons install agent:contrail-vrouter-agent > > Using /usr/lib/python2.7/dist-packages > > Searching for jsonpointer==1.0 > > Best match: jsonpointer 1.0 > > jsonpointer 1.0 is already the active version in easy-install.pth > > > > Using /usr/lib/python2.7/dist-packages > > Finished processing dependencies for nova-contrail-vif==0.1 > > scons: `agent:contrail-vrouter-agent' is up to date. > > scons: done building targets. > > root@p8kvmbis:~/sandbox# > > -- > > > vhost0 interface is ok. I need know to start contrail-vrouter-agent. > > I have copied contrail-vrouter-agent to /usr/bin from > /sandbox/build/production/vnsw/agent/contrail/ > > I use this command to start supervisor: > > /usr/bin/python /usr/bin/supervisord --nodaemon -c > /etc/contrail/supervisord_vrouter.conf > > and this script under /etc/init.d to start contrail-vrouter-agent: > > -- > root@p8kvmbis:~/sandbox# more /etc/init.d/contrail-vrouter-agent > #!/usr/bin/env bash > > # chkconfig: 2345 11 01 > # description: Juniper Network Virtualization service offering > > supervisorctl -s unix:///tmp/supervisord_vrouter.sock ${1} `basename ${0}` > root@p8kvmbis:~/sandbox# > -- > > When starting the contrail-vrouter-agent service I get the follwing error in > /var/log/contrail/contrail-vrouter-agent-stdout.log: > > -- > ... > log4cplus:ERROR No appenders could be found for logger (SANDESH). > log4cplus:ERROR Please initialize the log4cplus system properly. > 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. > 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. > Config file </etc/contrail/contrail-vrouter-agent.conf> parsing completed. > ... > -- > > Could anyone support me to resolve this log4cplus issue? > > Many thanks for your support. > > -- > Ludovic HAZARD > _______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
