I manually installed OVS version 2.0.2 and 2.1.0 and ran the ovsdb-server in debugging mode. It did not give me any message in gdb about the crash. The error log of /var/log/ovsopenvswitch-agent.log showed the same error in 2 mins now. But the ovs-vsctl show command showed:
ac789883-2266-453d-aef4-1d2682b44e7f
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.1.0"
The ovs-ofctl show br-int showed:
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000cec93765b24b
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 LOCAL(br-int): addr:ce:c9:37:65:b2:4b
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

That is the ovs-* commands are working even though I get this log. But instantiating a new VM fauls with this msg in the nova-scheduler log.

File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1308, in _ovs_vsctl\n raise exception.AgentError(method=full_args)\n', u"AgentError: Error during following call to agent: ['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvo9cedce79-bf', '--', 'add-port', 'br-int', u'qvo9cedce79-bf', '--', 'set', 'Interface', u'qvo9cedce79-bf', u'external-ids:iface-id=9cedce79-bfd6-4fe4-9178-df791d84b716', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:c9:8a:8b', 'external-ids:vm-uuid=01caaad3-589f-406e-aec3-ec5571e30974']\n"]

Thanks,

Priyanka

On 2014-12-19 02:34, Srinivasreddy R wrote:


The other server is compute node (OS ubuntu server 14.04)

I am able to create instance and assign a floating IP to the VM which I
can ping and ssh. But I cannot access internet from the VM.


check the security group rules once .your floating ip should be a public ip
.


ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=10', 'list-ports', 'br-int']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl',
'--timeout=10', 'list-ports', 'br-int']


This may be because your ovsdb-server is getting killed . you can track the
route cause of that .

https://bugs.launchpad.net/neutron/+bug/1296202



unix:/var/run/openvswitch/db.sock: connection attempt failed (Protocol error)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection
failed (Protocol error)\n'

ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Error while
processing VIF ports




_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to