Troubleshooting UPI Upgrade issues
A Truesight Server Automation upgrade using the Unified Product Installer (UPI) is failing with errors.
This topic helps you locate and review the appropriate logs to determine the root cause of the problem and either help you identify and resolve the issue or create a BMC Customer Support case.
Issue symptoms
A Truesight Server Automation (TSSA) upgrade using the Unified Product Installer (UPI) is failing with errors. The failures might be occurring in any of the following stages:
- UPI initialization
- Pre-upgrade environment discovery
- Pre-upgrade prerequisites validation
- Database upgrade/migration
- File Server upgrade
- Application Server(s) upgrade
- Post-upgrade environment discovery
- Post-upgrade content installation
Issue scope
This topic includes the upgrade issues using the Unified Product Installer (UPI) in both Windows and Linux environments.
The fresh install issues or upgrade issues using the Configurator approach are out of scope.
Diagnosing and reporting an issue
Task | Action | Steps | Reference |
---|---|---|---|
1 | Determine the step when the UPI upgrade was failed. |
| Preparing for a Windows upgrade using the UPI |
2 | Identify and locate the appropriate logs. |
| |
3 | Review the logs to identify the issue. |
See the Resolutions for common issues section to review the common errors that can result in the UPI upgrade failure and how they can typically be resolved. If you are unable to identify and resolve the problem, see Step 4 to create a BMC Support case. | |
4 | Create a BMC Support case | Provide the following information and log files when creating a case with BMC Customer Support:
|
Resolutions for common issues
Failing UPI Step | Symptom | Action | Reference |
---|---|---|---|
UPI Initialization | The RSCD agent bundle is not found at the required location. The rscd directory is missing from the UPI Disk1/files/installers/ directory. |
| |
Pre-upgrade environment discovery | Failed to perform infrastructure discovery. Unable to launch the NSH or BLCLI commands required to discover the Application Servers in the environment. |
| |
Pre-upgrade prerequisite validation | Database user does not have sufficient privileges for running database migration. The UPI installer did not flag any issue with the Bladelogic DB user rights to perform the upgrade. | Follow the steps in the referenced Knowledge Article. | |
Pre-upgrade prerequisite validation | The following prerequisite has failed for server (server01.bmc.com): The RSCD agent is configured in a way that prevents the remote communication with the server. The RSCD agent on the specified server is either down or the ACLs are restricted. Possible reasons could be:
|
| |
Pre-upgrade prerequisite validation | The File Server reported that the RSCD Agent is not reachable. |
| |
Pre-upgrade prerequisite validation | The following prerequisites failed for server (server01.bmc.com): User {0} does not have privileges to perform the upgrade. |
| |
Pre-upgrade prerequisite validation | Unable to retrieve the database version after querying the system_property. The database is unable to connect using the DB connection information stored in the _template deployment. | Follow the steps in the referenced Knowledge Article. | |
Pre-upgrade prerequisite validation | Specified directory has one or more directories which do not have a short name 8dot3. |
| |
Pre-upgrade prerequisite validation | Network Shell Client is configured in a way that prevents remote communication with other hosts. This error indicates that the server where the UPI is being run is configured to run either in the Network Shell client mode or to use client side certificates with authentication/authorization. | Follow the steps in the referenced Knowledge Article. | |
Database upgrade | Failed to migrate Truesight Server Automation database. This error message indicates that the database upgrade/migration has failed. As described in the "Step 3. Review the logs to identify the error" section, the bsainstallupgrade.log file is likely to contain a high-level error message such as:
|
I | |
Database upgrade | The blmigration.log shows the following error:
| In this case, the missing privileges were not detected during the UPI prerequisite validation step, and the UPI proceeded to the database upgrade/migration. The insufficient privileges were then detected during the SB Migration and logged to blmigration.log. Do the following:
| |
Database upgrade | The blmigration.log shows the following error:
|
If a different error is encountered after resolving the tablespace issue, contact BMC Support as manual intervention or a DB restore may be required to get the database back to a state where the upgrade can be re-run. | |
Database upgrade | The blmigration.log shows the following error:
| The MS SQL Server transaction log is full. Note the exact error message and provide this to the site MS SQL Server DBA. Once the problem has been corrected, rerun the upgrade and it should continue from the point of failure. If a different error is encountered after resolving the transaction log issue, contact BMC Support as manual intervention or a DB restore may be required to get the database back to a state where the upgrade can be re-run. | |
Database upgrade | The blmigration.log shows the following error:
| This error is the Oracle database-side memory error. Contact the site Oracle DBA to resolve this issue by increasing the memory settings, such as SGA. The method that is used to resolve the error varies for different Oracle environments and depends on best practices and the Oracle Memory Management method that is in use, such as AMM or ASMM. | |
Database upgrade | The blmigration.log shows the following error:
| The stored procedure is not complied or failed to compile due to dependencies or shared memory. | |
Database upgrade | The blmigration.log shows the following error: Example: Upgrade to 8.9.04.003
|
| |
Database upgrade | The blmigration.log shows the following error:
| The online rebuilding of Oracle indexes is a feature for Oracle Enterprise Edition databases. It cannot be used for Oracle Standard Edition databases. The database upgrade in the 8.9.03 patch 1 release had a defect (DRBLG-116418), which relied on this feature. Follow the steps in the referenced Knowledge Article. | |
Database upgrade | The blmigration.log shows the following error:
| This error message is a data-specific issue. If this error is encountered in a test environment, which was cloned from the production environment to test the upgrade, it may be due to an invalid database export or import. See the referenced documentation on how to correctly clone a TrueSight Server Automationenvironment especially the use of "flashback_time" flag when exporting the database. If the database export is successful or the environment is not a cloned, contact BMC Customer Support with the data as specified in step 4. | Moving or duplicating a TrueSight Server Automation environment |
Database upgrade | The blmigration.log shows the following error:
| This error message is a data-specific issue. If this error is encountered in a test environment, which was cloned from the production environment to test the upgrade, it may be due to an invalid database export or import. See the referenced documentation on how to correctly clone a TrueSight Server Automationenvironment especially the use of "flashback_time" flag when exporting the database. If the database export is successful or the environment is not a cloned, contact BMC Customer Support with the data as specified in step 4. | Moving or duplicating a TrueSight Server Automation environment |
Database upgrade | The blmigration.log shows the following error:
| This error message is a data-specific issue. If this error is encountered in a test environment, which was cloned from the production environment to test the upgrade, it may be due to an invalid database export or import. See the referenced documentation on how to correctly clone a TrueSight Server Automationenvironment especially the use of "flashback_time" flag when exporting the database. If the database export is successful or the environment is not a cloned, contact BMC Customer Support with the data as specified in step 4. | Moving or duplicating a TrueSight Server Automation environment |
Database upgrade | The blmigration.log shows the following error:
| This error message is a data-specific issue. If this error is encountered in a test environment, which was cloned from the production environment to test the upgrade, it may be due to an invalid database export or import. See the referenced documentation on how to correctly clone a TrueSight Server Automationenvironment especially the use of "flashback_time" flag when exporting the database. If the database export is successful or the environment is not a cloned, contact BMC Customer Support with the data as specified in step 4. | Moving or duplicating a TrueSight Server Automation environment |
Appserver or File Server or RSCD Agent Upgrade | The RSCD Agent upgrade failed on blfs. Refer to the log file located at /tmp/BladeLogic_Install on the server where the upgrade failed. Some possible causes and steps for remediation: Check if Version.new file is present in TrueSight Server Automation installation directory. |
| |
Application Server(s) upgrade | The Application Server upgrade fails with the following error: Failed to upgrade Application/Pxe Server],Detail=[Upgrade of APPSERVER failed on XXXX. Check the log file %TEMP%\OM-Install.log | Review the appropriate log on the specified Server:
| |
Post-upgrade environment discovery | The following error is displayed:
| This issue occurs because the Application Server upgrade was not successful and the service is down. Specified Application Server(s) may not be restarting after upgrade. Review the appserver.log and/or console.log on the specified Application Servers(s) to determine if they are currently down and, if so, why. Once Application Server(s) have been restarted, rerun the UPI to resume. | |
Post-upgrade content installation | Post Upgrade content import was not completed successfully. Please refer to the installation log (bsainstallupgrade.log) located in the temporary directory to rectify the problem. | As of TrueSight Server Automation 20.02, the UPI installs the following list of content items after the upgrade:
If any of these steps fails, review the bsainstallupgrade.log file for details. An error during the post-upgrade content step is not fatal to the upgrade. You can skip the error if all the preceding steps were successful. Usually, a problem during the post-upgrade content step occurs due to conflicting objects already present in the TrueSight Server Automation environment or a problem launching the BLCLI. After you resolve the problem, you can run the individual content items by referring the specified documentation page. | Manually importing out-of-box content |
Comments
Log in or register to comment.