VMware Cloud Community
dtinow
Contributor
Contributor

MemoryError Trying to Upgrade ESXi 7 to 8

Hi All,

I'm trying to update my ESXi 7.0.0 (Build 15843807) to 8.0.1 using the esxcli. I've tried running this command:

 

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-8.0a-20842819-standard

 

But always seem to end up with a "[MemoryError] Please refer to the log file for more details." error. Checking the logs I found the below:

 

2023-05-16T22:06:20Z esxupdate: 526798: DepotCollection: INFO: Error parsing metadata.zip from https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vmw-ESXi-8.0.1-metadata.zip:
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR: Traceback (most recent call last):
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 790, in <module>
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:     main()
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 781, in main
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:     ret = CMDTABLE[command](options)
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 248, in ProfileUpdateCmd
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:     nohwwarning=opts.nohwwarning)
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 322, in UpdateProfileFromDepot
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 2067, in _getPatcherForProfileCmd
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 1150, in GetProfileFromSources
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 128, in ParseDepots
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/DepotCollection.py", line 239, in ConnectDepots
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/DepotCollection.py", line 323, in _connectDepots
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/DepotCollection.py", line 520, in ParseMetadata
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Metadata.py", line 162, in ReadMetadataZip
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/ConfigSchema.py", line 133, in AddFromJSON
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Utils/Misc.py", line 26, in byteToStr
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR:   File "/build/mts/release/bora-15843807/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Utils/Misc.py", line 26, in <listcomp>
2023-05-16T22:06:20Z esxupdate: 526798: root: ERROR: MemoryError

 

 

Any ideas what is going wrong here?

Reply
0 Kudos
1 Reply
JO_A
Contributor
Contributor

Hi

I got the same error 

Did you find the solution?

Reply
0 Kudos