Activity log for bug #1679175

Date Who What changed Old value New value Message
2017-04-03 13:08:00 Alistair Coles bug added bug
2017-04-03 13:08:09 Alistair Coles swift: assignee Alistair Coles (alistair-coles)
2017-04-03 13:14:50 OpenStack Infra swift: status New In Progress
2017-04-03 17:42:56 clayg swift: importance Undecided High
2017-04-04 08:22:20 Alistair Coles description First reported by Clay Gerrard in comment #1 here https://bugs.launchpad.net/swift/+bug/1678018 I'm having trouble duplicating this bug for replicated objects. In my tests the handling of the object name and metadata in the object server is being treated consistently as utf-8 encoded bytes - not unicode strings. object-6010: STDOUT: 'Content-Type': 'application/octet-stream' object-6010: STDOUT: 'ETag': 'd41d8cd98f00b204e9800998ecf8427e' object-6010: STDOUT: 'X-Object-Meta-Mtime': '1490985870.469097' object-6010: STDOUT: 'X-Object-Meta-\xe2\x98\x83': '\xe2\x98\x83' object-6010: STDOUT: 'X-Timestamp': '1490987405.84984' On master, the EC reconstructor seems to blow up in an entirely different spot: object-6030: STDERR: Traceback (most recent call last): object-6030: STDERR: File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers object-6030: STDERR: timer() object-6030: STDERR: File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__ object-6030: STDERR: cb(*args, **kw) object-6030: STDERR: File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main object-6030: STDERR: result = function(*args, **kwargs) object-6030: STDERR: File "/vagrant/swift/swift/common/utils.py", line 2726, in _run_func object-6030: STDERR: self._responses.put(func(*args, **kwargs)) object-6030: STDERR: File "/vagrant/swift/swift/obj/reconstructor.py", line 231, in _get_response object-6030: STDERR: full_path = _full_path(node, part, path, policy) object-6030: STDERR: File "/vagrant/swift/swift/obj/reconstructor.py", line 90, in _full_path object-6030: STDERR: 'policy': policy, object-6030: STDERR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 20: ordinal not in range(128) I'm creating objects from the command line using u'\N{SNOWMAN}' in the name & metadata swift upload test ☃ -H 'x-object-meta-☃: ☃' First reported by Clay Gerrard in comment #1 here https://bugs.launchpad.net/swift/+bug/1678018 Quoting Clay from there: "I'm having trouble duplicating this bug for replicated objects. In my tests the handling of the object name and metadata in the object server is being treated consistently as utf-8 encoded bytes - not unicode strings. object-6010: STDOUT: 'Content-Type': 'application/octet-stream' object-6010: STDOUT: 'ETag': 'd41d8cd98f00b204e9800998ecf8427e' object-6010: STDOUT: 'X-Object-Meta-Mtime': '1490985870.469097' object-6010: STDOUT: 'X-Object-Meta-\xe2\x98\x83': '\xe2\x98\x83' object-6010: STDOUT: 'X-Timestamp': '1490987405.84984' On master, the EC reconstructor seems to blow up in an entirely different spot: object-6030: STDERR: Traceback (most recent call last): object-6030: STDERR: File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers object-6030: STDERR: timer() object-6030: STDERR: File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__ object-6030: STDERR: cb(*args, **kw) object-6030: STDERR: File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main object-6030: STDERR: result = function(*args, **kwargs) object-6030: STDERR: File "/vagrant/swift/swift/common/utils.py", line 2726, in _run_func object-6030: STDERR: self._responses.put(func(*args, **kwargs)) object-6030: STDERR: File "/vagrant/swift/swift/obj/reconstructor.py", line 231, in _get_response object-6030: STDERR: full_path = _full_path(node, part, path, policy) object-6030: STDERR: File "/vagrant/swift/swift/obj/reconstructor.py", line 90, in _full_path object-6030: STDERR: 'policy': policy, object-6030: STDERR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 20: ordinal not in range(128) I'm creating objects from the command line using u'\N{SNOWMAN}' in the name & metadata swift upload test ☃ -H 'x-object-meta-☃: ☃' "
2017-04-07 19:28:31 Alistair Coles swift: importance High Critical
2017-04-19 17:58:43 OpenStack Infra swift: status In Progress Fix Released