Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E44EC1016D for ; Wed, 30 Oct 2013 14:17:57 +0000 (UTC) Received: (qmail 25879 invoked by uid 500); 30 Oct 2013 14:17:57 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 25848 invoked by uid 500); 30 Oct 2013 14:17:56 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 25840 invoked by uid 99); 30 Oct 2013 14:17:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Oct 2013 14:17:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dean.kamali@gmail.com designates 209.85.212.49 as permitted sender) Received: from [209.85.212.49] (HELO mail-vb0-f49.google.com) (209.85.212.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Oct 2013 14:17:52 +0000 Received: by mail-vb0-f49.google.com with SMTP id w20so904822vbb.22 for ; Wed, 30 Oct 2013 07:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gvEOF0apuXHNMGj2Qbe9UIFLyskQ2X4L3Cg/UxrwhFw=; b=XygFJDEt9XCwz3qXM8iWgUQZn1burrd+f6+eXHUxekWJc1zKAwCCIDY471ZM0nDP9a qgiIJKOh4E3s8/7LVVCQZJymQl1S+3sjdjDLO/XBzZnWF20Q0pXkbjsvIl3eJis56cuR nwLYA0LkJd5i5KT0mV7rj4tZ7NZwh1FV3sVhLUp4Cgov3YeMx825Qhgd8P1HMY0nhw2u 6c6nXrjAQXWKvdbUcYdmeynPQtKyTtHhPCUiGqAhdtlDTtmM/qn0RW/GK2Do+GVdY1z0 Ht/hcR9HRGGEgWRGMdbdk/gF6HU6dn4rMEHJY1LwjvKLr/+Dwt5HddFgVxRFd4cFRqyh JAdw== X-Received: by 10.220.78.18 with SMTP id i18mr3249454vck.3.1383142651843; Wed, 30 Oct 2013 07:17:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.121.81 with HTTP; Wed, 30 Oct 2013 07:17:11 -0700 (PDT) In-Reply-To: <5F1403A9-5C0A-4C9D-9A5A-F5369718E863@tgraham.us> References: <771510A0-4397-40C9-9576-1BA88B454559@citrix.com> <9420AD3E-7AA8-4AF2-8B88-F047D1616326@tgraham.us> <5F1403A9-5C0A-4C9D-9A5A-F5369718E863@tgraham.us> From: Dean Kamali Date: Wed, 30 Oct 2013 10:17:11 -0400 Message-ID: Subject: Re: Urgent - usage databae always empty To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=047d7b3a8b0270094704e9f5fee4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a8b0270094704e9f5fee4 Content-Type: text/plain; charset=ISO-8859-1 Thanks Marty, Travis I have changed the default GMT, and I have set both aggregation and execution timezone to America/New_York, yet, and I have restarted both management and usage servers. still getting this stupid error "Not owner of usage job, skipping... " when execution time occur" Any other ideas? Dean On Wed, Oct 30, 2013 at 9:24 AM, Travis Graham wrote: > Can you check your timezone settings in the global configs to make sure > there's a correct timezone? > > usage.aggregation.tiemzone > usage.execution.timezone > > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/time-zones.html > > We had issues with the default GMT setting where the jobs wouldn't run > until we set both of those settings to our current timezone. > > You'll notice the default GMT isn't an exact match in the list provided in > the link above. > > Search for usage in the Global Settings section of the UI and verify all > the settings are sane. > > Travis > > On Oct 30, 2013, at 9:13 AM, Dean Kamali wrote: > > > Yes it is running > > > > /etc/init.d/cloudstack-usage status > > > > cloudstack-usage (pid 3435) is running... > > > > checking usage db, usage_job table it shows the following > > > > it shows pid number (however its different from pid id 3435, which shows > > when running status command), heartbeat info along with start and > end_date > > > > I have checked the logs, I keep seeing "Not owner of usage job, > > skipping... " when execution time occur. > > > > > > > > > > > > > > On Wed, Oct 30, 2013 at 8:32 AM, Travis Graham > wrote: > > > >> Is the usage agent actually running? > >> > >> # service cloudstack-usage status > >> > >> And do you have the cloudstack-usage init script in /etc/init.d/ ? > >> > >> Travis > >> > >> On Oct 30, 2013, at 8:20 AM, Dean Kamali wrote: > >> > >>> in my centos 6.4 , I find a I see a symbolic link in > >> /etc/cloudstack/usage > >>> which points to /etc/cloudstack/management/db.properties > >>> > >>> I checked the content of the file and seems okay ( it contain db name, > >>> username, password), I have deployed cloudstack management server on > >> Ubuntu > >>> with exact behavior. > >>> > >>> I think its a bug! > >>> > >>> Can someone help? > >>> > >>> Dean > >>> > >>> > >>> On Wed, Oct 30, 2013 at 2:24 AM, Harikrishna Patnala < > >>> harikrishna.patnala@citrix.com> wrote: > >>> > >>>> Hi, > >>>> Can you check db.properties file for correct db connection > >> configurations. > >>>> > >>>> Thanks > >>>> Harikrishna > >>>> On 30-Oct-2013, at 9:02 am, Dean Kamali > wrote: > >>>> > >>>>> Hello everyone > >>>>> > >>>>> I never seen issue with 4.1.1 but with 4.2, I'm not able to get usage > >>>>> database to work. > >>>>> > >>>>> it has been very frustrating day for me, and no sign of hope! > >>>>> > >>>>> cloud_usage database is empty > >>>>> > >>>>> checking the logs I always get UsageServer ready... and no errors or > >>>>> exceptions. > >>>>> > >>>>> I have restarted usage server many times, with no luck. > >>>>> > >>>>> usage_job table which suppose to show host and pid number for usuage > >>>> server > >>>>> is always Null. > >>>>> > >>>>> Any ideas on what I need to check. > >>>>> > >>>>> Please help! > >>>>> > >>>>> Thank you > >>>> > >>>> > >> > >> > > --047d7b3a8b0270094704e9f5fee4--