[ovs-git] Open vSwitch: ovs-vsctl: /var/run/ovs-vswitchd.*.ctl is a Unix domain socket (master)

dev at openvswitch.org dev at openvswitch.org
Tue Sep 15 16:27:32 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  9d6122026ba5bdd3e6a911699be79c821b6a348c (commit)
       via  8e58fa9a792f8853f17588719205da2a76355f2b (commit)
      from  fe6b0e03f63cb2f89afbee631479622439863721 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9d6122026ba5bdd3e6a911699be79c821b6a348c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9d6122026ba5bdd3e6a911699be79c821b6a348c
Author: Ian Campbell <Ian.Campbell at citrix.com>
		
ovs-vsctl: /var/run/ovs-vswitchd.*.ctl is a Unix domain socket
		
Currently ov-vsctl tries to treat /var/run/ovs-vswitchd.*.ctl as a
file/pipe when it is actually a Unix domain socket:

        # ovs-vsctl add-br TEST
        Traceback (most recent call last):
          File "/usr/bin/ovs-vsctl", line 498, in ?
            main()
          File "/usr/bin/ovs-vsctl", line 493, in main
            function(*args)
          File "/usr/bin/ovs-vsctl", line 345, in cmd_add_br
            cfg_save(cfg, VSWITCHD_CONF)
          File "/usr/bin/ovs-vsctl", line 142, in cfg_save
            cfg_reload()
          File "/usr/bin/ovs-vsctl", line 126, in cfg_reload
            f = open(target, "r+")
        IOError: [Errno 6] No such device or address: ' '
        # ls -l /var/run/ovs-vswitchd.4173.ctl
        srw------- 1 root root 0 Sep 14 12:25 /var/run/ovs-vswitchd.4173.ctl

>From strace:
        open("/var/run/ovs-vswitchd.4173.ctl", O_RDWR|O_LARGEFILE) = -1 ENXIO (No such device or address)


commit 8e58fa9a792f8853f17588719205da2a76355f2b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8e58fa9a792f8853f17588719205da2a76355f2b
Author: Ben Pfaff <blp at nicira.com>
		
ovs-vsctl: Add test suite, documentation for br-to-vlan, br-to-parent.
		
CC: Ian Campbell <Ian.Campbell at citrix.com>


-----------------------------------------------------------------------

Summary of changes:
 tests/ovs-vsctl.at       |   54 +++++++++++++++++++++++++++++----------------
 utilities/ovs-vsctl.8.in |    8 ++++++
 utilities/ovs-vsctl.in   |    5 +++-
 3 files changed, 47 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list