ESXi

 View Only

host Upgrade error -1 from VUM

  • 1.  host Upgrade error -1 from VUM

    Posted Mar 22, 2023 07:15 AM

    Hello,

     

    I upgrade platfrom from version VMware ESXi, 7.0.2, 18538813 to VMware ESXi, 7.0.3, 21053776 on DELL environment via VUM.

    The DELL ISO image is working well, and upgrade from VUM ending successful to version "7.0.3, 20328353", but after that I am trying upgrade the host by vmware patch "VMware-ESXi-7.0U3j-21053776-depot.zip", which was manually uploaded to VUM. And the remediation always ending by:

    "The host returns esxupdate error codes: -1. Check the Lifecycle Manager log files and esxupdate log files for more details"

     

    In the ESXi update log is this reason, which is absolutely not understandable to me, as upgrade from version 6.7 to 7U2 was done a year ago, why the package still think, that the ESXi host is in version 6.7. (Manual upgrade by the same package by cmd "esxcli software vib update –d /path/path.zip" is working and I am on final version, but the VUM reason of the fail is minimally weird. 

    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: An unexpected exception was caught:
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: Traceback (most recent call last):
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/usr/sbin/esxupdate", line 222, in main
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: cmd.Run()
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esx5update/Cmdline.py", line 107, in Run
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Transaction.py", line 97, in DownloadMetadatas
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: m.ReadMetadataZip(mfile)
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Metadata.py", line 158, in ReadMetadataZip
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: self.bulletins.AddBulletinFromXml(content)
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Bulletin.py", line 840, in AddBulletinFromXml
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: b = Bulletin.FromXml(xml)
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Bulletin.py", line 660, in FromXml
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: kwargs.update(cls._XmlToKwargs(node, Errors.BulletinFormatError))
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Bulletin.py", line 528, in _XmlToKwargs
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: kwargs['platforms'].append(SoftwarePlatform.FromXml(platform))
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Vib.py", line 221, in FromXml
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: return cls(xml.get('version'), xml.get('locale'),
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Vib.py", line 168, in __init__
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: self.SetVersion(version)
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: File "/lib64/python3.8/site-packages/vmware/esximage/Vib.py", line 192, in SetVersion
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: raise ValueError("Invalid platform version '%s'" % version)
    2023-03-22T06:15:48Z esxupdate: 2103407: esxupdate: ERROR: ValueError: Invalid platform version '6.7*'