yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53990
[Bug 1603942] [NEW] delete instance who had dscp rule will be abnormal
Public bug reported:
step:
1. create a QOS policy with DSCP rule;
2. create a network with above QOS policy and boot a VM;
3. delete the VM, found abnormal information in neutron-openvswitch-agent.service
e-754e-467a-a584-d4878a472758']) removed
2016-07-18 06:51:56.910 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-7ebfd48c-f845-47c3-a826-b964c37a5ad8 None None] Error while processing VIF ports
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2035, in rpc_loop
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info, ovs_restarted)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 147, in wrapper
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1655, in process_network_ports
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info['removed'])
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 147, in wrapper
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1582, in treat_devices_removed
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.ext_manager.delete_port(self.context, {'port_id': device})
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/manager.py", line 80, in delete_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent extension.obj.delete_port(context, data)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 261, in delete_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._process_reset_port(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 282, in _process_reset_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.qos_driver.delete(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 98, in delete
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._handle_rule_delete(port, rule_type)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 113, in _handle_rule_delete
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent handler(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver.py", line 112, in delete_dscp_marking
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_name = port['vif_port'].port_name
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent KeyError: 'vif_port'
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
** Affects: neutron
Importance: Undecided
Assignee: QunyingRan (ran-qunying)
Status: New
** Changed in: neutron
Assignee: (unassigned) => QunyingRan (ran-qunying)
** Description changed:
step:
- 1. create a QOS policy with DSCPrule;
+ 1. create a QOS policy with DSCP rule;
2. create a network with above QOS policy and boot a VM;
3. delete the VM, found abnormal information in neutron-openvswitch-agent.service
e-754e-467a-a584-d4878a472758']) removed
2016-07-18 06:51:56.910 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-7ebfd48c-f845-47c3-a826-b964c37a5ad8 None None] Error while processing VIF ports
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2035, in rpc_loop
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info, ovs_restarted)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 147, in wrapper
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1655, in process_network_ports
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info['removed'])
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 147, in wrapper
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1582, in treat_devices_removed
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.ext_manager.delete_port(self.context, {'port_id': device})
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/manager.py", line 80, in delete_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent extension.obj.delete_port(context, data)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 261, in delete_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._process_reset_port(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 282, in _process_reset_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.qos_driver.delete(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 98, in delete
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._handle_rule_delete(port, rule_type)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 113, in _handle_rule_delete
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent handler(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver.py", line 112, in delete_dscp_marking
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_name = port['vif_port'].port_name
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent KeyError: 'vif_port'
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1603942
Title:
delete instance who had dscp rule will be abnormal
Status in neutron:
New
Bug description:
step:
1. create a QOS policy with DSCP rule;
2. create a network with above QOS policy and boot a VM;
3. delete the VM, found abnormal information in neutron-openvswitch-agent.service
e-754e-467a-a584-d4878a472758']) removed
2016-07-18 06:51:56.910 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-7ebfd48c-f845-47c3-a826-b964c37a5ad8 None None] Error while processing VIF ports
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2035, in rpc_loop
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info, ovs_restarted)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 147, in wrapper
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1655, in process_network_ports
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info['removed'])
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 147, in wrapper
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1582, in treat_devices_removed
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.ext_manager.delete_port(self.context, {'port_id': device})
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/manager.py", line 80, in delete_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent extension.obj.delete_port(context, data)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 261, in delete_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._process_reset_port(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 282, in _process_reset_port
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.qos_driver.delete(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 98, in delete
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._handle_rule_delete(port, rule_type)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/agent/l2/extensions/qos.py", line 113, in _handle_rule_delete
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent handler(port)
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver.py", line 112, in delete_dscp_marking
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_name = port['vif_port'].port_name
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent KeyError: 'vif_port'
2016-07-18 06:51:56.910 TRACE neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1603942/+subscriptions