On Thu, Jun 5, 2014 at 8:00 AM, Gurucharan Shetty <shet...@nicira.com> wrote:
> On Thu, Jun 5, 2014 at 7:41 AM, Alison Chan <chan7...@kettering.edu> wrote:
>> Hello,
>>
>> I'm trying to write an init script for OpenWrt that will regenerate
>> OpenVswitch configuration every boot based on a uci config file. The
>> first step to this is regenerating it every boot based on some
>> variables in the init script. However, when I add these variables into
>> the init script, it blocks the boot process and never proceeds past
>> the SYS led slow blinking.
>>
>> I've been working with OpenFlow and OVS for a while, but I'm pretty
>> new to OpenWrt and init scripts.
>>
>> Does anyone have any ideas?
> I had a quick glance and I have a couple of comments ( I am not
> familiar with OpenWrt).
>
> 1. ovsdb-server was started with "--remote=db:Open_vSwitch,manager_options "
> I do not know the ovs version that you are using but this option
> wouldn't work with the OVS versions after May 2013.
> You will likely need it to be:
> "--remote=db:Open_vSwitch,Open_vSwitch,manager_options"
>
> 2. Because you say it hangs, one possible explanation is that
> ovsdb-server did not start and all your ovs-vsctl commands are
> blocking.
> Please add a "--timeout=5" option for your ovs-vsctl commands.
Sorry, I meant to say ovs-vswitchd did not start.


>
> A way to debug is to make the startup script not get invoked during
> startup and then run command at a time to see which one is the
> problem.
>>
>> Cheers,
>> --
>> Alison Chan
>> chan7...@kettering.edu
>> SMS: +1 909 278 7753
>> Fax: +1 206 203 2793
>>
>> _______________________________________________
>> discuss mailing list
>> discuss@openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to