When performing offline update on SHD following Update using Offline Patch Bundle, after appliance restart, it shows "Failed to validate package - /opt/vmware-shd/vmware-shd/updates/package-pool/openjre8-1.8.0.382-1.ph3.x86_64.rpm. Bailing out" at UI.
Component checksums mismtach from manifest file of patch bundle.
Example
In /<patch-imported-directory>/vmware-shd-patch-4.0.9/manifest/manifest.xml, the checksums of "openjre8-1.8.0.382-1.ph3.x86_64.rpm" are:
<location>package-pool/openjre8-1.8.0.382-1.ph3.x86_64.rpm</location>
<checksum type="sha1">39459eac3377781886430a651f4d5605434cceed</checksum>
<checksum256 type="sha256">1db5cdc263e2714ffada2487b8c52b2fdde9cac2901bd97891ef5b1939b6d1b2</checksum256>
However, the actual checksums are:
root@skyline [/<patch-imported-directory>/vmware-shd-patch-4.0.9/package-pool ]# sha1sum openjre8-1.8.0.382-1.ph3.x86_64.rpm
f85fab9fbae1f2d4935ca95a4f972fc6fd3777a2 openjre8-1.8.0.382-1.ph3.x86_64.rpm
root@skyline [/<patch-imported-directory>/vmware-shd-patch-4.0.9/package-pool ]# sha256sum openjre8-1.8.0.382-1.ph3.x86_64.rpm
86e8a1fc614cf13982506c90772758d67f6d7b8f0fa04faa9d4a46cef3f6db3a openjre8-1.8.0.382-1.ph3.x86_64.rpm
Option 1: Manually replace mismatch manifest file
Option 2: Update to 4.0.10
This issue is fixed in 4.0.10.