Highlighted
Enthusiast
Enthusiast

Tools upgrade in progress - NOT

Jump to solution

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
Highlighted
Enthusiast
Enthusiast

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

0 Kudos
22 Replies
Highlighted
Hot Shot
Hot Shot

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
0 Kudos
Highlighted
Enthusiast
Enthusiast

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.

0 Kudos
Highlighted
Hot Shot
Hot Shot

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
0 Kudos
Highlighted
Enthusiast
Enthusiast

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
0 Kudos
Highlighted
Enthusiast
Enthusiast

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

0 Kudos
Highlighted
Enthusiast
Enthusiast

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?

0 Kudos
Highlighted
Enthusiast
Enthusiast

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
0 Kudos
Highlighted
Enthusiast
Enthusiast

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.

0 Kudos
Highlighted
Enthusiast
Enthusiast

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.

0 Kudos
Highlighted
Enthusiast
Enthusiast

pastedImage_0.png

pastedImage_1.png

0 Kudos
Highlighted
Enthusiast
Enthusiast

Do you have multiple vms on the same state ?

Sincerely, Debashish Kumar Rath SkyLine Support Moderator
0 Kudos
Highlighted
Enthusiast
Enthusiast

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

0 Kudos
Highlighted
Hot Shot
Hot Shot

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
Highlighted
Enthusiast
Enthusiast

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
Highlighted
Enthusiast
Enthusiast

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 [ ~ ]#

0 Kudos
Highlighted
Hot Shot
Hot Shot

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
0 Kudos
Highlighted
Enthusiast
Enthusiast

[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

0 Kudos
Highlighted
Enthusiast
Enthusiast

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

0 Kudos
Highlighted
Enthusiast
Enthusiast

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

0 Kudos