2 Replies Latest reply on Feb 6, 2015 9:06 PM by dastaak2

    Unable to access auto deploy repo

    dastaak2 Lurker

      I'm testing autodeploy in my lab, as per instructions online I'm suppose to add offline bundle to repo but can't find offline bundle so some blog suggested repo via http:

       

      Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

      output:

      Depot Url

      ---------

      https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

       

      done that after that when i run get-esximagefprofile, i get this error:

       

      PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-EsxImageProfile

      Get-EsxImageProfile : The parameter 'name' cannot be an empty string.

      Parameter name: name

      At line:1 char:20

      + Get-EsxImageProfile <<<<

          + CategoryInfo          : NotSpecified: (:) [Get-EsxImageProfile], ArgumentException

          + FullyQualifiedErrorId : System.ArgumentException,VMware.ImageBuilder.Commands.GetProfiles

       

      as per community there is a KB for this

      http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2089217

       

      followed instructions per Kb and now ran the command

      Get-EsxImageProfile -Name "ESXi-5.x* and got a different error:

       

      PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-EsxImageProfile -Name "ESXi-5.x*"

      Get-EsxImageProfile : Cannot convert length string (epends x) to a number

      At line:1 char:20

      + Get-EsxImageProfile <<<<  -Name "ESXi-5.x*"

          + CategoryInfo          : NotSpecified: (:) [Get-EsxImageProfile], ProtocolViolationException

          + FullyQualifiedErrorId : System.Net.ProtocolViolationException,VMware.ImageBuilder.Commands.GetProfiles

       

       

      at this point I can't move forward not sure why this is not working.

      I'm new to all this and trying to learn. I would really appreciate if someone can help please.

       

      Many Thanks.