Artikkelnummer: 533804

printer Skriv ut mail E-post

Dell EMC VxRail: Upgrade fails with run pre-check failure in execution for VMware vCenter Server Platform Services Controller upgrade with error: Make sure the patch iso is a valid one

Primærprodukt: VxRail Appliance Family

Produkt: VxRail Appliance Family mer...

Sist publisert: 13 mar 2020

Artikkeltype: Break Fix

Publiseringsstatus: På nett

Versjon: 3

Dell EMC VxRail: Upgrade fails with run pre-check failure in execution for VMware vCenter Server Platform Services Controller upgrade with error: Make sure the patch iso is a valid one

Artikkelinnhold

Problem


VxRail upgrade fails with error "Dry run pre-check failure in execution for VMware vCenter Server Platform Services Controller upgrade with error".

lcm.log:
2019-05-12T09:22:20.198+0000 ERROR [pool-9-thread-1] com.vce.lcm.service.checker.upgrade.PSCDryRunPrechecker PSCDryRunPrechecker.performDryRun:118 - Dry run pre-check failure in execution for VMware vCenter Server Platform Services Controller upgrade with error: ..
2019-05-12T09:22:20.199+0000 INFO  [pool-9-thread-1] com.vce.lcm.service.LCMServiceImpl LCMServiceImpl.handleUpgradeException:1541 - handling upgrade exception.
2019-05-12T09:22:20.201+0000 INFO  [pool-9-thread-1] com.vce.lcm.service.LCMServiceImpl LCMServiceImpl.setStatusToUpgradeFailed:1531 - set bundle VMware vCenter Server Appliance status to upgrade failed
2019-05-12T09:22:20.201+0000 ERROR [pool-9-thread-1] com.vce.lcm.service.LCMServiceImpl LCMServiceImpl.handleUpgradeException:1569 - failed to upgrade: VXRAIL_COMPOSITE-4.7.200-13531219_for_4.7.x.zip, with exception:
com.vce.lcm.exception.LCMInternalException: Failure running upgrade script.
        at com.vce.lcm.service.checker.upgrade.PSCDryRunPrechecker.performDryRun(PSCDryRunPrechecker.java:120) ~[lcm_module-4.7.200.jar:?]
        at com.vce.lcm.service.checker.upgrade.AbstractApplianceDryRunPrechecker.performCheck(AbstractApplianceDryRunPrechecker.java:62) ~[lcm_module-4.7.200.jar:?]
        at com.vce.lcm.helper.LCMUtilService.executeIndividualCheck(LCMUtilService.java:758) ~[lcm_module-4.7.200.jar:?]

 
Årsak
This happens because of the following: 
  1. Using incorrect upgrade composite that does not match the current VxRail code version. Please refer to KB  https://support.emc.com/kb/533687
  2. Corrupted VxRail composite zip file or something went wrong during the download
 
Oppløsning
For the 2nd scenario, please follow the below steps to verify if the composite is corrupted. 
  • Open http://support.emc.com
  • Search for the target composite upgrade for example: VxRail 4.7.200 Composite Upgrade Package for 4.7.x

User-added image
  • Under the found result, press checksum
User-added image
  • It will show the Hash key with the Hash algorithm used as follows 
User-added image
  • On the local machine that has the corrupted upgrade composite, open cmd and run the following command : 
certUtil -hashfile pathToFileToCheck [HashAlgorithm]
 
For example: certUtil -hashfile C:\Downloads\VXRAIL_COMPOSITE-4.7.200-13531219_for_4.7.x.zip SHA256

The HashAlgorithm choices are : MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
User-added image
  • Compare the generated hash key from cmd with the one found on support.emc.com and if they have a mismatch this means that the downloaded composite is corrupted 
  • Re-download the composite again and repeat the previous 2 steps to guarantee that the new one is correctly downloaded. 
  • If a snapshot is taken from VxRail Manager and before starting the previous upgrade, revert to it and retry the upgrade using the newly downloaded upgrade composite. 
  • If no snapshot was taken, then take a snapshot and perform the following 3 steps:
    • Open the mystic DB using the command below on the VxRail Manager VM: 
psql -U postgres mysticmanager;
  • Reset the upgrade status to HAS_NEWER by running the following command:
update virtual_appliance set upgrade_status='HAS_NEWER'where component_id='VXRAIL_SYSTEM';
  • Restart runjars and vmware-marvin services using the below commands 
