vcd-cli
vcd-cli copied to clipboard
vcd disk list fails with error
After the last VCD upgrade vcd-cli has started throwing errors when doing "vcd disk list"
vcd disk list
Usage: vcd disk list [OPTIONS]
Try "vcd disk list -h" for help.
Error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Other commands appear unaffected.
I'm assuming there has been a change in the reply from vcd
This is kind of a huge issue, can't use automation scripts..
Is there more info I can give to get this some more attention?
I have the same issue... version 24.0.1
This issue is still there and happens with newer APIs. If you login with older version eg. vcd login -V 32.0. vcd disk list will show the output
Edit: https://developer.vmware.com/apis/1245/vmware-cloud-director/doc/doc//types/DiskType.html It is because of an API change in v33.0 where the 'sizeMb' was introduced, but disk.py expects 'size'