You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
Which is fine, but the extra output is annoying when I haven't asked for verbose. I'd also like it to just find ALL LVs in my VG and display them, if it can.
The text was updated successfully, but these errors were encountered:
I get the same issues, except I don't even get the actual output table. The last lines of output are:
<Command '/sbin/dmsetup status /dev/mapper/test-nbd7'>: starting process
<Command '/sbin/dmsetup status /dev/mapper/test-nbd7', pid 21925>: process started
<Command '/sbin/dmsetup status /dev/mapper/test-nbd7', pid 21925>: process completed
<Command '/sbin/dmsetup status /dev/mapper/test-nbd7', pid 21925>: process completed
<Command '/sbin/dmsetup status /dev/mapper/test-nbd7', pid 21925>: process completed
dictionary changed size during iteration
Well, I had some time and I chased down this issue a little bit. First off the 'sh' module in python is what generates the '<Command ....' lines, and it defaults to clamping the output to 20 characters for the command. Which is useless for debugging purposes. I manually hacked the version I have to up the limit, but that's just a hack.
Second, the code assumes you give it / for alot of the commands, but doesn't really tell you that nicely. It just needs to be updated to have better error messages.
When I run: lvcache status data
I get the fairly useless error message of:
need more than 1 value to unpack
So when I do run it with the actual VG/LV I get:
Which is fine, but the extra output is annoying when I haven't asked for verbose. I'd also like it to just find ALL LVs in my VG and display them, if it can.
The text was updated successfully, but these errors were encountered: