[GH-ISSUE #51] error - ESXi 8.0 image not getting created #31

Closed
opened 2026-02-28 02:14:21 +03:00 by kerem · 12 comments
Owner

Originally created by @xiaocenter on GitHub (Oct 14, 2022).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/51

Originally assigned to: @virtualex-itv on GitHub.

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-8.0.0-20513097-standard ...
(Dated 09/23/2022 18:59:28, AcceptanceLevel: PartnerSupported,
The general availability release of VMware ESXi Server 8.0.0 brings whole new levels of virtualization performance to datacenters and enterprises.)

Exporting the Imageprofile to 'D:\ESXi-8.0.0-20513097-standard.iso'. Please be patient ...

警告: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and
may not boot or be functional. Errors:
警告: File path of '/lib64/python3.8/xml/dom/minicompat.pyc' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/lib64/python3.8/tkinter/font.pyc' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/etc/vmware/default.map.d/intelnvdimm.map' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_native-misc-drivers_8.0.0-1.0.20513097',
'VMware_bootbank_native-misc-drivers-esxio_8.0.0-1.0.20513097'}
警告: File path of '/usr/lib/vmware/vmkmod/vmkibft' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/bin/esxcfg-volume' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/etc/vmware/secpolicy/domains/ntpdDom' is claimed by multiple non-overlay VIBs:

Originally created by @xiaocenter on GitHub (Oct 14, 2022). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/51 Originally assigned to: @virtualex-itv on GitHub. Connecting the VMware ESXi Software depot ... [OK] Getting Imageprofiles, please wait ... [OK] Using Imageprofile ESXi-8.0.0-20513097-standard ... (Dated 09/23/2022 18:59:28, AcceptanceLevel: PartnerSupported, The general availability release of VMware ESXi Server 8.0.0 brings whole new levels of virtualization performance to datacenters and enterprises.) Exporting the Imageprofile to 'D:\\ESXi-8.0.0-20513097-standard.iso'. Please be patient ... 警告: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors: 警告: File path of '/lib64/python3.8/xml/dom/minicompat.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} 警告: File path of '/lib64/python3.8/tkinter/font.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} 警告: File path of '/etc/vmware/default.map.d/intelnvdimm.map' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_native-misc-drivers_8.0.0-1.0.20513097', 'VMware_bootbank_native-misc-drivers-esxio_8.0.0-1.0.20513097'} 警告: File path of '/usr/lib/vmware/vmkmod/vmkibft' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} 警告: File path of '/bin/esxcfg-volume' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} 警告: File path of '/etc/vmware/secpolicy/domains/ntpdDom' is claimed by multiple non-overlay VIBs:
kerem closed this issue 2026-02-28 02:14:21 +03:00
Author
Owner

@Turranius commented on GitHub (Oct 14, 2022):

Same here. -70 still works just fine but -80 fails.

PS C:\temp> .\ESXi-Customizer-PS-v2.9.0.ps1 -v80 -outDir "C:\Temp\Out" -NoSignatureCheck

This is ESXi-Customizer-PS Version 2.9.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Temporarily logging to C:\Users\username\AppData\Local\Temp\ESXi-Customizer-PS-9040.log ...

Running with PowerShell version 5.1 and VMware PowerCLI version 12.7.0 build 20091289

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-8.0.0-20513097-standard ...
(Dated 09/23/2022 18:59:28, AcceptanceLevel: PartnerSupported,
The general availability release of VMware ESXi Server 8.0.0 brings whole new levels of virtualization performance to datacenters and enterprises.)

Exporting the Imageprofile to 'C:\Temp\Out\ESXi-8.0.0-20513097-standard.iso'. Please be patient ...

WARNING: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors:
WARNING: File path of '/lib64/python3.8/idlelib/idle_test/test_pathbrowser.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING: File path of '/usr/lib/vmware/hostd/vimLocale/de/event.vmsg' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING: File path of '/etc/rp.d/wsman.yml' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING: File path of '/usr/libexec/jumpstart/plugins/libvmkapps.so' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING: File path of '/usr/libexec/jumpstart/plugins/restore-system-swap.json' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING: File path of '/lib64/python3.8/turtledemo/minimal_hanoi.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING: File path of '/lib64/python3.8/gevent/resolver_thread.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097',
'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
ESXi-8.0.0-20513097-standard.iso-202210141438.log

