Hi,
I'm new to Perl and the Perl SDK so please go easy on me if this is a known issue or if I'm just doing something wrong. I'm using hostinfo.pl to obviously get some host information but sometimes it returns a crazy amount of information in XML format it looks like. Please see screenshot. This happens a lot like 1/5 runs. I'm on Ubuntu 14.04 using VMWare-vSphere-CLI-6.0.0-351779.x86_64 version. Any ideas? Any help would be greatly appreciated.
Could you add your hostinfo.pl command? I run it like this and cannot reproduce your issue: perl hostinfo.pl --config ~/.visdk/visdkrc_esx_work --server hostname
I used: $./hostinfo.pl --server <vCenter ip address> --username <vCenter username> --password <vCenter password>
Please note that this only happens to me in Ubuntu 14.04. I tried this same script on Windows and it hasn't failed yet.