VMware vSphere

 View Only
Expand all | Collapse all

Tools upgrade in progress - NOT

Debashish_Rath

Debashish_RathMar 20, 2018 03:52 PM

  • 1.  Tools upgrade in progress - NOT

    Posted Mar 20, 2018 02:00 PM

    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...



  • 2.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 02:37 PM

    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?



  • 3.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 02:44 PM

    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.



  • 4.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 02:53 PM

    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 



  • 5.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:23 PM

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



  • 6.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:07 PM

    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 ?



  • 7.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:24 PM

    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?



  • 8.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:43 PM

    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.



  • 9.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:32 PM

    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 ?



  • 10.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:46 PM

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

    I did find

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



  • 11.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:48 PM



  • 12.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:52 PM

    Do you have multiple vms on the same state ?



  • 13.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 03:58 PM

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



  • 14.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 04:06 PM

    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

    4. Kill the installation process (replace the id_number)

    vim-cmd vmsvc/tools.cancelinstall id_number



  • 15.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 04:12 PM

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



  • 16.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 04:16 PM

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



  • 17.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 04:23 PM

    [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.



  • 18.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 04:08 PM

    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.



  • 19.  RE: Tools upgrade in progress - NOT
    Best Answer

    Posted Mar 20, 2018 06:42 PM

    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.



  • 20.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 07:19 PM

    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



  • 21.  RE: Tools upgrade in progress - NOT

    Posted Apr 22, 2022 04:22 AM

    I was getting same error...It worked for me.Thanks!



  • 22.  RE: Tools upgrade in progress - NOT

    Posted Jan 01, 2024 12:38 PM

    Hi Debasish,

     

    Thanks for the solutions. It's worked. after doing the re-register VM. Working fine.

     

    Regards

    Shiv 



  • 23.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 08:26 PM

    Thank you for the update.

    You can check the vmware.log for the virtual machine as well if you can see any error or process stuck. 



  • 24.  RE: Tools upgrade in progress - NOT

    Posted Mar 20, 2018 08:41 PM

    Bouncing the VM did clear the problem.

    Thanks



  • 25.  RE: Tools upgrade in progress - NOT

    Posted Sep 04, 2018 12:48 PM

    I solved ejecting the cdrom from inside the guest os



  • 26.  RE: Tools upgrade in progress - NOT

    Posted Dec 03, 2024 10:25 AM

    I know this thread is old but it showed up as one of the only posts around this issue in a google search. I ran into the same issue and did not want to restart/reregister. I downloaded the ISO for VMWare tools corresponding to the version that it said was installed on the VM. I connected that ISO, ran the Setup64 and chose the "repair" option. After this (without restarting) the status in vCenter went back to running. Hope this helps anyone who comes across this topic in the future.