cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajani Karuturi <raj...@apache.org>
Subject Re: abount usage-server config
Date Fri, 08 Aug 2014 12:54:18 GMT
Hi,
Was the issue resolved? Can you send all the records in usage_job?


On Thu, Aug 7, 2014 at 12:47 PM, 李栋 <li_dong@travelsky.com> wrote:

>  cloudstack version is 4.2.1
>
> 于 2014/8/7 15:02, 李栋 写道:
>
> *hi all:*
>
> *    We followed the document
> (http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/usage.html
> <http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/usage.html>)
> configured usage-server and it worked *
>
>
> * then modify the global variable parameters, as follows: *
>
>
>
>
>
> *But the usage of the database is still no data, there is only one
> unfinished task record in usage_job in: *
>
>
>
> *usage_log is this: *
> 2014-08-07 05:34:50,600 INFO
> [context.support.ClassPathXmlApplicationContext] (main:null) Refreshing
> org.springframework.context.support.ClassPathXmlApplicationContext@5d5bdc50:
> startup date [Thu Aug 07 13:34:50 CST 2014]; root of context hierarchy
> 2014-08-07 05:34:50,850 INFO  [factory.xml.XmlBeanDefinitionReader]
> (main:null) Loading XML bean definitions from class path resource
> [usageApplicationContext.xml]
> 2014-08-07 05:34:51,508 INFO
> [context.annotation.ClassPathBeanDefinitionScanner] (main:null) JSR-330
> 'javax.inject.Named' annotation found and supported for component scanning
> 2014-08-07 05:34:52,469 INFO
> [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:null)
> JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
> 2014-08-07 05:34:52,557 INFO
> [context.support.ClassPathXmlApplicationContext] (main:null) Bean
> 'transactionContextBuilder' of type [class
> com.cloud.utils.db.TransactionContextBuilder] is not eligible for getting
> processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> 2014-08-07 05:34:52,603 INFO  [factory.support.DefaultListableBeanFactory]
> (main:null) Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@44d6b059:
> defining beans
> [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,usageAlertManagerImpl,usageManagerImpl,networkOfferingUsageParser,VMInstanceUsageParser,loadBalancerUsageParser,volumeUsageParser,vmDiskUsageParser,networkUsageParser,securityGroupUsageParser,VPNUserUsageParser,IPAddressUsageParser,portForwardingUsageParser,VMSnapshotUsageParser,storageUsageParser,usageJobDaoImpl,usageVMInstanceDaoImpl,usageSecurityGroupDaoImpl,usagePortForwardingRuleDaoImpl,usageVmDiskDaoImpl,usageDaoImpl,externalPublicIpStatisticsDaoImpl,usageVMSnapshotDaoImpl,usageStorageDaoImpl,usageVPNUserDaoImpl,usageIPAddressDaoImpl,usageLoadBalancerPolicyDaoImpl,usageNetworkOfferingDaoImpl,usageNetworkDaoImpl,usageVolumeDaoImpl,eventDaoImpl,usageEventDaoImpl,eventJoin
> Da
> oImpl,accountDaoImpl,vmDiskStatisticsDaoImpl,userStatsLogDaoImpl,userAccountDaoImpl,userStatisticsDaoImpl,SSHKeyPairDaoImpl,userDaoImpl,resourceCountDaoImpl,resourceLimitDaoImpl,configurationDaoImpl,alertDaoImpl,domainDaoImpl,transactionContextBuilder,instantiatePostProcessor,ComponentContext,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
> root of factory hierarchy
>
> 2014-08-07 05:34:53,233 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> (main:null) Encryption Type: file
> 2014-08-07 05:34:56,686 INFO  [utils.component.ComponentContext]
> (main:null) Setup Spring Application context
> 2014-08-07 05:34:59,507 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_10af8e24
> 2014-08-07 05:34:59,514 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.configuration.dao.ResourceCountDaoImpl_EnhancerByCloudStack_17475fe1
> 2014-08-07 05:34:59,522 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageSecurityGroupDaoImpl_EnhancerByCloudStack_132b816b
> 2014-08-07 05:34:59,522 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.SSHKeyPairDaoImpl_EnhancerByCloudStack_c87a2086
> 2014-08-07 05:34:59,523 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.ExternalPublicIpStatisticsDaoImpl_EnhancerByCloudStack_abdd868b
> 2014-08-07 05:34:59,524 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.AccountDaoImpl_EnhancerByCloudStack_d3b285cc
> 2014-08-07 05:34:59,524 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.domain.dao.DomainDaoImpl_EnhancerByCloudStack_ba7a7fbc
> 2014-08-07 05:34:59,525 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageVPNUserDaoImpl_EnhancerByCloudStack_5f95c12b
> 2014-08-07 05:34:59,525 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageNetworkOfferingDaoImpl_EnhancerByCloudStack_5287ae4e
> 2014-08-07 05:34:59,534 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageVmDiskDaoImpl_EnhancerByCloudStack_3d51f22a
> 2014-08-07 05:34:59,534 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageLoadBalancerPolicyDaoImpl_EnhancerByCloudStack_24b9ae60
> 2014-08-07 05:34:59,535 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageStorageDaoImpl_EnhancerByCloudStack_c47377af
> 2014-08-07 05:34:59,536 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.UserStatsLogDaoImpl_EnhancerByCloudStack_4a5c222f
> 2014-08-07 05:34:59,536 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageIPAddressDaoImpl_EnhancerByCloudStack_c1c53fad
> 2014-08-07 05:34:59,537 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageDaoImpl_EnhancerByCloudStack_9df1995e
> 2014-08-07 05:34:59,537 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageJobDaoImpl_EnhancerByCloudStack_8144d3dd
> 2014-08-07 05:34:59,538 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.event.dao.EventDaoImpl_EnhancerByCloudStack_2792279c
> 2014-08-07 05:34:59,538 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.UserStatisticsDaoImpl_EnhancerByCloudStack_137ee1c1
> 2014-08-07 05:34:59,539 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageVolumeDaoImpl_EnhancerByCloudStack_e815aa54
> 2014-08-07 05:34:59,539 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageVMInstanceDaoImpl_EnhancerByCloudStack_92fff312
> 2014-08-07 05:34:59,541 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsagePortForwardingRuleDaoImpl_EnhancerByCloudStack_50bf0af4
> 2014-08-07 05:34:59,542 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.configuration.dao.ResourceLimitDaoImpl_EnhancerByCloudStack_398eeed5
> 2014-08-07 05:34:59,543 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.event.dao.UsageEventDaoImpl_EnhancerByCloudStack_ba08e979
> 2014-08-07 05:34:59,544 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageNetworkDaoImpl_EnhancerByCloudStack_53d3f424
> 2014-08-07 05:34:59,545 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.UserAccountDaoImpl_EnhancerByCloudStack_b1070e2f
> 2014-08-07 05:34:59,552 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.alert.dao.AlertDaoImpl_EnhancerByCloudStack_34eac978
> 2014-08-07 05:34:59,553 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.VmDiskStatisticsDaoImpl_EnhancerByCloudStack_712e5e10
> 2014-08-07 05:34:59,553 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_b1974e5c
> 2014-08-07 05:34:59,554 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.dao.UsageVMSnapshotDaoImpl_EnhancerByCloudStack_e1e2bd2b
> 2014-08-07 05:34:59,554 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.event.dao.EventJoinDaoImpl_EnhancerByCloudStack_346f8682
> 2014-08-07 05:34:59,555 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_b3bf04f5
> 2014-08-07 05:34:59,555 DEBUG [cloud.usage.UsageManagerImpl] (main:null)
> Checking to see if usage.vmops.pid exists.
> 2014-08-07 05:34:59,555 INFO  [cloud.usage.UsageManagerImpl] (main:null)
> Implementation Version is 4.2.1
> 2014-08-07 05:35:01,375 DEBUG [cloud.usage.UsageManagerImpl] (main:null)
> Usage stats aggregation time zone: Asia/Shanghai
> 2014-08-07 05:35:01,386 DEBUG [cloud.usage.UsageManagerImpl] (main:null)
> Execution Time: Thu Aug 07 10:00:00 CST 2014
> 2014-08-07 05:35:01,387 DEBUG [cloud.usage.UsageManagerImpl] (main:null)
> Current Time: Thu Aug 07 13:35:01 CST 2014
> 2014-08-07 05:35:01,388 INFO  [utils.component.ComponentContext]
> (main:null) Configuring
> com.cloud.usage.UsageAlertManagerImpl_EnhancerByCloudStack_af7acf15
> 2014-08-07 05:35:01,430 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_10af8e24
> 2014-08-07 05:35:01,430 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.configuration.dao.ResourceCountDaoImpl_EnhancerByCloudStack_17475fe1
> 2014-08-07 05:35:01,431 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageSecurityGroupDaoImpl_EnhancerByCloudStack_132b816b
> 2014-08-07 05:35:01,431 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.SSHKeyPairDaoImpl_EnhancerByCloudStack_c87a2086
> 2014-08-07 05:35:01,432 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.ExternalPublicIpStatisticsDaoImpl_EnhancerByCloudStack_abdd868b
> 2014-08-07 05:35:01,438 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.AccountDaoImpl_EnhancerByCloudStack_d3b285cc
> 2014-08-07 05:35:01,439 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.domain.dao.DomainDaoImpl_EnhancerByCloudStack_ba7a7fbc
> 2014-08-07 05:35:01,440 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageVPNUserDaoImpl_EnhancerByCloudStack_5f95c12b
> 2014-08-07 05:35:01,440 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageNetworkOfferingDaoImpl_EnhancerByCloudStack_5287ae4e
> 2014-08-07 05:35:01,441 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageVmDiskDaoImpl_EnhancerByCloudStack_3d51f22a
> 2014-08-07 05:35:01,441 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageLoadBalancerPolicyDaoImpl_EnhancerByCloudStack_24b9ae60
> 2014-08-07 05:35:01,442 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageStorageDaoImpl_EnhancerByCloudStack_c47377af
> 2014-08-07 05:35:01,443 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.UserStatsLogDaoImpl_EnhancerByCloudStack_4a5c222f
> 2014-08-07 05:35:01,443 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageIPAddressDaoImpl_EnhancerByCloudStack_c1c53fad
> 2014-08-07 05:35:01,444 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageDaoImpl_EnhancerByCloudStack_9df1995e
> 2014-08-07 05:35:01,450 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageJobDaoImpl_EnhancerByCloudStack_8144d3dd
> 2014-08-07 05:35:01,451 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.event.dao.EventDaoImpl_EnhancerByCloudStack_2792279c
> 2014-08-07 05:35:01,451 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.UserStatisticsDaoImpl_EnhancerByCloudStack_137ee1c1
> 2014-08-07 05:35:01,452 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageVolumeDaoImpl_EnhancerByCloudStack_e815aa54
> 2014-08-07 05:35:01,452 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageVMInstanceDaoImpl_EnhancerByCloudStack_92fff312
> 2014-08-07 05:35:01,453 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsagePortForwardingRuleDaoImpl_EnhancerByCloudStack_50bf0af4
> 2014-08-07 05:35:01,454 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.configuration.dao.ResourceLimitDaoImpl_EnhancerByCloudStack_398eeed5
> 2014-08-07 05:35:01,454 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.event.dao.UsageEventDaoImpl_EnhancerByCloudStack_ba08e979
> 2014-08-07 05:35:01,455 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageNetworkDaoImpl_EnhancerByCloudStack_53d3f424
> 2014-08-07 05:35:01,455 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.UserAccountDaoImpl_EnhancerByCloudStack_b1070e2f
> 2014-08-07 05:35:01,456 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.alert.dao.AlertDaoImpl_EnhancerByCloudStack_34eac978
> 2014-08-07 05:35:01,460 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.VmDiskStatisticsDaoImpl_EnhancerByCloudStack_712e5e10
> 2014-08-07 05:35:01,460 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_b1974e5c
> 2014-08-07 05:35:01,461 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageVMSnapshotDaoImpl_EnhancerByCloudStack_e1e2bd2b
> 2014-08-07 05:35:01,461 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.event.dao.EventJoinDaoImpl_EnhancerByCloudStack_346f8682
> 2014-08-07 05:35:01,462 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_b3bf04f5
> 2014-08-07 05:35:01,463 INFO  [cloud.usage.UsageManagerImpl] (main:null)
> Starting Usage Manager
> 2014-08-07 05:35:01,698 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.UsageAlertManagerImpl_EnhancerByCloudStack_af7acf15
> 2014-08-07 05:35:01,706 INFO  [cloud.usage.UsageServer] (main:null)
> UsageServer ready...
>
>
>
> Who met before? Thank you.
>
>
>
>


-- 
~Rajani

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message