← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1131474] Re: NVP plugin fails to detach metadata access network

 

This problem is now not being observed anymore. Interfaces are correctly
removed.

As a secondary problem we are seeing a communication error on
dhcp_release_port as the dhcp agent attempts to remove a port which has
already been removed by quantum.

t_tenant_id': None, u'args': {u'network_id': u'7ad8f1f6-3579-405e-bf35-b7f13bfaebcc', u'host': u'ubuntu', u'device_id': u'dhcp724fc160-2b2e-597e-b9ed-7f65313cd73f-7ad8f1f6-3579-405e-bf35-b7f13bfaebcc'}, u'_unique_id': u'52746940e06a47f08a3e937fa957623b', u'_context_is_admin': True, u'version': u'1.0', u'_context_project_id': None, u'_context_timestamp': u'2013-02-26 15:35:07.076877', u'_context_user_id': None, u'method': u'release_dhcp_port'} _safe_log /opt/stack/quantum/quantum/openstack/common/rpc/common.py:254
2013-02-26 08:36:22.151 4005 DEBUG quantum.openstack.common.rpc.amqp [-] unpacked context: {'user_id': None, 'roles': [u'admin'], 'tenant_id': None, 'is_admin': True, 'timestamp': u'2013-02-26 15:35:07.076877', 'project_id': None, 'read_deleted': u'no'} _safe_log /opt/stack/quantum/quantum/openstack/common/rpc/common.py:254
2013-02-26 08:36:22.152 4005 DEBUG quantum.db.dhcp_rpc_base [-] DHCP port deletion for 7ad8f1f6-3579-405e-bf35-b7f13bfaebcc request from ubuntu release_dhcp_port /opt/stack/quantum/quantum/db/dhcp_rpc_base.py:127
2013-02-26 08:36:22.166 4005 DEBUG quantum.plugins.nicira.nicira_nvp_plugin.api_client.client [-] [55] Acquired connection https://10.127.1.217:443. 4 connection(s) available. acquire_connection /opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/api_client/client.py:134
2013-02-26 08:36:22.166 4005 DEBUG quantum.plugins.nicira.nicira_nvp_plugin.api_client.request [-] [55] Issuing - request GET https://10.127.1.217:443//ws.v1/lswitch/7ad8f1f6-3579-405e-bf35-b7f13bfaebcc/lport?fields=tags,admin_status_enabled,display_name,fabric_status_up&tag_scope=vm_id&tag=3041ababe21ef3afbf580a133c0ab67e66a3d22d&tag_scope=q_port_id&relations=LogicalPortStatus&; _issue_request /opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/api_client/request.py:96
2013-02-26 08:36:22.167 4005 DEBUG quantum.plugins.nicira.nicira_nvp_plugin.api_client.request [-] Setting X-Nvp-Wait-For-Config-Generation request header: '4833530' _issue_request /opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/api_client/request.py:121
2013-02-26 08:36:22.184 4005 DEBUG quantum.plugins.nicira.nicira_nvp_plugin.api_client.request [-] [55] Completed request 'GET https://10.127.1.217:443//ws.v1/lswitch/7ad8f1f6-3579-405e-bf35-b7f13bfaebcc/lport?fields=tags,admin_status_enabled,display_name,fabric_status_up&tag_scope=vm_id&tag=3041ababe21ef3afbf580a133c0ab67e66a3d22d&tag_scope=q_port_id&relations=LogicalPortStatus&;': 404 (0.02 seconds) _issue_request /opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/api_client/request.py:137
2013-02-26 08:36:22.185 4005 DEBUG quantum.plugins.nicira.nicira_nvp_plugin.api_client.client [-] [55] Released connection https://10.127.1.217:443. 5 connection(s) available. release_connection /opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/api_client/client.py:189
2013-02-26 08:36:22.185 4005 DEBUG quantum.plugins.nicira.nicira_nvp_plugin.api_client.request_eventlet [-] [55] Completed request 'GET /ws.v1/lswitch/7ad8f1f6-3579-405e-bf35-b7f13bfaebcc/lport?fields=tags,admin_status_enabled,display_name,fabric_status_up&tag_scope=vm_id&tag=3041ababe21ef3afbf580a133c0ab67e66a3d22d&tag_scope=q_port_id&relations=LogicalPortStatus&': 404 _handle_request /opt/stack/quantum/quantum/plugins/nicira/nicira_nvp_plugin/api_client/request_eventlet.py:156
ERROR:NVPApiHelper:Received error code: 404
ERROR:NVPApiHelper:Server Error Message: Entity '7ad8f1f6-3579-405e-bf35-b7f13bfaebcc' not registered.
WARNING:QuantumPlugin:Lswitch 7ad8f1f6-3579-405e-bf35-b7f13bfaebcc not found in NVP


This situation can be considered normal, and is definitely unrelated to this bug.

I am marking this as invalid, we will reopen it if the issue is detected
again.

** Changed in: quantum
       Status: In Progress => Invalid

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

Title:
  NVP plugin fails to detach metadata access network

Status in OpenStack Quantum (virtual network service):
  Invalid

Bug description:
  When removing the last internal interface for a router, the Quantum
  NVP plugin will also attempt to detach the metadata access network, if
  present.

  It will therefore look for a subnet in the link-local range (169.254.0.0/16), and, if found, it will detach that subnet.
  This is triggering now some form of recursion which is not blocked as expected, and the operation fails.

  The observed failure mode can be summarized as follows:
  - The metadata interface is successfully  removed from the router
  - This triggers another call to handle_metadata_access_network
  - The call for some reason tries to reconnect the metadata network (that where the bug is)
  - the attempt fails because the metadata subnet was not deleted yet.

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