[ovs-discuss] Using ovsdb-client transaction capability

Jereme Lamps lamps1 at illinois.edu
Sat Feb 16 01:09:35 UTC 2013


Is there like a basic transact json I can run as a sanity check just to see
if a basic one goes through??

On Fri, Feb 15, 2013 at 7:00 PM, Jereme Lamps <lamps1 at illinois.edu> wrote:

> Running strace over the command does not output anything either :(
>
>
> On Fri, Feb 15, 2013 at 6:40 PM, Ben Pfaff <blp at nicira.com> wrote:
>
>> Maybe it's trying to connect to a database socket that isn't there?
>> Try "strace".
>>
>> On Fri, Feb 15, 2013 at 06:37:58PM -0600, Jereme Lamps wrote:
>> > Dang. I tried it on my setup at home and its the same thing. It freezes
>> > when I run
>> > 'sudo ovsdb-client -v transact [...]'
>> > It appears that the json is never even being sent, because I have the
>> > server on verbose, and /var/log/syslog is not reporting receiving
>> anything
>> > except for its' timed wakeups.
>> >
>> > On Fri, Feb 15, 2013 at 5:09 PM, Ben Pfaff <blp at nicira.com> wrote:
>> >
>> > > That doesn't make any sense to me.  Sorry, I don't know what to tell
>> > > you.
>> > >
>> > > On Fri, Feb 15, 2013 at 04:03:17PM -0700, Jereme Lamps wrote:
>> > > > And -v did not output anything.
>> > > >
>> > > > On Fri, Feb 15, 2013 at 4:01 PM, Jereme Lamps <lamps1 at illinois.edu>
>> > > wrote:
>> > > >
>> > > > > Okay, I ran sudo ovsdb-client -v transact [...]
>> > > > > and it is not hanging now, but after if completes I run
>> > > > > sudo ovsdb-client dump
>> > > > > and nothing is changed, all the tables are still empty...
>> > > > >
>> > > > >
>> > > > > On Fri, Feb 15, 2013 at 3:53 PM, Ben Pfaff <blp at nicira.com>
>> wrote:
>> > > > >
>> > > > >> On Fri, Feb 15, 2013 at 03:49:19PM -0700, Jereme Lamps wrote:
>> > > > >> > You can see the transact request that is sent. When I try to
>> run:
>> > > > >> > sudo ovsdb-client transact [...]
>> > > > >> > It just hangs.
>> > > > >>
>> > > > >> If you use -v, what do you see?
>> > > > >>
>> > > > >> > Would I need to generate my own uuid somehow?
>> > > > >>
>> > > > >> No.
>> > > > >>
>> > > > >> > Also, do i need to append ',id=some_number' to the end of the
>> > > > >> > command?
>> > > > >>
>> > > > >> No.
>> > > > >>
>> > > > >
>> > > > >
>> > >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130215/530c14c3/attachment.html>


More information about the discuss mailing list