yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90019
[Bug 1507651] Re: MidoNet Neutron Plugin upgrade from kilo stable 2015.1.0 to kilo unstable 2015.1.1.2.0-1~rc0 (MNv5.0) not supported
** Changed in: neutron
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1507651
Title:
MidoNet Neutron Plugin upgrade from kilo stable 2015.1.0 to kilo
unstable 2015.1.1.2.0-1~rc0 (MNv5.0) not supported
Status in networking-midonet:
Fix Released
Status in neutron:
Invalid
Bug description:
New supported features in last unstable version of the kilo plugin
2015.1.1.2.0-1~rc0 such as port_security cause backwards
incompatibility with stable version of kilo plugin 2015.1.0.
E.g. neutron-server logs:
2015-10-19 11:23:23.722 29190 ERROR neutron.api.v2.resource [req-007bd588-78a5-4cdd-a893-7522c1820edc ] index failed
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 83, in resource
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource result = method(request=request, **args)
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 319, in index
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource return self._items(request, True, parent_id)
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 249, in _items
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/db/db_base_plugin_v2.py", line 1970, in get_ports
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource items = [self._make_port_dict(c, fields) for c in query]
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/db/db_base_plugin_v2.py", line 936, in _make_port
_dict
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource attributes.PORTS, res, port)
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/db/common_db_mixin.py", line 162, in _apply_dict_
extend_functions
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource func(*args)
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/db/portsecurity_db.py", line 31, in _extend_port_
security_dict
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource psec_value = db_data['port_security'][psec.PORTSECURITY]
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource TypeError: 'NoneType' object has no attribute '__getitem__'
2015-10-19 11:23:23.722 29190 TRACE neutron.api.v2.resource
2015-10-19 11:23:24.283 29190 ERROR oslo_messaging.rpc.dispatcher [req-21c014b0-c418-4ebe-822f-3789fc680af6 ] Exception during message handling: 'NoneType' ob
ject has no attribute '__getitem__'
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _di
spatch_and_reply
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher executor_callback))
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _di
spatch
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher executor_callback)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do
_dispatch
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/dhcp_rpc.py", line 120, in
get_active_networks_info
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher networks = self._get_active_networks(context, **kwargs)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/dhcp_rpc.py", line 63, in
_get_active_networks
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher context, host)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py", line 420, in lis
t_active_networks_on_active_dhcp_agent
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher filters={'id': net_ids, 'admin_state_up': [True]}
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/midonet/neutron/plugin_v2.py", line 126, in get_net
works
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher limit, marker, page_reverse)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/db/db_base_plugin_v2.py", line 1035, in get_networks
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher page_reverse=page_reverse)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/db/common_db_mixin.py", line 184, in _get_collection
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher items = [dict_func(c, fields) for c in query]
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/db/db_base_plugin_v2.py", line 873, in _make_network_dict
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher attributes.NETWORKS, res, network)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/db/common_db_mixin.py", line 162, in _apply_dict_extend_functions
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher func(*args)
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/db/portsecurity_db.py", line 31, in _extend_port_security_dict
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher psec_value = db_data['port_security'][psec.PORTSECURITY]
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher TypeError: 'NoneType' object has no attribute '__getitem__'
2015-10-19 11:23:24.283 29190 TRACE oslo_messaging.rpc.dispatcher
2015-10-19 11:23:24.316 29190 ERROR oslo_messaging._drivers.common [req-21c014b0-c418-4ebe-822f-3789fc680af6 ] Returning exception 'NoneType' object has no attribute '__getitem__' to caller
2015-10-19 11:23:24.317 29190 ERROR oslo_messaging._drivers.common [req-21c014b0-c418-4ebe-822f-3789fc680af6 ] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n executor_callback))\n', ' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch\n executor_callback)\n', ' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch\n result = func(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/dhcp_rpc.py", line 120, in get_active_networks_info\n networks = self._get_active_networks(context, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/dhcp_rpc.py", line 63, in _get_active_networks\n context, host)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py", line 420, in list_active_networks_on_active_dhcp_agent\n filters={\'id\': net_ids, \'admin_state_up\': [True]}\n', ' File "/usr/lib/python2.7/dist-packages/midonet/neutron/plugin_v2.py", line 126, in get_networks\n limit, marker, page_reverse)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/db_base_plugin_v2.py", line 1035, in get_networks\n page_reverse=page_reverse)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/common_db_mixin.py", line 184, in _get_collection\n items = [dict_func(c, fields) for c in query]\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/db_base_plugin_v2.py", line 873, in _make_network_dict\n attributes.NETWORKS, res, network)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/common_db_mixin.py", line 162, in _apply_dict_extend_functions\n func(*args)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/db/portsecurity_db.py", line 31, in _extend_port_security_dict\n psec_value = db_data[\'port_security\'][psec.PORTSECURITY]\n', "TypeError: 'NoneType' object has no attribute '__getitem__'\n"]
2015-10-19 11:23:24.467 29190 ERROR oslo_messaging.rpc.dispatcher [req-21c014b0-c418-4ebe-822f-3789fc680af6 ] Exception during message handling: 'NoneType' object has no attribute '__getitem__'
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-midonet/+bug/1507651/+subscriptions