← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1187748] Re: Quantum plugin extension can not load

 

I think one workaround is to use absolute path in api_extensions_path
option.

** Changed in: quantum
       Status: Incomplete => Confirmed

** Changed in: quantum
       Status: Confirmed => Opinion

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

Title:
  Quantum plugin extension can not load

Status in OpenStack Quantum (virtual network service):
  Opinion

Bug description:
  I want to load the NVP plugin, so I configure " api_extensions_path =
  quantum/plugins/nicira/nicira_nvp_plugin/extensions“ in  the file
  "quantum.conf".  But the module cannot be loaded because of the
  incorrect path。

  I find the codes in the file ”extensions.py“.

  def get_extensions_path():
      paths = ':'.join(quantum.extensions.__path__)
      
      if cfg.CONF.api_extensions_path:
          paths = ':'.join([ cfg.CONF.api_extensions_path, paths])
     
      return paths

  I think a prefix shoud be added to the "cfg.CONF.api_extensions_path",
  such as "quantum.__path__".

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