Search the VMware Knowledge Base (KB)
View by Article ID

Troubleshooting template deployment or cloning when it fails in vCenter Server (1004050)

  • 11 Ratings

Symptoms

  • Deploying a template fails
  • Cannot deploy a virtual machine
  • Failure when cloning virtual machines
  • Failure to boot guest operating system after installing VMware Tools
  • Cannot clone a virtual machine
  • You see errors similar to:

    Network copy failed for file.
    [] /home/vmware/xxx/nvram

  • When attempting to clone a virtual machine through vCenter Server, you see the error:

    Failed to connect to host

Purpose

This article provides troubleshooting steps for template deployment and cloning in vCenter Server failures. These steps eliminate common causes for the problem by verifying the sysprep files, verifying the virtual machine configuration, and verifying the the vCenter Server configuration.

Resolution

Validate that each troubleshooting step below is true for your environment. Each step provides instructions or a link to a document to eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. Do not skip a step.

  1. Name resolution problems in the ESX/ESXi environment can cause issues with file copies. Verify that Name Resolution is valid on ESX/ESXi. For more information, see Identifying issues with and setting up name resolution on ESX/ESXi Server (1003735).

  2. The correct version of sysprep is critical in deployments. Verify that the correct version of Microsoft sysprep has been installed to properly do the customization. For more information, see Sysprep file locations and versions (1005593).

  3. Verify that virtual machines are installed with the latest version of VMware Tools. For more information, see Verifying a VMware Tools build version (1003947).

  4. In some cases, other VMware products can interfere with the normal operation of vCenter Server. Verify that no other VMware products have been installed on vCenter Server. For more information, see Ensuring vCenter Server is the only VMware product installed on the host (1005594).

  5. Verify that the guest operating system is defined correctly. Incorrect definitions can cause deployment failures. For more information, see Ensuring the guest operating system type is set correctly (1005870).

  6. Verify if the slow deployment is specific to one template or if it affects all templates. To properly test this,VMware recommends you to create a brand new template and then test the deployment. This provides a clean test of the environment. For more information, see Deploying a single template is slow in vCenter Server (1004028).

  7. Determine if the issue is caused due to conditions related to slow cloning or deployment of templates. For more information, see Diagnosing slow deployment of templates or clones from vCenter Server (1004002).
Note: If your problem still exists after trying the steps in this article, please:

Additional Information

Verify on ESX/ESXi 4.1 and later if the storage array devices in the environment support the hardware acceleration functionality and if they are responding correctly to VAAI primitives. If there is no VAAI support on the array, cloning or Storage vMotion may fail at 18%. For more information see Cloning or Storage vMotion fails at 18% with the error: Failed to clone: Connection timed out (1029244).
 
For further information on VAAI, see:

Tags

deploy-template-fails  cloning-fails  boot-guest-os-fails

See Also

Update History

12/08/2010 - Added vCenter Server 4.0 and 4.1 to Products. 03/09/2011 - Added additional information about VAAI. 08/30/2011 - Added vCenter Server 5.0 to Products. 06/07/2012 - Minor updates added.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 11 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 11 Ratings
Actions
KB: