yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68649
[Bug 1676327] Re: UnicodeDecodeError 'ascii' codec can't decode byte 0xc5 in position
** Also affects: nova
Importance: Undecided
Status: New
--
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/1676327
Title:
UnicodeDecodeError 'ascii' codec can't decode byte 0xc5 in position
Status in Mirantis OpenStack:
Confirmed
Status in Mirantis OpenStack 10.0.x series:
Confirmed
Status in Mirantis OpenStack 9.x series:
Confirmed
Status in OpenStack Compute (nova):
New
Bug description:
Detailed bug description:
We can't launch instance with non-ascii symbol in the name or in image description field
Steps to reproduce:
Enable Debug=True on the nova-compute host, restart nova-compute service.
Launch instance with name f.e. "iš instance"
Expected results:
Instance in active state
Actual result:
Instance in ERROR state
Reproducibility:
100%
Workaround:
Set DEBUG=False
Description of the environment:
- Operation system: Ubuntu, RHEL
- Versions of components: MOS 9.0, 9.1
Additional information:
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [req-a427a02d-9563-4f6b-8111-e6b5dc15f830 ec0ffcafc20244029d090e7e98aa0461 9b05738c81444d5e8ba74669c058f53a - - -] [instance: 25073828-c38f-4ec4-a3a7-5
e9e092806e4] Instance failed to spawn
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] Traceback (most recent call last):
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2218, in _build_resources
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] yield resources
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2064, in _build_and_run_instan
ce
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] block_device_info=block_device_info)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2793, in spawn
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] write_to_disk=True)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4737, in _get_guest_xml
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] context)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4603, in _get_guest_config
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] flavor, virt_type, self._host)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 437, in get_config
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] 'vif': vif, 'virt_type': virt_type})
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 1425, in debug
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] self.logger.debug(msg, *args, **kwargs)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 1140, in debug
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] self._log(DEBUG, msg, args, **kwargs)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 1271, in _log
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] self.handle(record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 1281, in handle
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] self.callHandlers(record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 1321, in callHandlers
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] hdlr.handle(record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 749, in handle
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] self.emit(record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/oslo_log/handlers.py", line 55, in emit
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] msg = self.format(record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] return fmt.format(record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/dist-packages/oslo_log/formatters.py", line 267, in format
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] return logging.Formatter.format(self, record)
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] record.message = record.getMessage()
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] msg = msg % self.args
2017-03-27 09:03:26.005 2489897 ERROR nova.compute.manager [instance: 25073828-c38f-4ec4-a3a7-5e9e092806e4] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 318: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mos/+bug/1676327/+subscriptions