TypeError: 'int' object is not iterable in makeLogRecord
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.privsep |
New
|
Undecided
|
Unassigned |
Bug Description
We're using kuryr-kubernetes and os-vif. Here's the complete error log
Jun 08 17:22:18 novactl kubelet[9055]: Exception in thread privsep_reader:
Jun 08 17:22:18 novactl kubelet[9055]: Traceback (most recent call last):
Jun 08 17:22:18 novactl kubelet[9055]: File "/usr/lib64/
Jun 08 17:22:18 novactl kubelet[9055]: self.run()
Jun 08 17:22:18 novactl kubelet[9055]: File "/usr/lib64/
Jun 08 17:22:18 novactl kubelet[9055]: self.__
Jun 08 17:22:18 novactl kubelet[9055]: File "/root/
Jun 08 17:22:18 novactl kubelet[9055]: self.out_
Jun 08 17:22:18 novactl kubelet[9055]: File "/root/
Jun 08 17:22:18 novactl kubelet[9055]: record = pylogging.
Jun 08 17:22:18 novactl kubelet[9055]: File "/usr/lib64/
Jun 08 17:22:18 novactl kubelet[9055]: rv.__dict_
Jun 08 17:22:18 novactl kubelet[9055]: TypeError: 'int' object is not iterable
further investigation showed, that msg's value during out_of_band is `(6, 20, u'privsep daemon starting')`
Simply removing 'LOG.info('privsep daemon starting')' fixes the issue for me