[Bug 1873177] [NEW] Encoding Chinese error when operate network
HYSong
1873177 at bugs.launchpad.net
Thu Apr 16 07:16:35 UTC 2020
Public bug reported:
I find that there are same encoding errors occurred when operating
network use openstack client.
________________________________
scene1:
If the network/subnet/port/floating-ip created by horizon and named using Chinese,
it can not be shown by 'openstack network show <network-name>/openstack subnet show <subnet -name>/openstack port show <port-name>/openstack floating ip show <floating-ip-name>'
root at ctl01:~# openstack subnet show 测试子网
'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
scene2:
If the network/subnet/port/floating-ip who set Chinese description,
it can not be deleted by 'openstack network delete <network-id>/openstack subnet delete <subnet -id>/openstack floating ip delete <floating-ip-id>'
root at ctl01:~# openstack network create test --description 测试
root at ctl01:~# openstack network delete test
Failed to delete network with name or ID 'test': 'ascii' codec can't encode characters in position 392-393: ordinal not in range(128)
1 of 1 networks failed to delete.
** Affects: python-openstackclient (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1873177
Title:
Encoding Chinese error when operate network
Status in python-openstackclient package in Ubuntu:
New
Bug description:
I find that there are same encoding errors occurred when operating
network use openstack client.
________________________________
scene1:
If the network/subnet/port/floating-ip created by horizon and named using Chinese,
it can not be shown by 'openstack network show <network-name>/openstack subnet show <subnet -name>/openstack port show <port-name>/openstack floating ip show <floating-ip-name>'
root at ctl01:~# openstack subnet show 测试子网
'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
scene2:
If the network/subnet/port/floating-ip who set Chinese description,
it can not be deleted by 'openstack network delete <network-id>/openstack subnet delete <subnet -id>/openstack floating ip delete <floating-ip-id>'
root at ctl01:~# openstack network create test --description 测试
root at ctl01:~# openstack network delete test
Failed to delete network with name or ID 'test': 'ascii' codec can't encode characters in position 392-393: ordinal not in range(128)
1 of 1 networks failed to delete.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1873177/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list