yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54011
[Bug 1591996] Re: Serial console output is not properly handled
Reviewed: https://review.openstack.org/302182
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e641e5c9b5e68e93f1d44c4898ae7e2943d5fe66
Submitter: Jenkins
Branch: master
commit e641e5c9b5e68e93f1d44c4898ae7e2943d5fe66
Author: Lucian Petrut <lpetrut@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Apr 6 13:23:26 2016 +0300
Py3: fix serial console output
The compute API expects the serial console output to be a string,
attempting to use a regex to remove some characters. This will fail
as we are returning a byte array.
Also, since the API is expected to return the console output as a
string, the compute nodes may just return a string as well.
Closes-Bug: #1591996
Partially implements blueprint: nova-python3-newton
Change-Id: I5d3097f1d30f3b3568a5421e0d68aaf0797c850a
** Changed in: nova
Status: In Progress => Fix Released
--
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/1591996
Title:
Serial console output is not properly handled
Status in OpenStack Compute (nova):
Fix Released
Bug description:
The compute API expects the serial console output to be a string, attempting to use a regex to remove some characters.
https://github.com/openstack/nova/blob/6d2470ade25b3a58045e7f75afa2629e851ac049/nova/api/openstack/compute/console_output.py#L70
This will fail if the compute node is using Python 3, as we are passing a byte array.
https://github.com/openstack/nova/blob/6d2470ade25b3a58045e7f75afa2629e851ac049/nova/compute/manager.py#L4283-L4297
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1591996/+subscriptions
References