← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1224583] Re: Hyper-V agent does not report the correct exception when the network type is set to GRE

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  Hyper-V agent does not report the correct exception when the network
  type is set to GRE

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  The parameters passed to the HyperVException stating that the network
  type is invalid are not properly set:

  https://github.com/openstack/neutron/blob/2d9e479eb3d5dd3d957fdbccf6d7fd3f5d82ad34/quantum/plugins/hyperv/agent/hyperv_quantum_agent.py#L163

  It affects both Grizzly and Havana.

  Here are the exception details.

  2013-08-05 15:57:42    ERROR [quantum.plugins.hyperv.agent.hyperv_quantum_agent] Error in agent event loop: __init__() takes exactly 1 argument (4 given)
  Traceback (most recent call last):
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\quantum-2013.1.2-py2.7.egg\quantum\plugins\hyperv\agent\hyperv_quantum_agent.py", line 317, in daemon_loop
      sync = self._process_network_ports(port_info)
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\quantum-2013.1.2-py2.7.egg\quantum\plugins\hyperv\agent\hyperv_quantum_agent.py", line 293, in _process_network_ports
      resync_a = self._treat_devices_added(port_info['added'])
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\quantum-2013.1.2-py2.7.egg\quantum\plugins\hyperv\agent\hyperv_quantum_agent.py", line 270, in _treat_devices_added
      device_details['admin_state_up'])
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\quantum-2013.1.2-py2.7.egg\quantum\plugins\hyperv\agent\hyperv_quantum_agent.py", line 239, in _treat_vif_port
      physical_network, segmentation_id)
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\quantum-2013.1.2-py2.7.egg\quantum\plugins\hyperv\agent\hyperv_quantum_agent.py", line 188, in _port_bound
      physical_network, segmentation_id)
    File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\quantum-2013.1.2-py2.7.egg\quantum\plugins\hyperv\agent\hyperv_quantum_agent.py", line 165, in _provision_network
      network_type, net_uuid)
  TypeError: __init__() takes exactly 1 argument (4 given)

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