cinderclient.volumes.set_metadata and volume_snapshots.set_metadata() does not support unicode
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Fix Released
|
High
|
Michael Dovgal | |||
7.0.x |
Fix Released
|
High
|
Alexey Stupnikov | |||
8.0.x |
Fix Released
|
High
|
Sergii Rizvan | |||
9.x |
Fix Released
|
High
|
Rodion Tikunov |
Bug Description
Looks like cinderclient.
If cal these methods with unicode chars (for example, metadata= {u'тестовый': u'тестовое_
File "/horizon/
body, "metadata")
File "/horizon/
return self.resource_
File "/horizon/
self.
File "/horizon/
setattr(self, k, v)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
Looks like actually request to cinder service is finished correctly with 200 status and the issue happens when cinderclient tries to return Volumes/
Changed in mos: | |
assignee: | nobody → MOS Cinder (mos-cinder) |
tags: | added: customer-found |
tags: | added: area-cinder |
tags: | added: on-verification |
tags: | added: on-verification |
tags: | added: on-verification |
Upstream bug: https:/ /bugs.launchpad .net/python- cinderclient/ +bug/1622631