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 824D51791A for ; Wed, 16 Sep 2015 08:24:39 +0000 (UTC) Received: (qmail 13852 invoked by uid 500); 16 Sep 2015 08:24:32 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 13796 invoked by uid 500); 16 Sep 2015 08:24:32 -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 13774 invoked by uid 99); 16 Sep 2015 08:24:32 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2015 08:24:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C530CC0C9B; Wed, 16 Sep 2015 08:24:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id vmTilHK00QSd; Wed, 16 Sep 2015 08:24:21 +0000 (UTC) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id ABA8E206E8; Wed, 16 Sep 2015 08:24:20 +0000 (UTC) Received: by lamp12 with SMTP id p12so122521175lam.0; Wed, 16 Sep 2015 01:24:19 -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 :cc:content-type; bh=x6TBAqa3+NDaEhIjHV1g//oPAGgGiU+D89nbo/sAIHg=; b=Lm3lnMODVaQxI0TU1svoVlMq1Z/D7c6/Txcik+cxSm4lqDN64lrSuWRD89I7/rDqio jFPLU1LHxfu1z7a5kIMe39Vndaaqvqt61leEviEqeYoAnsL8giuby77wQ5lW4XAcAqVc 9vU+1wKi+PFjhJOBQ5XLDEZaoajenhVOC0Ij+1mq5phmbXHF3kneOh11DZ8kV+w7ildH 54g7Qy2hev9MCGwi4Tn+rozCD2ByieXdbA3jaYdz2sWcdOWKMmMtYID9191stEjSjoBt KXlmII06G+4nwFIZDJtLWpq0qMqGsIlohNq4Ev1333Arj61YS25uPwgaeT5M/GmnNVff VcAw== X-Received: by 10.152.1.9 with SMTP id 9mr26241209lai.38.1442391859019; Wed, 16 Sep 2015 01:24:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.11.138 with HTTP; Wed, 16 Sep 2015 01:23:59 -0700 (PDT) In-Reply-To: References: <9CF4C603-1B75-4525-823C-8D2AA7E8726C@shapeblue.com> From: Daan Hoogland Date: Wed, 16 Sep 2015 10:23:59 +0200 Message-ID: Subject: Re: [DISCUSS][PROPOSAL]missing power state reports from hypervisors on VMs ([BLOCKER]?) To: dev Cc: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e013c66566249ab051fd9062d --089e013c66566249ab051fd9062d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 16, 2015 at 10:17 AM, Anshul Gangwar wrote: > Currently we report only PowerOn VMs and do not report PowerOff VMs that'= s > why we consider Missing and PowerOff as same =E2=80=8BThis is not the behavior reported in the ticket. It is intermitten= d.=E2=80=8B > And that's how most of the code is written for VM sync and each Hyperviso= r > resource has same understanding. This will effect HA and many more unknow= n > places. So please do not even consider to merge this change. > =E2=80=8Bsure, I will hold. We do need to not regard a missing report the s= ame as power off however. =E2=80=8B > So Now coming to bug we can fix that by changing global setting > pingInterval to appropriate value according to hypervisor settings which > takes care of these transitional period of missing report here or can be > handled by introducing gracePeriod global setting. > =E2=80=8BI can see what you are talking about but not what you are saying h= ere. Do you mean that we need to keep track of ping interval and grace period in the statemachine for a particular VM?=E2=80=8B > > Regards, > Anshul > > On 16-Sep-2015, at 1:11 PM, Rohit Yadav rohit.yadav@shapeblue.com>> wrote: > > > On 16-Sep-2015, at 1:06 pm, Daan Hoogland daan.hoogland@gmail.com>> wrote: > > > so two questions: > - is this a blocker? > > A missing state handler is definitely a corner case, and IMO a blocker > (so, for both 4.6.0 and future 4.5.3). > > - is the ignoring after logging the appropriate way to handle this? > > It may be undesirable for all cases; so either introducing another global > setting to control logic (just log, vs update state in the db vs do any > operation?); or simply find out if the VM is actually running (or any oth= er > state) just mark it as running in the DB. > > Regards, > Rohit Yadav > Software Architect, ShapeBlue > > > > > M. +91 88 262 30892 | rohit.yadav@shapeblue.com rohit.yadav@shapeblue.com> > Blog: bhaisaab.org | Twitter: @_bhaisaab > > > > > Find out more about ShapeBlue and our range of CloudStack related service= s > > IaaS Cloud Design & Build< > http://shapeblue.com/iaas-cloud-design-and-build//> > CSForge =E2=80=93 rapid IaaS deployment framework > CloudStack Consulting > CloudStack Software Engineering< > http://shapeblue.com/cloudstack-software-engineering/> > CloudStack Infrastructure Support< > http://shapeblue.com/cloudstack-infrastructure-support/> > CloudStack Bootcamp Training Courses< > http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views o= r > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not th= e > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the send= er > if you believe you have received this email in error. Shape Blue Ltd is a > company incorporated in England & Wales. ShapeBlue Services India LLP is = a > company incorporated in India and is operated under license from Shape Bl= ue > Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Bras= il > and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd i= s > a company registered by The Republic of South Africa and is traded under > license from Shape Blue Ltd. ShapeBlue is a registered trademark. > > --=20 Daan --089e013c66566249ab051fd9062d--