When upgrading esxi from 7.x to 8.x (or higher) , "esxcli software profile install/update" may fail and reports many errors such as File path of ... is claimed by multiple non-overlay VIBs: ....
search cancel

When upgrading esxi from 7.x to 8.x (or higher) , "esxcli software profile install/update" may fail and reports many errors such as File path of ... is claimed by multiple non-overlay VIBs: ....

book

Article ID: 417671

calendar_today

Updated On:

Products

VMware vSphere ESX 7.x

Issue/Introduction

  • esxcli software profile install/update command fails and reports many errors as following.
[ProfileValidationError]
 File path of '/usr/lib/vmware/osfs/osfsIpc.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.x-0.xx.yyyyyyyy', 'VMware_bootbank_esxio-base_8.0.x-0.xx.yyyyyyyy'}
 File path of '/usr/lib/vmware/weasel/scripted/ui.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esxio-update_8.0.x-0.xx.yyyyyyyy', 'VMware_bootbank_esx-update_8.0.x-0.xx.yyyyyyyy'}
 File path of '/lib64/python3.11/site-packages/urwid/canvas.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esxio-update_8.0.x-0.xx.yyyyyyyy', 'VMware_bootbank_esx-update_8.0.x-0.xx.yyyyyyyy'}
 File path of '/lib64/python3.11/sched.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.x-0.xx.yyyyyyyy', 'VMware_bootbank_esxio-base_8.0.x-0.xx.yyyyyyyy'}
 File path of '/usr/lib/vmware/vmkmod/filtmod' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.x-0.xx.yyyyyyyy', 'VMware_bootbank_esxio-base_8.0.x-0.xx.yyyyyyyy'}

...

 File path of '/var/lib/sfcb/registration/vmw_kmodule-providerRegister' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.x-0.xx.yyyyyyyy', 'VMware_bootbank_esxio-base_8.0.x-0.xx.yyyyyyyy'}
 Please refer to the log file for more details.
  • Upgrading ESXi from 7.x only.

  • When esxcli software profile install/update multiple times without reboot.

  • When you interrupted esxcli software profile install/update (typing 'Ctrl-C') and tried the same command.

Issue described in KB Esxcli software profile install/update command with --dry-run option may fail with "File path... is claimed by multiple non-overlay VIBs" message) is different issue. This KB describe the issue even without '--dry-run' option.

Environment

VMware vSphere ESXi 7.x

Cause

  • ESXi 8.0 or later support unified image profile which can contain multiple productline 'embeddedEsx' and 'esxio' but ESXi 7.0 does not.

  • When esxcli software install/update command multiple times without host reboot, because new image which was populated into  /altboobank successfully at 1st install/update command, so following esxcli profile install/update commands may fail this error.

  • When you interrupted (ex: typing 'Ctrl-C') esxcli software install/update command during the upgrade is processing, esx upgrade process still continue to be running in background and in most case will succeeded without any messages.

Resolution

  • When succeeded esxcli software profile install/update command and reboot is required , try to reboot. not to try the same esxcli software ... commands again before reboot.

  • When you interrupted esxcli software profile install/update command, esx's upgrade process should have run in background so you need to verify it succeeded or not. Reboot the host if succeeded.

    If succeeded in vobd.log you can similar message like below.
    yyyy-mm-ddThh:mm:ss.xxxZ In(14) vobd[131320]:  [UserLevelCorrelator] 357221622us: [vob.user.esximage.profile.update.successful] Successfully updated host to image profile 'ESXi-8.0U3x-yyyyzzzz-standard'. Installed 46 VIB(s), removed 44 VIB(s). Please use 'esxcli software profile get' or see log for more detail about the transaction.

    yyyy-mm-ddThh:mm:ss.xxxZ In(14) vobd[131320]:  [GenericCorrelator] 357221622us: [vob.user.esximage.profile.update.successful] Successfully updated host to image profile 'ESXi-8.0U3x-yyyyzzzz-standard'. Installed 46 VIB(s), removed 44 VIB(s). Please use 'esxcli software profile get' or see log for more detail about the transaction.