Troubleshooting Smart IT D2P package deployment
When you try to access the Smart IT application from the browser, you might see some errors or face issues with logs. Use this information to understand and resolve the problem or to create a BMC Support case.
Symptoms
- You cannot see the package after the .zip file import is completed in the Deployment Console.
- The package import process fails with the following error message:
Init Error - The package fails to upload the .zip file, and the status gets stuck in the following stage:
Importing - The package import process fails with the following error message:
Error in plugin :ARSYS.ARF.ARMIGRATE - An error message is displayed when you run the arpayloaddeploymentutil.bat file.
- The status of the deployment payload entries are stuck in the following stage:
Waiting For Utility Run
Scope
- One or more users experience the same problem.
- In a server group environment, this can affect one or more servers.
Resolution
Perform the following tasks to troubleshoot the D2P package deployment issues:
Task | Action | Steps |
---|---|---|
1 | Review the configuration check. | D2P interacts with the ARMigrate plug-in when you initiate a build, validate, deploy, or rollback process. For more information, see AR Migrate plug-in configuration.
|
2 | Collect the logs |
|
Resolutions for common issues
Issue | Cause | Solution |
---|---|---|
Package import, or deployment failed without any specific reason on the AR System Deployment Management console, but the log might contain the OutOfMemory error. | Insufficient physical memory on the system where the plug-in server is running. During the import process, the deployment plug-in extracts the information from the deployment package. However, due to insufficient physical memory, the package extraction fails. That is why, the package is not imported. | Increase the physical memory on your system. Check the arjavaplugin.log file for the information about the operation that resulted in import failure. For example, if the package size is 300 MB, and if there is no free space to create the ZIP file structure after extraction, the package is not imported. |
The following error is logged: ARMigratePlugin Initializing the thread pool completed | Insufficient plug-in heap size Typically, the size of the packages with the payload content is 250 to 300 MB. It needs a higher heap size for the package import to succeed. The AR System Deployment Management console does not show any error message related to this problem. Check the arjavaplugin.log file for information about the cause of failure. If you see this error message in the log file, it means that the ARMigrate plug-in has been restarted. Always check for the timestamp for this message when you do the debugging. | If the heap size is less than 1024 MB, increase the heap size on all the servers in the server group. If you have multiple plug-in servers, update the heap size on the plug-in server where the ARMigrate plug-in is deployed. To increase the heap size, open the armonitor.conf file and add -Xmx1024m value to the Java parameter, and then restart the plug-in server. For example: "%BMC_JAVA_HOME%\java" -Xmx1024m "<AR_Install_Dir>\ARSystem\pluginsvr; <AR_Install_Dir>\ARSystem\pluginsvr \arpluginsvr<version>.jar; <AR_Install_Dir>\ARSystem\arserver \api\lib\arcmnapp<version>.jar" com.bmc.arsys.pluginsvr.ARPluginServerMain -x <serverName> -i "<AR_Install_Dir>\ARSystem" -m If you face deployment error, as a best practice, make sure that the heap size is three times more than the package size. |
An error message might appear when the following files are not found in the deployment package:
Error message: ARMigrate:java.io.FileNotFoundException: C:\BMCData\ARSystem\ARServer\Db \BMC_DEPLOYMENT_PACKAGES\ IDGI08B9ID0GZAP4DWE4P3GZ5RLSHG\ _validateItems.md5 (The system cannot find the file specified) | Package is empty. Sometimes, due to network issues, the package is not downloaded completely. When you try to import a package that was not fully downloaded, the extraction of the ZIP file fails. If the ZIP file is not extracted correctly, the md5 checksum file and signing information is also not read, and exceptions are logged. The Deployment Management console does not show any error message related to this. |
|
The AR System Deployment Management console displays the following message: Unable to import the package | Remedy Mid Tier is unable to upload the package. This issue occurs when the deployment package size is large (for example, more than 300 MB), and Remedy Mid Tiercannot upload the package and is unable to communicate with the plug-in server. Therefore, the import operation is never completed. |
For more information about importing a package from the command line, see Using a command-line interface to manage a package (AR System documentation). |
The AR System Deployment Management console displays the following error message: Error in plugin :ARSYS.ARF.ARMIGRATE (ARERR 8753) | When you import the D2P package, ARSYS.ARF.ARMIGRATE plug-in is called. If the plug-in entry is missing in the configuration files/CCS due to this issue, the import operation displays an error. |
For more information, see the KA #DOC-109135 on BMC communities. |
The deployment package is imported until 95% and then the package becomes unavailable. The Mid-Tier log contains the following message: ERROR in preload, aborting preload for server <server-name> ARERR [91] RPC call failed : <server-name> Java heap space | Remedy Mid Tier is unable to preload the package. This issue occurs due to the insufficient heap size for the Remedy Mid Tier server. |
|
The status of the hotfix does not change from the Deployment Pending status. Despite of running the ardeployment utility multiple times, the status of the payload still displays Waiting for Deploy message or the payload status displays the Waiting For Utility Run message. | Filedeployer fails to start or stop the service of Remedy with Smart IT, which cannot be confirmed from the armonitor.log or arfiledeployer.log files. The deployment package stays in the Pending Deploy status if the generated log file is large. |
|
Payload Status change to Rollback Failed during the rollback process. |
|
|