← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1855759] Re: neutron.plugins.ml2.drivers.agent._common_agent KeyError: 'gateway' . ERROR

 

Reviewed:  https://review.opendev.org/698287
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b99765df8f1d1d6d3ceee3d481d1e6ee1b2200e7
Submitter: Zuul
Branch:    master

commit b99765df8f1d1d6d3ceee3d481d1e6ee1b2200e7
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Dec 10 15:50:20 2019 +0000

    Use "via" in gateway dictionary in Linux Bridge agent
    
    The gateway IP address in the gateway dictionary returned by
    "ip_lib.list_ip_routes" is stored in "via".
    
    "priority" parameter is changed to "metric", to match input and
    output parameters.
    
    Change-Id: I67ae473dca8d706f963c3b55b9410f9a79d7f32b
    Closes-Bug: #1855759


** Changed in: neutron
       Status: In Progress => 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/1855759

Title:
  neutron.plugins.ml2.drivers.agent._common_agent KeyError: 'gateway' .
  ERROR

Status in neutron:
  Fix Released

Bug description:
  Hi Everyone , I installed train on Ubuntu 18.0.4 Server . I've a
  problem with neutron . when I run openstack create subnet , my subnet
  created , but when I check neutron-linuxbridge-agent.log  in
  controller node , it return this error . I configured neutron as
  provider

  ERROR neutron.plugins.ml2.drivers.agent._common_agent KeyError:
  'gateway' . ERROR neutron.plugins.ml2.drivers.agent._common_agent File
  "/usr/lib/python3/dist-
  packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
  line 402, in _update_interface_ip_details .

  
  ml2.conf 
  [DEFAULT]
  core_plugin = ml2
  service_plugins = 
  allow_overlapping_ips = true
  transport_url = rabbit://openstack:XXXX_Rabbit@controller
  auth_strategy = keystone
  notify_nova_on_port_status_changes = true
  notify_nova_on_port_data_changes = true
  [agent]
  root_helper = "sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf"
  [cors]
  [database]
  connection = mysql+pymysql://neutron:NEUTRON_XXXX@controller/neutron
  [ironic]
  [keystone_authtoken]
  www_authenticate_uri = http://controller:5000
  auth_url = http://controller:5000
  memcached_servers = controller:11211
  auth_type = password
  project_domain_name = default
  user_domain_name = default
  project_name = service
  username = neutron
  password = NEUTRON@XXXX
  [nova]
  auth_url = http://controller:5000
  auth_type = password
  project_domain_name = default
  user_domain_name = default
  region_name = RegionOne
  project_name = service
  username = nova
  password = XXXX@Nova
  [oslo_concurrency]
  lock_path = /var/lib/neutron/tmp
  [oslo_messaging_amqp]
  [oslo_messaging_kafka]
  [oslo_messaging_notifications]
  [oslo_messaging_rabbit]
  rabbit_host = controller
  rabbit_userid = openstack
  rabbit_password = XXXX_Rabbit
  [oslo_middleware]
  [oslo_policy]
  [privsep]
  [quotas]
  [ssl]

  l3_agent.ini

  [DEFAULT]
  [agent]
  [linux_bridge]
  physical_interface_mappings = provider:enp6s0
  [network_log]
  [securitygroup]
  enable_security_group = true
  firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver 
  [vxlan]
  enable_vxlan = false

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


References