neutron client couldn't load l2_gateway module

Bug #1599043 reported by Antonio Ojea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

when using the neutron client in mitaka it works but throws the following exception

root@controller:/var/log/neutron# neutron ext-list
Could not load 'l2_gateway': No module named networking_l2gw.l2gatewayclient.l2gw_client_ext
No module named networking_l2gw.l2gatewayclient.l2gw_client_ext
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 163, in _load_plugins
    verify_requirements,
  File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 184, in _load_one_plugin
    plugin = ep.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/midonet/neutronclient/l2gateway_extension/_l2_gateway.py", line 18, in <module>
    from networking_l2gw.l2gatewayclient.l2gw_client_ext import _l2_gateway
ImportError: No module named networking_l2gw.l2gatewayclient.l2gw_client_ext
+---------------------------+-----------------------------------------------+
| alias | name |
+---------------------------+-----------------------------------------------+
| agent-membership | Midonet Agent Membership Extension |
| network-ip-availability | Network IP Availability |
| auto-allocated-topology | Auto Allocated Topology Services |
| ext-gw-mode | Neutron L3 Configurable external gateway mode |
| timestamp_core | Time Stamp Fields addition for core resources |
| agent | agent |
| subnet_allocation | Subnet Allocation |
| dhcp_agent_scheduler | DHCP Agent Scheduler |
| tag | Tag support |
| external-net | Neutron external network |
| fwaasrouterinsertion | Firewall Router insertion |
| quotas | Quota management support |
| provider | Provider Network |
| lbaas | LoadBalancing service |
| extraroute | Neutron Extra Route |
| binding | Port Binding |
| lbaas_agent_scheduler | Loadbalancer Agent Scheduler |
| fwaas | Firewall service |
| router | Neutron L3 Router |
| extra_dhcp_opt | Neutron Extra DHCP opts |
| service-type | Neutron Service Type Management |
| security-group | security-group |
| rbac-policies | RBAC Policies |
| standard-attr-description | standard-attr-description |
| port-security | Port Security |
| allowed-address-pairs | Allowed Address Pairs |
+---------------------------+-----------------------------------------------+

Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 3.0.0
status: New → In Progress
tags: added: mitaka-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-midonet (master)

Fix proposed to branch: master
Review: https://review.openstack.org/337493

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/337493
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=748c4ec756d054cba3b534026f324198f869e897
Submitter: Jenkins
Branch: master

commit 748c4ec756d054cba3b534026f324198f869e897
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Jul 5 16:14:53 2016 +0900

    Disable l2gw cli extension

    Disable our variant of l2gw cli extension for now because:

    - It needs networking-l2gw installed, but we don't want to make it
      a hard requirement right now

    - It uses the duplicated entry ("l2_gateway") as the one provided by
      networking-l2gw project

    Closes-Bug: #1599043
    Related-Bug: #1580566
    Change-Id: Ia6d40a8f66adc649c5d85828fb371f07f2e72199

Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-midonet (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/348789

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (stable/mitaka)

Reviewed: https://review.openstack.org/348789
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=aee8c149fd299914d13ae78a59ff7cd863bda365
Submitter: Jenkins
Branch: stable/mitaka

commit aee8c149fd299914d13ae78a59ff7cd863bda365
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Jul 5 16:14:53 2016 +0900

    Disable l2gw cli extension

    Disable our variant of l2gw cli extension for now because:

    - It needs networking-l2gw installed, but we don't want to make it
      a hard requirement right now

    - It uses the duplicated entry ("l2_gateway") as the one provided by
      networking-l2gw project

    Closes-Bug: #1599043
    Related-Bug: #1580566
    Change-Id: Ia6d40a8f66adc649c5d85828fb371f07f2e72199

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/networking-midonet 2.1.0

This issue was fixed in the openstack/networking-midonet 2.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-midonet 3.0.0

This issue was fixed in the openstack/networking-midonet 3.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.