Link to home
Start Free TrialLog in
Avatar of jsctechy
jsctechyFlag for United States of America

asked on

DELETE FROM DISK greyed out in VSPHERE CLIENT, cant delte the VM!!!

i am unable to delete a vmware image from VSPHERE CLIENT
when i right click on the VM i want to delete, almost everything is greyed out, including REMOVE FROM INVENTORY
any ideas? im able to delete the other VMs on the list.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Is a Task In Progress on this VM?

Restart Network Management Agents on the Host ESX/ESXi server.
The VM needs to be powered down. Is it off?

~coolsport00
Avatar of jsctechy

ASKER

no task in progress, i think this was a VM that was created and then the files were deleted from the DATASTORE
im not 100% sure
the VM is off, i think it might be pointed to a file that was deleted from the local data store? (someone problably deleted it incorrectly)
Ok, try rebooting vCenter Server to see if it 'clears' out. You could 1st try to restart the mgmt agent on the host the VM was on, as mentioned above:

services.sh restart

...from the DCUI of ESXi; if you have ESX, you can Putty to the service console and run:

Service mgmt-vmware restart

Reference this KB: http://kb.vmware.com/kb/1003490

~coolsport00
it now shows UNKNOWN (INACCESSIBLE)
how can i remove it from the list?
Can you now remove it from Inventory?
its greyed out, i cant remove it from inventory by right clicking on it.
Are you logged onto vCenter or host directly? Try logging on host, rt-click the VM and remove from inventory.
im logged into the host directly not usinv Vcenter

when i go to VIEW>ADMINISTRATION>ROLES i can see the ROOT user under the READ ONLY and ADMINISTRATOR roles, why would it be under the read only? shouldnt it just be under ADMINISTRATOR?
what use have you logged in with?

have you changed any of the default permissions?
im logged in with ROOT
i havent changed any of the permissions, i am able to delete the other VMs, i think this might be orphaned? not sure how to get rid of though
ASKER CERTIFIED SOLUTION
Avatar of coolsport00
coolsport00
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, it's clearly orphaned. Usually you can Right-Click, and Select Remove from Inventory, but I've known incidents when things, "go weird", I've currently got a client site with a phantom datastore, that's also grey out that cannot be removed!

At next reboot, check if it's still there. (it won't do any harm).
its in our dev environment, i rebooted it already and thats when it went from the host name to UNKNOWN
no option to delete or remove... i found something on the vmware website that says to add a folder to VCENTER and then add the VM to that folder and then delete the folder... the only problem is i dont have VCENTER