[GH-ISSUE #41] Error compiling, missing dependencies - esx-base #27

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

Originally created by @s3luX on GitHub (May 19, 2021).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/41

Hi there,

First off, I want to give you proprs for an awesome script that has helped us setting up home labs for years! 👍

I reached a point where I need to reinstall my ESXi, and I wanted to make use of your script again.
I`m running Win10 with the PowerCLI version 5.5 and your latest script (v2.8.1) and when I try and run the script it throws me the following error:

PowerCLI C:\ESXI> **.\ESXi-Customizer-PS.ps1 -v67 -vft -load net-e1000e,net55-r8168,net55-r8169,net-r8101,net-r8139too,vmware-esx-dvfilter-maclearn,sata-xahci -pkgDir C:\ESXI\pkg -outDir C:\ESXI\ISO -log C:\ESXI\ISO\ESXI-custom.log -nsc**

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

Logging to C:\ESXI\ISO\ESXI-custom.log ...

Running with PowerShell version 5.1 and VMware vSphere PowerCLI 5.5 Release 1 build 1295336

Connecting the VMware ESXi Software depot ...Add-EsxSoftwaredepot : Could not download from depot at https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, skipping (('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml', '', '[Errno 4] IOError: <urlopen
error [Errno 1] _ssl.c:480: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>'))
At C:\ESXI\ESXi-Customizer-PS.ps1:250 char:22
+     if ($basedepot = Add-EsxSoftwaredepot $vmwdepotURL) {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot


FATAL ERROR: Cannot add VMware ESXi Online depot. Please check your Internet connectivity and/or proxy settings!

I do not have any proxy in between the station and and vmware, so its not an issue of proxy. I have a strong feeling its something from my side, on the client config, but I cannot figure out what. I googled, and some posts say its due the openssl being out of date.

I know that SSL3 is not secure, and it is disabled by default on my PC, but I tried enabling it as well, but it didnt help, I tried running teh script via powershell as well, no luck there neither.

So I wanted to check if anyone else has encountered such an issue or maybe know the answer to it?

Thanks a lot in advance!

Originally created by @s3luX on GitHub (May 19, 2021). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/41 Hi there, First off, I want to give you proprs for an awesome script that has helped us setting up home labs for years! 👍 I reached a point where I need to reinstall my ESXi, and I wanted to make use of your script again. I`m running Win10 with the PowerCLI version 5.5 and your latest script (v2.8.1) and when I try and run the script it throws me the following error: ``` PowerCLI C:\ESXI> **.\ESXi-Customizer-PS.ps1 -v67 -vft -load net-e1000e,net55-r8168,net55-r8169,net-r8101,net-r8139too,vmware-esx-dvfilter-maclearn,sata-xahci -pkgDir C:\ESXI\pkg -outDir C:\ESXI\ISO -log C:\ESXI\ISO\ESXI-custom.log -nsc** This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!) (Call with -help for instructions) Logging to C:\ESXI\ISO\ESXI-custom.log ... Running with PowerShell version 5.1 and VMware vSphere PowerCLI 5.5 Release 1 build 1295336 Connecting the VMware ESXi Software depot ...Add-EsxSoftwaredepot : Could not download from depot at https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, skipping (('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml', '', '[Errno 4] IOError: <urlopen error [Errno 1] _ssl.c:480: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>')) At C:\ESXI\ESXi-Customizer-PS.ps1:250 char:22 + if ($basedepot = Add-EsxSoftwaredepot $vmwdepotURL) { + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot FATAL ERROR: Cannot add VMware ESXi Online depot. Please check your Internet connectivity and/or proxy settings! ``` I do not have any proxy in between the station and and vmware, so its not an issue of proxy. I have a strong feeling its something from my side, on the client config, but I cannot figure out what. I googled, and some posts say its due the openssl being out of date. I know that SSL3 is not secure, and it is disabled by default on my PC, but I tried enabling it as well, but it didnt help, I tried running teh script via powershell as well, no luck there neither. So I wanted to check if anyone else has encountered such an issue or maybe know the answer to it? Thanks a lot in advance!
kerem closed this issue 2026-02-28 02:14:19 +03:00
Author
Owner

@s3luX commented on GitHub (May 19, 2021):

Since I tried using an old PowerCLI (had it offline for years) and didnt download the latest one, the root cause was the outdated PowerCLI.

So for anyone having the same issues:
Use the latest PowerCLI with the latest SXi-Customizer-PS script and it will work.

Although I am encountering another issue with some dependencies:

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:   VIB Realtek_bootbank_net-r8101_1.020.00-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_esx-base_6.0.0-3.138.15169789,
VMware_bootbank_esx-base_5.5.0-3.89.4179633, VMware_bootbank_esx-base_6.0.0-2.46.4510822, VMware_bootbank_esx-base_5.1.0-1.22.1472666, VMware_bootbank_esx-base_5.5.0-3.81.3343343, VMware_bootbank_esx-base_6.0.0-2.54.5047589,
VMware_bootbank_esx-base_6.0.0-3.69.5572656, VMware_bootbank_esx-base_5.0.0-2.26.914586, VMware_bootbank_esx-base_5.5.0-3.100.4722766, VMware_bootbank_esx-base_5.0.0-3.47.1749766, VMware_bootbank_esx-base_5.5.0-2.65.3029837,
VMware_bootbank_esx-base_5.5.0-3.68.3029944, VMware_bootbank_esx-base_5.0.0-2.33.1117897, VMware_bootbank_esx-base_5.5.0-2.62.2718055, VMware_bootbank_esx-base_6.0.0-3.87.8934903, VMware_bootbank_esx-base_6.0.0-3.72.6765062,
VMware_bootbank_esx-base_6.0.0-3.129.14513180, VMware_bootbank_esx-base_6.0.0-3.79.6921384, VMware_bootbank_esx-base_5.1.0-2.26.1612806, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-base_5.1.0-3.57.3021178,`

And that error goes for all RTL based NICs and the xahci vib as well.

Even if I add the esx-base file it prompts me errors:

Loading Offline bundles and VIB files from C:\ESXI\pkg ...
   Loading C:\ESXI\pkg\net-e1000e-3.1.0.2-glr2.x86_64.vib ... [OK]
      Add VIB net-e1000e 3.1.0.2-glr2 [New AcceptanceLevel: CommunitySupported] [OK, added]
   Loading C:\ESXI\pkg\net-r8101-1.020.00-1.x86_64.vib ... [OK]
      Add VIB net-r8101 1.020.00-1 [OK, added]
   Loading C:\ESXI\pkg\net-r8139too-0.9.28-1.x86_64.vib ... [OK]
      Add VIB net-r8139too 0.9.28-1 [OK, added]
   Loading C:\ESXI\pkg\net51-r8169-6.011.00-2vft.510.0.0.799733.x86_64.vib ... [OK]
      Add VIB net51-r8169 6.011.00-2vft.510.0.0.799733 [OK, added]
   Loading C:\ESXI\pkg\net55-r8168-8.045a-napi.x86_64.vib ... [OK]
      Add VIB net55-r8168 8.045a-napi [OK, added]
   Loading C:\ESXI\pkg\sata-xahci-1.42-1.x86_64.vib ... [OK]
      Add VIB sata-xahci 1.42-1 [OK, added]
   Loading C:\ESXI\pkg\vmware-esx-dvfilter-maclearn-1.0.vib ... [OK]
      Add VIB vmware-esx-dvfilter-maclearn 1.00-1.00 [OK, added]

Load additional VIBs from Online depots ...
   Add VIB esx-base 7.0.2-0.0.17867351 [IGNORED, already added]
   Add VIB net55-r8168 8.045a-napi [IGNORED, already added]
   [ERROR] Cannot find VIB named net55-r8169 !
   Add VIB net-r8101 1.020.00-1 [IGNORED, already added]
   Add VIB net-r8139too 0.9.28-1 [IGNORED, already added]
   Add VIB vmware-esx-dvfilter-maclearn 1.00-1.00 [IGNORED, already added]
   Add VIB sata-xahci 1.42-1 [IGNORED, already added]

Exporting the Imageprofile to 'C:\ESXI\ISO\ESXi-7.0U2a-17867351-standard-customized.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:   VIB Realtek_bootbank_net-r8101_1.020.00-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_esx-base_6.0.0-3.138.15169789,
VMware_bootbank_esx-base_5.5.0-3.89.4179633, VMware_bootbank_esx-base_6.0.0-2.46.4510822, VMware_bootbank_esx-base_5.1.0-1.22.1472666, VMware_bootbank_esx-base_5.5.0-3.81.3343343, VMware_bootbank_esx-base_6.0.0-2.54.5047589,
VMware_bootbank_esx-base_6.0.0-3.69.5572656, VMware_bootbank_esx-base_5.0.0-2.26.914586, VMware_bootbank_esx-base_5.5.0-3.100.4722766, VMware_bootbank_esx-base_5.0.0-3.47.1749766, VMware_bootbank_esx-base_5.5.0-2.65.3029837,
VMware_bootbank_esx-base_5.5.0-3.68.3029944, VMware_bootbank_esx-base_5.0.0-2.33.1117897, VMware_bootbank_esx-base_5.5.0-2.62.2718055, VMware_bootbank_esx-base_6.0.0-3.87.8934903, VMware_bootbank_esx-base_6.0.0-3.72.6765062,
VMware_bootbank_esx-base_6.0.0-3.129.14513180, VMware_bootbank_esx-base_6.0.0-3.79.6921384, VMware_bootbank_esx-base_5.1.0-2.26.1612806, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-base_5.1.0-3.57.3021178,
VMware_bootbank_esx-base_6.0.0-2.49.4558694, VMware_bootbank_esx-base_5.0.0-3.68.2509828, VMware_bootbank_esx-base_5.5.0-3.124.9919047, VMware_bootbank_esx-base_5.5.0-2.42.2302651, VMware_bootbank_esx-base_6.0.0-0.0.2494585,
VMware_bootbank_esx-base_6.0.0-0.8.2809111, VMware_bootbank_esx-base_5.1.0-2.32.1904929, VMware_bootbank_esx-base_6.0.0-3.100.9313334, VMware_bootbank_esx-base_6.0.0-3.84.7967664, VMware_bootbank_esx-base_5.0.0-0.4.504890,
VMware_bootbank_esx-base_5.0.0-3.73.3086167, VMware_bootbank_esx-base_5.5.0-3.78.3248547, VMware_bootbank_esx-base_5.0.0-0.10.608089, VMware_bootbank_esx-base_5.0.0-2.38.1311177, VMware_bootbank_esx-base_5.0.0-3.41.1311175,
VMware_bootbank_esx-base_5.0.0-3.87.3982819, VMware_bootbank_esx-base_5.5.0-1.25.1892623, VMware_bootbank_esx-base_5.5.0-0.14.1598313, VMware_bootbank_esx-base_5.0.0-1.21.822948, VMware_bootbank_esx-base_5.1.0-2.35.2000251,
<!-- gh-comment-id:844472416 --> @s3luX commented on GitHub (May 19, 2021): Since I tried using an old PowerCLI (had it offline for years) and didnt download the latest one, the root cause was the outdated PowerCLI. So for anyone having the same issues: Use the latest PowerCLI with the latest SXi-Customizer-PS script and it will work. Although I am encountering another issue with some dependencies: ``` 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: VIB Realtek_bootbank_net-r8101_1.020.00-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_esx-base_6.0.0-3.138.15169789, VMware_bootbank_esx-base_5.5.0-3.89.4179633, VMware_bootbank_esx-base_6.0.0-2.46.4510822, VMware_bootbank_esx-base_5.1.0-1.22.1472666, VMware_bootbank_esx-base_5.5.0-3.81.3343343, VMware_bootbank_esx-base_6.0.0-2.54.5047589, VMware_bootbank_esx-base_6.0.0-3.69.5572656, VMware_bootbank_esx-base_5.0.0-2.26.914586, VMware_bootbank_esx-base_5.5.0-3.100.4722766, VMware_bootbank_esx-base_5.0.0-3.47.1749766, VMware_bootbank_esx-base_5.5.0-2.65.3029837, VMware_bootbank_esx-base_5.5.0-3.68.3029944, VMware_bootbank_esx-base_5.0.0-2.33.1117897, VMware_bootbank_esx-base_5.5.0-2.62.2718055, VMware_bootbank_esx-base_6.0.0-3.87.8934903, VMware_bootbank_esx-base_6.0.0-3.72.6765062, VMware_bootbank_esx-base_6.0.0-3.129.14513180, VMware_bootbank_esx-base_6.0.0-3.79.6921384, VMware_bootbank_esx-base_5.1.0-2.26.1612806, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-base_5.1.0-3.57.3021178,` ``` And that error goes for all RTL based NICs and the xahci vib as well. Even if I add the esx-base file it prompts me errors: ``` Loading Offline bundles and VIB files from C:\ESXI\pkg ... Loading C:\ESXI\pkg\net-e1000e-3.1.0.2-glr2.x86_64.vib ... [OK] Add VIB net-e1000e 3.1.0.2-glr2 [New AcceptanceLevel: CommunitySupported] [OK, added] Loading C:\ESXI\pkg\net-r8101-1.020.00-1.x86_64.vib ... [OK] Add VIB net-r8101 1.020.00-1 [OK, added] Loading C:\ESXI\pkg\net-r8139too-0.9.28-1.x86_64.vib ... [OK] Add VIB net-r8139too 0.9.28-1 [OK, added] Loading C:\ESXI\pkg\net51-r8169-6.011.00-2vft.510.0.0.799733.x86_64.vib ... [OK] Add VIB net51-r8169 6.011.00-2vft.510.0.0.799733 [OK, added] Loading C:\ESXI\pkg\net55-r8168-8.045a-napi.x86_64.vib ... [OK] Add VIB net55-r8168 8.045a-napi [OK, added] Loading C:\ESXI\pkg\sata-xahci-1.42-1.x86_64.vib ... [OK] Add VIB sata-xahci 1.42-1 [OK, added] Loading C:\ESXI\pkg\vmware-esx-dvfilter-maclearn-1.0.vib ... [OK] Add VIB vmware-esx-dvfilter-maclearn 1.00-1.00 [OK, added] Load additional VIBs from Online depots ... Add VIB esx-base 7.0.2-0.0.17867351 [IGNORED, already added] Add VIB net55-r8168 8.045a-napi [IGNORED, already added] [ERROR] Cannot find VIB named net55-r8169 ! Add VIB net-r8101 1.020.00-1 [IGNORED, already added] Add VIB net-r8139too 0.9.28-1 [IGNORED, already added] Add VIB vmware-esx-dvfilter-maclearn 1.00-1.00 [IGNORED, already added] Add VIB sata-xahci 1.42-1 [IGNORED, already added] Exporting the Imageprofile to 'C:\ESXI\ISO\ESXi-7.0U2a-17867351-standard-customized.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: VIB Realtek_bootbank_net-r8101_1.020.00-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_esx-base_6.0.0-3.138.15169789, VMware_bootbank_esx-base_5.5.0-3.89.4179633, VMware_bootbank_esx-base_6.0.0-2.46.4510822, VMware_bootbank_esx-base_5.1.0-1.22.1472666, VMware_bootbank_esx-base_5.5.0-3.81.3343343, VMware_bootbank_esx-base_6.0.0-2.54.5047589, VMware_bootbank_esx-base_6.0.0-3.69.5572656, VMware_bootbank_esx-base_5.0.0-2.26.914586, VMware_bootbank_esx-base_5.5.0-3.100.4722766, VMware_bootbank_esx-base_5.0.0-3.47.1749766, VMware_bootbank_esx-base_5.5.0-2.65.3029837, VMware_bootbank_esx-base_5.5.0-3.68.3029944, VMware_bootbank_esx-base_5.0.0-2.33.1117897, VMware_bootbank_esx-base_5.5.0-2.62.2718055, VMware_bootbank_esx-base_6.0.0-3.87.8934903, VMware_bootbank_esx-base_6.0.0-3.72.6765062, VMware_bootbank_esx-base_6.0.0-3.129.14513180, VMware_bootbank_esx-base_6.0.0-3.79.6921384, VMware_bootbank_esx-base_5.1.0-2.26.1612806, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-base_5.1.0-3.57.3021178, VMware_bootbank_esx-base_6.0.0-2.49.4558694, VMware_bootbank_esx-base_5.0.0-3.68.2509828, VMware_bootbank_esx-base_5.5.0-3.124.9919047, VMware_bootbank_esx-base_5.5.0-2.42.2302651, VMware_bootbank_esx-base_6.0.0-0.0.2494585, VMware_bootbank_esx-base_6.0.0-0.8.2809111, VMware_bootbank_esx-base_5.1.0-2.32.1904929, VMware_bootbank_esx-base_6.0.0-3.100.9313334, VMware_bootbank_esx-base_6.0.0-3.84.7967664, VMware_bootbank_esx-base_5.0.0-0.4.504890, VMware_bootbank_esx-base_5.0.0-3.73.3086167, VMware_bootbank_esx-base_5.5.0-3.78.3248547, VMware_bootbank_esx-base_5.0.0-0.10.608089, VMware_bootbank_esx-base_5.0.0-2.38.1311177, VMware_bootbank_esx-base_5.0.0-3.41.1311175, VMware_bootbank_esx-base_5.0.0-3.87.3982819, VMware_bootbank_esx-base_5.5.0-1.25.1892623, VMware_bootbank_esx-base_5.5.0-0.14.1598313, VMware_bootbank_esx-base_5.0.0-1.21.822948, VMware_bootbank_esx-base_5.1.0-2.35.2000251, ```
Author
Owner

@virtualex-itv commented on GitHub (May 28, 2021):

@s3luX - most of the vibs you are attempting to load into the image are not compatible with vSphere 7.0 as they are linux-based and support for those types of drivers was removed in 7.0. Please be sure to consult the vFront Online Depot and double check support for the drivers you are attempting to add.

I know that @VFrontDe has not updated the drivers for quite some time and none of the ones currently available are supported/compatible with ESXi 7.0.x.

<!-- gh-comment-id:850726768 --> @virtualex-itv commented on GitHub (May 28, 2021): @s3luX - most of the vibs you are attempting to load into the image are not compatible with vSphere 7.0 as they are linux-based and support for those types of drivers was removed in 7.0. Please be sure to consult the vFront Online Depot and double check support for the drivers you are attempting to add. I know that @VFrontDe has not updated the drivers for quite some time and none of the ones currently available are supported/compatible with ESXi 7.0.x.
Author
Owner

@s3luX commented on GitHub (Oct 7, 2021):

@virtualex-itv Thanks for the clarification! Indeed, later on I tried with older versions of vibs and it worked. closing the case

<!-- gh-comment-id:938097047 --> @s3luX commented on GitHub (Oct 7, 2021): @virtualex-itv Thanks for the clarification! Indeed, later on I tried with older versions of vibs and it worked. closing the case
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#27
No description provided.