VMware vSphere

 View Only
  • 1.  Unable to remove a VIB which is blocking upgrade

    Posted Aug 22, 2022 06:12 PM

    I have a server which is behaving very strangely,  takes a long time to boot and even once it's up it take a long time to become fully functional, when I connect to the iLO it seems to freeze for long periods, at one point it was unbootable until I powered it off and back on agian. It's currently running 6.5, when I attempted to upgrade it to 7.0.3c I see the following incompatible VIBs:

     

    Cannot create a ramdisk of size 456MB to store the upgrade image. Check if the host has sufficient memory.The upgrade has VIBs that are missing dependencies:
    QLogic_bootbank_scsi-bfa_3.2.5.0-1OEM.550.0.0.1331820
    QLogic_bootbank_scsi-bfa_3.2.5.0-1OEM.550.0.0.1331820

    I attempt to remove the incompatible VIBs with the following command, but it errors out:

    [root@w0575darcsencl01hyp11:~] esxcli software vib remove -n scsi-bfa
    [StatelessError]
    The transaction is not supported: VIB QLogic_bootbank_scsi-bfa_3.2.5.0-1OEM.550 .0.0.1331820 cannot be removed live.
    Please refer to the log file for more details.

     

    I suspect possible corrupt system files because I have run this command to remove the this VIB dozens of times and it's never errored out before. Is there a way to either do a repair of the system files/disk or to force the removal of this VIB using another method?

     

     



  • 2.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 22, 2022 06:22 PM

    I assume you confirmed you were running in maintenance mode.

    Can the update be done when booting from the install files (USB) / ILO ISO vs. through the console?

    You can also try to update the VIB rather than remove it?

    For an HPE server, see if there are updated vendor files for the model of server matching the OS version you want to go to:

    http://vibsdepot.hpe.com/

     

    ---

    If you found this helpful please mark it s such so others can find the information easier by accepting the solution and / or marking it with a Kudos.



  • 3.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 30, 2022 02:54 PM

    I assume you confirmed you were running in maintenance mode.

    (yes)

    Can the update be done when booting from the install files (USB) / ILO ISO vs. through the console?

    (tried with 6.5U3, 6.7U3, both upgrade and update VIBs, all failed with a variety of errors)

    You can also try to update the VIB rather than remove it?

    (yes)

    For an HPE server, see if there are updated vendor files for the model of server matching the OS version you want to go to:

    http://vibsdepot.hpe.com/

    This I have a question about. I am using the custom HPE ISO, that should contain the updated VIBs if they exist should they not? I've take a look on the link provided and I cannot see where I would find the VIB I'm looking for, namely:

    QLogic_bootbank_scsi-bfa_3.2.5.0-1OEM.550.0.0.1331820

     

     

     



  • 4.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 22, 2022 06:29 PM

    Before you are going to upgrade the host to v7.0, please ensure that this version supports your hardware!
    https://www.vmware.com/go/hcl

    André



  • 5.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 23, 2022 10:55 PM

    Upgrade BIOS and ILO firmware, before doing this make sure server has warranty in case of any hardware failure then try upgrade by mounting iso to ILO.

    Make sure these vib are not in use before removing.

    Where did you get error related to these vib, screenshot would have more clarity.

    Try this command to remove vib:

    esxcli software vib remove --vibname=xyz



  • 6.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 24, 2022 08:03 PM

    Screenshot attached.



  • 7.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 24, 2022 09:07 PM

    Can you show us a

    esxcfg-scsidevs -a

    ?

    It it possible to "unload" modules.

    Regards,
    Joerg



  • 8.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 25, 2022 08:33 PM

    Screenshot as requested:
    Untitled.jpg



  • 9.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 25, 2022 08:48 PM

    Reboot the Host while in MM and try again.



  • 10.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 25, 2022 09:01 PM

    I've rebooted many times. There seems to be something else wrong with this host:

    1. I need to power it off in order to reboot, rebooting within maintenance mode will result in the host not finding its local disk and repeatedly attempting to boot from the NIC.

    2.The host takes a long time to boot, even once it's up to the point that I can log into the console it takes another 20 minutes to become fully responsive.

    3. When it finally becomes responsive it is not in maintenance mode and I have to put it back into maintenance each time.

    I suspect that there are corrupt files on the local drive where ESXi is installed. If I reboot with the 7.0.3c ISO mounted and try to do an upgrade there is an error and the local drive disappears.



  • 11.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 25, 2022 01:41 PM

    put ESXi host into maintenance mode then try same command 



  • 12.  RE: Unable to remove a VIB which is blocking upgrade

    Posted Aug 25, 2022 02:22 PM

    I ran into this recently with that exact VIB on a single host when trying to upgrade from 6.7U3 to 7.0U3.  For me, rebooting the host and then trying the command again allowed me to remove it (and then reboot yet again for that to take effect)  But I also use this command -  esxcli software vib remove -vibname scsi-bfa 

    I believe either command will work fine, but you never know.