cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Beaupré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5613) CloudStack 4.2.0 - Usage server is running but tables remain empty
Date Sun, 29 Dec 2013 19:07:50 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858400#comment-13858400
] 

Guy Beaupré commented on CLOUDSTACK-5613:
-----------------------------------------

Ok...I found the solution...Eureka

Here it is.....

1) Copy or ln /etc/cloudstack/management/db.properties to /etc/cloudstack/usage/db.properties

Note: Apparently, you need db.cloud.username and db.cloud.password in addition to db.usage.username
/ db.usage.password.

P.S.: Remember that the passwords need to be encrypted.

2) The ownership of /etc/cloudstack/usage/db.properties need to be changed to root:cloud as
in  /etc/cloudstack/management/db.properties 

P.S.: I did it also for /var/log/cloudstack/usage  

Note: Everything works fine now....with the only exception that that /var/log/cloudstack/usage
is still empty....I can live with that    :-)

> 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)

Mime
View raw message