← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1367697] [NEW] Fix execution on udevadm program inside neutron agents

 

Public bug reported:

Hi,

inside file ovs_neutron_agent.py and  ofa_neutron_agent.py there is an
absolute path on call udevadm program.

In this case an absolute path is not the best solution because on
different distro path could be different. For example on gentoo distro
udevadm path is /usr/bin/udevadm.

About this there are two solutions:

a) use directly name of the program without absolute path , so in this
case only "udevadm" (Eventually add note that this program must be
present on PATH of the neutron agent/daemon.

b) manage a variable like root_helper , for example udevadm_helper to
permit configuration of the path from configuration file.


Probably solution a could be sufficient in this case.

Thanks
Geaaru

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Fix execution on udevadm program inside neutron agents

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Hi,

  inside file ovs_neutron_agent.py and  ofa_neutron_agent.py there is an
  absolute path on call udevadm program.

  In this case an absolute path is not the best solution because on
  different distro path could be different. For example on gentoo distro
  udevadm path is /usr/bin/udevadm.

  About this there are two solutions:

  a) use directly name of the program without absolute path , so in this
  case only "udevadm" (Eventually add note that this program must be
  present on PATH of the neutron agent/daemon.

  b) manage a variable like root_helper , for example udevadm_helper to
  permit configuration of the path from configuration file.

  
  Probably solution a could be sufficient in this case.

  Thanks
  Geaaru

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


Follow ups

References