Vignesh, Can you please check if you inserted the vrouter kernel module that you have successfully built.
Follow the steps below: 1-> copy the build vrouter.ko from ~top-vrouter-build-dir/vrouter/vrouter.ko to /lib/modules/`uname -r`/updates/dkms (create updates/dkms if missing). 2-> depmod from /lib/modules/`uname -r` 3-> modprobe vrouter Verify is vrouter kernel module is loaded. >> lsmod |grep vrouter Use vif once above step is successful Thanks Sanju From: Rajagopalan Sivaramakrishnan <[email protected]<mailto:[email protected]>> Date: Monday, September 14, 2015 at 11:31 AM To: Vigneshwaran R <[email protected]<mailto:[email protected]>>, Pedro Marques <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [opencontrail-dev] Error in Contrail-vRouter-Agent Binary Hi Vignesh, Did you step through the "vif" code to see what error you are hitting? Raja From: Vigneshwaran R <[email protected]<mailto:[email protected]>> Date: Monday, September 14, 2015 at 7:33 AM To: Rajagopalan Sivaramakrishnan <[email protected]<mailto:[email protected]>>, Pedro Marques <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [opencontrail-dev] Error in Contrail-vRouter-Agent Binary Hi Rajagopalan/Pedro, We compiled vif binary for powerpc platform and tried to create vhost0 interface using vif --create <i/f> <mac add> command, then when I execute vif --list command it is giving the below error, vif --list Error registering NetLink client: Success (0) How to resolve this error for creating vhost0 interface on my target board which is powerpc. On Sat, Sep 12, 2015 at 11:33 AM, Vigneshwaran R <[email protected]<mailto:[email protected]>> wrote: Okay Raja, Thanks On Fri, Sep 11, 2015 at 11:07 PM, Rajagopalan Sivaramakrishnan <[email protected]<mailto:[email protected]>> wrote: Hi Vignesh, The vhost0 interface is created from startup scripts using the "vif" utility. Please take a look at the "vif -create" and "vif -add" options. Raja From: Vigneshwaran R <[email protected]<mailto:[email protected]>> Date: Thursday, September 10, 2015 at 7:49 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [opencontrail-dev] Error in Contrail-vRouter-Agent Binary Hi All, We have ported contrail-vrouter-agent binary to powerpc. I'm trying to run contrail-vrouter-binary in powerpc board to make board act as compute node for launching VM. I inserted the dataplane component (kernel loadable module), and when running userspace component (contrail-vrouter-binary) it is giving issue.. contrail-vrouter-agent log4cplus:ERROR No appenders could be found for logger (SANDESH). log4cplus:ERROR Please initialize the log4cplus system properly. Error in config file </etc/contrail/contrail-vrouter-agent.conf>. Error parsing vmware_mode from <> Config file </etc/contrail/contrail-vrouter-agent.conf> parsing completed. vim contrail-vrouter-agent.log 2015-09-10 Thu 23:15:47:962.834 UTC t4240rdb [Thread 4154224640, Pid 30515]: Error reading interface <vhost0>. Error number 19 : No such device I Just cross compiled cross compiled both vrouter.ko and contrail-vrouter-agent to powerpc and trying to run.. What should I do to create this vhost0 interface in compute node ?? so that I can make use of this board as an compute node ?? Kindly help me in this ... Thanks, --Vignesh
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
