Search the VMware Knowledge Base (KB)
View by Article ID

Non ASCII characters in instance name prevents new instance deployment (2150319)

  • 0 Ratings

Symptoms

  • If you create and launch an instance containing non ASCII characters into description, all the created and launched instances that follow will fail.
  • In the Horizon, you see this error message:
Error: Failed to perform requested operation on instance "armagedon-2", the instance has an error status: Please try again later [Error: Remote error: UnicodeDecodeError 'ascii' codec can't decode byte 0xc3 in position 370: ordinal not in range(128) [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch].

Cause

This issue is caused by bug 1580728, affecting the Openstack Mitaka version. For more information, see https://review.openstack.org/#/c/462735/.

Resolution

Currently, there is no resolution.
 
To work around this issue, go to the previous instance and remove non ASCII characters into description.
 
To be alerted when this article is updated, click the Subscribe to Document link in the Actions box.

Additional Information

  • From loadbalancer node, running the  openstack server list --all-project command, you see this error message:

    'ascii' codec can't encode characters in position 457-458: ordinal not in range(128)

  • Diving into nova-conductor log (compute node) reports these errors:

    2017-05-19 08:17:52.990 29485 WARNING nova.scheduler.utils [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] Failed to compute_task_build_instances: Remote error: UnicodeDecodeError 'ascii' codec can't decode byte 0xc3 in position 370: ordinal not in range(128)
    ...
    2017-05-19 08:17:52.992 29485 WARNING nova.scheduler.utils [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] [instance: 5739016d-ec5f-4420-87f2-1860f8e7f941] Setting instance to ERROR state.
    2017-05-19 08:17:53.097 29485 DEBUG nova.network.neutronv2.api [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] [instance: 5739016d-ec5f-4420-87f2-1860f8e7f941] deallocate_for_instance() deallocate_for_instance /usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py:818
    2017-05-19 08:17:53.108 29485 DEBUG keystoneauth.session [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] REQ: curl -g -i -X GET http://192.168.0.200:9696/v2.0/ports.json?device_id=5739016d-ec5f-4420-87f2-1860f8e7f941 -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}241eb1c0e343be1f8f7482a1a79c7355c68b138f" _http_log_request /usr/lib/python2.7/dist-packages/keystoneauth1/session.py:248
    2017-05-19 08:17:53.144 29485 DEBUG keystoneauth.session [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] RESP: [200] Date: Fri, 19 May 2017 08:17:53 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 13 X-Openstack-Request-Id: req-19b21570-a310-4c8c-b8b0-1710767896c5
    RESP BODY: {"ports": []}_http_log_response /usr/lib/python2.7/dist-packages/keystoneauth1/session.py:277
    2017-05-19 08:17:53.145 29485 WARNING nova.network [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] Config mismatch. The network_api_class specifies nova.network.neutronv2.api.API, however use_neutron is not set to True. Using Neutron networking for now, however please set use_neutron to True in your configuration as network_api_class is deprecated and will be removed.
    2017-05-19 08:17:53.146 29485 DEBUG nova.network.neutronv2.api [req-780036a7-70ed-4934-84d1-bc269e4fe901 f98b067118fd458cb79596bca426887a 3a8e708ba0c24791a8713cb797a1a576 - - -] [instance: 5739016d-ec5f-4420-87f2-1860f8e7f941] Instance cache missing network info. _get_preexisting_port_ids /usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py:1699


    Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: