← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1650051] [NEW] nova console-log returns error for Centos 6.x : 'ascii' codec can't encode character u'\ufffd' in position 13206: ordinal not in range(128)

 

Public bug reported:

Description
===========
nova console-log returns error for Contos 6.x  : 'ascii' codec can't encode character u'\ufffd' in position 13206: ordinal not in range(128).


nova console-log returns the log properly for Centos 7.x &Ubuntu 14.x images.
 


Steps to reproduce:

Step 1 : Upload Centos 6.x image. Ex:
http://cloud.centos.org/centos/6/images/CentOS-6-x86_64-GenericCloud.qcow2

| ID                                   | Name                                          | Status |
+--------------------------------------+-----------------------------------------------+--------+
| f963d9c7-cff3-4ac1-88a8-6c78648462ad | CentOS-6-x86_64-GenericCloud RC8              | active |

Step 2 : Create a VM and look for console log

Ex: openstack server create test --image
f963d9c7-cff3-4ac1-88a8-6c78648462ad --flavor m1.small --key-name
test_key

nova console-log selva_test

Expected result
===============
Console log should be printed


Actual result
=============
ERROR (UnicodeEncodeError): 'ascii' codec can't encode character u'\ufffd' in position 0: ordinal not in range(128)

Environment
===========
Newton 14.0.1

** 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/1650051

Title:
  nova console-log returns error for Centos 6.x  : 'ascii' codec can't
  encode character u'\ufffd' in position 13206: ordinal not in
  range(128)

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  nova console-log returns error for Contos 6.x  : 'ascii' codec can't encode character u'\ufffd' in position 13206: ordinal not in range(128).

  
  nova console-log returns the log properly for Centos 7.x &Ubuntu 14.x images.
   

  
  Steps to reproduce:

  Step 1 : Upload Centos 6.x image. Ex:
  http://cloud.centos.org/centos/6/images/CentOS-6-x86_64-GenericCloud.qcow2

  | ID                                   | Name                                          | Status |
  +--------------------------------------+-----------------------------------------------+--------+
  | f963d9c7-cff3-4ac1-88a8-6c78648462ad | CentOS-6-x86_64-GenericCloud RC8              | active |

  Step 2 : Create a VM and look for console log

  Ex: openstack server create test --image
  f963d9c7-cff3-4ac1-88a8-6c78648462ad --flavor m1.small --key-name
  test_key

  nova console-log selva_test

  Expected result
  ===============
  Console log should be printed

  
  Actual result
  =============
  ERROR (UnicodeEncodeError): 'ascii' codec can't encode character u'\ufffd' in position 0: ordinal not in range(128)

  Environment
  ===========
  Newton 14.0.1

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


Follow ups