Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

IO Limit Disks Bug?

$
0
0

Hello,

 

I've a script that limits disks io of all VMs. With upgrade to 5.5 Ux, that doesn'nt work anymore.

 

my $io_alloc = StorageIOAllocationInfo->new (shares => $sharesInfo, limit=> "10");

$device->storageIOAllocation ($io_alloc);

my $virtualDeviceConfigSpec = VirtualDeviceConfigSpec->new (device => $device, operation => VirtualDeviceConfigSpecOperation->new('edit'));

my $vmConfig = VirtualMachineConfigSpec->new (deviceChange => [$virtualDeviceConfigSpec]);

$vm->ReconfigVM (spec => $vmConfig);

 

I'm getting the following error:

 

SOAP Fault:

-----------

Fault string: Ein angegebener Parameter war nicht korrekt.

spec.sharesInfo.limit

 

Why is there any problem with shares?

 

I think that's a bug. Now I'm unable to set the disk io limit.

 

Any ideas, tricks oder workarounds?

 

Thanks!

 

Regards,
Alex


Viewing all articles
Browse latest Browse all 1577

Trending Articles



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