[ovs-discuss] Difference seen in OVSDB initialization with & without DPDK

Shankari Vaidyalingam shankari.v.2014 at gmail.com
Tue Jan 6 18:56:17 UTC 2015


Also to add to the below mail which I'd sent pls find below the output of
starting OVS with the debugs enabled:

controller at controller-Latitude-E5440:~/PoC/LLDP/software/openvswitch-2.3.1$
sudo ovs-vsctl --no-wait --verbose init[sudo] password for controller:

2015-01-06T18:51:12Z|00002|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
entering BACKOFF
2015-01-06T18:51:12Z|00003|hmap|DBG|lib/shash.c:112: 6 nodes in bucket (16
nodes, 8 buckets)
 I'm executing here 226
 Can proceed further
 About to connect to the dataabase 239
 ovsdb_idl_is_alive(idl) = 1
 ==== Entering the database section =====
 DBG: s->pstream is NULL
 DBG: s->stream is non NULL
2015-01-06T18:51:12Z|00004|stream_unix|DBG|/usr/local/var/run/openvswitch/db.sock:
connection failed (Connection refused)
2015-01-06T18:51:12Z|00005|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
connecting...
2015-01-06T18:51:12Z|00006|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
entering CONNECTING
2015-01-06T18:51:12Z|00007|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
connection attempt failed (Connection refused)
2015-01-06T18:51:12Z|00008|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
waiting 2.15e+06 seconds before reconnect
2015-01-06T18:51:12Z|00009|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
entering BACKOFF
ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection
failed (Connection refused)
 DBG: Trying to
reconnectcontroller at controller-Latitude-E5440:~/PoC/LLDP/software/openvswitch-2.3.1$
ps -Af | grep ovsdb-server
root       962     1  0 Jan03 ?        00:00:00 ovsdb-server: monitoring
pid 963
(healthy)

root       963   962  0 Jan03 ?        00:00:00 ovsdb-server
/etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info
--remote=punix:/var/run/openvswitch/db.sock
--private-key=db:Open_vSwitch,SSL,private_key
--certificate=db:Open_vSwitch,SSL,certificate
--bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir
--log-file=/var/log/openvswitch/ovsdb-server.log
--pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
control+ 22079  4381  0 00:21 pts/1    00:00:00 grep --color=auto
ovsdb-server


Regards
Shankari.V

On Wed, Jan 7, 2015 at 12:16 AM, Shankari Vaidyalingam <
shankari.v.2014 at gmail.com> wrote:

> Hi
>
> The excerpt below was due to a wrong copy paste of the commands at the
> command prompt which gave the error message: "No such file or directory".
>
> The error which I had mentioned in my previous message was:
>
> controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo ovsdb-tool
> create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
> controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo
> ovsdb-server /usr/local/etc/openvswitch/conf.db
> --remote=punix:/usr/local/var/run/openvswitch/db.sock
> --remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile --detach
> --log-file
> 2015-01-05T07:11:19Z|00001|vlog|INFO|opened log file
> /usr/local/var/log/openvswitch/ovsdb-server.log
>
>
>
> controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo ovs-vsctl
> --no-wait init
>
>  I'm executing here 226
>  Can proceed further
>  About to connect to the dataabase 239
>  ovsdb_idl_is_alive(idl) = 1
>  ==== Entering the database section =====
>  DBG: s->pstream is NULL
>  DBG: s->stream is non NULL
> ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database
> connection failed (Connection refused)
>
> Regards
> Shankari.V
>
> On Tue, Jan 6, 2015 at 10:27 PM, Ben Pfaff <blp at nicira.com> wrote:
>
>> Here's an excerpt from your "with DPDK" log. It looks like you typoed
>> a command and therefore ovsdb-server didn't start.
>>
>> controller at controller-Latitude-E5440:~openvswitch-2.3.1$
>> controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo
>> ovsdb-server /usr/local/etc/openvswitch/conf.db
>> --remote=punix:/usr/local/var/run/openvswitch/db.sock
>> --remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile
>> --detach --log-file
>> bash: controller at controller-Latitude-E5440:~openvswitch-2.3.1$: No
>> such file or directory
>>
>> On Mon, Jan 5, 2015 at 4:11 PM, Shankari Vaidyalingam
>> <shankari.v.2014 at gmail.com> wrote:
>> > Hi,
>> >
>> > I tried executing the steps for initializing the OVSDB-server and the
>> OVS
>> > given in the below link:
>> >
>> >
>> networkstatic.net/installing-and-configuring-openvswitch-on-ubuntu-12-04-precise-pangolin/
>> >
>> > I'm using Ubuntu Trusty tahr, OVS version 2.3.1
>> >
>> > I was able to get the OVS working for the build which I compiled without
>> > DPDK.
>> > But with DPDK_BUILD configured in the Makefile the build produced
>> "Database
>> > connection refused" error and the OVS was not getting started because of
>> > this error. Kindly help me in resolving this issue.
>> >
>> > Enclosed the logs separately for "without DPDK" build and for "With
>> DPDK"
>> > build
>> >
>> > Regards,
>> > Shankari.V
>> >
>> > _______________________________________________
>> > discuss mailing list
>> > discuss at openvswitch.org
>> > http://openvswitch.org/mailman/listinfo/discuss
>> >
>>
>>
>>
>> --
>> "I don't normally do acked-by's.  I think it's my way of avoiding
>> getting blamed when it all blows up."               Andrew Morton
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150107/73df1b7a/attachment-0002.html>


More information about the discuss mailing list