← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1545058] Re: ovs agent Runtime error when checking int_if_name type for the first time

 

Reviewed:  https://review.openstack.org/281498
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=87d337074066692d33197c4caa74333935bca537
Submitter: Jenkins
Branch:    master

commit 87d337074066692d33197c4caa74333935bca537
Author: Ritesh Anand <ritesh.anand@xxxxxxx>
Date:   Wed Feb 17 07:48:07 2016 -0800

    Avoids logging error on ML2 OVS agent start
    
    On agent start, we check the interface type to cleanup ports of
    wrong type if any. We should not log error on not finding db entry
    for interface type, because the interface and hence the db entry
    may not exist yet.
    
    Change-Id: Ie619a7fd141fbaa92d39b73f77e5c8c1efc8ec48
    Closes-Bug: #1545058


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1545058

Title:
  ovs agent Runtime error when checking int_if_name type for the first
  time

Status in neutron:
  Fix Released

Bug description:
  When ovs agent starts for the first time I get

  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl [req-38d5137d-054e-4a60-ac14-3b4d62cfa0da - - - - -] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=type', 'list', 'Interface', 'int-br-public'].
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl Traceback (most recent call last):
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl   File "/usr/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl     log_fail_as_error=False).rstrip()
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl     raise RuntimeError(m)
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl RuntimeError:
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=type', 'list', 'Interface', 'int-br-public']
  2016-02-11 18:49:15.778 12566 ERROR neutron.agent.ovsdb.impl_vsctl Exit code: 1

  since int-br-public doesn't exists yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1545058/+subscriptions


References