Maybe you have typos in your generated IPs in the config ?

NETWORKS]
control_network_ip=10.10.10..218
[VIRTUAL-HOST-INTERFACE]
name=vhost0
ip=10.10.10..218/29
gateway=10.10.10..217
Le 18 juin 2015 07:13, "Hari Prasad Killi" <har...@juniper.net> a écrit :

>
>  Hi Dan,
> Please check if contrail-vrouter-agent is already running on this node.
> The error below will be seen in such a case.
>
>  Regards,
> Hari
>
>   From: Dan Houtz <dho...@gmail.com>
> Date: Thursday, June 18, 2015 9:50 AM
> To: "dev@lists.opencontrail.org" <dev@lists.opencontrail.org>
> Subject: [opencontrail-dev] Help getting TSN working on master branch
> install
>
>     Hi,
>
> I'm currently working on bringing up a devstack install using the master
> branch. Basic install went OK but now I am trying to configure TSN and TOR
> agents for use with hardware VTEPs. I've copied the vrouter-agent config
> and tor-agent config from a working 2.1 install however I am having issues
> starting the tsn process:
>
>
> houtz@contrail:~$ /usr/bin/contrail-vrouter-agent
> --config_file=/etc/contrail/contrail-vrouter-agent.conf
> 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.
> contrail-vrouter-agent:
> controller/src/vnsw/agent/contrail/linux/pkt0_interface.cc:52: virtual void
> Pkt0Interface::InitControlInterface(): Assertion `0' failed.
> Aborted (core dumped)
>
>  log reports:
>
> dhoutz@contrail:~$ tail /var/log/contrail/contrail-vrouter-agent.log
> 2015-06-17 Wed 22:09:51:275.163 CDT  contrail [Thread 139967945185216, Pid
> 8338]: Service instance timeout    : 0
> 2015-06-17 Wed 22:09:51:275.182 CDT  contrail [Thread 139967945185216, Pid
> 8338]: Service instance lb ssl     :
> 2015-06-17 Wed 22:09:51:275.202 CDT  contrail [Thread 139967945185216, Pid
> 8338]: Hypervisor mode             : kvm
> 2015-06-17 Wed 22:09:51:275.422 CDT  contrail [Thread 139967945185216, Pid
> 8338]: Ethernet Port Encap Type    :
> 2015-06-17 Wed 22:09:51:275.461 CDT  contrail [Thread 139967945185216, Pid
> 8338]: Platform mode           : Vrouter on host linux kernel
> 2015-06-17 Wed 22:09:51:279.238 CDT  contrail [Thread 139967786997504, Pid
> 8338]: SANDESH: Logging: DISABLED -> ENABLED
> 2015-06-17 Wed 22:09:51:279.641 CDT  contrail [Thread 139967786997504, Pid
> 8338]: SANDESH: Logging: CATEGORY: * -> *
> 2015-06-17 Wed 22:09:51:280.749 CDT  contrail [Thread 139967786997504, Pid
> 8338]: SANDESH: Logging: LEVEL: [ INVALID ] -> [ SYS_DEBUG ] log4level: [
> TRACE ] -> [ DEBUG ]
> 2015-06-17 Wed 22:09:51:289.963 CDT  contrail [Thread 139967786997504, Pid
> 8338]: Path for Docker starter command not specified in the config file,
> the Docker instances won't be started
> 2015-06-17 Wed 22:09:51:290.205 CDT  contrail [Thread 139967786997504, Pid
> 8338]: Packet Tap Error <16: Device or resource busy> creating
> pkt0tap-device
>
> dhoutz@contrail:~$ cat /etc/contrail/contrail-vrouter-agent.conf | grep
> -v "^$" | grep -v "#"
> [CONTROL-NODE]
> [DEFAULT]
> log_file=/var/log/contrail/contrail-vrouter-agent.log
> log_level=SYS_DEBUG
> log_local=1
> agent_mode = tsn
> [DISCOVERY]
> server=10.10.10..218
> max_control_nodes=1
> [DNS]
> [HYPERVISOR]
> type=kvm
> [FLOWS]
> [METADATA]
> [NETWORKS]
> control_network_ip=10.10.10..218
> [VIRTUAL-HOST-INTERFACE]
> name=vhost0
> ip=10.10.10..218/29
> gateway=10.10.10..217
> physical_interface=em1
> [SERVICE-INSTANCE]
> netns_command=/usr/bin/opencontrail-vrouter-netns
>
>
>  I currently have a pkt0 interface that contrail created though the fact
> that I can't even delete it is probably related:
>
> dhoutz@contrail:~/.ssh/contrail-installer$ ifconfig pkt0
> pkt0      Link encap:Ethernet  HWaddr 46:6a:0e:55:a0:06
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:465 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:32550 (32.5 KB)  TX bytes:912 (912.0 B)
>
> dhoutz@contrail:~/.ssh/contrail-installer$ tunctl -d pkt0
> TUNSETIFF: Device or resource busy
>
>
>  Anyone have any pointers on getting tsn up and running?
>
>  Thanks!
>  Dan
>
> _______________________________________________
> Dev mailing list
> Dev@lists.opencontrail.org
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
>
>
_______________________________________________
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to