Re: [ovs-discuss] Receiving a bridge error from devstack

2017-06-22 Thread Ben Pfaff
Usually this means that some error prevented ovs-vswitchd from actually
creating what the database configured.  It can also mean that
ovs-vswitchd is not running.  Check the ovs-vswitchd log for more
information.

On Thu, Jun 22, 2017 at 09:58:32AM +, Ali Volkan Atli wrote:
> 
> Hi all
> 
> I met an issue about devstack with openvswitch using ./stack.sh script. In 
> the log below, it says br-ex and br-int is not a bridge but when I check 
> ovs-vsctl, the bridges are exist. How can this happen?
> 
> Thanks in advance
> 
> - Volkan
> 
> ./stack.sh log
> 
> 2017-06-22 09:20:26.795 | + ./stack.sh:main:1233 :   
> /usr/local/bin/nova-manage --config-file /etc/nova/nova.conf network create 
> private 10.7.7.0/24 1 256
> 2017-06-22 09:20:29.913 | ERROR: Network commands are not supported when 
> using the Neutron API.  Use python-neutronclient instead.
> 2017-06-22 09:20:30.013 | ++ ./stack.sh:main:1233 :   
> err_trap
> 2017-06-22 09:20:30.017 | ++ ./stack.sh:err_trap:504  :   
> local r=2
> 2017-06-22 09:20:30.021 | stack.sh failed: full log in 
> /opt/stack/logs/stack.sh.log.2017-06-22-120812
> 2017-06-22 09:20:30.024 | Error on exit
> 2017-06-22 09:20:30.685 | ovs-ofctl: br-ex is not a bridge or a socket
> 2017-06-22 09:20:30.722 | ovs-ofctl: br-int is not a bridge or a socket
> 2017-06-22 09:20:30.735 | ovs-ofctl: br-ex is not a bridge or a socket
> 2017-06-22 09:20:30.743 | ovs-ofctl: br-int is not a bridge or a socket
> 2017-06-22 09:20:30.762 | ovs-ofctl: br-ex is not a bridge or a socket
> 2017-06-22 09:20:30.778 | ovs-ofctl: br-int is not a bridge or a socket
> 2017-06-22 09:20:30.804 | ovs-ofctl: br-ex is not a bridge or a socket
> 2017-06-22 09:20:30.814 | ovs-ofctl: br-int is not a bridge or a socket
> 
> 
> stack@of-sw:~/workspace/devstack$ sudo ovs-vsctl show
> 10a3e1a0-80c5-4d16-9a02-92f98f22761e
> Bridge br-int
> Port br-int
> Interface br-int
> type: internal
> Bridge br-ex
> Port br-ex
> Interface br-ex
> type: internal
> 
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Receiving a bridge error from devstack

2017-06-22 Thread Ali Volkan Atli

Hi all

I met an issue about devstack with openvswitch using ./stack.sh script. In the 
log below, it says br-ex and br-int is not a bridge but when I check ovs-vsctl, 
the bridges are exist. How can this happen?

Thanks in advance

- Volkan

./stack.sh log

2017-06-22 09:20:26.795 | + ./stack.sh:main:1233 :   
/usr/local/bin/nova-manage --config-file /etc/nova/nova.conf network create 
private 10.7.7.0/24 1 256
2017-06-22 09:20:29.913 | ERROR: Network commands are not supported when using 
the Neutron API.  Use python-neutronclient instead.
2017-06-22 09:20:30.013 | ++ ./stack.sh:main:1233 :   
err_trap
2017-06-22 09:20:30.017 | ++ ./stack.sh:err_trap:504  :   local 
r=2
2017-06-22 09:20:30.021 | stack.sh failed: full log in 
/opt/stack/logs/stack.sh.log.2017-06-22-120812
2017-06-22 09:20:30.024 | Error on exit
2017-06-22 09:20:30.685 | ovs-ofctl: br-ex is not a bridge or a socket
2017-06-22 09:20:30.722 | ovs-ofctl: br-int is not a bridge or a socket
2017-06-22 09:20:30.735 | ovs-ofctl: br-ex is not a bridge or a socket
2017-06-22 09:20:30.743 | ovs-ofctl: br-int is not a bridge or a socket
2017-06-22 09:20:30.762 | ovs-ofctl: br-ex is not a bridge or a socket
2017-06-22 09:20:30.778 | ovs-ofctl: br-int is not a bridge or a socket
2017-06-22 09:20:30.804 | ovs-ofctl: br-ex is not a bridge or a socket
2017-06-22 09:20:30.814 | ovs-ofctl: br-int is not a bridge or a socket


stack@of-sw:~/workspace/devstack$ sudo ovs-vsctl show
10a3e1a0-80c5-4d16-9a02-92f98f22761e
Bridge br-int
Port br-int
Interface br-int
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss