Closed mrpressIdent closed 1 year ago
Same here:
An unexpected error occurred:
Error retrieving file for VIB 'VMW_bootbank_vmkusb-nic-fling_1.11-1vmw.800.1.20.61054763': ('vib20/vmkusb-nic-fling/VMW_bootbank_vmkusb-nic-fling_1.11-1vmw.800.1.20.61054763.vib', "Unable to open VIB archive in streaming mode: '_SharedFile' object has no attribute 'writing'").
Try downgrading the VMware.PowerCLI because that helped me. Use offline packages (I used this guide and 12.3.0 version).
I tried Install-Module -Name VMware.PowerCLI -RequiredVersion 12.3.0.17860403
but that did not help because the latest version is used for all dependencies and they need to be downgraded too.
Try downgrading the VMware.PowerCLI because that helped me. Use offline packages (I used this guide and 12.3.0 version).
I tried
Install-Module -Name VMware.PowerCLI -RequiredVersion 12.3.0.17860403
but that did not help because the latest version is used for all dependencies and they need to be downgraded too.
trying to build an iso for esxi 8.0 - so i need version 13.
Seems this is an upstream problem, not script issue: https://williamlam.com/2022/11/heads-up-unable-to-open-vib-archive-in-streaming-mode-using-export-esximageprofile-with-powercli-13-0.html
@mrpressIdent - This is a known bug and has been filed internally with the product management team. Currently, there is no workaround so please be patient as we need VMware to fix this...it's not an issue with the script itself.
See here for more info...
There's a solution, upgrade to python 3.7.9 see: https://williamlam.com/2022/11/heads-up-unable-to-open-vib-archive-in-streaming-mode-using-export-esximageprofile-with-powercli-13-0.html#comment-67215
@fvlaicu Thanks for the link. I didn't check the comment section. I can confirm, that python 3.7.9 fixed the issue on my side.
Hi,
I have installed PowerCLI 13 and wanted to create the ESXi8 ISO. When adding a VIB for ESXi8 it first says it is "ok". And then at the end it gives the error message: ('vib20/qlnativefc/MVL_bootbank_qlnativefc_5.4.80.0-1OEM.800.1.0.20143090.vib', "Unable to open VIB archive in streaming mode: '_SharedFile' object has no attribute 'writing'")
Any Ideas?