← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1773282] [NEW] errors occured when create vpnservice with flavor_id:Flavors plugin not Found

 

Public bug reported:

when i create a vpnservice with flavor_id ,there was one error:Flavors plugin not Found.
Then i found that "Loading plugin:flavors" after "Loading plugin:vpnaas" from the server.log.
So i modified [_get_provider_for_flavor] in the neutron_vpnaas/services/vpn/plugin.py,like this:

  def _get_provider_for_flavor(self, context, flavor_id):
        if flavor_id:
            self._flavors_plugin = directory.get_plugin(constants.FLAVORS)
            if not self._flavors_plugin:
                raise vpn_flavors.FlavorsPluginNotLoaded()
it wokrs!

** 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/1773282

Title:
  errors occured when create vpnservice with flavor_id:Flavors plugin
  not Found

Status in neutron:
  New

Bug description:
  when i create a vpnservice with flavor_id ,there was one error:Flavors plugin not Found.
  Then i found that "Loading plugin:flavors" after "Loading plugin:vpnaas" from the server.log.
  So i modified [_get_provider_for_flavor] in the neutron_vpnaas/services/vpn/plugin.py,like this:

    def _get_provider_for_flavor(self, context, flavor_id):
          if flavor_id:
              self._flavors_plugin = directory.get_plugin(constants.FLAVORS)
              if not self._flavors_plugin:
                  raise vpn_flavors.FlavorsPluginNotLoaded()
  it wokrs!

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


Follow ups