[openstack-dev] <lambda>() Errors in Quantum/Neutron Grizzly (2013.1.2)

Craig E. Ward cward at isi.edu
Tue Jul 16 17:09:29 UTC 2013


Edgar,

Below are the versions of the quantum/neutron packages and of RabbitMQ. I've 
attached a text file with the debug lines from each agent reporting on their 
configuration parameters.

The Quantum/Neutron packages came from 
http://repos.fedorapeople.org/repos/openstack/openstack-grizzly/epel-6/. I 
believed them to be built from the June 6, 2013 Quantum Grizzly release.

Thanks,

Craig

Name        : openstack-quantum
Arch        : noarch
Version     : 2013.1.2
Release     : 1.el6
Size        : 83 k
Repo        : installed
 From repo   : /openstack-quantum-2013.1.2-1.el6.noarch
Summary     : OpenStack Networking Service
URL         : http://launchpad.net/quantum/
License     : ASL 2.0
Description : Quantum is a virtual network service for Openstack. Just like
             : OpenStack Nova provides an API to dynamically request and configure
             : virtual servers, Quantum provides an API to dynamically request and
             : configure virtual networks. These networks connect "interfaces" from
             : other OpenStack services (e.g., virtual NICs from Nova VMs). The
             : Quantum API supports extensions to provide advanced network
             : capabilities (e.g., QoS, ACLs, network monitoring, etc.)

Name        : openstack-quantum-linuxbridge
Arch        : noarch
Version     : 2013.1.2
Release     : 1.el6
Size        : 153 k
Repo        : installed
 From repo   : /openstack-quantum-linuxbridge-2013.1.2-1.el6.noarch
Summary     : Quantum linuxbridge plugin
URL         : http://launchpad.net/quantum/
License     : ASL 2.0
Description : Quantum provides an API to dynamically request and configure virtual
             : networks.
             :
             : This package contains the quantum plugin that implements virtual
             : networks as VLANs using Linux bridging.

Name        : python-quantum
Arch        : noarch
Version     : 2013.1.2
Release     : 1.el6
Size        : 2.8 M
Repo        : installed
 From repo   : /python-quantum-2013.1.2-1.el6.noarch
Summary     : Quantum Python libraries
URL         : http://launchpad.net/quantum/
License     : ASL 2.0
Description : Quantum provides an API to dynamically request and configure virtual
             : networks.
             :
             : This package contains the quantum Python library.

Name        : rabbitmq-server
Arch        : noarch
Version     : 2.6.1
Release     : 1.el6
Size        : 1.5 M
Repo        : installed
 From repo   : dodcs-sw-iso
Summary     : The RabbitMQ server
URL         : http://www.rabbitmq.com/
License     : MPLv1.1
Description : RabbitMQ is an implementation of AMQP, the emerging standard for high
             : performance enterprise messaging. The RabbitMQ server is a 
robust and
             : scalable implementation of an AMQP broker.


On 07/15/2013 05:27 PM, Edgar Magana wrote:
> Craig,
>
> It will help if you can add more information about your set-up:
> release version?
> devstack configuration (if you are using it)
> configuration files
>
> recently, if you are using master branch this error is really weird because
> we renamed all quantum references to neutron.
>
> Thanks,
>
> Edgar
>
>
> On Mon, Jul 15, 2013 at 4:23 PM, Craig E. Ward <cward at isi.edu> wrote:
>
>> I am seeing strange errors in a single-node OpenStack Grizzly
>> installation. The logs are complaining about a mismatch of arguments and
>> cover the linuxbridge, dhcp, and l3 agents. Below is a sample:
>>
>>    TypeError: <lambda>() takes exactly 2 arguments (3 given)
>>
>> The numbers expected and given are not consistent. It looks like a coding
>> error, but I can't believe such an error would have made it into a
>> distribution so it must be that I've configured something incorrectly. I've
>> attached a text file with more detailed examples. Any help diagnosing this
>> problem will be much appreciated.
>>
>> What am I doing wrong? What other information would be useful to look at?
>>
>> Thanks,
>>
>> Craig
>>
>> --
>> Craig E. Ward
>> Information Sciences Institute
>> University of Southern California
>> cward at ISI.EDU
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

