I'm getting the following error when trying to use the vicfg-nas command to remove a NFS datastore from an vSphere ESXi host.
Unable to remove datastore: fault.RestrictedVersion.summary
The command works fine for listing and adding datastores.
I know it worked when used on ESX/ESXi 3.5 hosts.
I first ran into the error when using the older Remote CLI package, but I still get the error after installing the vSphere SDK.
Anyone run into this and figured out a solution?
stumpr is correct, you would only see this error if you're using the free version of ESXi 3.5u1,u4 or 4.0 (U2,U3 allows for both read/write operations due to internal bug) and you can find more details here: http://vmetc.com/2009/03/31/esxi-u4-ends-free-version-read-and-write-access-from-the-rcli/
This should not be occurring on ESX if you have it properly licensed or using it in eval mode, you should have full read/write access to the API unless your license expired/etc. You may want to double check, pretty sure you're testing this against ESXi and not classic ESX.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
Well, that fault is definitely from 'product versioning restrictions'. What's different about the system you're getting the error on?
It's not just one host.
It's every vSphere 4 host I've tried, ESX and ESXi.
I'm downloading the VMA appliance to see if that works any differently.
Is this the free version of ESXi you're using? I think (by bug or by design) the api is read only against it. I believe that would throw that error.
stumpr is correct, you would only see this error if you're using the free version of ESXi 3.5u1,u4 or 4.0 (U2,U3 allows for both read/write operations due to internal bug) and you can find more details here: http://vmetc.com/2009/03/31/esxi-u4-ends-free-version-read-and-write-access-from-the-rcli/
This should not be occurring on ESX if you have it properly licensed or using it in eval mode, you should have full read/write access to the API unless your license expired/etc. You may want to double check, pretty sure you're testing this against ESXi and not classic ESX.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
I've done some testing and you are right.
I can add and remove datastores using the RCLI on my ESX hosts, but not on the ESXi hosts that are using the free license.
Thanks!
