← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1354285] Re: L3-agent using MetaInterfaceDriver failed

 

** Changed in: neutron
       Status: Fix Committed => 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/1354285

Title:
  L3-agent using MetaInterfaceDriver failed

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  MetaInterfaceDriver communicates with neutron-server using REST API.
  If a user intend to use internalurl for neutron-server endpoint, MataInterfaceDriver fails.
  This is because MetaInterfaceDriver does not specify endpoint_type. Thus it assumes using publicurl.
  ---
  class MetaInterfaceDriver(LinuxInterfaceDriver):
      def __init__(self, conf):
          super(MetaInterfaceDriver, self).__init__(conf)
          from neutronclient.v2_0 import client
          self.neutron = client.Client(
              username=self.conf.admin_user,
              password=self.conf.admin_password,
              tenant_name=self.conf.admin_tenant_name,
              auth_url=self.conf.auth_url,
              auth_strategy=self.conf.auth_strategy,
              region_name=self.conf.auth_region
          )
  ---

  Note that MetaInterfaceDriver is used with Metaplugin only.

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


References