Fail to install xenserver patch: The uploaded update file is invalid

Fail to install xenserver patch: The uploaded update file is invalid

book

Article ID: CTX478484

calendar_today

Updated On:

Description

Fail to install xenserver patch with error "The uploaded update file is invalid"

xensource.log shows below trace.
 

Oct 12 15:22:10 xxxxx xapi: [ warn||5521 HTTPS 192.168.23.251->:::80|pool_update.introduce R:fc93dd2259e5|pervasiveext] finally: Error while running cleanup after failure of main function: Forkhelpers.Subprocess_failed(2)

Oct 12 15:22:10 xxxx xapi: [debug||5521 HTTPS 192.168.23.251->:::80|pool_update.introduce R:fc93dd2259e5|gpg] Error from gpg: gpg: Signature made Wed Aug 10 06:24:32 2022 CST using RSA key ID 4CCDA224\x0Agpg: key 4CCDA224 was created 76217434 seconds in the future (time warp or clock problem)\x0Agpg: key 4CCDA224 was created 76217434 seconds in the future (time warp or clock problem)\x0Agpg: Can't check signature: Time conflict\x0A

Oct 12 15:22:10 xxxx xapi: [debug||5521 HTTPS 192.168.23.251->:::80|pool_update.introduce R:fc93dd2259e5|xapi_pool_update] Caught exception while checking signature: INTERNAL_ERROR: [ Gpg.InvalidSignature ]

 

Resolution

Change system time of control domain to correct one using "date" CLI.
For example:
date –s=”2203 0225 09:17:00”

Problem Cause

System time is not correct
image.png