[ https://issues.apache.org/jira/browse/CLOUDSTACK-7505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126763#comment-14126763 ]
Sailaja Mada commented on CLOUDSTACK-7505: ------------------------------------------ 1. Register ISO and Installed Windows 8/2012 operating System 2. Attach PV tools and installed on to the Guest OS xe vm-param-list for this vm uuid ( RO) : f5b3e0b2-d61a-d0cc-2638-616feb9fc0d0 name-label ( RW): i-2-7-VM name-description ( RW): Clones of this template will automatically provision their storage when first booted and then reconfigure themselves with the optimal settings for Windows 8 (64-bit). 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): 2147487744 memory-target ( RO): <unknown> memory-overhead ( RO): 20971520 memory-static-max ( RW): 2147483648 memory-dynamic-max ( RW): 2147483648 memory-dynamic-min ( RW): 2147483648 memory-static-min ( RW): 2147483648 suspend-VDI-uuid ( RW): <not in database> suspend-SR-uuid ( RW): <not in database> VCPUs-params (MRW): weight: 33; cap: 0 VCPUs-max ( RW): 2 VCPUs-at-startup ( RW): 2 actions-after-shutdown ( RW): Destroy actions-after-reboot ( RW): Restart actions-after-crash ( RW): Destroy console-uuids (SRO): b59bf3aa-cd56-cd96-0b3b-439d8a2860f2 platform (MRW): timeoffset: 0; viridian: true; acpi: 1; apic: true; pae: true; videoram: 8; nx: true; vga: std allowed-operations (SRO): changing_dynamic_range; migrate_send; pool_migrate; changing_VCPUs_live; suspend; hard_reboot; hard_shutdown; clean_reboot; clean_shutdown; pause; checkpoint; 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): 1; 2; 3; 4; 5; 6 possible-hosts ( RO): d079d968-6311-4bb2-87b7-0dc017971fa1 HVM-boot-policy ( RW): BIOS order HVM-boot-params (MRW): order: dc HVM-shadow-multiplier ( RW): 1.000 PV-kernel ( RW): PV-ramdisk ( RW): PV-args ( RW): PV-legacy-args ( RW): PV-bootloader ( RW): PV-bootloader-args ( RW): last-boot-CPU-flags ( RO): vendor: GenuineIntel; features: 17bee3ff-bfebfbff-00000001-2c100800 last-boot-record ( RO): '('struct' ('uuid' 'f5b3e0b2-d61a-d0cc-2638-616feb9fc0d0') ('allowed_operations' ('array')) ('current_operations' ('struct' ('OpaqueRef:a2590e3b-e04f-ea4a-66f1-4a90bcf5729a' 'start_on'))) ('power_state' 'Halted') ('name_label' 'i-2-7-VM') ('name_description' 'Clones of this template will automatically provision their storage when first booted and then reconfigure themselves with the optimal settings for Windows 8 (64-bit).') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:01ec70b4-aadf-5a08-7649-2e81495f3ff1') ('memory_overhead' '20971520') ('memory_target' '4294967296') ('memory_static_max' '2147483648') ('memory_dynamic_max' '2147483648') ('memory_dynamic_min' '2147483648') ('memory_static_min' '2147483648') ('VCPUs_params' ('struct' ('weight' '33') ('cap' '0'))) ('VCPUs_max' '2') ('VCPUs_at_startup' '2') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart') ('actions_after_crash' 'destroy') ('consoles' ('array')) ('VIFs' ('array' 'OpaqueRef:c71b8934-60d5-c8c9-88fe-44b3357fb73b')) ('VBDs' ('array' 'OpaqueRef:dda2c6d4-eed0-2888-d56f-604e90a4560c' 'OpaqueRef:5eb90a80-63c8-0d2e-e1ce-0da8ab42d8f0')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' '') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' '') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' 'BIOS order') ('HVM_boot_params' ('struct' ('order' 'dc'))) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('viridian' 'true') ('acpi' '1') ('apic' 'true') ('pae' 'true') ('videoram' '8') ('nx' 'true') ('vga' 'std'))) ('PCI_bus' '') ('other_config' ('struct' ('mac_seed' '5232f4ca-45f7-5e01-65bb-9fc14eab8ff1') ('install-methods' 'cdrom') ('vm_uuid' 'c57e64f0-3e46-499b-9fea-0c59d7a8e0c6'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct')) ('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:807cc3cd-a2a0-7fb7-0935-5b6620920d37') ('guest_metrics' 'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"137438953472\" /><restriction field=\"vcpus-max\" max=\"16\" /><restriction property=\"number-of-vbds\" max=\"16\" /><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')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL') ('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL') ('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay' '0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs' ('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id' '0:0'))' resident-on ( RO): d079d968-6311-4bb2-87b7-0dc017971fa1 affinity ( RW): d079d968-6311-4bb2-87b7-0dc017971fa1 other-config (MRW): vgpu_pci: ; mac_seed: 5232f4ca-45f7-5e01-65bb-9fc14eab8ff1; install-methods: cdrom; vm_uuid: c57e64f0-3e46-499b-9fea-0c59d7a8e0c6 dom-id ( RO): 413 recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472" /><restriction field="vcpus-max" max="16" /><restriction property="number-of-vbds" max="16" /><restriction property="number-of-vifs" max="7" /></restrictions> xenstore-data (MRW): vm-data: ha-always-run ( RW) [DEPRECATED]: false ha-restart-priority ( RW): blobs ( RO): start-time ( RO): 20140909T13:14:56Z install-time ( RO): 19700101T00:00:00Z VCPUs-number ( RO): 2 VCPUs-utilisation (MRO): 0: 0.006; 1: 0.007 os-version (MRO): name: Microsoft Windows 8 Enterprise|C:\Windows|\Device\Harddisk0\Partition2; distro: windows; major: 6; minor: 2; spmajor: 0; spminor: 0 PV-drivers-version (MRO): major: 6; minor: 4; micro: 94; build: 20000 PV-drivers-up-to-date ( RO): true memory (MRO): disks (MRO): networks (MRO): 0/ip: 10.1.1.234; 0/ipv6/0: fe80:0000:0000:0000:c906:e8b8:4cab:8b32 other (MRO): platform-feature-multiprocessor-suspend: 1; feature-suspend: 1; feature-balloon: 1; feature-shutdown: 1; error: WTSQueryUserToken : 1008 failed.; feature-setcomputername: 1; feature-ts: 1 live ( RO): true guest-metrics-last-updated ( RO): 20140909T13:17:01Z cooperative ( RO) [DEPRECATED]: true tags (SRW): appliance ( RW): <not in database> start-delay ( RW): 0 shutdown-delay ( RW): 0 order ( RW): 0 version ( RO): 0 generation-id ( RO): 3898295082126696661:26509519167366950 1. Stop the VM and created template 2. Used this template(vhd) to register new template 3. And used this for deploying instances. xe vm-param-list for this new vm uuid ( RO) : 550d0fea-1c32-f740-6d7d-a9373054d783 name-label ( RW): i-2-10-VM name-description ( RW): Clones of this template will automatically provision their storage when first booted and then reconfigure themselves with the optimal settings for Windows 8 (64-bit). 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): 2147487744 memory-target ( RO): 2147483648 memory-overhead ( RO): 20971520 memory-static-max ( RW): 2147483648 memory-dynamic-max ( RW): 2147483648 memory-dynamic-min ( RW): 2147483648 memory-static-min ( RW): 2147483648 suspend-VDI-uuid ( RW): <not in database> suspend-SR-uuid ( RW): <not in database> VCPUs-params (MRW): weight: 33; cap: 0 VCPUs-max ( RW): 2 VCPUs-at-startup ( RW): 2 actions-after-shutdown ( RW): Destroy actions-after-reboot ( RW): Restart actions-after-crash ( RW): Destroy console-uuids (SRO): f34737b4-07ab-ea15-6c14-0bbd9a019d97 platform (MRW): timeoffset: 0; viridian: true; acpi: 1; apic: true; pae: true; videoram: 8; nx: true; vga: std allowed-operations (SRO): changing_dynamic_range; migrate_send; pool_migrate; changing_VCPUs_live; suspend; hard_reboot; hard_shutdown; clean_reboot; clean_shutdown; pause; checkpoint; 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): 1; 2; 3; 4; 5; 6 possible-hosts ( RO): d079d968-6311-4bb2-87b7-0dc017971fa1 HVM-boot-policy ( RW): BIOS order HVM-boot-params (MRW): order: dc HVM-shadow-multiplier ( RW): 1.000 PV-kernel ( RW): PV-ramdisk ( RW): PV-args ( RW): PV-legacy-args ( RW): PV-bootloader ( RW): PV-bootloader-args ( RW): last-boot-CPU-flags ( RO): vendor: GenuineIntel; features: 17bee3ff-bfebfbff-00000001-2c100800 last-boot-record ( RO): '('struct' ('uuid' '550d0fea-1c32-f740-6d7d-a9373054d783') ('allowed_operations' ('array')) ('current_operations' ('struct' ('OpaqueRef:282cc211-47a2-1ed3-a630-1772116e93fb' 'start_on'))) ('power_state' 'Halted') ('name_label' 'i-2-10-VM') ('name_description' 'Clones of this template will automatically provision their storage when first booted and then reconfigure themselves with the optimal settings for Windows 8 (64-bit).') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:01ec70b4-aadf-5a08-7649-2e81495f3ff1') ('memory_overhead' '20971520') ('memory_target' '4294967296') ('memory_static_max' '2147483648') ('memory_dynamic_max' '2147483648') ('memory_dynamic_min' '2147483648') ('memory_static_min' '2147483648') ('VCPUs_params' ('struct' ('weight' '33') ('cap' '0'))) ('VCPUs_max' '2') ('VCPUs_at_startup' '2') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart') ('actions_after_crash' 'destroy') ('consoles' ('array')) ('VIFs' ('array' 'OpaqueRef:242e32e8-1b50-c672-c1bc-fdc1ce13bdf9')) ('VBDs' ('array' 'OpaqueRef:44830aab-addf-1f3a-b6a3-7a19e2577a1b' 'OpaqueRef:50e4ffad-35f7-40d8-876c-356c042fdeb8')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' '') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' '') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' 'BIOS order') ('HVM_boot_params' ('struct' ('order' 'dc'))) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('viridian' 'true') ('acpi' '1') ('apic' 'true') ('pae' 'true') ('videoram' '8') ('nx' 'true') ('vga' 'std') ('timeoffset' '0'))) ('PCI_bus' '') ('other_config' ('struct' ('mac_seed' '446cef23-ce97-fe9f-e4d6-133efb6d4da1') ('install-methods' 'cdrom') ('vm_uuid' '469c5598-4b65-4a65-98cd-9474dcbbcfcc'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct')) ('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:5e0f2af0-e2db-a2a1-c133-075d1d87fb38') ('guest_metrics' 'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"137438953472\" /><restriction field=\"vcpus-max\" max=\"16\" /><restriction property=\"number-of-vbds\" max=\"16\" /><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')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL') ('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL') ('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay' '0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs' ('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id' '0:0'))' resident-on ( RO): d079d968-6311-4bb2-87b7-0dc017971fa1 affinity ( RW): d079d968-6311-4bb2-87b7-0dc017971fa1 other-config (MRW): vgpu_pci: ; mac_seed: 446cef23-ce97-fe9f-e4d6-133efb6d4da1; install-methods: cdrom; vm_uuid: 469c5598-4b65-4a65-98cd-9474dcbbcfcc dom-id ( RO): 419 recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472" /><restriction field="vcpus-max" max="16" /><restriction property="number-of-vbds" max="16" /><restriction property="number-of-vifs" max="7" /></restrictions> xenstore-data (MRW): vm-data: ha-always-run ( RW) [DEPRECATED]: false ha-restart-priority ( RW): blobs ( RO): start-time ( RO): 20140909T13:36:47Z install-time ( RO): 19700101T00:00:00Z VCPUs-number ( RO): 2 VCPUs-utilisation (MRO): 0: 0.006; 1: 0.005 os-version (MRO): name: Microsoft Windows 8 Enterprise|C:\Windows|\Device\Harddisk0\Partition2; distro: windows; major: 6; minor: 2; spmajor: 0; spminor: 0 PV-drivers-version (MRO): major: 6; minor: 4; micro: 94; build: 20000 PV-drivers-up-to-date ( RO): true memory (MRO): disks (MRO): networks (MRO): 0/ip: 10.1.1.17; 0/ipv6/0: fe80:0000:0000:0000:681f:7fe1:7cf9:185e other (MRO): platform-feature-multiprocessor-suspend: 1; feature-suspend: 1; feature-balloon: 1; feature-shutdown: 1; error: WTSQueryUserToken : 1008 failed.; feature-setcomputername: 1; feature-ts: 1 live ( RO): true guest-metrics-last-updated ( RO): 20140909T13:37:51Z cooperative ( RO) [DEPRECATED]: true tags (SRW): appliance ( RW): <not in database> start-delay ( RW): 0 shutdown-delay ( RW): 0 order ( RW): 0 version ( RO): 0 generation-id ( RO): 8983099824119569436:216042194724589139 ________________________________________ > Windows 2012 and Windows 8 instances created with 6.5 PV tools installed > template are getting into repair state, Later XenServer 6.5 Is shutting down > these instances automatically > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-7505 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7505 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: XenServer > Affects Versions: 4.5.0 > Reporter: Sailaja Mada > Priority: Blocker > > Steps: > 1. Configure Adv Zone using XenServer 6.5 > 2. Registered Windows 8 and Windows 2012 templates which has XS 6.5 PV tools > installed. I have enabled option Original XS Version is 6.1+: Yes > 3. Deployed VM using this template > 4. VM got started and moved to running state. But got into repair state, > Later XenServer 6.5 Is shutting down these instances automatically. > VM Parameters are : > platform (MRW): timeoffset: 0; viridian: true; acpi: 1; > ap > ic: true; pae: true; videoram: 8; device_id: 0002; nx: true; vga: std > allowed-operations (SRO): changing_dynamic_range; hard_reboot; > hard_ > shutdown; pause; snapshot -- This message was sent by Atlassian JIRA (v6.3.4#6332)