Skip to contentSkip to conversation

XCP: xe host-evacuate generates wrong error message

DISCUSSION George Shuklin 2 participants 4 messages Aug 16, 2010 – Sep 23, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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.

A message that is not in the archive (sent off-list or not yet received): 1281995580.4595.14.camel-UpU2/[email protected]

#2 lore raw

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

----

ocaml/xapi/xapi_pv_driver_version.ml +1 -1
diff -r 3c74a4a1c6e8 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])
Quoted 29 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of George Shuklin
Sent: 16 August 2010 22:53
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Thank you.

I have other question. Why guest tools is requied for pure PV virtual machines?

I'm trying to adopt XCP for cloud services and found that user in guest machine can 'disable' migration just by uninstalling xe-guest-tools... And I don't see any reason, why those tools are really requied for PV machines (not HVM, but PV).

В Втр, 17/08/2010 в 09:44 +0100, Rob Hoes пишет:

Quoted 53 lines

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

----

diff -r 3c74a4a1c6e8 ocaml/xapi/xapi_pv_driver_version.ml

ocaml/xapi/xapi_pv_driver_version.ml +1 -1
@@ -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])
Quoted 31 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of George Shuklin
Sent: 16 August 2010 22:53
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
In reply to Rob Hoes

Thank you.

I have other question. Why guest tools is requied for pure PV virtual machines?

I'm trying to adopt XCP for cloud services and found that user in guest machine can 'disable' migration just by uninstalling xe-guest-tools... And I don't see any reason, why those tools are really requied for PV machines (not HVM, but PV).

В Втр, 17/08/2010 в 09:44 +0100, Rob Hoes пишет:

Quoted 53 lines

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

----

diff -r 3c74a4a1c6e8 ocaml/xapi/xapi_pv_driver_version.ml

ocaml/xapi/xapi_pv_driver_version.ml +1 -1
@@ -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])
Quoted 31 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of George Shuklin
Sent: 16 August 2010 22:53
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel