Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error - ESXi 8.0 image not getting created #51

Closed
xiaocenter opened this issue Oct 14, 2022 · 12 comments
Closed

error - ESXi 8.0 image not getting created #51

xiaocenter opened this issue Oct 14, 2022 · 12 comments
Assignees

Comments

@xiaocenter
Copy link

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:

@Turranius
Copy link

Turranius commented 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

@virtualex-itv
Copy link
Collaborator

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

@VFrontDe
Copy link
Collaborator

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!

@xiaocenter
Copy link
Author

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

@Turranius
Copy link

Turranius commented 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

@virtualex-itv virtualex-itv added bug Something isn't working wontfix This will not be worked on labels Oct 18, 2022
@virtualex-itv virtualex-itv changed the title error error - ESXi 8.0 image not getting created Oct 18, 2022
@virtualex-itv
Copy link
Collaborator

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.

@virtualex-itv
Copy link
Collaborator

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

@Turranius
Copy link

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.

@fvlaicu
Copy link

fvlaicu commented Nov 5, 2022

@virtualex-itv
Copy link
Collaborator

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

@virtualex-itv
Copy link
Collaborator

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

@VFrontDe-Org VFrontDe-Org locked as resolved and limited conversation to collaborators Nov 9, 2022
@virtualex-itv virtualex-itv removed bug Something isn't working wontfix This will not be worked on labels Nov 9, 2022
@virtualex-itv virtualex-itv self-assigned this Nov 9, 2022
@virtualex-itv
Copy link
Collaborator

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants