CPPM Upgrade failed with error 'Pre-install task=30-prepare-second-partition failed' on a VM

MVP
MVP
Problem:

VM CPPM upgrade failed with the error:

ERROR - Setting up upgrade partition failed
ERROR - Exception performing upgrade: Pre-install task=30-prepare-second-partition failed



Diagnostics:

While trying to upgrade CPPM(VM) from one major version to another major version, upgrade might fail with below error:

Installing CPPM-x86_64-6.6.0.81015-upgrade.bin ...
Upgrading from image file=CPPM-x86_64-6.6.0.81015-upgrade.bin
Extracting image...
INFO - Backing up current config...
INFO - Starting backup. This may take some time...
INFO - Backup databases for AppPlatform
INFO - Backup databases for PolicyManager
INFO - Backup databases for PolicyManager
INFO - Backup databases for Insight
INFO - Backup complete
INFO - Setting up upgrade area. This could take a while...
ERROR - Setting up upgrade partition failed
ERROR - Exception performing upgrade: Pre-install task=30-prepare-second-partition failed
ERROR - Upgrade failed



Solution

Upgrade failure with this message could be the result of incorrect OVF deployment.

During OVF deployment, CPPM needs SCSI 0:0 and SCSI 0:1 to be provisioned using thick provisioning technique.

When SCSI 0:0 is thin provisioned with restrictions in provisioning size, it is possible that we might run into the upgrade failure error. Depending on the ClearPass version, the size of SCSI 0:0 can take anywhere between 17G, for CPPM version 6.6.2 and greater than 20G, for CPPM version 6.6+. 

Below screenshot shows that SCSI 0:0 was thin provisioned, where we ran into this upgrade failure.  

Since this is not an recommended deployment, we had to redeploy the Server with latest version.

 

Version history
Revision #:
2 of 2
Last update:
‎04-05-2017 12:18 PM
Updated by:
 
Labels (1)
Contributors
Comments
rajo7

Hello,

 

I'm not able to upgrade from 6.6 to 6.7.

This is test enviroment where 6.6.0 was deplyed, tried to upgrade directly to 6.7 but got the following error:

Upgrading from image file=CPPM-x86_64-6.7.0.101814-upgrade.signed.tar
Extracting image...
INFO - CPPM-x86_64-6.7.0.101814-upgrade.signed.tar is signed
INFO - Backing up current config...
INFO - Starting backup. This may take some time...
INFO - Backup databases for AppPlatform
INFO - Backup databases for PolicyManager
INFO - Backup extensions
INFO - Backup databases for Insight
INFO - Backup complete
INFO - Setting up upgrade area. This could take a while...

INFO - Installing file system image...
ERROR - Exception performing upgrade: Post-install task=30-tips-files-setup failed
ERROR - Upgrade failed

 

Same error when trying to upgrade after updating to 6.6.8.

It is also fraustrating to download the image again after each attempt!

 

Any ideas?

 

Thanks!

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: