Public bug reported:

I am on Kilo.

I was using VxLAN based networks. 
As the lab requirement changed, I had to move over to "FLAT" networking.
This involved editing the ml2_conf.ini file and the necessary changes for 
'flat' networking to work.
However, I didn't enable VxLAN networking any longer - even though the networks 
pre-created (using VxLAN) were still lying there. (This wasn't intentional).

Again without actual intentions, I ended up deploying an instance with the 
VxLAN based networks.
This results into a build failure on the compute node with the following 
exception:

Unable to clear device ID for port 'None'
 TRACE nova.network.neutronv2.api Traceback (most recent call last):
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 366, in 
_unbind_ports
 TRACE nova.network.neutronv2.api     port_client.update_port(port_id, 
port_req_body)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in 
with_params
 TRACE nova.network.neutronv2.api     ret = self.function(instance, *args, 
**kwargs)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 549, in 
update_port
 TRACE nova.network.neutronv2.api     return self.put(self.port_path % (port), 
body=body)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 302, in 
put
TRACE nova.network.neutronv2.api     headers=headers, params=params)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in 
retry_request
 TRACE nova.network.neutronv2.api     headers=headers, params=params)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in 
do_request
 TRACE nova.network.neutronv2.api     self._handle_fault_response(status_code, 
replybody)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in 
_handle_fault_response
 TRACE nova.network.neutronv2.api     exception_handler_v20(status_code, 
des_error_body)
 TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in 
exception_handler_v20
TRACE nova.network.neutronv2.api     message=message)
 nova.network.neutronv2.api NeutronClientException: 404 Not Found

The bind failed because of the following error:
Network a813e9e3-4e87-4de6-8f48-84e4a4cb774a is of type vxlan but agent or 
mechanism driver only support ['local', 'flat', 'vlan']. 
check_segment_for_agent 
/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:193
which is clear and expected.

Post this, I wanted to clean up the instances and it just won't get deleted.
Even though the delete request comes back with "Request to delete server has 
been accepted"

Upon pdbing, I could see that there's an error being thrown at the
nova/api/openstack/wsgi.py around line 1061 -

"'Controller' object has no attribute 'versioned_methods'"

I think this is a different bug than the ones which have been earlier
reported.

Bug 1329559 being one for reference.

** Affects: nova
     Importance: Undecided
     Assignee: Sudipta Biswas (sbiswas7)
         Status: New


** Tags: network

** Changed in: nova
     Assignee: (unassigned) => Sudipta Biswas (sbiswas7)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1458809

Title:
  Unable to delete instances created using stale networks

Status in OpenStack Compute (Nova):
  New

Bug description:
  I am on Kilo.

  I was using VxLAN based networks. 
  As the lab requirement changed, I had to move over to "FLAT" networking.
  This involved editing the ml2_conf.ini file and the necessary changes for 
'flat' networking to work.
  However, I didn't enable VxLAN networking any longer - even though the 
networks pre-created (using VxLAN) were still lying there. (This wasn't 
intentional).

  Again without actual intentions, I ended up deploying an instance with the 
VxLAN based networks.
  This results into a build failure on the compute node with the following 
exception:

  Unable to clear device ID for port 'None'
   TRACE nova.network.neutronv2.api Traceback (most recent call last):
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 366, in 
_unbind_ports
   TRACE nova.network.neutronv2.api     port_client.update_port(port_id, 
port_req_body)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in 
with_params
   TRACE nova.network.neutronv2.api     ret = self.function(instance, *args, 
**kwargs)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 549, in 
update_port
   TRACE nova.network.neutronv2.api     return self.put(self.port_path % 
(port), body=body)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 302, in 
put
  TRACE nova.network.neutronv2.api     headers=headers, params=params)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in 
retry_request
   TRACE nova.network.neutronv2.api     headers=headers, params=params)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in 
do_request
   TRACE nova.network.neutronv2.api     
self._handle_fault_response(status_code, replybody)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in 
_handle_fault_response
   TRACE nova.network.neutronv2.api     exception_handler_v20(status_code, 
des_error_body)
   TRACE nova.network.neutronv2.api   File 
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in 
exception_handler_v20
  TRACE nova.network.neutronv2.api     message=message)
   nova.network.neutronv2.api NeutronClientException: 404 Not Found

  The bind failed because of the following error:
  Network a813e9e3-4e87-4de6-8f48-84e4a4cb774a is of type vxlan but agent or 
mechanism driver only support ['local', 'flat', 'vlan']. 
check_segment_for_agent 
/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:193
  which is clear and expected.

  Post this, I wanted to clean up the instances and it just won't get deleted.
  Even though the delete request comes back with "Request to delete server has 
been accepted"

  Upon pdbing, I could see that there's an error being thrown at the
  nova/api/openstack/wsgi.py around line 1061 -

  "'Controller' object has no attribute 'versioned_methods'"

  I think this is a different bug than the ones which have been earlier
  reported.

  Bug 1329559 being one for reference.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1458809/+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

Reply via email to