cloudstack-usage fails to start after installing 4.5.1 HF5

Problem

The Accelerite CloudPlatform 4.5.1 Hotfix 05 build that Accelerite published on Dec 9, 2016 fails starting the cloudstack-usage service. The following error message is displayed while starting the service with the service cloudstack-usage start command:

jsvc error: Cannot parse command line arguments.

Steps to Reproduce the problem

To reproduce this problem in your CloudPlatform setup, do the following: 

1. Install the Accelerite CloudPlatform version 4.5.1 Hotfix 05 build that Accelerite published on Dec 9, 2016 (MD5 checksum: 77caaaab758e06efa87eb70ad8a891a4)

2. Start the cloudstack-usage service using the command: service cloudstack-usage start

Root Cause

The Hotfix installer does not update the .jar files corresponding to the usage server properly.

Required Modification

A new build of Accelerite CloudPlatform version 4.5.1 Hotfix 05 has been released to address this issue.

Reason for Modification

Inability to start the cloudstack-usage service after installing Accelerite CloudPlatform version 4.5.1 Hotfix 05.   

Resolution/Workaround

Those who have already installed the Accelerite CloudPlatform version 4.5.1 Hotfix 05 build that Accelerite released on Dec 9, 2016 (MD5 checksum: 77caaaab758e06efa87eb70ad8a891a4) must download the latest Accelerite CloudPlatform version 4.5.1 Hotfix 05 build from the Accelerite Support website and do the following: 

1.     In Management Server, run the following commands:

rm -rf /usr/share/cloudstack-usage/cloud-usage-4.5.1.0.jar

rm -rf /usr/share/cloudstack-usage/lib/cloud-api-4.5.1.0.jar

rm -rf /usr/share/cloudstack-usage/lib/cloud-core-4.5.1.0.jar

rm -rf /usr/share/cloudstack-usage/lib/cloud-engine-api-4.5.1.0.jar

rm -rf /usr/share/cloudstack-usage/lib/cloud-engine-components-api-4.5.1.0.jar

rm -rf /usr/share/cloudstack-usage/lib/cloud-engine-schema-4.5.1.0.jar

rm -rf /usr/share/cloudstack-usage/lib/cloud-utils-4.5.1.0.jar  

2.  From the directory where you have extracted the CloudPlatform-4.5.1.5_HF_05.zip file, navigate to the patches directory. cd  CloudPlatform-4.5.1.5_HF_05/patches

3.  In the patches directory, do the following:

cp cloud-usage-4.5.1.5.jar /usr/share/cloudstack-usage/cloud-usage-4.5.1.5.jar

cp  cloud-api-4.5.1.5.jar /usr/share/cloudstack-usage/lib/cloud-api-4.5.1.5.jar

cp cloud-core-4.5.1.5.jar  /usr/share/cloudstack-usage/lib/cloud-core-4.5.1.5.jar

cp cloud-engine-api-4.5.1.5.jar /usr/share/cloudstack-usage/lib/cloud-engine-api-4.5.1.5.jar

cp cloud-engine-components-api-4.5.1.5.jar /usr/share/cloudstack-usage/lib/cloud-engine-components-api-4.5.1.5.jar

cp cloud-engine-schema-4.5.1.5.jar /usr/share/cloudstack-usage/lib/cloud-engine-schema-4.5.1.5.jar

cp cloud-utils-4.5.1.5.jar /usr/share/cloudstack-usage/lib/cloud-utils-4.5.1.5.jar    

Verification

After you perform the steps listed in the Resolution/Workaround section, you must be able to start the usage service without any error. Run the following command:

#service cloudstack-usage start

Impact on Existing System

Fixes the issue caused by the Accelerite CloudPlatform version 4.5.1 Hotfix 05 build that Accelerite released on Dec 9, 2016, which resulted in the failure to start the usage service.

Potential Adverse Effect

There is no known adverse effect to the system.    

Document ID:
115000159046

Product:
CloudPlatform

Version:
4.5.1.0

Reference Jira ID:
CS-50209

 
Have more questions? Submit a request

Comments