systemctl restart vmware-marvin
systemctl restart runjars
 
Merknader

Problem


VxRail upgrade fails with error "Dry run pre-check failure in execution for VMware vCenter Server Platform Services Controller upgrade with error".

lcm.log:
2019-05-12T09:22:20.198+0000 ERROR [pool-9-thread-1] com.vce.lcm.service.checker.upgrade.PSCDryRunPrechecker PSCDryRunPrechecker.performDryRun:118 - Dry run pre-check failure in execution for VMware vCenter Server Platform Services Controller upgrade with error: ..
2019-05-12T09:22:20.199+0000 INFO  [pool-9-thread-1] com.vce.lcm.service.LCMServiceImpl LCMServiceImpl.handleUpgradeException:1541 - handling upgrade exception.
2019-05-12T09:22:20.201+0000 INFO  [pool-9-thread-1] com.vce.lcm.service.LCMServiceImpl LCMServiceImpl.setStatusToUpgradeFailed:1531 - set bundle VMware vCenter Server Appliance status to upgrade failed
2019-05-12T09:22:20.201+0000 ERROR [pool-9-thread-1] com.vce.lcm.service.LCMServiceImpl LCMServiceImpl.handleUpgradeException:1569 - failed to upgrade: VXRAIL_COMPOSITE-4.7.200-13531219_for_4.7.x.zip, with exception:
com.vce.lcm.exception.LCMInternalException: Failure running upgrade script.
        at com.vce.lcm.service.checker.upgrade.PSCDryRunPrechecker.performDryRun(PSCDryRunPrechecker.java:120) ~[lcm_module-4.7.200.jar:?]
        at com.vce.lcm.service.checker.upgrade.AbstractApplianceDryRunPrechecker.performCheck(AbstractApplianceDryRunPrechecker.java:62) ~[lcm_module-4.7.200.jar:?]
        at com.vce.lcm.helper.LCMUtilService.executeIndividualCheck(LCMUtilService.java:758) ~[lcm_module-4.7.200.jar:?]

 
Årsak
This happens because of the following: 
  1. Using incorrect upgrade composite that does not match the current VxRail code version. Please refer to KB  https://support.emc.com/kb/533687
  2. Corrupted VxRail composite zip file or something went wrong during the download
 
Oppløsning

For the 2nd scenario, please follow the below steps to verify if the composite is corrupted. 
  • Open http://support.emc.com
  • Search for the target composite upgrade for example: VxRail 4.7.200 Composite Upgrade Package for 4.7.x

User-added image
  • Under the found result, press checksum
User-added image
  • It will show the Hash key with the Hash algorithm used as follows 
User-added image
  • On the local machine that has the corrupted upgrade composite, open cmd and run the following command : 
certUtil -hashfile pathToFileToCheck [HashAlgorithm]
 
For example: certUtil -hashfile C:\Downloads\VXRAIL_COMPOSITE-4.7.200-13531219_for_4.7.x.zip SHA256

The HashAlgorithm choices are : MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
User-added image
  • Compare the generated hash key from cmd with the one found on support.emc.com and if they have a mismatch this means that the downloaded composite is corrupted 
  • Re-download the composite again and repeat the previous 2 steps to guarantee that the new one is correctly downloaded. 
  • If a snapshot is taken from VxRail Manager and before starting the previous upgrade, revert to it and retry the upgrade using the newly downloaded upgrade composite. 
  • If no snapshot was taken, then take a snapshot and perform the following 3 steps:
    • Open the mystic DB using the command below on the VxRail Manager VM: 
psql -U postgres mysticmanager;
  • Reset the upgrade status to HAS_NEWER by running the following command:
update virtual_appliance set upgrade_status='HAS_NEWER'where component_id='VXRAIL_SYSTEM';
  • Restart runjars and vmware-marvin services using the below commands 
systemctl restart vmware-marvin
systemctl restart runjars
 

Merknader

Article Attachments

Vedlegg

Vedlegg

Artikkelegenskaper

Først publisert

man. mai 13 2019 07:04:38 GMT

Først publisert

man. mai 13 2019 07:04:38 GMT

Vurder denne artikkelen

Nøyaktig
Nyttig
Brukervennlig
Var denne artikkelen nyttig?
0/3000 characters