Skip Menu |
 

This queue is for tickets about the Xen-API CPAN distribution.

Report information
The Basics
Id: 82410
Status: resolved
Priority: 0/
Queue: Xen-API

People
Owner: Nobody in particular
Requestors: rsm [...] fast-serv.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Two bugs
Date: Fri, 04 Jan 2013 11:32:20 -0500
To: <bug-Xen-API [...] rt.cpan.org>
From: Randy McAnally <rsm [...] fast-serv.com>
Download (untitled) / with headers
text/plain 483b
1. The following near the head: local $RPC::XML::FORCE_STRING_ENCODING = 1; Have to remove 'local' in order to actually work. Most calls fail otherwise due to RPC::XML not actually forcing string type. 2. Around line 230, have to use this single call instead of the 4 separate API calls: $self->Xen::API::VM::set_memory_limits($new_vm,$mem,$mem,$mem,$mem); Otherwise API throws an error about constraint errors on each separate call, at least on XS6.1. -- Randy McAnally
Download (untitled) / with headers
text/plain 228b
I removed the local qualifier from FORCE_STRING_ENCODING, and fixed the set memory calls. The version of XenAPI I'm using (5.6) seems to require the separate calls, so now I try both and only throw an error if neither succeed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.