[openstack-dev] [networking-ovs-dpdk] ovs-appctl doesn't function correctly

Hui Xiang hui.xiang at canonical.com
Mon Nov 16 11:39:25 UTC 2015


That is helpful, thanks Sean !

On Mon, Nov 16, 2015 at 7:12 PM, Mooney, Sean K <sean.k.mooney at intel.com>
wrote:

> To use the ovs-appctl application you have to specify the socket path to
> the ovs-vswitchd process.
>
> ovs-appctl -t /var/run/openvswitch/<vswitchd control socket> list-commands
>
> e.g.
>
> ovs-appctl -t /var/run/openvswitch/ovs-vswitchd.10110.ctl list-commands
>
>
>
>
>
>
>
> *From:* Hui Xiang [mailto:hui.xiang at canonical.com]
> *Sent:* Monday, November 16, 2015 10:01 AM
> *To:* OpenStack Development Mailing List (not for usage questions)
> *Subject:* [openstack-dev] [networking-ovs-dpdk] ovs-appctl doesn't
> function correctly
>
>
>
> Hi all,
>
>
>
>   I have managed to setup ovs-dpdk on Ubuntu, commands
> 'ovs-vsctl/ovs-ofctl' all work well excep 'ovs-appctl', could anyone help
> me to figure it out? Thanks in advance.
>
>
>
>
>
> xianghui at xianghui:~$ sudo ovs-ofctl show br-int
>
> OFPT_FEATURES_REPLY (xid=0x2): dpid:0000264fa4e1f24f
>
> n_tables:254, n_buffers:256
>
> capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
>
> actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src
> mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
>
>  1(int-br-eth1): addr:2e:23:93:7f:54:14
>
>      config:     0
>
>      state:      0
>
>      speed: 0 Mbps now, 0 Mbps max
>
>  2(tap7a2317aa-90): addr:0c:52:ff:7f:00:00
>
>      config:     PORT_DOWN
>
>      state:      LINK_DOWN
>
>      speed: 0 Mbps now, 0 Mbps max
>
>  12(vhu5392206b-dc): addr:00:00:00:00:00:00
>
>      config:     PORT_DOWN
>
>      state:      LINK_DOWN
>
>      speed: 0 Mbps now, 0 Mbps max
>
>  LOCAL(br-int): addr:26:4f:a4:e1:f2:4f
>
>      config:     PORT_DOWN
>
>      state:      LINK_DOWN
>
>      current:    10MB-FD COPPER
>
>      speed: 10 Mbps now, 0 Mbps max
>
> OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
>
>
>
> xianghui at xianghui:~$ sudo ovs-appctl vlog/set dbg
>
> 2015-11-16T09:50:28Z|00001|daemon_unix|WARN|/var/run/openvswitch/ovs-vswitchd.pid:
> open: No such file or directory
>
> ovs-appctl: cannot read pidfile "/var/run/openvswitch/ovs-vswitchd.pid"
> (No such file or directory)
>
>
>
> Also tried as below, failed as well.
>
>
>
> xianghui at xianghui:~$ sudo ovs-appctl -t /opt/stack/logs/ovs-vswitchd.pid
> vlog/set dbg
>
> 2015-11-16T09:58:15Z|00001|unixctl|WARN|failed to connect to
> /opt/stack/logs/ovs-vswitchd.pid
>
> ovs-appctl: cannot connect to "/opt/stack/logs/ovs-vswitchd.pid"
> (Connection refused)
>
> xianghui at xianghui:~$ sudo ovs-appctl -t /var/run/openvswitch/db.sock
> vlog/set dbg
>
> unknown methodovs-appctl: /var/run/openvswitch/db.sock: server returned an
> error
>
>
>
>
>
>
>
> --
>
> Best Regards.
>
> Hui.
>
>
>
> OpenStack Engineer
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Best Regards.
Hui.

OpenStack Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151116/ce538700/attachment.html>


More information about the OpenStack-dev mailing list