Multiple VM creation with unicode-containing names fails
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Invalid
|
Medium
|
MOS Nova |
Bug Description
It happens when creating more than one instance with unicode-containing name. The first attempt to boot an instance with unicode-containing name is successful, but if to boot one more vm with unicode-containing name, it will fall to ERROR state with the message like:
'Returning exception 'ascii' codec can't decode byte 0xe2 in position 359: ordinal not in range(128) to caller'
Moreover, if after this to try to boot any instance with ascii characters, it will fall to ERROR state with the same message.
It has been reproduced on env (3 controllers+2 computes, Cinder LVM):
[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
154
cat /etc/fuel_
154
cat /etc/fuel_release:
9.0
cat /etc/fuel_
mitaka-9.0
rpm -qa | egrep 'fuel|astute|
fuel-misc-
python-
fuel-9.
fuel-provision
fuelmenu-
fuel-ui-
fuel-migrate-
fuel-ostf-
shotgun-
python-
fuel-bootstrap
fuel-nailgun-
fuel-setup-
rubygem-
fuel-mirror-
fuel-openstack
fuel-notify-
fuel-release-
nailgun-
network-
fuel-utils-
fuel-library9.
fuel-agent-
[root@nailgun ~]#
Steps to reproduce:
1. Create a first instance with unicode characters in its name:
a=$'\u2234\
nova boot --flavor m1.micro --image TestVM --nic net-id=$(neutron net-list | awk '/admin_
scheduler's log of creation process - http://
2. Check that it's in ACTIVE state:
root@node-1:~# nova show vm∴→☿★ | grep status
| status | ACTIVE |
3. Create another instance with unicode characters in its name:
nova boot --flavor m1.micro --image TestVM --nic net-id=$(neutron net-list | awk '/admin_
scheduler's log of creation process - http://
Expected result: the instance's booting is successful
Actual result: the instance's booting failed
Changed in mos: | |
status: | New → Confirmed |
assignee: | nobody → MOS Nova (mos-nova) |
importance: | Undecided → High |
Changed in mos: | |
assignee: | MOS Nova (mos-nova) → stgleb (gstepanov) |
Changed in mos: | |
assignee: | stgleb (gstepanov) → Andrey Volkov (avolkov) |
status: | Confirmed → In Progress |
Can't reproduce on my devstack: http:// paste.openstack .org/show/ 497650/ ssl.mirantis. net error shows immediately on first request: http:// paste.openstack .org/show/ 497651/ paste.openstack .org/show/ 497652/
On horizon.
It can be useful to see result of script: http://