Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Itsuro Oda (oda-g)
         Status: New


** Tags: metaplugin

** Tags added: metaplugin

** Changed in: neutron
     Assignee: (unassigned) => Itsuro Oda (oda-g)

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to