<!-- gh-comment-id:1278957761 --> @Turranius commented on GitHub (Oct 14, 2022): Same here. -70 still works just fine but -80 fails. PS C:\temp> .\ESXi-Customizer-PS-v2.9.0.ps1 -v80 -outDir "C:\Temp\Out" -NoSignatureCheck This is ESXi-Customizer-PS Version 2.9.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!) (Call with -help for instructions) Temporarily logging to C:\Users\username\AppData\Local\Temp\ESXi-Customizer-PS-9040.log ... Running with PowerShell version 5.1 and VMware PowerCLI version 12.7.0 build 20091289 Connecting the VMware ESXi Software depot ... [OK] Getting Imageprofiles, please wait ... [OK] Using Imageprofile ESXi-8.0.0-20513097-standard ... (Dated 09/23/2022 18:59:28, AcceptanceLevel: PartnerSupported, The general availability release of VMware ESXi Server 8.0.0 brings whole new levels of virtualization performance to datacenters and enterprises.) Exporting the Imageprofile to 'C:\Temp\Out\ESXi-8.0.0-20513097-standard.iso'. Please be patient ... WARNING: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors: WARNING: File path of '/lib64/python3.8/idlelib/idle_test/test_pathbrowser.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/usr/lib/vmware/hostd/vimLocale/de/event.vmsg' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/etc/rp.d/wsman.yml' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/usr/libexec/jumpstart/plugins/libvmkapps.so' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/usr/libexec/jumpstart/plugins/restore-system-swap.json' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/lib64/python3.8/turtledemo/minimal_hanoi.pyc' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/lib64/python3.8/gevent/resolver_thread.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} [ESXi-8.0.0-20513097-standard.iso-202210141438.log](https://github.com/VFrontDe/ESXi-Customizer-PS/files/9786350/ESXi-8.0.0-20513097-standard.iso-202210141438.log)
Author
Owner

@virtualex-itv commented on GitHub (Oct 14, 2022):

unfortunately - this is not an issue with the script. I'm trying to research what could potentially be causing this to happen...

<!-- gh-comment-id:1279469905 --> @virtualex-itv commented on GitHub (Oct 14, 2022): unfortunately - this is not an issue with the script. I'm trying to research what could potentially be causing this to happen...
Author
Owner

@VFrontDe commented on GitHub (Oct 17, 2022):

This error here is really a duplicate of the well known [WinError 10054] issue #15 .
At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export!

<!-- gh-comment-id:1280545198 --> @VFrontDe commented on GitHub (Oct 17, 2022): This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export!
Author
Owner

@xiaocenter commented on GitHub (Oct 17, 2022):

This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export!

dont install

<!-- gh-comment-id:1280568952 --> @xiaocenter commented on GitHub (Oct 17, 2022): > This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export! dont install
Author
Owner

@Turranius commented on GitHub (Oct 17, 2022):

This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export!

That is false. No image is created. Only the log file. See end of my log file attached above.

WARNING:   File path of '/lib64/python3.8/gevent/_ffi/watcher.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING:   File path of '/lib64/libgobject-2.0.so.0' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
>> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"
>> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"


An unexpected error occurred:
[WinError 10054] An existing connection was forcibly closed by the remote host
<!-- gh-comment-id:1281217466 --> @Turranius commented on GitHub (Oct 17, 2022): > This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export! That is false. No image is created. Only the log file. See end of my log file attached above. ``` WARNING: File path of '/lib64/python3.8/gevent/_ffi/watcher.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} WARNING: File path of '/lib64/libgobject-2.0.so.0' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} >> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host" >> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host" An unexpected error occurred: [WinError 10054] An existing connection was forcibly closed by the remote host ```
Author
Owner

@virtualex-itv commented on GitHub (Oct 18, 2022):

This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export!

That is false. No image is created. Only the log file. See end of my log file attached above.

WARNING:   File path of '/lib64/python3.8/gevent/_ffi/watcher.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
WARNING:   File path of '/lib64/libgobject-2.0.so.0' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
>> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"
>> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"


An unexpected error occurred:
[WinError 10054] An existing connection was forcibly closed by the remote host

I have noticed the same thing where it is not creating the image, but unfortunately, this is not due to an issue with the script itself but may be due to an issue with the ImageProfile for ESXi 8.0. This is not something that we can fix, however.

<!-- gh-comment-id:1282571368 --> @virtualex-itv commented on GitHub (Oct 18, 2022): > > This error here is really a duplicate of the well known [WinError 10054] issue #15 . At least with the latest PowerCLI versions the WARNING messages that appear with the ESXi 8.0 image profile are just warnings and do not prevent a successful export! > > That is false. No image is created. Only the log file. See end of my log file attached above. > > ``` > WARNING: File path of '/lib64/python3.8/gevent/_ffi/watcher.py' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} > WARNING: File path of '/lib64/libgobject-2.0.so.0' is claimed by multiple non-overlay VIBs: {'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'} > >> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host" > >> TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host" > > > An unexpected error occurred: > [WinError 10054] An existing connection was forcibly closed by the remote host > ``` I have noticed the same thing where it is not creating the image, but unfortunately, this is not due to an issue with the script itself but may be due to an issue with the ImageProfile for ESXi 8.0. This is not something that we can fix, however.
Author
Owner

@virtualex-itv commented on GitHub (Oct 18, 2022):

the current workaround is to export the image to an offline bundle (.zip) via -oZip, then re-running the script importing the offline bundle via iZip to convert it to an .iso

<!-- gh-comment-id:1282894325 --> @virtualex-itv commented on GitHub (Oct 18, 2022): the current workaround is to export the image to an offline bundle (`.zip`) via `-oZip`, then re-running the script importing the offline bundle via `iZip` to convert it to an `.iso`
Author
Owner

@Turranius commented on GitHub (Oct 26, 2022):

Thanks. That worked, although the iso created does not seem to be bootable that way. Different case I guess, but I'd thought I'd mention it.

<!-- gh-comment-id:1292125192 --> @Turranius commented on GitHub (Oct 26, 2022): Thanks. That worked, although the iso created does not seem to be bootable that way. Different case I guess, but I'd thought I'd mention it.
Author
Owner

@fvlaicu commented on GitHub (Nov 5, 2022):

I think it is related to this: https://williamlam.com/2022/11/quick-tip-changes-to-building-custom-esxi-images-in-vsphere-8.html

<!-- gh-comment-id:1304439163 --> @fvlaicu commented on GitHub (Nov 5, 2022): I think it is related to this: https://williamlam.com/2022/11/quick-tip-changes-to-building-custom-esxi-images-in-vsphere-8.html
Author
Owner

@virtualex-itv commented on GitHub (Nov 7, 2022):

I think it is related to this: williamlam.com/2022/11/quick-tip-changes-to-building-custom-esxi-images-in-vsphere-8.html

it is... I am working on adding in some detections for this...

<!-- gh-comment-id:1305946622 --> @virtualex-itv commented on GitHub (Nov 7, 2022): > I think it is related to this: [williamlam.com/2022/11/quick-tip-changes-to-building-custom-esxi-images-in-vsphere-8.html](https://williamlam.com/2022/11/quick-tip-changes-to-building-custom-esxi-images-in-vsphere-8.html) it is... I am working on adding in some detections for this...
Author
Owner

@virtualex-itv commented on GitHub (Nov 9, 2022):

made a few minor revisions for some "missing" things and added detections for PowerCLI version when trying to create an esxi 8.0 .iso. please download and use the latest release found here

<!-- gh-comment-id:1308883038 --> @virtualex-itv commented on GitHub (Nov 9, 2022): made a few minor revisions for some "missing" things and added detections for PowerCLI version when trying to create an esxi 8.0 .iso. please download and use the latest release found [here](https://github.com/VFrontDe-Org/ESXi-Customizer-PS/releases/tag/2.9.0)
Author
Owner

@virtualex-itv commented on GitHub (Nov 22, 2022):

@xiaocenter @Turranius @fvlaicu @VFrontDe - this now works with the latest new release of VMware.PowerCLI 13.0.0-20829139.

Note: To use the VMware.ImageBuider module, you must set the path to the Python 3.7 executable installed on your machine.

Please see here for more information.

2022-11-22_09-35-45

<!-- gh-comment-id:1323781149 --> @virtualex-itv commented on GitHub (Nov 22, 2022): @xiaocenter @Turranius @fvlaicu @VFrontDe - this now works with the latest new release of `VMware.PowerCLI 13.0.0-20829139`. **Note:** To use the `VMware.ImageBuider` module, you must set the path to the Python 3.7 executable installed on your machine. Please see [here](https://vdc-repo.vmware.com/vmwb-repository/dcr-public/9619cb6d-3975-4bff-aa1f-0e785283a1a9/58d0925b-e15d-4803-bbd4-eb314dd165b0/GUID-EB16871E-D52B-4B46-9675-241AD42C1BE6.html) for more information. ![2022-11-22_09-35-45](https://user-images.githubusercontent.com/12056704/203342374-2d2e4d0b-be66-4533-9a16-45f8681b201f.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ESXi-Customizer-PS#31
No description provided.