Apigee Private Cloud 4.15.04.00 upgrade of RMP failed due to "Could not verify if analytics components were upgraded."

0 0 107

Following the v4.15.04.00 Install and Configuration Guide to do the upgrade from version 4.15.01.x, and at Step 4) under the title "Procedure for upgrading from version 4.15.01.x to 4.15.04.00" , the RMP node upgrade returned below WARNING and stopped.

[WARNING]: Could not verify if analytics components were upgraded.After Confirming that the analytics components are upgraded, re-run /opt/apigee4/share/installer/apigee-upgrade.sh

This is a check we introduced to ensure analytics components were upgraded before the upgrade of a RMP node. The analytics components check being made is

"http://${MSIP}:${APIGEE_PORT_HTTP_MS}/v1/o/$ORG/e/$ENV/analytics/admin/schema?type=fact"

and Apigee checks for the existence of "ax_execution_fault_policy_name" "ax_execution_fault_flow_state" "ax_execution_fault_flow_name" "ax_dn_region"

Please check the following:

1. Did you follow the "Order of machine upgrades" by upgrading your installation? Postgres, QPID, and Management Servers need to be upgraded before RMP gets upgraded.

2. On the RMP node, as the sysadmin user that runs the upgrade,run "curl http://${MSIP}:${APIGEE_PORT_HTTP_MS}/v1/o/" to get the first org returned in the output.

3. On the RMP node, as the sysadmin user that runs the upgrade,run "curl http://${MSIP}:${APIGEE_PORT_HTTP_MS}/v1/o/{firstorgname}/e" to get the first env for the first org returned in the output.

4. On the RMP node, as the sysadmin user that runs the upgrade,run "curl http://${MSIP}:${APIGEE_PORT_HTTP_MS}/v1/o/{firstorgname}/e/{firstenvname}/analytics/admin/schema?type=fact" and there should be an error to use for debugging further.

The above problem should not stop the upgrade of the RMP node, and the environment variable SKIP_AX_UPGRADE_CHECK could be set to skip the analytics component check, then run the upgrade script for RMP.

export SKIP_AX_UPGRADE_CHECK=y
Version history
Last update:
‎06-10-2015 06:21 PM
Updated by: