VMware Cloud Community
usao
Enthusiast
Enthusiast
Jump to solution

Tools upgrade in progress - NOT

I have a VM which reports that tools upgrade is in progress. It's not in progress, and I don't know how to reset this...

1 Solution

Accepted Solutions
Debashish_Rath
Enthusiast
Enthusiast
Jump to solution

Please try my previous recommendation it should work.

You can try to reload the vmx if you have downtime.

You can power off the vm and then remove the vm from the Inventory and try to re-register.

Note : Please copy the location before removing the vm from the Inventory.

Sincerely, Debashish Kumar Rath SkyLine Support Moderator

View solution in original post

24 Replies
pwilk
Hot Shot
Hot Shot
Jump to solution

How do you know if the installation has finished/failed? It might take a while for vCenter to update the status.

Have you tried logging out & back into into vSphere?

Cheers, Paul Wilk
Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

Im not sure how this "update" state got started. None of the VM's in this state are actually installing tools.

They have been booted, no CD's are mounted, but I can't clear this state.

The tools are definately not being updated at this time. This has bene in this state for weeks and im trying to find a way to clear this out.

Reply
0 Kudos
pwilk
Hot Shot
Hot Shot
Jump to solution

In this case, I'd restart vCenter services or the appliance/server itself. This should clear all "in progress" messages.

Restarting vCenter services: VMware Knowledge Base 

Cheers, Paul Wilk
Reply
0 Kudos
Debashish_Rath
Enthusiast
Enthusiast
Jump to solution

When you right click on the Virtual Machine > Guest > Install/Upgrade VMware Tools or End VMware Tools.

Do you see all the options are grayed out ?

Sincerely, Debashish Kumar Rath SkyLine Support Moderator
usao
Enthusiast
Enthusiast
Jump to solution

I restarted the vcenter appliance, but it's still showing the VM's as "upgrade in progress".

Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

You said:

When you right click on the Virtual Machine > Guest > Install/Upgrade VMware Tools or End VMware Tools.

Im not sure where to find this set of links. Can you be more specific on what I have to navigate to and how to get there?

Reply
0 Kudos
Debashish_Rath
Enthusiast
Enthusiast
Jump to solution

1 ) Please login to vCenter through vSphere Client or Web Client.

2 ) Please right click on the VM ( which is in progress state ) you will see "Guest" > Install/Upgrade VMware Tools or End VMware Tools.

Do you see all the options are grayed out ?

Sincerely, Debashish Kumar Rath SkyLine Support Moderator
Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

I found a menu item called "Unmount VMWare tools installer", but it doesn't have any effect, the VM still shows that tools installing, even though it's not and there is no CD mounted.

Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

I cannot locate any menu items which shows "Install/Upgrade VMware Tools or END VMware Tools".

I did find

pastedImage_0.png

However, the "Unmount VMware Tools Installer" reports success but the status of the tools install does not change. It's still reporting as installing.

Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

pastedImage_0.png

pastedImage_1.png

Reply
0 Kudos
Debashish_Rath
Enthusiast
Enthusiast
Jump to solution

Do you have multiple vms on the same state ?

Sincerely, Debashish Kumar Rath SkyLine Support Moderator
Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

I had 3 VM's in this state, Using the "unmount" worked on 2 of them but the 3rd is still stuck.

Reply
0 Kudos
pwilk
Hot Shot
Hot Shot
Jump to solution

Ok, here's what you need to do:

1. Connect by SSH to your vCenter Server

2. Run the following command to get a process ID number (replace the vm_name)

vim-cmd vmsvc/getallvms | grep "vm_name"

3. The first number on left is your process ID number

vim-cdm.png

4. Kill the installation process (replace the id_number)

vim-cmd vmsvc/tools.cancelinstall id_number

Cheers, Paul Wilk
Debashish_Rath
Enthusiast
Enthusiast
Jump to solution

You can try to reload the vmx if you have downtime.

You can power off the vm and then remove the vm from the Inventory and try to re-register.

Note : Please copy the location before removing the vm from the Inventory.

Sincerely, Debashish Kumar Rath SkyLine Support Moderator
usao
Enthusiast
Enthusiast
Jump to solution

Command> vim-cmd vmsvc/getallvms | grep LDAP

Unknown command: `vim-cmd'

Command> shell

Shell access is granted to root

root@vcsa [ ~ ]# vim-cmd vmsvc/getallvms | grep LDAP

bash: vim-cmd: command not found

root@vcsa [ ~ ]#

Reply
0 Kudos
pwilk
Hot Shot
Hot Shot
Jump to solution

Sorry, my bad - that's an ESXi command not vCenter. Try again after connecting through SSH to ESXi host running affected VM

Cheers, Paul Wilk
Reply
0 Kudos
usao
Enthusiast
Enthusiast
Jump to solution

[root@esxi2:~] vim-cmd vmsvc/getallvms | grep LDAP

52     LDAP     [esxi2] LDAP/LDAP.vmx        centos64Guest   vmx-08

[root@esxi2:~] vim-cmd vmsvc/tools.cancelinstall 52

[root@esxi2:~] vim-cmd vmsvc/getallvms | grep LDAP

52     LDAP     [esxi2] LDAP/LDAP.vmx        centos64Guest   vmx-08

Still showing error due to tools install.

pastedImage_1.png

pastedImage_0.png

Reply
0 Kudos
Debashish_Rath
Enthusiast
Enthusiast
Jump to solution

Please try my previous recommendation it should work.

You can try to reload the vmx if you have downtime.

You can power off the vm and then remove the vm from the Inventory and try to re-register.

Note : Please copy the location before removing the vm from the Inventory.

Sincerely, Debashish Kumar Rath SkyLine Support Moderator
usao
Enthusiast
Enthusiast
Jump to solution

I will try to un-register and re-register the VM, but since it will require downtime that has to be scheduled, not something I can do at this time.

Thanks

Reply
0 Kudos