Test "create volume with cyrillic characters in name" failed

Bug #1604255 reported by Sofiia Andriichenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Confirmed
Low
MOS Oslo
9.x
Confirmed
Low
MOS Oslo

Bug Description

Configuration:
    ISO: 9.0 mos iso #495

Steps to reproduce:
 1. Deploy environmen
 2. Navigate to horizon
 3. Login as admin in Horizon
 4. Navigate to tab Project->Compute->Volumes
 5. Click button "Create volume"
 6. In opened window, entered some cyrillic characters in textbox
 7. Click button "Create volume"

Expected results:
"Enable to create volume with non unicode symbols"

Actual result:
Massage "Error: Unable to create volume."
Volume cannot created and in status "Creating"

Changed in mos:
assignee: nobody → MOS Cinder (mos-cinder)
Changed in mos:
milestone: none → 9.1
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

It's reproduced only in Debug mode, so should not affect any production deployments. I propose to change priority to Low

Changed in mos:
assignee: MOS Cinder (mos-cinder) → Ivan Kolodyazhny (e0ne)
importance: Medium → High
importance: High → Low
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Move to 9.2 since we've reached HCF for 9.1

Changed in mos:
milestone: 9.1 → 9.2
Ivan Kolodyazhny (e0ne)
tags: added: move-to-9.2
Revision history for this message
Alexander Gromov (agromov) wrote :

This bug can also be reproduced using CLI:

root@node-1:~# cinder create --name "シンダー" 1
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-7fad5206-1f04-4249-bdaf-f8d4b0e269e8)
root@node-1:~# cinder list
+--------------------------------------+----------+----------+------+-------------+----------+-------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+----------+----------+------+-------------+----------+-------------+
| 2230db59-79e4-47d3-a0fe-f09bf9015b93 | creating | シンダー | 1 | - | false | |
+--------------------------------------+----------+----------+------+-------------+----------+-------------+
root@node-1:~#

After that the volume has creating status and doesn't change it.

Revision history for this message
Michael Dovgal (mdovgal) wrote :

After reproducing this bug in MOS environment I've got such a traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/dist-packages/oslo_log/formatters.py", line 267, in format
    return logging.Formatter.format(self, 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 0xd1 in position 263: ordinal not in range(128)
Logged from file logging.py, line 178
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/dist-packages/oslo_log/formatters.py", line 267, in format
    return logging.Formatter.format(self, 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 0xd1 in position 351: ordinal not in range(128)
Logged from file notifier.py, line 214

we have bug with similar traceback here
https://bugs.launchpad.net/oslo.db/+bug/1430399

For me this bug seems to have connected to oslo libraries.

Now in upstream there is the only problem with deleting volumes by name with such a symbols. Discussion is here.
https://bugs.launchpad.net/cinder/+bug/1518141
https://bugs.launchpad.net/cinder/+bug/1518141/comments/8

summary: - Create volume with cyrillic characters in name is failed
+ Test "create volume with cyrillic characters in name" failed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.