Hi George,
I think the error shows the uuid of the vm_guest_metrics instance for your VM,
rather than the uuid of the VM itself.
The patch below would probably solve it.
Cheers,
Rob
----
Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>
diff -r 3c74a4a1c6e8 ocaml/xapi/xapi_pv_driver_version.ml
--- a/ocaml/xapi/xapi_pv_driver_version.ml
+++ b/ocaml/xapi/xapi_pv_driver_version.ml
@@ -148,4 +148,4 @@
| (Linux(major, minor, micro, _) | Windows(major, minor, micro, _)) as x
->
if is_up_to_date x
then None
- else Some(Api_errors.vm_old_pv_drivers, [ Ref.string_of self;
string_of_int major; string_of_int minor; string_of_int micro])
+ else Some(Api_errors.vm_old_pv_drivers, [ Ref.string_of vm;
string_of_int major; string_of_int minor; string_of_int micro])
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of George Shuklin
> Sent: 16 August 2010 22:53
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] XCP: xe host-evacuate generates wrong error
> message
>
> Good day.
>
> XCP 0.5
>
> xe host-evacuate uuid=f9458b0b-5e35-4ee0-adcf-c8945a37868c
> You attempted an operation on a VM which requires a more recent version
> of the PV drivers. Please upgrade your PV drivers.
> vm: a84aaf23-8afe-2ccc-0299-83b9dfd08c35
>
> But at really vm uuid with bad PV-drivers is
> 42e397c7-3d76-02c0-a1f9-c78d79cac6c6 and no uuid a84aaf23... present in
> pool.
>
> I think, it is an error in error message.
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
fix-old-pv-drivers-error
Description: fix-old-pv-drivers-error
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|