-- 
Craig E. Ward
Information Sciences Institute
University of Southern California
cward at ISI.EDU


-------------- next part --------------
DHCP Agent
==========
[Prefix "<timestamp> DEBUG [quantum.openstack.common.service]" removed.]
Full set of CONF:
********************************************************************************
Configuration options gathered from:
command line args: ['--log-file', '/var/log/quantum/dhcp-agent.log', '--config-file', '/etc/quantum/quantum.conf', '--config-file', '/etc/quantum/dhcp_agent.ini']
config files: ['/etc/quantum/quantum.conf', '/etc/quantum/dhcp_agent.ini']
================================================================================
admin_password                 = ***********
admin_tenant_name              = services
admin_user                     = None
allow_bulk                     = True
allow_overlapping_ips          = False
allow_pagination               = False
allow_sorting                  = False
allowed_rpc_exception_modules  = ['quantum.openstack.common.exception', 'nova.exception', 'cinder.exception', 'exceptions']
api_extensions_path            =
api_paste_config               = /etc/quantum/api-paste.ini
auth_region                    = None
auth_strategy                  = keystone
auth_url                       = http://10.0.5.6:5000/v2.0/
backdoor_port                  = None
base_mac                       = fa:16:3e:00:00:00
bind_host                      = 0.0.0.0
bind_port                      = 9696
config_dir                     = None
config_file                    = ['/etc/quantum/quantum.conf', '/etc/quantum/dhcp_agent.ini']
control_exchange               = quantum
core_plugin                    = quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2
debug                          = True
default_log_levels             = ['amqplib=WARN', 'sqlalchemy=WARN', 'boto=WARN', 'suds=INFO', 'keystone=INFO', 'eventlet.wsgi.server=WARN']
default_notification_level     = INFO
default_publisher_id           = bespin106.east.isi.edu
dhcp_agent_notification        = True
dhcp_confs                     = /var/lib/quantum/dhcp
dhcp_domain                    = east.isi.edu
dhcp_driver                    = quantum.agent.linux.dhcp.Dnsmasq
dhcp_lease_duration            = 120
dhcp_lease_relay_socket        = /var/lib/quantum/dhcp/lease_relay
dhcp_lease_time                = 120
disable_process_locking        = False
dnsmasq_config_file            =
dnsmasq_dns_server             = 65.114.168.20
enable_isolated_metadata       = False
enable_metadata_network        = False
external_pids                  = /var/lib/quantum/external/pids
fake_rabbit                    = False
fatal_deprecations             = False
force_gateway_on_subnet        = False
host                           = bespin106.east.isi.edu
instance_format                = [instance: %(uuid)s]
instance_uuid_format           = [instance: %(uuid)s]
interface_driver               = quantum.agent.linux.interface.BridgeInterfaceDriver
lock_path                      = /var/lib/quantum/lock
log_config                     = None
log_date_format                = %Y-%m-%d %H:%M:%S
log_dir                        = None
log_file                       = /var/log/quantum/dhcp_agent.log
log_format                     = %(asctime)s %(levelname)8s [%(name)s] %(message)s
logfile_mode                   = 0644
logging_context_format_string  = %(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
logging_debug_format_suffix    = %(funcName)s %(pathname)s:%(lineno)d
logging_default_format_string  = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
logging_exception_prefix       = %(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
mac_generation_retries         = 16
max_dns_nameservers            = 5
max_fixed_ips_per_port         = 5
max_subnet_host_routes         = 20
meta_flavor_driver_mappings    = None
network_device_mtu             = None
notification_driver            = ['quantum.openstack.common.notifier.rpc_notifier']
notification_topics            = ['notifications']
ovs_integration_bridge         = br-int
ovs_use_veth                   = False
pagination_max_limit           = -1
periodic_fuzzy_delay           = 5
periodic_interval              = 40
policy_file                    = policy.json
publish_errors                 = False
resync_interval                = 30
root_helper                    = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
rpc_backend                    = quantum.openstack.common.rpc.impl_kombu
rpc_cast_timeout               = 30
rpc_conn_pool_size             = 30
rpc_response_timeout           = 60
rpc_thread_pool_size           = 64
service_plugins                = []
state_path                     = /var/lib/quantum
syslog_log_facility            = LOG_USER
use_namespaces                 = False
use_stderr                     = True
use_syslog                     = False
verbose                        = True
AGENT.report_interval          = 4
AGENT.root_helper              = sudo
DATABASE.reconnect_interval    = 2
DATABASE.sql_connection        = ****
DATABASE.sql_dbpool_enable     = False
DATABASE.sql_idle_timeout      = 3600
DATABASE.sql_max_pool_size     = 5
DATABASE.sql_max_retries       = -1
DATABASE.sql_min_pool_size     = 1
********************************************************************************

LinuxBridge Agent
=================
[Prefix "<timestamp> DEBUG [quantum.service]" removed.]

********************************************************************************
Configuration options gathered from:
command line args: ['--config-file', '/etc/quantum/quantum.conf', '--config-file', '/etc/quantum/plugin.ini', '--log-file', '/var/log/quantum/server.log']
config files: ['/etc/quantum/quantum.conf', '/etc/quantum/plugin.ini']
================================================================================
allow_bulk                     = True
allow_overlapping_ips          = False
allow_pagination               = False
allow_sorting                  = False
allowed_rpc_exception_modules  = ['quantum.openstack.common.exception', 'nova.exception', 'cinder.exception', 'exceptions']
api_extensions_path            =
api_paste_config               = /etc/quantum/api-paste.ini
auth_strategy                  = keystone
backdoor_port                  = None
base_mac                       = fa:16:3e:00:00:00
bind_host                      = 0.0.0.0
bind_port                      = 9696
config_dir                     = None
config_file                    = ['/etc/quantum/quantum.conf', '/etc/quantum/plugin.ini']
control_exchange               = quantum
core_plugin                    = quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2
debug                          = True
default_log_levels             = ['amqplib=WARN', 'sqlalchemy=WARN', 'boto=WARN', 'suds=INFO', 'keystone=INFO', 'eventlet.wsgi.server=WARN']
dhcp_agent_notification        = True
dhcp_lease_duration            = 120
fake_rabbit                    = False
fatal_deprecations             = False
force_gateway_on_subnet        = False
host                           = bespin106.east.isi.edu
instance_format                = [instance: %(uuid)s]
instance_uuid_format           = [instance: %(uuid)s]
log_config                     = None
log_date_format                = %Y-%m-%d %H:%M:%S
log_dir                        = None
log_file                       = /var/log/quantum/linuxbridge.log
log_format                     = %(asctime)s %(levelname)8s [%(name)s] %(message)s
logfile_mode                   = 0644
logging_context_format_string  = %(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
logging_debug_format_suffix    = %(funcName)s %(pathname)s:%(lineno)d
logging_debug_format_suffix    = %(funcName)s %(pathname)s:%(lineno)d
logging_default_format_string  = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
logging_exception_prefix       = %(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
mac_generation_retries         = 16
max_dns_nameservers            = 5
max_fixed_ips_per_port         = 5
max_subnet_host_routes         = 20
pagination_max_limit           = -1
periodic_fuzzy_delay           = 5
periodic_interval              = 40
policy_file                    = policy.json
publish_errors                 = False
rpc_backend                    = quantum.openstack.common.rpc.impl_kombu
rpc_cast_timeout               = 30
rpc_conn_pool_size             = 30
rpc_response_timeout           = 60
rpc_thread_pool_size           = 64
service_plugins                = []
state_path                     = /var/lib/quantum
syslog_log_facility            = LOG_USER
use_stderr                     = True
use_syslog                     = False
verbose                        = True
DATABASE.reconnect_interval    = 2
DATABASE.sql_connection        = **********************************************************
DATABASE.sql_dbpool_enable     = False
DATABASE.sql_idle_timeout      = 3600
DATABASE.sql_max_pool_size     = 5
DATABASE.sql_max_retries       = -1
DATABASE.sql_min_pool_size     = 1
********************************************************************************

L3 Agent
========
[Prefix "<timestamp> DEBUG [quantum.openstack.common.service]" removed.]

Full set of CONF:
********************************************************************************
Configuration options gathered from:
command line args: ['--log-file', '/var/log/quantum/l3-agent.log', '--config-file', '/etc/quantum/quantum.conf', '--config-file', '/etc/quantum/l3_agent.ini']
config files: ['/etc/quantum/quantum.conf', '/etc/quantum/l3_agent.ini']
================================================================================
admin_password                 = ***********
admin_tenant_name              = services
admin_user                     = quantum
allow_bulk                     = True
allow_overlapping_ips          = False
allow_pagination               = False
allow_sorting                  = False
allowed_rpc_exception_modules  = ['quantum.openstack.common.exception', 'nova.exception', 'cinder.exception', 'exceptions']
api_extensions_path            =
api_paste_config               = /etc/quantum/api-paste.ini
auth_region                    = None
auth_strategy                  = keystone
auth_url                       = http://10.0.5.6:5000/v2.0/
backdoor_port                  = None
base_mac                       = fa:16:3e:00:00:00
bind_host                      = 0.0.0.0
bind_port                      = 9696
config_dir                     = None
config_file                    = ['/etc/quantum/quantum.conf', '/etc/quantum/l3_agent.ini']
control_exchange               = quantum
core_plugin                    = quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2
debug                          = True
default_log_levels             = ['amqplib=WARN', 'sqlalchemy=WARN', 'boto=WARN', 'suds=INFO', 'keystone=INFO', 'eventlet.wsgi.server=WARN']
default_notification_level     = INFO
default_publisher_id           = bespin106.east.isi.edu
dhcp_agent_notification        = True
dhcp_lease_duration            = 120
disable_process_locking        = False
external_network_bridge        =
external_pids                  = /var/lib/quantum/external/pids
fake_rabbit                    = False
fatal_deprecations             = False
force_gateway_on_subnet        = False
gateway_external_network_id    =
handle_internal_only_routers   = True
host                           = bespin106.east.isi.edu
instance_format                = [instance: %(uuid)s]
instance_uuid_format           = [instance: %(uuid)s]
interface_driver               = quantum.agent.linux.interface.BridgeInterfaceDriver
lock_path                      = /var/lib/quantum/lock
log_config                     = None
log_date_format                = %Y-%m-%d %H:%M:%S
log_dir                        = None
log_file                       = /var/log/quantum/l3_agent.log
log_format                     = %(asctime)s %(levelname)8s [%(name)s] %(message)s
logfile_mode                   = 0644
logging_context_format_string  = %(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
logging_debug_format_suffix    = %(funcName)s %(pathname)s:%(lineno)d
logging_default_format_string  = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
logging_exception_prefix       = %(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
mac_generation_retries         = 16
max_dns_nameservers            = 5
max_fixed_ips_per_port         = 5
max_subnet_host_routes         = 20
meta_flavor_driver_mappings    = None
metadata_port                  = 8775
network_device_mtu             = None
notification_driver            = ['quantum.openstack.common.notifier.rpc_notifier']
notification_topics            = ['notifications']
ovs_integration_bridge         = br-int
ovs_use_veth                   = False
pagination_max_limit           = -1
periodic_fuzzy_delay           = 5
periodic_interval              = 40
policy_file                    = policy.json
publish_errors                 = False
root_helper                    = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
router_id                      = 7e5c2aca-bbac-44dd-814d-f2ea9a4003e4
rpc_backend                    = quantum.openstack.common.rpc.impl_kombu
rpc_cast_timeout               = 30
rpc_conn_pool_size             = 30
rpc_response_timeout           = 60
rpc_thread_pool_size           = 64
send_arp_for_ha                = 3
service_plugins                = []
state_path                     = /var/lib/quantum
syslog_log_facility            = LOG_USER
use_namespaces                 = False
use_stderr                     = True
use_syslog                     = False
verbose                        = True
AGENT.report_interval          = 4
AGENT.root_helper              = sudo
DATABASE.reconnect_interval    = 2
DATABASE.sql_connection        = ****
DATABASE.sql_dbpool_enable     = False
DATABASE.sql_idle_timeout      = 3600
DATABASE.sql_max_pool_size     = 5
DATABASE.sql_max_retries       = -1
DATABASE.sql_min_pool_size     = 1
********************************************************************************


More information about the OpenStack-dev mailing list