start hook fails after a reboot: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 8404: invalid start byte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Critical
|
Frode Nordahl | ||
charm-ovn-chassis |
Fix Released
|
Critical
|
Frode Nordahl |
Bug Description
Once a host is rebooted after installing hwe-edge kernel (v5.8) on focal, the charm status is stuck at "hook failed: start".
unit-ovn-
unit-ovn-
unit-ovn-
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
charm_
File "lib/charms/
bpi = os_context.
File "/var/lib/
for ifname in list_nics():
File "/var/lib/
ip_output = subprocess.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 8404: invalid start byte
It looks like charm-helper is using `ip a` and I see some non-ASCII characters in the output in this system especially in "altname".
278: enp129s0f0np0v0: <BROADCAST,
link/ether 8e:0b:03:e1:48:5e brd ff:ff:ff:ff:ff:ff
altname prb<F6>vU
altname <D0>?<DE>/<C0>^?
22: br-int: <BROADCAST,
link/ether 36:41:e1:bd:6c:4d brd ff:ff:ff:ff:ff:ff
279: eth127: <BROADCAST,
link/ether 06:ad:e7:dd:14:7c brd ff:ff:ff:ff:ff:ff
altname 0<93>b<F6>vU
Changed in charm-helpers: | |
importance: | Undecided → Critical |
Changed in charm-ovn-chassis: | |
importance: | Undecided → Critical |
Changed in charm-helpers: | |
status: | New → In Progress |
Changed in charm-ovn-chassis: | |
status: | New → In Progress |
Changed in charm-ovn-chassis: | |
status: | In Progress → Fix Committed |
Changed in charm-ovn-chassis: | |
status: | Fix Committed → Fix Released |
tags: | added: ps5 |
Subscribing ~field-critical.