• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7676
  • Last Modified:

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.
0
jsctechy
Asked:
jsctechy
  • 7
  • 5
  • 5
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Is a Task In Progress on this VM?

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

~coolsport00
0
 
jsctechyAuthor Commented:
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
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
jsctechyAuthor Commented:
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)
0
 
coolsport00Commented:
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
0
 
jsctechyAuthor Commented:
it now shows UNKNOWN (INACCESSIBLE)
how can i remove it from the list?
0
 
coolsport00Commented:
Can you now remove it from Inventory?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Right Click, Remove from Inventory.
0
 
jsctechyAuthor Commented:
its greyed out, i cant remove it from inventory by right clicking on it.
0
 
coolsport00Commented:
Are you logged onto vCenter or host directly? Try logging on host, rt-click the VM and remove from inventory.
0
 
jsctechyAuthor Commented:
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?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what use have you logged in with?

have you changed any of the default permissions?
0
 
jsctechyAuthor Commented:
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
0
 
coolsport00Commented:
The only other option I can think of, outside of what we shared, is to reboot the actual host. Not sure if you can do that during business hrs or not?...
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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).
0
 
jsctechyAuthor Commented:
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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You can download a trial of vCenter.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 7
  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now