"config-changed" hook failed with required_mtu set: TypeError: argument of type 'int' is not iterable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-magpie |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
How to reproduce:
1. deploy the edge charm:
$ juju deploy magpie --channel edge -n3
Located charm "magpie" in charm-hub, revision 3
Deploying "magpie" from charm-hub charm "magpie", revision 3 in channel edge on focal
2. set required_mtu
$ juju config magpie required_mtu=1500
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 INFO unit.magpie/
unit-magpie-1: 10:18:24 ERROR unit.magpie/
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
_set_
File "/var/lib/
if "failed" not in mtu:
TypeError: argument of type 'int' is not iterable
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- magpie/ +/843132
Review: https:/