[Bug 1872570] [NEW] Floating ip delete failed if Chinese in description
HYSong
1872570 at bugs.launchpad.net
Tue Apr 14 01:51:21 UTC 2020
Public bug reported:
Floating ip delete failed if Chinese in description when executing
'openstack floating ip delete <floating-ip-id>'.
-------------------------------
root at ctl01:~# openstack floating ip create f4790efe-5df0-4f04-991b-a3c105e63b71 --description 测试
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| created_at | 2020-04-14T01:39:43Z |
| description | 测试 |
| fixed_ip_address | None |
| floating_ip_address | 10.110.26.135 |
| floating_network_id | f4790efe-5df0-4f04-991b-a3c105e63b71 |
| id | 7baf8eed-ad2d-4741-b2d6-a5fe50325448 |
| name | 10.110.26.135 |
| port_id | None |
| project_id | 1fc145617d5e4e97bad32c98b5d9b7c0 |
| qos_policy_id | None |
| revision_number | 0 |
| router_id | None |
| status | DOWN |
| subnet_id | None |
| updated_at | 2020-04-14T01:39:43Z |
+---------------------+--------------------------------------+
root at ctl01:~# openstack floating ip delete 7baf8eed-ad2d-4741-b2d6-a5fe50325448
Failed to delete floating_ip with name or ID '7baf8eed-ad2d-4741-b2d6-a5fe50325448': 'ascii' codec can't encode characters in position 85-86: ordinal not in range(128)
1 of 1 floating_ips failed to delete.
root at ctl01:~# openstack floating ip delete 7baf8eed-ad2d-4741-b2d6-a5fe50325448 --debug
GET call to network for http://10.110.28.20:9696/v2.0/floatingips/7baf8eed-ad2d-4741-b2d6-a5fe50325448 used request id req-86208a29-d7fd-4e08-be71-98846861c08b
Manager cn-north-3 ran task network.GET.floatingips in 0.481611967087s
Failed to delete floating_ip with name or ID '7baf8eed-ad2d-4741-b2d6-a5fe50325448': 'ascii' codec can't encode characters in position 85-86: ordinal not in range(128)
1 of 1 floating_ips failed to delete.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/dist-packages/cliff/command.py", line 137, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/dist-packages/openstackclient/network/common.py", line 125, in take_action
raise exceptions.CommandError(msg)
CommandError: 1 of 1 floating_ips failed to delete.
clean_up DeleteFloatingIP: 1 of 1 floating_ips failed to delete.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/dist-packages/cliff/command.py", line 137, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/dist-packages/openstackclient/network/common.py", line 125, in take_action
raise exceptions.CommandError(msg)
CommandError: 1 of 1 floating_ips failed to delete.
END return value: 1
** 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/1872570
Title:
Floating ip delete failed if Chinese in description
Status in python-openstackclient package in Ubuntu:
New
Bug description:
Floating ip delete failed if Chinese in description when executing
'openstack floating ip delete <floating-ip-id>'.
-------------------------------
root at ctl01:~# openstack floating ip create f4790efe-5df0-4f04-991b-a3c105e63b71 --description 测试
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| created_at | 2020-04-14T01:39:43Z |
| description | 测试 |
| fixed_ip_address | None |
| floating_ip_address | 10.110.26.135 |
| floating_network_id | f4790efe-5df0-4f04-991b-a3c105e63b71 |
| id | 7baf8eed-ad2d-4741-b2d6-a5fe50325448 |
| name | 10.110.26.135 |
| port_id | None |
| project_id | 1fc145617d5e4e97bad32c98b5d9b7c0 |
| qos_policy_id | None |
| revision_number | 0 |
| router_id | None |
| status | DOWN |
| subnet_id | None |
| updated_at | 2020-04-14T01:39:43Z |
+---------------------+--------------------------------------+
root at ctl01:~# openstack floating ip delete 7baf8eed-ad2d-4741-b2d6-a5fe50325448
Failed to delete floating_ip with name or ID '7baf8eed-ad2d-4741-b2d6-a5fe50325448': 'ascii' codec can't encode characters in position 85-86: ordinal not in range(128)
1 of 1 floating_ips failed to delete.
root at ctl01:~# openstack floating ip delete 7baf8eed-ad2d-4741-b2d6-a5fe50325448 --debug
GET call to network for http://10.110.28.20:9696/v2.0/floatingips/7baf8eed-ad2d-4741-b2d6-a5fe50325448 used request id req-86208a29-d7fd-4e08-be71-98846861c08b
Manager cn-north-3 ran task network.GET.floatingips in 0.481611967087s
Failed to delete floating_ip with name or ID '7baf8eed-ad2d-4741-b2d6-a5fe50325448': 'ascii' codec can't encode characters in position 85-86: ordinal not in range(128)
1 of 1 floating_ips failed to delete.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/dist-packages/cliff/command.py", line 137, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/dist-packages/openstackclient/network/common.py", line 125, in take_action
raise exceptions.CommandError(msg)
CommandError: 1 of 1 floating_ips failed to delete.
clean_up DeleteFloatingIP: 1 of 1 floating_ips failed to delete.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/dist-packages/cliff/command.py", line 137, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/dist-packages/openstackclient/network/common.py", line 125, in take_action
raise exceptions.CommandError(msg)
CommandError: 1 of 1 floating_ips failed to delete.
END return value: 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1872570/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list