Issue on instance network (neutron flat network)

asked 2014-03-27 05:51:54 -0500

asekaran gravatar image

updated 2014-03-27 16:37:57 -0500

smaffulli gravatar image

We have created one controller, compute & neutron node. Configured with neutron single flat network, I'm able to create the instances from WEB console. But instance OS is not able to get ipaddress from DHCP scope and also if i assign manually it is not reachable outside.

hostname : controller (10.37.39.38)
               : compute1 (10.37.39.76)
               : neutron (10.37.39.40)

Below some of logs:-

Compute node logs

openvswitch-agent.log-

2014-03-27 15:47:20.288 13522 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-ofctl', 'add-flow', 'br-eth1', 'hard_timeout=0,idle_timeout=0,priority=4,in_port=3,dl_vlan=2,actions=strip_vlan,normal']. Exception: 
Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'add-flow', 'br-eth1', 'hard_timeout=0,idle_timeout=0,priority=4,in_port=3,dl_vlan=2,actions=strip_vlan,normal']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: br-eth1 is not a bridge or a socket\n'
2014-03-27 15:47:42.224 13522 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-ofctl', 'del-flows', 'br-eth1', 'in_port=3,dl_vlan=2']. Exception: 
Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'del-flows', 'br-eth1', 'in_port=3,dl_vlan=2']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: br-eth1 is not a bridge or a socket\n'

ovs-vswitchd.log-

2014-03-27T10:21:58Z|00069|netdev_linux|WARN|ethtool command ETHTOOL_GFLAGS on network device tapdd2e3942-e1 failed: No such device
2014-03-27T10:21:58Z|00070|netdev_linux|WARN|ethtool command ETHTOOL_GFLAGS on network device tap73f0c572-da failed: No such device
2014-03-27T10:21:58Z|00071|netdev_linux|WARN|ethtool command ETHTOOL_GFLAGS on network device tap3fd13794-33 failed: No such device
2014-03-27T10:21:58Z|00072|netdev_linux|WARN|ethtool command ETHTOOL_GFLAGS on network device tap82f2e500-ab failed: No such device
2014-03-27T10:21:58Z|00073|netdev_linux|WARN|ethtool command ETHTOOL_GFLAGS on network device tapec6cb69f-4d failed: No such device
2014-03-27T10:21:58Z|00074|dpif|WARN|Dropped 6 log messages in last 0 seconds (most recently, 0 seconds ago) due to excessive rate
2014-03-27T10:21:58Z|00075|dpif|WARN|system@ovs-system: failed to add tapec6cb69f-4d as port: No such device
2014-03-27T10:21:58Z|00076|netdev_linux|WARN|ethtool command ETHTOOL_GFLAGS on network device tapd50d38a4-c8 failed: No such device
2014-03-27T10:22:08Z|00077|ofproto|INFO|br-eth01: 1 flow_mods 10 s ago (1 adds)
2014-03-27T10:22:08Z|00078|ofproto|INFO|br-int: 2 flow_mods 10 s ago (1 adds, 1 deletes)

Neutron server logs

dhcp-agent.log-

 2014-03-27 15:48:22.458 15038 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver

l3-agent.log-

2014-03-27 15:49:03.992 15819 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-03-27 15:49:03.992 15819 ERROR neutron.agent.l3_agent [-] An interface driver must be specified
2014-03-27 15:49:04.402 15832 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-03-27 15:49:04.403 15832 ERROR neutron.agent.l3_agent [-] An interface driver must be specified
2014-03-27 15:49:04.815 15840 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-03-27 15:49:04.815 15840 ERROR neutron.agent.l3_agent [-] An interface driver must be specified
2014-03-27 15:49:05.229 15848 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver ...
(more)
edit retag flag offensive close merge delete

Comments

I tried this and ended up giving up and using nova-network. Some discussion at a recent conference led me to believe that I wasn't alone in this experience. Someone mentioned that there are some reasons why nova-network is still being used, and this may be one of them. YMMV!

tudor gravatar imagetudor ( 2014-03-27 18:56:08 -0500 )edit

i'm also stuck by this problem ......

junneyang gravatar imagejunneyang ( 2015-05-21 03:39:21 -0500 )edit