Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
[ERROR ] An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1533, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/states/lxc.py", line 132, in edited_conf
lxc_conf_unset=lxc_conf_unset)
File "/usr/lib/python2.7/dist-packages/salt/modules/lxc.py", line 1833, in update_lxc_conf
row[conf].strip()))
AttributeError: 'int' object has no attribute 'strip'
I guess Yaml parses an int and the code expects a string.
An easy trick could be to quote the mtu value but it doesn't seem right :)
Thanks, I'll get this fixed. As a temporary workaround, you can quote that MTU value, but we should be able to handle this without users having to do that.
Hi,
I think there is something wrong with lxc.edited_conf. My state looks like this :
And when applied
I guess Yaml parses an int and the code expects a string. An easy trick could be to quote the mtu value but it doesn't seem right :)