yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06918
[Bug 1209090] Re: create VM instances failed by vmwareapi.VCDriver
** Changed in: nova
Status: Incomplete => Invalid
--
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/1209090
Title:
create VM instances failed by vmwareapi.VCDriver
Status in OpenStack Compute (Nova):
Invalid
Bug description:
When I run the command "nova boot ",the nova-compute Prompt me that
"Got this error 'ascii' codec can't encode characters in position 0-4:
ordinal not in range(128)".
who met this problem? please help me
best thanks!
>>>>I suspect that this maybe a bug.
nova-compute.log >>
2013-08-07 14:14:26.699 17906 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
2013-08-07 14:14:26.699 ERROR nova.compute.manager [req-974a84c2-1a8b-43c6-a133-740f66e1cc6c 78a94e525ea643b39b10b05529e1e8fd 25bfd6dfb2124bb3bb3dad9f88952302] [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] Instance failed to spawn
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] Traceback (most recent call last):
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1103, in _spawn
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] block_device_info)
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 177, in spawn
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: f952c9d-100d-4d33-8af3-d216b6507fba] block_device_info)
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 412, in spawn
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] vmdk_file_size_in_kb, linked_clone)
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/volumeops.py", line 67, in attach_disk_to_vm
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] self._session._wait_for_task(instance_name, reconfig_task)
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 554, in _wait_for_task
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] ret_val = done.wait()
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] return hubs.get_hub().switch()
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] return self.greenlet.switch()
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
2013-08-07 14:14:26.699 17906 TRACE nova.compute.manager [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba]
2013-08-07 14:14:26.786 AUDIT nova.compute.manager [req-974a84c2-1a8b-43c6-a133-740f66e1cc6c 78a94e525ea643b39b10b05529e1e8fd 25bfd6dfb2124bb3bb3dad9f88952302] [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] Terminating instance
2013-08-07 14:14:31.739 17906 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
2013-08-07 14:14:31.740 17906 ERROR nova.utils [-] in fixed duration looping call
2013-08-07 14:14:31.740 17906 TRACE nova.utils Traceback (most recent call last):
2013-08-07 14:14:31.740 17906 TRACE nova.utils File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 594, in _inner
2013-08-07 14:14:31.740 17906 TRACE nova.utils self.f(*self.args, **self.kw)
2013-08-07 14:14:31.740 17906 TRACE nova.utils File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 581, in _poll_task
2013-08-07 14:14:31.740 17906 TRACE nova.utils done.send_exception(excep)
2013-08-07 14:14:31.740 17906 TRACE nova.utils File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 208, in send_exception
2013-08-07 14:14:31.740 17906 TRACE nova.utils return self.send(None, args)
2013-08-07 14:14:31.740 17906 TRACE nova.utils File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 150, in send
2013-08-07 14:14:31.740 17906 TRACE nova.utils assert self._result is NOT_USED, 'Trying to re-send() an already-triggered event.'
2013-08-07 14:14:31.740 17906 TRACE nova.utils AssertionError: Trying to re-send() an already-triggered event.
2013-08-07 14:14:31.740 17906 TRACE nova.utils
2013-08-07 14:14:33.806 ERROR nova.compute.manager [req-974a84c2-1a8b-43c6-a133-740f66e1cc6c 78a94e525ea643b39b10b05529e1e8fd 25bfd6dfb2124bb3bb3dad9f88952302] [instance: 3f952c9d-100d-4d33-8af3-d216b6507fba] Error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 848, in _run_instance\n set_access_ip=set_access_ip)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1107, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', ' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1103, in _spawn\n block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 177, in spawn\n block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 412, in spawn\n vmdk_file_size_in_kb, linked_clone)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/volumeops.py", line 67, in attach_disk_to_vm\n self._session._wait_for_task(instance_name, reconfig_task)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 554, in _wait_for_task\n ret_val = done.wait()\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait\n return hubs.get_hub().switch()\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch\n return self.greenlet.switch()\n', "UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)\n"]
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1209090/+subscriptions