[Yahoo-eng-team] [Bug 1730552] [NEW] neutron-openvswitch-agent raise OVSFWPortNotFound exception

2017-11-06 Thread 1912294464
Public bug reported:

When I check openvswitch-agent.log,I find ERROR log be result from
OVSFWPortNotFound exception.

2017-11-01 09:33:10.844 157874 INFO neutron.agent.common.ovs_lib 
[req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Port 
f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 not present in bridge br-int
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
[req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Error while processing VIF 
ports: OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not 
managed by this agent.
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most 
recent call last):
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py",
 line 2071, in rpc_loop
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info, 
ovs_restarted)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return 
f(*args, **kwargs)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py",
 line 1674, in process_network_ports
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
port_info.get('updated', set()))
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 
277, in setup_port_filters
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
self.refresh_firewall(updated_devices)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 
110, in decorated_function
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent *args, 
**kwargs)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 
230, in refresh_firewall
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
self._apply_port_filter(device_ids, update_filter=True)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 
141, in _apply_port_filter
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
self.firewall.update_port_filter(device)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py",
 line 505, in update_port_filter
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent of_port = 
self.get_or_create_ofport(port)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py",
 line 454, in get_or_create_ofport
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent ovs_port = 
self.get_ovs_port(port_id)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py",
 line 438, in get_ovs_port
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent raise 
exceptions.OVSFWPortNotFound(port_id=port_id)
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by 
this agent.
2017-11-01 09:33:10.845 157874 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
2017-11-01 09:33:10.847 157874 DEBUG 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 
[req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Agent rpc_loop - 
iteration:24720 completed. Processed ports statistics: {'regular': {'updated': 
0, 'added': 0, 'removed': 2}}. Elapsed:0.394 

[Yahoo-eng-team] [Bug 1729213] [NEW] neutron-ovs-agnet report error when batch delete instances

2017-11-01 Thread 1912294464
Public bug reported:

I created some instance with same network and same security group. The security 
group's remote secrity group is set to itself. 
Then I batch delete these instances.when the first instance's port is 
deleted,it will notify other neutron-ovs-agent so that these agent could update 
filter rules for other instance's port.
But variable "defer_refresh_firewall" is set to true,so the update process will 
not be executed immediately.
During the subsequent instance deletion,the process will be triggered,But the 
port within  subsequent instance is deleted,So the agent will report error.

2017-11-01 09:30:29.695 9779 ERROR
neutron.agent.linux.openvswitch_firewall.firewall [req-610bc095-2445
-4f2e-8a46-181a82087348 - - - - -] Initializing unfiltered port
2c8f784d-1e73-4e4d-874d-65dd32de4e22 that does not exist in ovsdb: Port
2c8f784d-1e73-4e4d-874d-65dd32de4e22 is not managed by this agent..:
OVSFWPortNotFound: Port 2c8f784d-1e73-4e4d-874d-65dd32de4e22 is not
managed by this agent.

** Affects: neutron
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1729213

Title:
  neutron-ovs-agnet report error when batch delete instances

Status in neutron:
  New

Bug description:
  I created some instance with same network and same security group. The 
security group's remote secrity group is set to itself. 
  Then I batch delete these instances.when the first instance's port is 
deleted,it will notify other neutron-ovs-agent so that these agent could update 
filter rules for other instance's port.
  But variable "defer_refresh_firewall" is set to true,so the update process 
will not be executed immediately.
  During the subsequent instance deletion,the process will be triggered,But the 
port within  subsequent instance is deleted,So the agent will report error.

  2017-11-01 09:30:29.695 9779 ERROR
  neutron.agent.linux.openvswitch_firewall.firewall [req-610bc095-2445
  -4f2e-8a46-181a82087348 - - - - -] Initializing unfiltered port
  2c8f784d-1e73-4e4d-874d-65dd32de4e22 that does not exist in ovsdb:
  Port 2c8f784d-1e73-4e4d-874d-65dd32de4e22 is not managed by this
  agent..: OVSFWPortNotFound: Port 2c8f784d-1e73-4e4d-874d-65dd32de4e22
  is not managed by this agent.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1657668] [NEW] Grammer error in LoadBalancerPluginv2

2017-01-19 Thread 1912294464
Public bug reported:

Hi
I use OpenStack Mitaka with Ubuntu 14.04.
I found a grammar error.

/usr/lib/python2.7/dist-
packages/neutron_lbaas/services/loadbalancer/plugin.py   line 1344

Whether need 'self' when invoke '_set_degraded' function?

1340 if (pool_status["id"] not in
1341 [ps["id"] for ps in lb_status["pools"]]):
1342 lb_status["pools"].append(pool_status)
1343 if self._is_degraded(curr_listener.default_pool):
1344 self._set_degraded(self, listener_status, lb_status)
1345 members = curr_listener.default_pool.members
1346 for curr_member in members:
1347 if not curr_member.admin_state_up:

** Affects: neutron
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1657668

Title:
  Grammer error in LoadBalancerPluginv2

Status in neutron:
  New

Bug description:
  Hi
  I use OpenStack Mitaka with Ubuntu 14.04.
  I found a grammar error.

  /usr/lib/python2.7/dist-
  packages/neutron_lbaas/services/loadbalancer/plugin.py   line 1344

  Whether need 'self' when invoke '_set_degraded' function?

  1340 if (pool_status["id"] not in
  1341 [ps["id"] for ps in lb_status["pools"]]):
  1342 lb_status["pools"].append(pool_status)
  1343 if self._is_degraded(curr_listener.default_pool):
  1344 self._set_degraded(self, listener_status, lb_status)
  1345 members = curr_listener.default_pool.members
  1346 for curr_member in members:
  1347 if not curr_member.admin_state_up:

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp