Error downloading templates with App Volumes 2.9

Error downloading templates with App Volumes 2.9

When implementing App Volumes, there is a series of prerequisites you need to comply to if you would like things to work.
One of them is to setup a role with appropriate permissions in vCenter so you can setup a template, create appstacks, provision them and assign them.

As at my current project it isn’t possible to create a role with administrative permissions, I tried to create a role with the minimum permissions needed on the cluster where the desktops, RDSH servers and AppVolumes manager is running. This was the list of permissions set on the cluster:

vCenter Server Permissions

  • Datastore
    • Allocate space
    • Browse datastore
    • Low level file operations
    • Remove file
    • Update virtual machine files
  • Folder
    • Create folder
    • Delete folder
  • Global
    • Cancel task
  • Host
    • Local operations
      • Create virtual machine
      • Delete virtual machine
      • Reconfigure virtual machine
  • Resource
    • Assign virtual machine to resource pool
  • Sessions
    • View and stop sessions
  • Tasks
    • Create task
  • Virtual Machine
    • Configuration
      • Add existing disk
      • Add new desk
      • Add or remove device
      • Change resource
      • Remove disk
      • Settings
    • Interaction
      • Power off
      • Power on
      • Suspend
    • Inventory
      • Create from existing
      • Create new
      • Move
      • Register
      • Remove
      • Unregister
    • Provisioning
      • Clone template
      • Clone virtual machine
      • Create template from virtual machine
      • Customize
      • Deploy template
      • Mark as template
      • Mark as virtual machine
      • Modify customization specification
      • Promote disks
      • Read customization specifications

[2015-08-12 11:15:49 UTC] P2052DJ ERROR   RvSphere: Exception message: An established connection was aborted by the software in your host machine.

[2015-08-12 11:15:50 UTC] P2052DJ ERROR   RvSphere: Error downloading https://vcenter.domain.extension/folder/cloudvolumes/apps_templates/template_workstation.vmdk?dcPath=LAN&dsName=LAN05-U-D001

[2015-08-12 11:15:50 UTC] P2052DJ ERROR   RvSphere: Exception message: An established connection was aborted by the software in your host machine.

[2015-08-12 11:15:51 UTC] P2052DJ ERROR   RvSphere: Error with https://vcenter.domain.extension/folder/cloudvolumes/apps_templates/template_workstation.vmdk?dcPath=LAN&dsName=LAN05-U-D001:

Maximum number of download attempts 2 surpassed

[2015-08-12 11:15:51 UTC] P2052DJ ERROR   RvSphere: Failed to upload file “template_workstation.vmdk”: https://vcenter.domain.extension/folder/cloudvolumes/apps_templates/template_workstation.vmdk?dcPath=LAN&dsName=LAN05-U-D001

[2015-08-12 11:15:51 UTC] P2052DJ  INFO        Cvo: No volumes were uploaded to “[LAN05-U-D001] cloudvolumes/apps_templates/”

Solution

Unfortunately, the only way to solve these issues, is to link the newly created role to the whole datacenter instead of the cluster.

Johan van Amersfoort