[
https://issues.apache.org/jira/browse/CLOUDSTACK-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858239#comment-13858239
]
Guy Beaupré commented on CLOUDSTACK-5613:
-----------------------------------------
Update.....
I have found on Internet a piece of code that was copying
/etc/cloudstack/management/db.properties to /etc/cloudstack/usage/db.properties
I did that manually.....Now, I am getting a entry in the cloud_usage database
in the usage_job table. ( Heartbeat date & time )
In the /var/log/cloudstack/management/management-server.log it is now saying
that the usage server is running and I have a heartbeat.....
So, there is something in that db.properties that was not there before and it
is not in relation with cloud-usage parameters.
Very strange!!!
One thing is still the same.....no entry in the cloud_usage database with the
exception of the entry in the usage_job table.
> CloudStack 4.2.0 - Usage server is running but tables remain empty
> ------------------------------------------------------------------
>
> Key: CLOUDSTACK-5613
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5613
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Usage
> Affects Versions: 4.2.0
> Environment: Ubuntu 12.04.03 LTS
> Reporter: Guy Beaupré
> Priority: Blocker
>
> CloudStack Usage service is installed and reported as running by Ubuntu
> 12.04.03 LTS but usage tables remains empty.
> I have tried to install cloudstack-usage from the source and the provided
> package ( .deb ) but I get the same issue.
> CloudStack event manager report the following even if Ubuntu is showing
> "running":
> No usage server process running
> An internet colleague reported the same issue with Ubuntu 12.04.03 and
> confirmed that it is working with CentOS.
> Supplemental Information:
> 1. Usage server is running:
>
> service cloudstack-usage status
>
> * cloudstack-usage is running
>
> 2. Management log shows:
>
> [cloud.ha.HighAvailabilityManagerImpl] (HA-1:null) checking health of usage
> server
>
> [cloud.ha.HighAvailabilityManagerImpl] (HA-1:null) usage server
> running? false, heartbeat: null
>
> [apache.cloudstack.alerts] (HA-1:null) alertType:
>
> : 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null // message:: No
> usage server process running
>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)