Non-ascii disk names fail
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/cloud/.virtualenvs/circle/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/local/lib/python2.7/site-packages/braces/views/_access.py", line 64, in dispatch
request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
return handler(request, *args, **kwargs)
File "./dashboard/views.py", line 2266, in post
return create_func(request, *args, **kwargs)
File "./dashboard/views.py", line 2212, in __create_customized
**ikwargs)
File "./vm/models/instance.py", line 439, in mass_create_from_template
for cps in customized_params]
File "./vm/models/instance.py", line 376, in create
inst.disks.add(*[disk.get_exclusive() for disk in disks])
File "./storage/models.py", line 281, in get_exclusive
type=new_type, dev_num=self.dev_num)
File "./storage/models.py", line 370, in create
logger.debug("Disk created: %s", params)
File "/usr/lib/python2.7/logging/__init__.py", line 1140, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1271, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1281, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1321, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 749, in handle
self.emit(record)
File "/usr/lib/python2.7/logging/handlers.py", line 842, in emit
msg = self.format(record) + '\000'
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
msg = msg % self.args
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128)
-
Status changed to closed by commit 774926
Toggle commit list
Please
register
or
sign in
to comment