Vcloud Director – Transfer Spooling Area is not writable

If you have your vcloud director cells setup to use shared NFS storage and you do not have the correct permissions on the mount point folder, you will run into this error:

Error starting application: Transfer spooling area is not writable: /opt/vmware/vcloud-director/data/transfer

You can see this error message if you tail the cell.log during the startup of vcloud director services (#tail -f cell.log)

The location for cell.log is: /opt/vmware/vcloud-director/logs

Having a look at the owner and permissions of the transfer folder we can see that there is only d and the owner is root

Firstly we lets change the owner of the transfer folder from root to vcloud, we can do this by typing:

# chown -R vcloud:vcloud /opt/vmware/vcloud-director/data/transfer

If we examine the folder again we can see that the owner has changed from root to vcloud

Next, we will change the permissions of the folder so that vcloud can have full access to it. To change permissions we use the command:

# chmod -R 775 /opt/vmware/vcloud-director/data/transfer

Examining the transfer folder, we can see that this folder has full access applied to it.

Now lets restart our vcloud director services by typing: # service vmware-vcd restart

Once the services have started up again, let’s tail the cell.log file (# tail -f cell.log). We can now see that vcloud director has full access to the NFS directory via the cell.log entry:

Successfully verified transfer spooling area: /opt/vmware/vcloud-director/data/transfer

[ad name=”sysadmintutorialsSquareLargeBottom”]

The post VMware Vcloud Director Transfer Spooling Area is not Writable appeared first on SYSADMINTUTORIALS IT TECHNOLOGY BLOG.