← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1561152] [NEW] neutron-sanity-check generates invalid bridge names

 

Public bug reported:

Instead of using neutron.tests.base.get_rand_device_name(), sanity check
tests have been generating their own prefix name and appending a random
string with utils.get_rand_name(). Many of the strings generated were
too long to be device names, so ovs-vswitchd would fail to create the
devices.

For example:

2016-03-18T05:40:41.950Z|07166|dpif|WARN|system@ovs-system: failed to query port patchtest-b76adc: Invalid argument
2016-03-18T05:40:41.950Z|07167|dpif|WARN|system@ovs-system: failed to add patchtest-b76adc as port: Invalid argument

** Affects: neutron
     Importance: Undecided
     Assignee: Terry Wilson (otherwiseguy)
         Status: In Progress

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

Title:
  neutron-sanity-check generates invalid bridge names

Status in neutron:
  In Progress

Bug description:
  Instead of using neutron.tests.base.get_rand_device_name(), sanity
  check tests have been generating their own prefix name and appending a
  random string with utils.get_rand_name(). Many of the strings
  generated were too long to be device names, so ovs-vswitchd would fail
  to create the devices.

  For example:

  2016-03-18T05:40:41.950Z|07166|dpif|WARN|system@ovs-system: failed to query port patchtest-b76adc: Invalid argument
  2016-03-18T05:40:41.950Z|07167|dpif|WARN|system@ovs-system: failed to add patchtest-b76adc as port: Invalid argument

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


Follow ups