"UnicodeDecodeError: 'ascii' codec can't decode" during job-binary-internals request to Sahara-api

Bug #1498520 reported by Leontii Istomin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Boris Bobrov
7.0.x
Won't Fix
Medium
MOS Maintenance
8.0.x
Won't Fix
Medium
Boris Bobrov
9.x
Fix Released
Medium
Boris Bobrov

Bug Description

During pi_job_vanilla_7_0 rally scenario which creates Sahara cluster and calculates pi number using created hadoop we faced with the following error:
from rally.log: http://paste.openstack.org/show/473516/
It seems it happened during job-binary-internals request:
from rally.log: http://paste.openstack.org/show/473517/
from sahara-api: http://paste.openstack.org/show/473518/

It seems data should be logged, but can't because it includes some binary data.

Cluster configuration:
Baremetal,Ubuntu,IBP,HA, Neutron-vxlan,Ceph-all,Nova-debug,Nova-quotas,Sahara,7.0-296
Controllers:3 Computes+Ceph:47

api: '1.0'
astute_sha: 6c5b73f93e24cc781c809db9159927655ced5012
auth_required: true
build_id: '296'
build_number: '296'
feature_groups:
- mirantis
fuel-agent_sha: 082a47bf014002e515001be05f99040437281a2d
fuel-library_sha: f2eef7717b15c6c0a3e76ef98ad4c7c4532d56f9
fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
fuel-ostf_sha: 1f08e6e71021179b9881a824d9c999957fcc7045
fuelmain_sha: 6b83d6a6a75bf7bca3177fcf63b2eebbf1ad0a85
nailgun_sha: 16a39d40120dd4257698795f12de4ae8200b1778
openstack_version: 2015.1.0-7.0
production: docker
python-fuelclient_sha: 2864459e27b0510a0f7aedac6cdf27901ef5c481
release: '7.0'

Diagnostic Snapshot: http://mos-scale-share.mirantis.com/fuel-snapshot-2015-09-22_13-23-10.tar.xz

Changed in mos:
assignee: nobody → MOS Sahara (mos-sahara)
milestone: none → 7.0
Revision history for this message
Evgeny Sikachev (esikachev) wrote :

This is keystoneclient bug. Because, binary request can not read in log. Workaround: disable debug-log in keystone

Changed in mos:
assignee: MOS Sahara (mos-sahara) → MOS Keystone (mos-keystone)
description: updated
Revision history for this message
Boris Bobrov (bbobrov) wrote :

Upstream bug is assigned to Nikita Konovalov https://bugs.launchpad.net/python-keystoneclient/+bug/1453953 and a fix was proposed. Since this is a medium bug, I would like to wait more for the fix to get to upstream.

Revision history for this message
Boris Bobrov (bbobrov) wrote :

The patch was unassigned since the patch is abandoned. I'll pick it up a now.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Added a note in upstream bug about using oslo.utils' encodeutils.safe_encode

Revision history for this message
Boris Bobrov (bbobrov) wrote :

Won't fix for 8.0 because of SCF

tags: added: area-oslo
Revision history for this message
Alexander Makarov (amakarov) wrote :

This issue was fixed in the openstack/python-keystoneclient 2.2.0 release.

Boris Bobrov (bbobrov)
Changed in mos:
status: Triaged → Won't Fix
Revision history for this message
Alexander Petrov (apetrov-n) wrote :

fix verified on MOS 9.0 ISO 312

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.