Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 199144

Re: script failing with Can't load class 'HostSriovInfo' error

$
0
0

Fantastic!  My coworker started walking through the various versions of the stub25 file and found one without the HostSriovInfo entry:

 

[root@myhost ~]# locate VIM25Stub.pm

/usr/lib/vmware-vcli/VMware/share/VMware/VIM25Stub.pm

/usr/local/share/perl5/VMware/VIM25Stub.pm

/usr/share/perl5/VMware/VIM25Stub.pm

 

[root@myhost ~]# cd /usr/lib/vmware-vcli/VMware/share/VMware/; egrep -r "HostSriovInfo" ./*

./VIM25Stub.pm:package HostSriovInfo;

./VIM25Stub.pm:VIMRuntime::make_get_set('HostSriovInfo','sriovEnabled', 'sriovCapable', 'sriovActive', 'numVirtualFunctionRequested','numVirtualFunction','maxVirtualFunctionSupported');

 

[root@myhost ]# cd /usr/local/share/perl5/VMware/; egrep -r "HostSriovInfo" ./*

 

[root@myhost ]# cd /usr/share/perl5/VMware/; egrep -r "HostSriovInfo" ./*

./VIM25Stub.pm:package HostSriovInfo;

./VIM25Stub.pm:VIMRuntime::make_get_set('HostSriovInfo','sriovEnabled', 'sriovCapable', 'sriovActive', 'numVirtualFunctionRequested','numVirtualFunction','maxVirtualFunctionSupported');

 

We probably should've just updated the Perl path, but we ended up copying the newer stub25 file into the older location.  This WORKED!  We then updated the perl path as well.  I guess my final question is, why doesn't the VMware SDK Perl package add the new path to your system when it installs?  Seems odd it installs a brand new set of files but doesn't update the default path to actually USE these new files...

 

Thanks again for the quick response!


Viewing all articles
Browse latest Browse all 199144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>