I've checked MAAS code first at the time, but pexpect related code showed me the same result everywhere.
So I suspected that it is underlying issue. and compared libraries in maas snap, then I found out libreadline patch attached in this LP. ( as libradline is related to running command )
But I still can't find original libreadline reproducer or link between maas and libreadline yet.
I've asked this to libreadline's maintainer ( this patch's auther) but he also doesn't know, and the mentioned that this could be a side effect of patch.
@ddstreet
yep I've checked that ( [:1] or something else )
This issue is only happening when back storage is LVM.
If it is not lvm, it is ok, only with lvm, pexepct returns weird string
2021-03-17 20:43:34 stderr: [error] Arguments: ([' ', '<3ef-46ca- 87c8-1917195059 2f --pool maas_guest_lvm_vg', "error: command 'attach-disk' doesn't support option --pool"],)
I've checked MAAS code first at the time, but pexpect related code showed me the same result everywhere.
So I suspected that it is underlying issue. and compared libraries in maas snap, then I found out libreadline patch attached in this LP. ( as libradline is related to running command )
But I still can't find original libreadline reproducer or link between maas and libreadline yet.
I've asked this to libreadline's maintainer ( this patch's auther) but he also doesn't know, and the mentioned that this could be a side effect of patch.
Thanks