← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1403379] [NEW] can not delete an instance with Chinese name

 

Public bug reported:

can not delete an instance which display name is Chinese.
[tagett@stack-01 devstack]$ nova --debug delete 测试

'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
DEBUG (shell:908) Unable to delete the specified server(s).
Traceback (most recent call last):
  File "/opt/stack/python-novaclient/novaclient/shell.py", line 905, in main
    OpenStackComputeShell().main(argv)
  File "/opt/stack/python-novaclient/novaclient/shell.py", line 832, in main
    args.func(self.cs, args)
  File "/opt/stack/python-novaclient/novaclient/v1_1/shell.py", line 1876, in do_delete
    _("Unable to delete the specified server(s)."))
  File "/opt/stack/python-novaclient/novaclient/utils.py", line 320, in do_action_on_many
    raise exceptions.CommandError(error_msg)

** Affects: python-novaclient
     Importance: Undecided
         Status: New

** Project changed: nova => python-novaclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1403379

Title:
  can not delete an instance with Chinese name

Status in Python client library for Nova:
  New

Bug description:
  can not delete an instance which display name is Chinese.
  [tagett@stack-01 devstack]$ nova --debug delete 测试

  'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
  DEBUG (shell:908) Unable to delete the specified server(s).
  Traceback (most recent call last):
    File "/opt/stack/python-novaclient/novaclient/shell.py", line 905, in main
      OpenStackComputeShell().main(argv)
    File "/opt/stack/python-novaclient/novaclient/shell.py", line 832, in main
      args.func(self.cs, args)
    File "/opt/stack/python-novaclient/novaclient/v1_1/shell.py", line 1876, in do_delete
      _("Unable to delete the specified server(s)."))
    File "/opt/stack/python-novaclient/novaclient/utils.py", line 320, in do_action_on_many
      raise exceptions.CommandError(error_msg)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1403379/+subscriptions


Follow ups

References