← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1744240] [NEW] Nova error when launch instances

 

Public bug reported:

Good Morning

I have encountered an error in nova compute manager and when executing
instances.

The error is as follows:

2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [req-90e1bef6-e72b-4c63-                                                                                                             a8d2-22b1017cf2e7 190e67811cc043f19fe3dcc85273cf7a b7c7935421fa44e4912fc660037ab                                                                                                             7ac - default default] [instance: 214474eb-2326-420b-8ad7-6707898c0af4] Unexpect                                                                                                             ed build failure, not rescheduling build.: UnicodeDecodeError: 'ascii' codec can                                                                                                             't decode byte 0xc3 in position 4: ordinal not in range(128)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4] Traceback (most recent call last):
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/m                                                                                                             anager.py", line 1856, in _do_build_and_run_instance
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     filter_properties)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/m                                                                                                             anager.py", line 2084, in _build_and_run_instance
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     phase=fields.NotificationPhase.ERROR, exception=e)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/rpc.py",                                                                                                              line 225, in wrapped
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     return f(*args, **kwargs)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/u                                                                                                             tils.py", line 391, in notify_about_instance_create
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     fault, priority = _get_fault_and_priority_from_exc(                                                                                                             exception)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/u                                                                                                             tils.py", line 346, in _get_fault_and_priority_from_exc
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     exception)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/notificat                                                                                                             ions/objects/exception.py", line 52, in from_exception
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     exception_message=six.text_type(fault))
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc                                                                                                             3 in position 4: ordinal not in range(128)
2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]

I have modified the locale of the controlling node and the computation
node

I am Spanish and I use the following coding.

LANG=es_ES.UTF-8
LANGUAGE=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=es_ES.UTF-8

/etc/mysql/mariadb.conf.d/99-openstack.cnf

[mysqld]
bind-address = 172.20.20.5

default-storage-engine = innodb
innodb_file_per_table = on
max_connections = 4096
collation-server = utf8_general_ci
character-set-server = utf8

/etc/default/locale

LANG=es_ES.UTF-8
LC_ALL=es_ES.UTF-8

That could be happening?

Regards
That could be happening?

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1744240

Title:
  Nova error when launch instances

Status in OpenStack Compute (nova):
  New

Bug description:
  Good Morning

  I have encountered an error in nova compute manager and when executing
  instances.

  The error is as follows:

  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [req-90e1bef6-e72b-4c63-                                                                                                             a8d2-22b1017cf2e7 190e67811cc043f19fe3dcc85273cf7a b7c7935421fa44e4912fc660037ab                                                                                                             7ac - default default] [instance: 214474eb-2326-420b-8ad7-6707898c0af4] Unexpect                                                                                                             ed build failure, not rescheduling build.: UnicodeDecodeError: 'ascii' codec can                                                                                                             't decode byte 0xc3 in position 4: ordinal not in range(128)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4] Traceback (most recent call last):
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/m                                                                                                             anager.py", line 1856, in _do_build_and_run_instance
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     filter_properties)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/m                                                                                                             anager.py", line 2084, in _build_and_run_instance
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     phase=fields.NotificationPhase.ERROR, exception=e)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/rpc.py",                                                                                                              line 225, in wrapped
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     return f(*args, **kwargs)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/u                                                                                                             tils.py", line 391, in notify_about_instance_create
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     fault, priority = _get_fault_and_priority_from_exc(                                                                                                             exception)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/compute/u                                                                                                             tils.py", line 346, in _get_fault_and_priority_from_exc
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     exception)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]   File "/usr/lib/python2.7/dist-packages/nova/notificat                                                                                                             ions/objects/exception.py", line 52, in from_exception
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]     exception_message=six.text_type(fault))
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc                                                                                                             3 in position 4: ordinal not in range(128)
  2018-01-19 09:13:30.696 1761 ERROR nova.compute.manager [instance: 214474eb-2326                                                                                                             -420b-8ad7-6707898c0af4]

  I have modified the locale of the controlling node and the computation
  node

  I am Spanish and I use the following coding.

  LANG=es_ES.UTF-8
  LANGUAGE=
  LC_CTYPE="es_ES.UTF-8"
  LC_NUMERIC="es_ES.UTF-8"
  LC_TIME="es_ES.UTF-8"
  LC_COLLATE="es_ES.UTF-8"
  LC_MONETARY="es_ES.UTF-8"
  LC_MESSAGES="es_ES.UTF-8"
  LC_PAPER="es_ES.UTF-8"
  LC_NAME="es_ES.UTF-8"
  LC_ADDRESS="es_ES.UTF-8"
  LC_TELEPHONE="es_ES.UTF-8"
  LC_MEASUREMENT="es_ES.UTF-8"
  LC_IDENTIFICATION="es_ES.UTF-8"
  LC_ALL=es_ES.UTF-8

  /etc/mysql/mariadb.conf.d/99-openstack.cnf

  [mysqld]
  bind-address = 172.20.20.5

  default-storage-engine = innodb
  innodb_file_per_table = on
  max_connections = 4096
  collation-server = utf8_general_ci
  character-set-server = utf8

  /etc/default/locale

  LANG=es_ES.UTF-8
  LC_ALL=es_ES.UTF-8

  That could be happening?

  Regards
  That could be happening?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1744240/+subscriptions


Follow ups