Project

General

Profile

Bug #49570

cephadm: UnicodeDecodeError when reading sysctl

Added by Patrick Seidensal about 3 years ago. Updated over 2 years ago.

Status:
Can't reproduce
Priority:
Low
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

cephadm throws an UnicodeDecodeError when reading systctl data which contains unreadable errors.

user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = sb#R�
user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = £»M�
user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = ¨>�
user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = �í�
user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = V¡�
user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = ëCõ�
user@home ~ » sudo sysctl -a | rg sunrpc.transports
sysctl: reading key "kernel.spl.hostid" 
sunrpc.transports = #^ÿ~
user@home ~ »

This is an issue that is not based in cephadm and actually only due to `sysctl -a` returning gibberish on a host, which cephadm (rightfully) cannot decode to utf-8. Rebooting the machine worked as a workaround.

History

#1 Updated by Sebastian Wagner almost 3 years ago

  • Priority changed from Normal to Low

#2 Updated by Sebastian Wagner over 2 years ago

  • Status changed from Need More Info to Can't reproduce

Also available in: Atom PDF