yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47606
[Bug 1554379] [NEW] lbaas agent_callbacks of get_loadbalancer error because of subnet extra parameters
Public bug reported:
lbaas agent_callbacks of get_loadbalancer error because of subnet extra parameters.
Too many extra parameters pass to Subnet.__init__().
https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/services/loadbalancer/data_models.py#L183
model_dict is:
{'description': u'', 'updated_at': '2016-03-07T13:42:29', 'ipv6_ra_mode': None, 'allocation_pools': [<neutron_lbaas.services.loadbalancer.data_models.AllocationPool object at 0x64185d0>], 'host_routes': [], 'ipv6_address_mode': None, 'cidr': u'10.0.1.0/24', 'id': u'80c886fa-1f7a-452c-8977-07504404ffe5', 'subnetpool_id': None, 'name': u'net1_sub', 'enable_dhcp': True, 'network_id': u'61e5c140-d68e-4801-8b41-d01eb25dfad1', 'tenant_id': u'dc19598c3a8b4cc8bbd2b7d22163a9f5', 'created_at': '2016-03-07T13:42:29', 'dns_nameservers': [], 'gateway_ip': u'10.0.1.1', 'ip_version': 4, 'shared': False}
q-server trace:
2016-03-08 14:49:48.920 ^[[01;31mERROR oslo_messaging.rpc.dispatcher [^[[01;36mreq-9c8b7836-7f0d-415b-98bc-93e95619c7d1 ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mException during message handling: __init__() got an unexpected keyword argument 'description'^[[00m
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback))
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback)
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/common/agent_callbacks.py", line 74, in get_loadbalancer
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m subnet_dict))
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/data_models.py", line 183, in from_dict
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m return Subnet(**model_dict)
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTypeError: __init__() got an unexpected keyword argument 'description'
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m
2016-03-08 14:49:48.922 ^[[01;31mERROR oslo_messaging._drivers.common [^[[01;36mreq-9c8b7836-7f0d-415b-98bc-93e95619c7d1 ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mReturning exception __init__() got an unexpected keyword argument 'description' to caller^[[00m
q-lbaasv2 trace:
2016-03-08 14:49:48.929 ^[[01;31mERROR neutron_lbaas.agent.agent_manager [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mUnable to deploy instance for loadbalancer: ff6f90b4-887d-4eb1-a13f-6a5859dff2b3^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/agent/agent_manager.py", line 175, in _reload_loadbalancer
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m loadbalancer_id)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/agent/agent_api.py", line 39, in get_loadbalancer
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m loadbalancer_id=loadbalancer_id)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m retry=self.retry)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m timeout=timeout, retry=retry)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m retry=retry)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 455, in _send
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m raise result
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTypeError: __init__() got an unexpected keyword argument 'description'
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m executor_callback))
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m executor_callback)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/common/agent_callbacks.py", line 74, in get_loadbalancer
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m subnet_dict))
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/data_models.py", line 183, in from_dict
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m return Subnet(**model_dict)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTypeError: __init__() got an unexpected keyword argument 'description'
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
** Affects: neutron
Importance: Undecided
Assignee: yaowei (yaowei)
Status: New
** Changed in: neutron
Assignee: (unassigned) => yaowei (yaowei)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1554379
Title:
lbaas agent_callbacks of get_loadbalancer error because of subnet
extra parameters
Status in neutron:
New
Bug description:
lbaas agent_callbacks of get_loadbalancer error because of subnet extra parameters.
Too many extra parameters pass to Subnet.__init__().
https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/services/loadbalancer/data_models.py#L183
model_dict is:
{'description': u'', 'updated_at': '2016-03-07T13:42:29', 'ipv6_ra_mode': None, 'allocation_pools': [<neutron_lbaas.services.loadbalancer.data_models.AllocationPool object at 0x64185d0>], 'host_routes': [], 'ipv6_address_mode': None, 'cidr': u'10.0.1.0/24', 'id': u'80c886fa-1f7a-452c-8977-07504404ffe5', 'subnetpool_id': None, 'name': u'net1_sub', 'enable_dhcp': True, 'network_id': u'61e5c140-d68e-4801-8b41-d01eb25dfad1', 'tenant_id': u'dc19598c3a8b4cc8bbd2b7d22163a9f5', 'created_at': '2016-03-07T13:42:29', 'dns_nameservers': [], 'gateway_ip': u'10.0.1.1', 'ip_version': 4, 'shared': False}
q-server trace:
2016-03-08 14:49:48.920 ^[[01;31mERROR oslo_messaging.rpc.dispatcher [^[[01;36mreq-9c8b7836-7f0d-415b-98bc-93e95619c7d1 ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mException during message handling: __init__() got an unexpected keyword argument 'description'^[[00m
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback))
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback)
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/common/agent_callbacks.py", line 74, in get_loadbalancer
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m subnet_dict))
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/data_models.py", line 183, in from_dict
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m return Subnet(**model_dict)
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTypeError: __init__() got an unexpected keyword argument 'description'
^[[01;31m2016-03-08 14:49:48.920 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m
2016-03-08 14:49:48.922 ^[[01;31mERROR oslo_messaging._drivers.common [^[[01;36mreq-9c8b7836-7f0d-415b-98bc-93e95619c7d1 ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mReturning exception __init__() got an unexpected keyword argument 'description' to caller^[[00m
q-lbaasv2 trace:
2016-03-08 14:49:48.929 ^[[01;31mERROR neutron_lbaas.agent.agent_manager [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mUnable to deploy instance for loadbalancer: ff6f90b4-887d-4eb1-a13f-6a5859dff2b3^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/agent/agent_manager.py", line 175, in _reload_loadbalancer
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m loadbalancer_id)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/agent/agent_api.py", line 39, in get_loadbalancer
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m loadbalancer_id=loadbalancer_id)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m retry=self.retry)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m timeout=timeout, retry=retry)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m retry=retry)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 455, in _send
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m raise result
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTypeError: __init__() got an unexpected keyword argument 'description'
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m executor_callback))
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m executor_callback)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/common/agent_callbacks.py", line 74, in get_loadbalancer
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m subnet_dict))
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/data_models.py", line 183, in from_dict
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m return Subnet(**model_dict)
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00mTypeError: __init__() got an unexpected keyword argument 'description'
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
^[[01;31m2016-03-08 14:49:48.929 TRACE neutron_lbaas.agent.agent_manager ^[[01;35m^[[00m
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1554379/+subscriptions