* XCP: vm-migrate broken?
@ 2010-05-28 6:27 YAMAMOTO Takashi
2010-06-07 7:26 ` Yu Zhiguo
0 siblings, 1 reply; 3+ messages in thread
From: YAMAMOTO Takashi @ 2010-05-28 6:27 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: Text/Plain, Size: 1012 bytes --]
hi,
i tried "xe vm-migrate" with xcp 0.1.1 but no luck.
i'm not sure if the error message makes sense here because the vm
in question is actually a PV domain.
the attached file is the output of "xe vm-param-list".
i created the vm by running "xe vm-import" with an existing image
which one of my co-workers provided me. if necessary,
i can ask him details of the image.
any idea?
[root@s1 sm]# xe vm-migrate live=true uuid=23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 host-uuid=eea41bdd-d2ce-4a9a-bc51-1ca286320296
You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
vm: 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 (CentOS53x64-1)
[root@s1 sm]# xe vm-migrate live=false uuid=23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 host-uuid=eea41bdd-d2ce-4a9a-bc51-1ca286320296
You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
vm: 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 (CentOS53x64-1)
[root@s1 sm]#
YAMAMOTO Takashi
[-- Attachment #2: param.txt --]
[-- Type: text/plain, Size: 7028 bytes --]
uuid ( RO) : 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592
name-label ( RW): CentOS53x64-1
name-description ( RW): Installed via xe CLI
user-version ( RW): 1
is-a-template ( RW): false
is-a-snapshot ( RO): false
snapshot_of ( RO): <not in database>
snapshots ( RO):
snapshot_time ( RO): 19700101T00:00:00Z
snapshot-info ( RO):
parent ( RO): <not in database>
children ( RO):
is-control-domain ( RO): false
power-state ( RO): running
memory-actual ( RO): 1070858240
memory-target ( RO): 1073741824
memory-overhead ( RO): 1048576
memory-static-max ( RW): 1073741824
memory-dynamic-max ( RW): 1073741824
memory-dynamic-min ( RW): 1073741824
memory-static-min ( RW): 536870912
suspend-VDI-uuid ( RO): <not in database>
VCPUs-params (MRW):
VCPUs-max ( RW): 1
VCPUs-at-startup ( RW): 1
actions-after-shutdown ( RW): Destroy
actions-after-reboot ( RW): Restart
actions-after-crash ( RW): Restart
console-uuids (SRO): 176073c6-83f5-7f95-052d-62dcc0dbaf8e
platform (MRW): nx: false; acpi: true; apic: true; pae: true; viridian: true
allowed-operations (SRO): changing_dynamic_range; changing_VCPUs_live; hard_reboot; hard_shutdown; clean_reboot; clean_shutdown; pause; snapshot
current-operations (SRO):
blocked-operations (MRW):
allowed-VBD-devices (SRO): 1; 2; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15
allowed-VIF-devices (SRO): 0; 2; 3; 4; 5; 6
possible-hosts ( RO): eea41bdd-d2ce-4a9a-bc51-1ca286320296
HVM-boot-policy ( RW):
HVM-boot-params (MRW):
HVM-shadow-multiplier ( RW): 1.000
PV-kernel ( RW):
PV-ramdisk ( RW):
PV-args ( RW): graphical utf8
PV-legacy-args ( RW):
PV-bootloader ( RW): pygrub
PV-bootloader-args ( RW):
last-boot-CPU-flags ( RO):
last-boot-record ( RO): '('struct' ('uuid' '23ecfa58-aa30-ea6a-f9fe-7cb2a5487592') ('allowed_operations' ('array')) ('current_operations' ('struct' ('OpaqueRef:ad101fdb-7801-9391-24e4-d22449ed5534' 'start'))) ('power_state' 'Halted') ('name_label' 'CentOS53x64-1') ('name_description' 'Installed via xe CLI') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:NULL') ('memory_overhead' '1048576') ('memory_target' '1073741824') ('memory_static_max' '1073741824') ('memory_dynamic_max' '1073741824') ('memory_dynamic_min' '1073741824') ('memory_static_min' '536870912') ('VCPUs_params' ('struct')) ('VCPUs_max' '1') ('VCPUs_at_startup' '1') ('actions_after_shutdown' 'destroy') ('actions_after_
reboot' 'restart') ('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array' 'OpaqueRef:c5c53354-edf8-b90c-04f9-40de8532dddc')) ('VBDs' ('array' 'OpaqueRef:9a7d23b5-cd5c-11a3
-3d9d-a576fb74d088' 'OpaqueRef:f5bebac1-84d4-2c93-fdee-8d480c80fe77')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' 'graphical utf8') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('nx' 'false') ('acpi' 'true') ('apic' 'true') ('pae' 'true') ('viridian' 'true'))) ('PCI_bus' '') ('other_config' ('struct' ('import_task' 'OpaqueRef:145b8b4a-f952-bd75-3b02-b6ec74295fcb') ('mac_seed' 'e603ad19-239e-a82e-4c93-a8c63d43a35d') ('last_shutdown_time' '20100408T01:12:22Z') ('last_shutdown_action' 'Destroy') ('last_shutdown_initiator' 'internal') ('last_shutdown_reason' 'halted') ('install-repository' 'cdrom') (
'linux_template' 'true') ('machine-address-size' '36') ('install-methods' 'cdrom,nfs,http,ftp') ('rhel5' 'true'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct')) ('is_contr
ol_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:488d0dc6-fbc1-e7a8-b36e-977e8f43383b') ('guest_metrics' 'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"34359738368\" /><restriction field=\"vcpus-max\" max=\"8\" /><restriction property=\"number-of-vbds\" max=\"7\" /><restriction property=\"number-of-vifs\" max=\"7\" /></restrictions>') ('xenstore_data' ('struct')) ('ha_always_run' ('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0')) ('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time' ('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '') ('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct')) ('snapshot_info' ('struct')) ('snap
shot_metadata' '') ('parent' 'OpaqueRef:NULL') ('children' ('array')) ('bios_strings' ('struct')))'
resident-on ( RO): 67b8b07b-8c50-4677-a511-beb196ea766f
affinity ( RW): <not in database>
other-config (MRW): import_task: OpaqueRef:145b8b4a-f952-bd75-3b02-b6ec74295fcb; mac_seed: e603ad19-239e-a82e-4c93-a8c63d43a35d; last_shutdown_time: 20100408T01:12:22Z; last_shutdown_action: Destroy; last_shutdown_initiator: internal; last_shutdown_reason: halted; install-repository: cdrom; linux_template: true; machine-address-size: 36; install-methods: cdrom,nfs,http,ftp; rhel5: true
dom-id ( RO): 1
recommendations ( RO): <restrictions><restriction field="memory-static-max" max="34359738368" /><restriction field="vcpus-max" max="8" /><restriction property="number-of-vbds" max="7" /><restriction property="number-of-vifs" max="7" /></restrictions>
xenstore-data (MRW):
ha-always-run ( RW): false
ha-restart-priority ( RW):
blobs ( RO):
start-time ( RO): 20100526T07:47:56Z
install-time ( RO): 19700101T00:00:00Z
VCPUs-number ( RO): 1
VCPUs-utilisation (MRO): 0: 0.001
os-version (MRO): <not in database>
PV-drivers-version (MRO): <not in database>
PV-drivers-up-to-date ( RO): <not in database>
memory (MRO): <not in database>
disks (MRO): <not in database>
networks (MRO): <not in database>
other (MRO): <not in database>
live ( RO): <not in database>
guest-metrics-last-updated ( RO): <not in database>
cooperative ( RO): true
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XCP: vm-migrate broken?
2010-05-28 6:27 XCP: vm-migrate broken? YAMAMOTO Takashi
@ 2010-06-07 7:26 ` Yu Zhiguo
2010-06-07 8:08 ` YAMAMOTO Takashi
0 siblings, 1 reply; 3+ messages in thread
From: Yu Zhiguo @ 2010-06-07 7:26 UTC (permalink / raw)
To: YAMAMOTO Takashi; +Cc: xen-devel
Hi yamamoto,
YAMAMOTO Takashi wrote:
>
> [root@s1 sm]# xe vm-migrate live=true uuid=23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 host-uuid=eea41bdd-d2ce-4a9a-bc51-1ca286320296
> You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
> vm: 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 (CentOS53x64-1)
> [root@s1 sm]# xe vm-migrate live=false uuid=23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 host-uuid=eea41bdd-d2ce-4a9a-bc51-1ca286320296
> You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
> vm: 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 (CentOS53x64-1)
I think you should install the PV drivers, for example:
# xe vm-cd-add vm=<VM> cd-name=xs-tools.iso device=3
# mount /dev/xvdd /mnt
# /mnt/Linux/install.sh
--
Regards
Yu Zhiguo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XCP: vm-migrate broken?
2010-06-07 7:26 ` Yu Zhiguo
@ 2010-06-07 8:08 ` YAMAMOTO Takashi
0 siblings, 0 replies; 3+ messages in thread
From: YAMAMOTO Takashi @ 2010-06-07 8:08 UTC (permalink / raw)
To: yuzg; +Cc: xen-devel
hi,
> Hi yamamoto,
>
> YAMAMOTO Takashi wrote:
>>
>> [root@s1 sm]# xe vm-migrate live=true uuid=23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 host-uuid=eea41bdd-d2ce-4a9a-bc51-1ca286320296
>> You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
>> vm: 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 (CentOS53x64-1)
>> [root@s1 sm]# xe vm-migrate live=false uuid=23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 host-uuid=eea41bdd-d2ce-4a9a-bc51-1ca286320296
>> You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
>> vm: 23ecfa58-aa30-ea6a-f9fe-7cb2a5487592 (CentOS53x64-1)
>
> I think you should install the PV drivers, for example:
>
> # xe vm-cd-add vm=<VM> cd-name=xs-tools.iso device=3
> # mount /dev/xvdd /mnt
> # /mnt/Linux/install.sh
i tried it. while migration fails for some other reasons,
at least the error went away. thanks!
YAMAMOTO Takashi.
>
>
> --
> Regards
> Yu Zhiguo
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-07 8:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28 6:27 XCP: vm-migrate broken? YAMAMOTO Takashi
2010-06-07 7:26 ` Yu Zhiguo
2010-06-07 8:08 ` YAMAMOTO Takashi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.