3 Replies Latest reply on May 15, 2015 1:49 AM by JohnWiesner

    Receiving error trying to upload Auto Deploy images

    pesullivan Lurker

      Hi Guys,


      First post here, hoping someone can provide some insight. I've downloaded an ESXi Image using PowerCLI and the Online Repository for my AutoDeploy setup. I'm receiving an error when attempting to create a New-Deployrule. It downloads the image from the Repo ok, but seems to error when attempting to upload to vCenter.


      Previous commands as below;


      New-EsxImageProfile -CloneProfile "ESXi-5.0.0-469512-standard" -name "A1StatelessImage"
      Add-EsxSoftwarePackage -ImageProfile "A1StatelessImage" -SoftwarePackage vmware-fdm



      PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-DeployRule -Name "FirstBoot" -Item "A1StatelessImage" -AllHosts
      Downloading net-ixgbe
      Download finished, uploading to AutoDeploy...
      New-DeployRule : 1/16/2012 8:20:27 PM    New-DeployRule        The remote server returned an error: (500) Internal Server Error.
      At line:1 char:15
      + New-DeployRule <<<<  -Name "FirstBoot" -Item "A1StatelessImage" -AllHosts
      + CategoryInfo          : NotSpecified: (:) [New-DeployRule], VimException
      + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.DeployAutomation.Commands.NewDeployRule


      Any input much appreciated.