← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1790023] Re: ERROR networking_hyperv.neutron.agent.layer2

 

** Description changed:

- When i create new instance on Hyper-V 2016 with Hyper-v Nova Driver its start without interface and i see this error all the time:
+ When i create new instance on Hyper-V 2016 with Hyper-v Nova Driver(Queens release) its start without interface and i see this error all the time:
  2018-08-31 04:12:57.009 4268 INFO networking_hyperv.neutron.agent.layer2 [req-33b89cee-bc36-4e3b-a984-d5ee42636cbe - - - - -] Adding port 4cd2c214-5a9b-4680-a0e7-36bf2d85728c
  2018-08-31 04:12:57.022 4268 INFO networking_hyperv.neutron.agent.layer2 [req-33b89cee-bc36-4e3b-a984-d5ee42636cbe - - - - -] Port 4cd2c214-5a9b-4680-a0e7-36bf2d85728c updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'2f004645-de11-4b04-a3f9-1c2abfb78899', u'segmentation_id': 1001, u'mtu': 1500, u'device_owner': u'compute:test', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:5d:58:7e', u'device': u'4cd2c214-5a9b-4680-a0e7-36bf2d85728c', u'port_security_enabled': True, u'port_id': u'4cd2c214-5a9b-4680-a0e7-36bf2d85728c', u'fixed_ips': [{u'subnet_id': u'2b15aa6c-d9ce-4247-9bc4-4b6896fcf625', u'ip_address': u'172.18.200.5'}], u'network_type': u'vlan'}
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2 [-] Exception encountered while processing port 4cd2c214-5a9b-4680-a0e7-36bf2d85728c. Exception: 'ascii' codec can't encode characters in position 31-38: ordinal not in range(128): UnicodeEncodeError: 'ascii' codec can't encode characters in position 31-38: ordinal not in range(128)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2 Traceback (most recent call last):
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 314, in process_added_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     self._process_added_port(device_details)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\hyperv_neutron_agent.py", line 252, in _process_added_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     device_details)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 302, in _process_added_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     set_port_sriov=set_port_sriov)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\_common_utils.py", line 36, in wrapper
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     return inner()
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\oslo_concurrency\lockutils.py", line 274, in inner
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     return f(*args, **kwargs)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\_common_utils.py", line 35, in inner
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     return f(*args, **kwargs)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 479, in _treat_vif_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     port_security_enabled, set_port_sriov)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\hyperv_neutron_agent.py", line 197, in _port_bound
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     self._vlan_driver.bind_vlan_port(port_id, segmentation_id)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\trunk_driver.py", line 88, in bind_vlan_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     trunk = self._fetch_trunk(port_id)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\trunk_driver.py", line 109, in _fetch_trunk
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     if 'CallbackNotFound' not in str(ex):
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2 UnicodeEncodeError: 'ascii' codec can't encode characters in position 31-38: ordinal not in range(128)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2

** Also affects: networking-hyperv
   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/1790023

Title:
  ERROR networking_hyperv.neutron.agent.layer2

Status in networking-hyperv:
  New
Status in neutron:
  New

Bug description:
  When i create new instance on Hyper-V 2016 with Hyper-v Nova Driver(Queens release) its start without interface and i see this error all the time:
  2018-08-31 04:12:57.009 4268 INFO networking_hyperv.neutron.agent.layer2 [req-33b89cee-bc36-4e3b-a984-d5ee42636cbe - - - - -] Adding port 4cd2c214-5a9b-4680-a0e7-36bf2d85728c
  2018-08-31 04:12:57.022 4268 INFO networking_hyperv.neutron.agent.layer2 [req-33b89cee-bc36-4e3b-a984-d5ee42636cbe - - - - -] Port 4cd2c214-5a9b-4680-a0e7-36bf2d85728c updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'2f004645-de11-4b04-a3f9-1c2abfb78899', u'segmentation_id': 1001, u'mtu': 1500, u'device_owner': u'compute:test', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:5d:58:7e', u'device': u'4cd2c214-5a9b-4680-a0e7-36bf2d85728c', u'port_security_enabled': True, u'port_id': u'4cd2c214-5a9b-4680-a0e7-36bf2d85728c', u'fixed_ips': [{u'subnet_id': u'2b15aa6c-d9ce-4247-9bc4-4b6896fcf625', u'ip_address': u'172.18.200.5'}], u'network_type': u'vlan'}
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2 [-] Exception encountered while processing port 4cd2c214-5a9b-4680-a0e7-36bf2d85728c. Exception: 'ascii' codec can't encode characters in position 31-38: ordinal not in range(128): UnicodeEncodeError: 'ascii' codec can't encode characters in position 31-38: ordinal not in range(128)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2 Traceback (most recent call last):
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 314, in process_added_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     self._process_added_port(device_details)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\hyperv_neutron_agent.py", line 252, in _process_added_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     device_details)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 302, in _process_added_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     set_port_sriov=set_port_sriov)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\_common_utils.py", line 36, in wrapper
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     return inner()
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\oslo_concurrency\lockutils.py", line 274, in inner
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     return f(*args, **kwargs)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\_common_utils.py", line 35, in inner
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     return f(*args, **kwargs)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\layer2.py", line 479, in _treat_vif_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     port_security_enabled, set_port_sriov)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\agent\hyperv_neutron_agent.py", line 197, in _port_bound
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     self._vlan_driver.bind_vlan_port(port_id, segmentation_id)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\trunk_driver.py", line 88, in bind_vlan_port
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     trunk = self._fetch_trunk(port_id)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2   File "C:\PROGRA~1\CLOUDB~1\OPENST~1\Nova\Python27\lib\site-packages\networking_hyperv\neutron\trunk_driver.py", line 109, in _fetch_trunk
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2     if 'CallbackNotFound' not in str(ex):
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2 UnicodeEncodeError: 'ascii' codec can't encode characters in position 31-38: ordinal not in range(128)
  2018-08-31 04:12:57.042 4268 ERROR networking_hyperv.neutron.agent.layer2

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-hyperv/+bug/1790023/+subscriptions


References